Class: Aws::ManagedBlockchain::Types::Proposal
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedBlockchain::Types::Proposal
- 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
-
#actions ⇒ Types::ProposalActions
The actions to perform on the network if the proposal is ‘APPROVED`.
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the proposal.
-
#creation_date ⇒ Time
The date and time that the proposal was created.
-
#description ⇒ String
The description of the proposal.
-
#expiration_date ⇒ Time
The date and time that the proposal expires.
-
#network_id ⇒ String
The unique identifier of the network for which the proposal is made.
-
#no_vote_count ⇒ Integer
The current total of ‘NO` votes cast on the proposal by members.
-
#outstanding_vote_count ⇒ Integer
The number of votes remaining to be cast on the proposal by members.
-
#proposal_id ⇒ String
The unique identifier of the proposal.
-
#proposed_by_member_id ⇒ String
The unique identifier of the member that created the proposal.
-
#proposed_by_member_name ⇒ String
The name of the member that created the proposal.
-
#status ⇒ String
The status of the proposal.
-
#tags ⇒ Hash<String,String>
Tags assigned to the proposal.
-
#yes_vote_count ⇒ Integer
The current total of ‘YES` votes cast on the proposal by members.
Instance Attribute Details
#actions ⇒ Types::ProposalActions
The actions to perform on the network if the proposal is ‘APPROVED`.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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 |
#arn ⇒ String
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
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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_date ⇒ Time
The date and time that the proposal was created.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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 |
#description ⇒ String
The description of the proposal.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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_date ⇒ Time
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.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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_id ⇒ String
The unique identifier of the network for which the proposal is made.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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_count ⇒ Integer
The current total of ‘NO` votes cast on the proposal by members.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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_count ⇒ Integer
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.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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_id ⇒ String
The unique identifier of the proposal.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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_id ⇒ String
The unique identifier of the member that created the proposal.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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_name ⇒ String
The name of the member that created the proposal.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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 |
#status ⇒ String
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.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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 |
#tags ⇒ Hash<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
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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_count ⇒ Integer
The current total of ‘YES` votes cast on the proposal by members.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2417 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 |