Class: Aws::ManagedBlockchain::Types::Proposal

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-managedblockchain/types.rb

Overview

Properties of a proposal on a Managed Blockchain network.

Applies only to Hyperledger Fabric.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsTypes::ProposalActions

The actions to perform on the network if the proposal is ‘APPROVED`.



2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see [Amazon Resource Names (ARNs)] in the *Amazon Web Services General Reference*.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#creation_dateTime

The date and time that the proposal was created.

Returns:

  • (Time)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the proposal.

Returns:

  • (String)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#expiration_dateTime

The date and time that the proposal expires. This is the ‘CreationDate` plus the `ProposalDurationInHours` that is specified in the `ProposalThresholdPolicy`. After this date and time, if members haven’t cast enough votes to determine the outcome according to the voting policy, the proposal is ‘EXPIRED` and `Actions` aren’t carried out.

Returns:

  • (Time)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#network_idString

The unique identifier of the network for which the proposal is made.

Returns:

  • (String)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#no_vote_countInteger

The current total of ‘NO` votes cast on the proposal by members.

Returns:

  • (Integer)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#outstanding_vote_countInteger

The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of ‘YES` votes and `NO` votes.

Returns:

  • (Integer)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#proposal_idString

The unique identifier of the proposal.

Returns:

  • (String)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#proposed_by_member_idString

The unique identifier of the member that created the proposal.

Returns:

  • (String)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#proposed_by_member_nameString

The name of the member that created the proposal.

Returns:

  • (String)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the proposal. Values are as follows:

  • ‘IN_PROGRESS` - The proposal is active and open for member voting.

  • ‘APPROVED` - The proposal was approved with sufficient `YES` votes among members according to the `VotingPolicy` specified for the `Network`. The specified proposal actions are carried out.

  • ‘REJECTED` - The proposal was rejected with insufficient `YES` votes among members according to the `VotingPolicy` specified for the `Network`. The specified `ProposalActions` aren’t carried out.

  • ‘EXPIRED` - Members didn’t cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ‘ProposalActions` aren’t carried out.

  • ‘ACTION_FAILED` - One or more of the specified `ProposalActions` in a proposal that was approved couldn’t be completed because of an error. The ‘ACTION_FAILED` status occurs even if only one ProposalAction fails and other actions are successful.

Returns:

  • (String)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see [Tagging Resources] in the *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging Resources] in the *Amazon Managed Blockchain Hyperledger Fabric Developer Guide*.

[1]: docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html [2]: docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html

Returns:

  • (Hash<String,String>)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#yes_vote_countInteger

The current total of ‘YES` votes cast on the proposal by members.

Returns:

  • (Integer)


2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2418

class Proposal < Struct.new(
  :proposal_id,
  :network_id,
  :description,
  :actions,
  :proposed_by_member_id,
  :proposed_by_member_name,
  :status,
  :creation_date,
  :expiration_date,
  :yes_vote_count,
  :no_vote_count,
  :outstanding_vote_count,
  :tags,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end