AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#actionsTypes::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

#arnString

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.

Returns:

  • (String)


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_dateTime

The date and time that the proposal was created.

Returns:

  • (Time)


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

#descriptionString

The description of the proposal.

Returns:

  • (String)


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_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 have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

Returns:

  • (Time)


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_idString

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

Returns:

  • (String)


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_countInteger

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

Returns:

  • (Integer)


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_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)


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_idString

The unique identifier of the proposal.

Returns:

  • (String)


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_idString

The unique identifier of the member that created the proposal.

Returns:

  • (String)


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_nameString

The name of the member that created the proposal.

Returns:

  • (String)


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

#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 are not carried out.

  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.

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

Returns:

  • (String)


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

#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.

Returns:

  • (Hash<String,String>)


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_countInteger

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

Returns:

  • (Integer)


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