Class: Aws::ManagedBlockchain::Types::Proposal
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedBlockchain::Types::Proposal
- Defined in:
- gems/aws-sdk-managedblockchain/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
.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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 AWS General Reference.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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 have not cast enough votes to determine the outcome
according to the voting policy, the proposal is EXPIRED
and
Actions
are not carried out.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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 sufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specified proposal actions are carried out.REJECTED
- The proposal was rejected with insufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specifiedProposalActions
are not carried out.EXPIRED
- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
are not carried out.ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved could not be completed because of an error. TheACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 2524 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 |