package types
import "github.com/aws/aws-sdk-go-v2/service/managedblockchain/types"
Index ¶
- type AccessDeniedException
- func (e *AccessDeniedException) Error() string
- func (e *AccessDeniedException) ErrorCode() string
- func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
- func (e *AccessDeniedException) ErrorMessage() string
- type ApprovalThresholdPolicy
- type Edition
- type Framework
- type IllegalActionException
- func (e *IllegalActionException) Error() string
- func (e *IllegalActionException) ErrorCode() string
- func (e *IllegalActionException) ErrorFault() smithy.ErrorFault
- func (e *IllegalActionException) ErrorMessage() string
- func (e *IllegalActionException) GetMessage() string
- func (e *IllegalActionException) HasMessage() bool
- type InternalServiceErrorException
- func (e *InternalServiceErrorException) Error() string
- func (e *InternalServiceErrorException) ErrorCode() string
- func (e *InternalServiceErrorException) ErrorFault() smithy.ErrorFault
- func (e *InternalServiceErrorException) ErrorMessage() string
- type InvalidRequestException
- func (e *InvalidRequestException) Error() string
- func (e *InvalidRequestException) ErrorCode() string
- func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault
- func (e *InvalidRequestException) ErrorMessage() string
- func (e *InvalidRequestException) GetMessage() string
- func (e *InvalidRequestException) HasMessage() bool
- type Invitation
- type InvitationStatus
- type InviteAction
- type LogConfiguration
- type LogConfigurations
- type Member
- type MemberConfiguration
- type MemberFabricAttributes
- type MemberFabricConfiguration
- type MemberFabricLogPublishingConfiguration
- type MemberFrameworkAttributes
- type MemberFrameworkConfiguration
- type MemberLogPublishingConfiguration
- type MemberStatus
- type MemberSummary
- type Network
- type NetworkFabricAttributes
- type NetworkFabricConfiguration
- type NetworkFrameworkAttributes
- type NetworkFrameworkConfiguration
- type NetworkStatus
- type NetworkSummary
- type Node
- type NodeConfiguration
- type NodeFabricAttributes
- type NodeFabricLogPublishingConfiguration
- type NodeFrameworkAttributes
- type NodeLogPublishingConfiguration
- type NodeStatus
- type NodeSummary
- type Proposal
- type ProposalActions
- type ProposalStatus
- type ProposalSummary
- type RemoveAction
- type ResourceAlreadyExistsException
- func (e *ResourceAlreadyExistsException) Error() string
- func (e *ResourceAlreadyExistsException) ErrorCode() string
- func (e *ResourceAlreadyExistsException) ErrorFault() smithy.ErrorFault
- func (e *ResourceAlreadyExistsException) ErrorMessage() string
- func (e *ResourceAlreadyExistsException) GetMessage() string
- func (e *ResourceAlreadyExistsException) HasMessage() bool
- type ResourceLimitExceededException
- func (e *ResourceLimitExceededException) Error() string
- func (e *ResourceLimitExceededException) ErrorCode() string
- func (e *ResourceLimitExceededException) ErrorFault() smithy.ErrorFault
- func (e *ResourceLimitExceededException) ErrorMessage() string
- func (e *ResourceLimitExceededException) GetMessage() string
- func (e *ResourceLimitExceededException) HasMessage() bool
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- func (e *ResourceNotFoundException) GetMessage() string
- func (e *ResourceNotFoundException) HasMessage() bool
- type ResourceNotReadyException
- func (e *ResourceNotReadyException) Error() string
- func (e *ResourceNotReadyException) ErrorCode() string
- func (e *ResourceNotReadyException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotReadyException) ErrorMessage() string
- func (e *ResourceNotReadyException) GetMessage() string
- func (e *ResourceNotReadyException) HasMessage() bool
- type ThresholdComparator
- type ThrottlingException
- func (e *ThrottlingException) Error() string
- func (e *ThrottlingException) ErrorCode() string
- func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
- func (e *ThrottlingException) ErrorMessage() string
- type VoteSummary
- type VoteValue
- type VotingPolicy
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string }
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type ApprovalThresholdPolicy ¶
type ApprovalThresholdPolicy struct { // The duration from the time that a proposal is created until it expires. If // members cast neither the required number of YES votes to approve the proposal // nor the number of NO votes required to reject it before the duration expires, // the proposal is EXPIRED and ProposalActions are not carried out. ProposalDurationInHours *int32 // The percentage of votes among all members that must be YES for a proposal to be // approved. For example, a ThresholdPercentage value of 50 indicates 50%. The // ThresholdComparator determines the precise comparison. If a ThresholdPercentage // value of 50 is specified on a network with 10 members, along with a // ThresholdComparator value of GREATER_THAN, this indicates that 6 YES votes are // required for the proposal to be approved. ThresholdPercentage *int32 // Determines whether the vote percentage must be greater than the // ThresholdPercentage or must be greater than or equal to the ThreholdPercentage // to be approved. ThresholdComparator ThresholdComparator }
A policy type that defines the voting rules for the network. The rules decide if a proposal is approved. Approval may be based on criteria such as the percentage of YES votes and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.
type Edition ¶
type Edition string
Enum values for Edition
type Framework ¶
type Framework string
const ( FrameworkHyperledger_fabric Framework = "HYPERLEDGER_FABRIC" )
Enum values for Framework
type IllegalActionException ¶
type IllegalActionException struct { Message *string }
func (*IllegalActionException) Error ¶
func (e *IllegalActionException) Error() string
func (*IllegalActionException) ErrorCode ¶
func (e *IllegalActionException) ErrorCode() string
func (*IllegalActionException) ErrorFault ¶
func (e *IllegalActionException) ErrorFault() smithy.ErrorFault
func (*IllegalActionException) ErrorMessage ¶
func (e *IllegalActionException) ErrorMessage() string
func (*IllegalActionException) GetMessage ¶
func (e *IllegalActionException) GetMessage() string
func (*IllegalActionException) HasMessage ¶
func (e *IllegalActionException) HasMessage() bool
type InternalServiceErrorException ¶
type InternalServiceErrorException struct { Message *string }
The request processing has failed because of an unknown error, exception or failure.
func (*InternalServiceErrorException) Error ¶
func (e *InternalServiceErrorException) Error() string
func (*InternalServiceErrorException) ErrorCode ¶
func (e *InternalServiceErrorException) ErrorCode() string
func (*InternalServiceErrorException) ErrorFault ¶
func (e *InternalServiceErrorException) ErrorFault() smithy.ErrorFault
func (*InternalServiceErrorException) ErrorMessage ¶
func (e *InternalServiceErrorException) ErrorMessage() string
type InvalidRequestException ¶
type InvalidRequestException struct { Message *string }
The action or operation requested is invalid. Verify that the action is typed correctly.
func (*InvalidRequestException) Error ¶
func (e *InvalidRequestException) Error() string
func (*InvalidRequestException) ErrorCode ¶
func (e *InvalidRequestException) ErrorCode() string
func (*InvalidRequestException) ErrorFault ¶
func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault
func (*InvalidRequestException) ErrorMessage ¶
func (e *InvalidRequestException) ErrorMessage() string
func (*InvalidRequestException) GetMessage ¶
func (e *InvalidRequestException) GetMessage() string
func (*InvalidRequestException) HasMessage ¶
func (e *InvalidRequestException) HasMessage() bool
type Invitation ¶
type Invitation struct { // The date and time that the invitation expires. This is the CreationDate plus the // ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After // this date and time, the invitee can no longer create a member and join the // network using this InvitationId. ExpirationDate *time.Time // The date and time that the invitation was created. CreationDate *time.Time // A summary of network configuration properties. NetworkSummary *NetworkSummary // The status of the invitation: // // * PENDING - The invitee has not created a // member to join the network, and the invitation has not yet expired. // // * // ACCEPTING - The invitee has begun creating a member, and creation has not yet // completed. // // * ACCEPTED - The invitee created a member and joined the network // using the InvitationID. // // * REJECTED - The invitee rejected the invitation. // // // * EXPIRED - The invitee neither created a member nor rejected the invitation // before the ExpirationDate. Status InvitationStatus // The unique identifier for the invitation. InvitationId *string }
An invitation to an AWS account to create a member and join the network.
type InvitationStatus ¶
type InvitationStatus string
const ( InvitationStatusPending InvitationStatus = "PENDING" InvitationStatusAccepted InvitationStatus = "ACCEPTED" InvitationStatusAccepting InvitationStatus = "ACCEPTING" InvitationStatusRejected InvitationStatus = "REJECTED" InvitationStatusExpired InvitationStatus = "EXPIRED" )
Enum values for InvitationStatus
type InviteAction ¶
type InviteAction struct { // The AWS account ID to invite. Principal *string }
An action to invite a specific AWS account to create a member and join the network. The InviteAction is carried out when a Proposal is APPROVED.
type LogConfiguration ¶
type LogConfiguration struct { // Indicates whether logging is enabled. Enabled *bool }
A configuration for logging events.
type LogConfigurations ¶
type LogConfigurations struct { // Parameters for publishing logs to Amazon CloudWatch Logs. Cloudwatch *LogConfiguration }
A collection of log configurations.
type Member ¶
type Member struct { // The unique identifier of the member. Id *string // An optional description for the member. Description *string // The name of the member. Name *string // Configuration properties for logging events associated with a member. LogPublishingConfiguration *MemberLogPublishingConfiguration // The unique identifier of the network to which the member belongs. NetworkId *string // Attributes relevant to a member for the blockchain framework that the Managed // Blockchain network uses. FrameworkAttributes *MemberFrameworkAttributes // The status of a member. // // * CREATING - The AWS account is in the process of // creating a member. // // * AVAILABLE - The member has been created and can // participate in the network. // // * CREATE_FAILED - The AWS account attempted to // create a member and creation failed. // // * DELETING - The member and all // associated resources are in the process of being deleted. Either the AWS account // that owns the member deleted it, or the member is being deleted as the result of // an APPROVEDPROPOSAL to remove the member. // // * DELETED - The member can no // longer participate on the network and all associated resources are deleted. // Either the AWS account that owns the member deleted it, or the member is being // deleted as the result of an APPROVEDPROPOSAL to remove the member. Status MemberStatus // The date and time that the member was created. CreationDate *time.Time }
Member configuration properties.
type MemberConfiguration ¶
type MemberConfiguration struct { // Configuration properties of the blockchain framework relevant to the member. FrameworkConfiguration *MemberFrameworkConfiguration // An optional description of the member. Description *string // The name of the member. Name *string // LogPublishingConfiguration *MemberLogPublishingConfiguration }
Configuration properties of the member.
type MemberFabricAttributes ¶
type MemberFabricAttributes struct { // The user name for the initial administrator user for the member. AdminUsername *string // The endpoint used to access the member's certificate authority. CaEndpoint *string }
Attributes of Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.
type MemberFabricConfiguration ¶
type MemberFabricConfiguration struct { // The password for the member's initial administrative user. The AdminPassword // must be at least eight characters long and no more than 32 characters. It must // contain at least one uppercase letter, one lowercase letter, and one digit. It // cannot have a single quote(‘), double quote(“), forward slash(/), backward // slash(\), @, or a space. AdminPassword *string // The user name for the member's initial administrative user. AdminUsername *string }
Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.
type MemberFabricLogPublishingConfiguration ¶
type MemberFabricLogPublishingConfiguration struct { // Configuration properties for logging events associated with a member's // Certificate Authority (CA). CA logs help you determine when a member in your // account joins the network, or when new peers register with a member CA. CaLogs *LogConfigurations }
Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.
type MemberFrameworkAttributes ¶
type MemberFrameworkAttributes struct { // Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain // network that uses Hyperledger Fabric. Fabric *MemberFabricAttributes }
Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
type MemberFrameworkConfiguration ¶
type MemberFrameworkConfiguration struct { // Attributes of Hyperledger Fabric for a member on a Managed Blockchain network // that uses Hyperledger Fabric. Fabric *MemberFabricConfiguration }
Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.
type MemberLogPublishingConfiguration ¶
type MemberLogPublishingConfiguration struct { // Configuration properties for logging events associated with a member of a // Managed Blockchain network using the Hyperledger Fabric framework. Fabric *MemberFabricLogPublishingConfiguration }
Configuration properties for logging events associated with a member of a Managed Blockchain network.
type MemberStatus ¶
type MemberStatus string
const ( MemberStatusCreating MemberStatus = "CREATING" MemberStatusAvailable MemberStatus = "AVAILABLE" MemberStatusCreate_failed MemberStatus = "CREATE_FAILED" MemberStatusUpdating MemberStatus = "UPDATING" MemberStatusDeleting MemberStatus = "DELETING" MemberStatusDeleted MemberStatus = "DELETED" )
Enum values for MemberStatus
type MemberSummary ¶
type MemberSummary struct { // An indicator of whether the member is owned by your AWS account or a different // AWS account. IsOwned *bool // The name of the member. Name *string // An optional description of the member. Description *string // The status of the member. // // * CREATING - The AWS account is in the process of // creating a member. // // * AVAILABLE - The member has been created and can // participate in the network. // // * CREATE_FAILED - The AWS account attempted to // create a member and creation failed. // // * DELETING - The member and all // associated resources are in the process of being deleted. Either the AWS account // that owns the member deleted it, or the member is being deleted as the result of // an APPROVEDPROPOSAL to remove the member. // // * DELETED - The member can no // longer participate on the network and all associated resources are deleted. // Either the AWS account that owns the member deleted it, or the member is being // deleted as the result of an APPROVEDPROPOSAL to remove the member. Status MemberStatus // The unique identifier of the member. Id *string // The date and time that the member was created. CreationDate *time.Time }
A summary of configuration properties for a member.
type Network ¶
type Network struct { // The voting rules for the network to decide if a proposal is accepted. VotingPolicy *VotingPolicy // The VPC endpoint service name of the VPC endpoint service of the network. // Members use the VPC endpoint service name to create a VPC endpoint to access // network resources. VpcEndpointServiceName *string // Attributes of the blockchain framework that the network uses. FrameworkAttributes *NetworkFrameworkAttributes // The current status of the network. Status NetworkStatus // The name of the network. Name *string // The blockchain framework that the network uses. Framework Framework // The unique identifier of the network. Id *string // Attributes of the blockchain framework for the network. Description *string // The version of the blockchain framework that the network uses. FrameworkVersion *string // The date and time that the network was created. CreationDate *time.Time }
Network configuration properties.
type NetworkFabricAttributes ¶
type NetworkFabricAttributes struct { // The endpoint of the ordering service for the network. OrderingServiceEndpoint *string // The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more // information, see Amazon Managed Blockchain Pricing // (http://aws.amazon.com/managed-blockchain/pricing/). Edition Edition }
Attributes of Hyperledger Fabric for a network.
type NetworkFabricConfiguration ¶
type NetworkFabricConfiguration struct { // The edition of Amazon Managed Blockchain that the network uses. For more // information, see Amazon Managed Blockchain Pricing // (http://aws.amazon.com/managed-blockchain/pricing/). Edition Edition }
Hyperledger Fabric configuration properties for the network.
type NetworkFrameworkAttributes ¶
type NetworkFrameworkAttributes struct { // Attributes of Hyperledger Fabric for a Managed Blockchain network that uses // Hyperledger Fabric. Fabric *NetworkFabricAttributes }
Attributes relevant to the network for the blockchain framework that the network uses.
type NetworkFrameworkConfiguration ¶
type NetworkFrameworkConfiguration struct { // Hyperledger Fabric configuration properties for a Managed Blockchain network // that uses Hyperledger Fabric. Fabric *NetworkFabricConfiguration }
Configuration properties relevant to the network for the blockchain framework that the network uses.
type NetworkStatus ¶
type NetworkStatus string
const ( NetworkStatusCreating NetworkStatus = "CREATING" NetworkStatusAvailable NetworkStatus = "AVAILABLE" NetworkStatusCreate_failed NetworkStatus = "CREATE_FAILED" NetworkStatusDeleting NetworkStatus = "DELETING" NetworkStatusDeleted NetworkStatus = "DELETED" )
Enum values for NetworkStatus
type NetworkSummary ¶
type NetworkSummary struct { // The unique identifier of the network. Id *string // The version of the blockchain framework that the network uses. FrameworkVersion *string // The date and time that the network was created. CreationDate *time.Time // The current status of the network. Status NetworkStatus // An optional description of the network. Description *string // The name of the network. Name *string // The blockchain framework that the network uses. Framework Framework }
A summary of network configuration properties.
type Node ¶
type Node struct { // The instance type of the node. InstanceType *string // The unique identifier of the node. Id *string // LogPublishingConfiguration *NodeLogPublishingConfiguration // The unique identifier of the network that the node is in. NetworkId *string // Attributes of the blockchain framework being used. FrameworkAttributes *NodeFrameworkAttributes // The unique identifier of the member to which the node belongs. MemberId *string // The Availability Zone in which the node exists. AvailabilityZone *string // The date and time that the node was created. CreationDate *time.Time // The status of the node. Status NodeStatus }
Configuration properties of a peer node.
type NodeConfiguration ¶
type NodeConfiguration struct { // The Availability Zone in which the node exists. AvailabilityZone *string // The Amazon Managed Blockchain instance type for the node. InstanceType *string // LogPublishingConfiguration *NodeLogPublishingConfiguration }
Configuration properties of a peer node.
type NodeFabricAttributes ¶
type NodeFabricAttributes struct { // The endpoint that identifies the peer node for peer channel-based event // services. PeerEventEndpoint *string // The endpoint that identifies the peer node for all services except peer // channel-based event services. PeerEndpoint *string }
Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.
type NodeFabricLogPublishingConfiguration ¶
type NodeFabricLogPublishingConfiguration struct { // Configuration properties for a peer node log. Peer node logs contain messages // generated when your client submits transaction proposals to peer nodes, requests // to join channels, enrolls an admin peer, and lists the chaincode instances on a // peer node. PeerLogs *LogConfigurations // Configuration properties for logging events associated with chaincode execution // on a peer node. Chaincode logs contain the results of instantiating, invoking, // and querying the chaincode. A peer can run multiple instances of chaincode. When // enabled, a log stream is created for all chaincodes, with an individual log // stream for each chaincode. ChaincodeLogs *LogConfigurations }
Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.
type NodeFrameworkAttributes ¶
type NodeFrameworkAttributes struct { // Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network // that uses Hyperledger Fabric. Fabric *NodeFabricAttributes }
Attributes relevant to a peer node on a Managed Blockchain network for the blockchain framework that the network uses.
type NodeLogPublishingConfiguration ¶
type NodeLogPublishingConfiguration struct { // Configuration properties for logging events associated with a node that is owned // by a member of a Managed Blockchain network using the Hyperledger Fabric // framework. Fabric *NodeFabricLogPublishingConfiguration }
Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.
type NodeStatus ¶
type NodeStatus string
const ( NodeStatusCreating NodeStatus = "CREATING" NodeStatusAvailable NodeStatus = "AVAILABLE" NodeStatusCreate_failed NodeStatus = "CREATE_FAILED" NodeStatusUpdating NodeStatus = "UPDATING" NodeStatusDeleting NodeStatus = "DELETING" NodeStatusDeleted NodeStatus = "DELETED" NodeStatusFailed NodeStatus = "FAILED" )
Enum values for NodeStatus
type NodeSummary ¶
type NodeSummary struct { // The Availability Zone in which the node exists. AvailabilityZone *string // The unique identifier of the node. Id *string // The EC2 instance type for the node. InstanceType *string // The status of the node. Status NodeStatus // The date and time that the node was created. CreationDate *time.Time }
A summary of configuration properties for a peer node.
type Proposal ¶
type Proposal struct { // The current total of NO votes cast on the proposal by members. NoVoteCount *int32 // The date and time that the proposal was created. CreationDate *time.Time // 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. OutstandingVoteCount *int32 // The unique identifier of the member that created the proposal. ProposedByMemberId *string // The name of the member that created the proposal. ProposedByMemberName *string // The current total of YES votes cast on the proposal by members. YesVoteCount *int32 // The unique identifier of the network for which the proposal is made. NetworkId *string // The description of the proposal. Description *string // The unique identifier of the proposal. ProposalId *string // 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. ExpirationDate *time.Time // The actions to perform on the network if the proposal is APPROVED. Actions *ProposalActions // 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. Status ProposalStatus }
Properties of a proposal on a Managed Blockchain network.
type ProposalActions ¶
type ProposalActions struct { // The actions to perform for an APPROVED proposal to remove a member from the // network, which deletes the member and all associated member resources from the // network. Removals []*RemoveAction // The actions to perform for an APPROVED proposal to invite an AWS account to // create a member and join the network. Invitations []*InviteAction }
The actions to carry out if a proposal is APPROVED.
type ProposalStatus ¶
type ProposalStatus string
const ( ProposalStatusIn_progress ProposalStatus = "IN_PROGRESS" ProposalStatusApproved ProposalStatus = "APPROVED" ProposalStatusRejected ProposalStatus = "REJECTED" ProposalStatusExpired ProposalStatus = "EXPIRED" ProposalStatusAction_failed ProposalStatus = "ACTION_FAILED" )
Enum values for ProposalStatus
type ProposalSummary ¶
type ProposalSummary struct { // 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. Status ProposalStatus // The date and time that the proposal was created. CreationDate *time.Time // The description of the proposal. Description *string // 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. ExpirationDate *time.Time // The name of the member that created the proposal. ProposedByMemberName *string // The unique identifier of the member that created the proposal. ProposedByMemberId *string // The unique identifier of the proposal. ProposalId *string }
Properties of a proposal.
type RemoveAction ¶
type RemoveAction struct { // The unique identifier of the member to remove. MemberId *string }
An action to remove a member from a Managed Blockchain network as the result of a removal proposal that is APPROVED. The member and all associated resources are deleted from the network.
type ResourceAlreadyExistsException ¶
type ResourceAlreadyExistsException struct { Message *string }
A resource request is issued for a resource that already exists.
func (*ResourceAlreadyExistsException) Error ¶
func (e *ResourceAlreadyExistsException) Error() string
func (*ResourceAlreadyExistsException) ErrorCode ¶
func (e *ResourceAlreadyExistsException) ErrorCode() string
func (*ResourceAlreadyExistsException) ErrorFault ¶
func (e *ResourceAlreadyExistsException) ErrorFault() smithy.ErrorFault
func (*ResourceAlreadyExistsException) ErrorMessage ¶
func (e *ResourceAlreadyExistsException) ErrorMessage() string
func (*ResourceAlreadyExistsException) GetMessage ¶
func (e *ResourceAlreadyExistsException) GetMessage() string
func (*ResourceAlreadyExistsException) HasMessage ¶
func (e *ResourceAlreadyExistsException) HasMessage() bool
type ResourceLimitExceededException ¶
type ResourceLimitExceededException struct { Message *string }
The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
func (*ResourceLimitExceededException) Error ¶
func (e *ResourceLimitExceededException) Error() string
func (*ResourceLimitExceededException) ErrorCode ¶
func (e *ResourceLimitExceededException) ErrorCode() string
func (*ResourceLimitExceededException) ErrorFault ¶
func (e *ResourceLimitExceededException) ErrorFault() smithy.ErrorFault
func (*ResourceLimitExceededException) ErrorMessage ¶
func (e *ResourceLimitExceededException) ErrorMessage() string
func (*ResourceLimitExceededException) GetMessage ¶
func (e *ResourceLimitExceededException) GetMessage() string
func (*ResourceLimitExceededException) HasMessage ¶
func (e *ResourceLimitExceededException) HasMessage() bool
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string }
A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
func (*ResourceNotFoundException) GetMessage ¶
func (e *ResourceNotFoundException) GetMessage() string
func (*ResourceNotFoundException) HasMessage ¶
func (e *ResourceNotFoundException) HasMessage() bool
type ResourceNotReadyException ¶
type ResourceNotReadyException struct { Message *string }
The requested resource exists but is not in a status that can complete the operation.
func (*ResourceNotReadyException) Error ¶
func (e *ResourceNotReadyException) Error() string
func (*ResourceNotReadyException) ErrorCode ¶
func (e *ResourceNotReadyException) ErrorCode() string
func (*ResourceNotReadyException) ErrorFault ¶
func (e *ResourceNotReadyException) ErrorFault() smithy.ErrorFault
func (*ResourceNotReadyException) ErrorMessage ¶
func (e *ResourceNotReadyException) ErrorMessage() string
func (*ResourceNotReadyException) GetMessage ¶
func (e *ResourceNotReadyException) GetMessage() string
func (*ResourceNotReadyException) HasMessage ¶
func (e *ResourceNotReadyException) HasMessage() bool
type ThresholdComparator ¶
type ThresholdComparator string
const ( ThresholdComparatorGreater_than ThresholdComparator = "GREATER_THAN" ThresholdComparatorGreater_than_or_equal_to ThresholdComparator = "GREATER_THAN_OR_EQUAL_TO" )
Enum values for ThresholdComparator
type ThrottlingException ¶
type ThrottlingException struct { Message *string }
The request or operation could not be performed because a service is throttling requests. The most common source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is exceeded. Request a limit increase or delete unused resources if possible.
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
type VoteSummary ¶
type VoteSummary struct { // The name of the member that cast the vote. MemberName *string // The vote value, either YES or NO. Vote VoteValue // The unique identifier of the member that cast the vote. MemberId *string }
Properties of an individual vote that a member cast for a proposal.
type VoteValue ¶
type VoteValue string
Enum values for VoteValue
type VotingPolicy ¶
type VotingPolicy struct { // Defines the rules for the network for voting on proposals, such as the // percentage of YES votes required for the proposal to be approved and the // duration of the proposal. The policy applies to all proposals and is specified // when the network is created. ApprovalThresholdPolicy *ApprovalThresholdPolicy }
The voting rules for the network to decide if a proposal is accepted
Source Files ¶
- Version
- v0.1.0
- Published
- Sep 29, 2020
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- 1 hour ago –
Tools for package owners.