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
NOvotes 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
YESvotes cast on the proposal by members.
Instance Attribute Details
#actions ⇒ Types::ProposalActions
The actions to perform on the network if the proposal is APPROVED.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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 sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out. -
REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsaren’t carried out. -
EXPIRED- Members didn’t cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsaren’t carried out. -
ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved couldn’t be completed because of an error. TheACTION_FAILEDstatus occurs even if only one ProposalAction fails and other actions are successful.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/aws-sdk-managedblockchain/types.rb', line 2371 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 |