func AccessorNetworkType_Values() []string
AccessorNetworkType_Values returns all elements of the AccessorNetworkType enum
func AccessorStatus_Values() []string
AccessorStatus_Values returns all elements of the AccessorStatus enum
func AccessorType_Values() []string
AccessorType_Values returns all elements of the AccessorType enum
func Edition_Values() []string
Edition_Values returns all elements of the Edition enum
func Framework_Values() []string
Framework_Values returns all elements of the Framework enum
func InvitationStatus_Values() []string
InvitationStatus_Values returns all elements of the InvitationStatus enum
func MemberStatus_Values() []string
MemberStatus_Values returns all elements of the MemberStatus enum
func NetworkStatus_Values() []string
NetworkStatus_Values returns all elements of the NetworkStatus enum
func NodeStatus_Values() []string
NodeStatus_Values returns all elements of the NodeStatus enum
func ProposalStatus_Values() []string
ProposalStatus_Values returns all elements of the ProposalStatus enum
func StateDBType_Values() []string
StateDBType_Values returns all elements of the StateDBType enum
func ThresholdComparator_Values() []string
ThresholdComparator_Values returns all elements of the ThresholdComparator enum
func VoteValue_Values() []string
VoteValue_Values returns all elements of the VoteValue enum
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
You don't have sufficient access to perform this action.
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Accessor struct { // The Amazon Resource Name (ARN) of the accessor. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The billing token is a property of the Accessor. Use this token to when making // calls to the blockchain network. The billing token is used to track your // accessor token for billing requests. BillingToken *string `min:"42" type:"string"` // The creation date and time of the accessor. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The unique identifier of the accessor. Id *string `min:"1" type:"string"` // The blockchain network that the Accessor token is created for. NetworkType *string `type:"string" enum:"AccessorNetworkType"` // The current status of the accessor. Status *string `type:"string" enum:"AccessorStatus"` // The tags assigned to the Accessor. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // The type of the accessor. // // Currently, accessor type is restricted to BILLING_TOKEN. Type *string `type:"string" enum:"AccessorType"` // contains filtered or unexported fields }
The properties of the Accessor.
func (s Accessor) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Accessor) SetArn(v string) *Accessor
SetArn sets the Arn field's value.
func (s *Accessor) SetBillingToken(v string) *Accessor
SetBillingToken sets the BillingToken field's value.
func (s *Accessor) SetCreationDate(v time.Time) *Accessor
SetCreationDate sets the CreationDate field's value.
func (s *Accessor) SetId(v string) *Accessor
SetId sets the Id field's value.
func (s *Accessor) SetNetworkType(v string) *Accessor
SetNetworkType sets the NetworkType field's value.
func (s *Accessor) SetStatus(v string) *Accessor
SetStatus sets the Status field's value.
func (s *Accessor) SetTags(v map[string]*string) *Accessor
SetTags sets the Tags field's value.
func (s *Accessor) SetType(v string) *Accessor
SetType sets the Type field's value.
func (s Accessor) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccessorSummary struct { // The Amazon Resource Name (ARN) of the accessor. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The creation date and time of the accessor. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The unique identifier of the accessor. Id *string `min:"1" type:"string"` // The blockchain network that the Accessor token is created for. NetworkType *string `type:"string" enum:"AccessorNetworkType"` // The current status of the accessor. Status *string `type:"string" enum:"AccessorStatus"` // The type of the accessor. // // Currently accessor type is restricted to BILLING_TOKEN. Type *string `type:"string" enum:"AccessorType"` // contains filtered or unexported fields }
A summary of accessor properties.
func (s AccessorSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessorSummary) SetArn(v string) *AccessorSummary
SetArn sets the Arn field's value.
func (s *AccessorSummary) SetCreationDate(v time.Time) *AccessorSummary
SetCreationDate sets the CreationDate field's value.
func (s *AccessorSummary) SetId(v string) *AccessorSummary
SetId sets the Id field's value.
func (s *AccessorSummary) SetNetworkType(v string) *AccessorSummary
SetNetworkType sets the NetworkType field's value.
func (s *AccessorSummary) SetStatus(v string) *AccessorSummary
SetStatus sets the Status field's value.
func (s *AccessorSummary) SetType(v string) *AccessorSummary
SetType sets the Type field's value.
func (s AccessorSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 aren't carried out. ProposalDurationInHours *int64 `min:"1" type:"integer"` // Determines whether the vote percentage must be greater than the ThresholdPercentage // or must be greater than or equal to the ThresholdPercentage to be approved. ThresholdComparator *string `type:"string" enum:"ThresholdComparator"` // 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 *int64 `type:"integer"` // contains filtered or unexported fields }
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.
Applies only to Hyperledger Fabric.
func (s ApprovalThresholdPolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApprovalThresholdPolicy) SetProposalDurationInHours(v int64) *ApprovalThresholdPolicy
SetProposalDurationInHours sets the ProposalDurationInHours field's value.
func (s *ApprovalThresholdPolicy) SetThresholdComparator(v string) *ApprovalThresholdPolicy
SetThresholdComparator sets the ThresholdComparator field's value.
func (s *ApprovalThresholdPolicy) SetThresholdPercentage(v int64) *ApprovalThresholdPolicy
SetThresholdPercentage sets the ThresholdPercentage field's value.
func (s ApprovalThresholdPolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ApprovalThresholdPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAccessorInput struct { // The type of accessor. // // Currently, accessor type is restricted to BILLING_TOKEN. // // AccessorType is a required field AccessorType *string `type:"string" required:"true" enum:"AccessorType"` // This is a unique, case-sensitive identifier that you provide to ensure the // idempotency of the operation. An idempotent operation completes no more than // once. This identifier is required only if you make a service request directly // using an HTTP client. It is generated automatically if you use an Amazon // Web Services SDK or the Amazon Web Services CLI. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The blockchain network that the Accessor token is created for. // // * Use the actual networkType value for the blockchain network that you // are creating the Accessor token for. // // * With the shut down of the Ethereum Goerli and Polygon Mumbai Testnet // networks the following networkType values are no longer available for // selection and use. ETHEREUM_MAINNET_AND_GOERLI ETHEREUM_GOERLI POLYGON_MUMBAI // However, your existing Accessor tokens with these networkType values will // remain unchanged. NetworkType *string `type:"string" enum:"AccessorNetworkType"` // Tags to assign to the Accessor. // // Each tag consists of a key and an optional value. You can specify multiple // key-value pairs in a single request with an overall maximum of 50 tags allowed // per resource. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s CreateAccessorInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAccessorInput) SetAccessorType(v string) *CreateAccessorInput
SetAccessorType sets the AccessorType field's value.
func (s *CreateAccessorInput) SetClientRequestToken(v string) *CreateAccessorInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateAccessorInput) SetNetworkType(v string) *CreateAccessorInput
SetNetworkType sets the NetworkType field's value.
func (s *CreateAccessorInput) SetTags(v map[string]*string) *CreateAccessorInput
SetTags sets the Tags field's value.
func (s CreateAccessorInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAccessorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAccessorOutput struct { // The unique identifier of the accessor. AccessorId *string `min:"1" type:"string"` // The billing token is a property of the Accessor. Use this token to when making // calls to the blockchain network. The billing token is used to track your // accessor token for billing requests. BillingToken *string `min:"42" type:"string"` // The blockchain network that the accessor token is created for. NetworkType *string `type:"string" enum:"AccessorNetworkType"` // contains filtered or unexported fields }
func (s CreateAccessorOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateAccessorOutput) SetAccessorId(v string) *CreateAccessorOutput
SetAccessorId sets the AccessorId field's value.
func (s *CreateAccessorOutput) SetBillingToken(v string) *CreateAccessorOutput
SetBillingToken sets the BillingToken field's value.
func (s *CreateAccessorOutput) SetNetworkType(v string) *CreateAccessorOutput
SetNetworkType sets the NetworkType field's value.
func (s CreateAccessorOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateMemberInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the operation. An idempotent operation completes no more than one time. // This identifier is required only if you make a service request directly using // an HTTP client. It is generated automatically if you use an Amazon Web Services // SDK or the CLI. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The unique identifier of the invitation that is sent to the member to join // the network. // // InvitationId is a required field InvitationId *string `min:"1" type:"string" required:"true"` // Member configuration parameters. // // MemberConfiguration is a required field MemberConfiguration *MemberConfiguration `type:"structure" required:"true"` // The unique identifier of the network in which the member is created. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateMemberInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateMemberInput) SetClientRequestToken(v string) *CreateMemberInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateMemberInput) SetInvitationId(v string) *CreateMemberInput
SetInvitationId sets the InvitationId field's value.
func (s *CreateMemberInput) SetMemberConfiguration(v *MemberConfiguration) *CreateMemberInput
SetMemberConfiguration sets the MemberConfiguration field's value.
func (s *CreateMemberInput) SetNetworkId(v string) *CreateMemberInput
SetNetworkId sets the NetworkId field's value.
func (s CreateMemberInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMemberOutput struct { // The unique identifier of the member. MemberId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s CreateMemberOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateMemberOutput) SetMemberId(v string) *CreateMemberOutput
SetMemberId sets the MemberId field's value.
func (s CreateMemberOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateNetworkInput struct { // This is a unique, case-sensitive identifier that you provide to ensure the // idempotency of the operation. An idempotent operation completes no more than // once. This identifier is required only if you make a service request directly // using an HTTP client. It is generated automatically if you use an Amazon // Web Services SDK or the Amazon Web Services CLI. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // An optional description for the network. Description *string `type:"string"` // The blockchain framework that the network uses. // // Framework is a required field Framework *string `type:"string" required:"true" enum:"Framework"` // Configuration properties of the blockchain framework relevant to the network // configuration. FrameworkConfiguration *NetworkFrameworkConfiguration `type:"structure"` // The version of the blockchain framework that the network uses. // // FrameworkVersion is a required field FrameworkVersion *string `min:"1" type:"string" required:"true"` // Configuration properties for the first member within the network. // // MemberConfiguration is a required field MemberConfiguration *MemberConfiguration `type:"structure" required:"true"` // The name of the network. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // Tags to assign to the network. // // Each tag consists of a key and an optional value. You can specify multiple // key-value pairs in a single request with an overall maximum of 50 tags allowed // per resource. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // The voting rules used by the network to determine if a proposal is approved. // // VotingPolicy is a required field VotingPolicy *VotingPolicy `type:"structure" required:"true"` // contains filtered or unexported fields }
func (s CreateNetworkInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNetworkInput) SetClientRequestToken(v string) *CreateNetworkInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateNetworkInput) SetDescription(v string) *CreateNetworkInput
SetDescription sets the Description field's value.
func (s *CreateNetworkInput) SetFramework(v string) *CreateNetworkInput
SetFramework sets the Framework field's value.
func (s *CreateNetworkInput) SetFrameworkConfiguration(v *NetworkFrameworkConfiguration) *CreateNetworkInput
SetFrameworkConfiguration sets the FrameworkConfiguration field's value.
func (s *CreateNetworkInput) SetFrameworkVersion(v string) *CreateNetworkInput
SetFrameworkVersion sets the FrameworkVersion field's value.
func (s *CreateNetworkInput) SetMemberConfiguration(v *MemberConfiguration) *CreateNetworkInput
SetMemberConfiguration sets the MemberConfiguration field's value.
func (s *CreateNetworkInput) SetName(v string) *CreateNetworkInput
SetName sets the Name field's value.
func (s *CreateNetworkInput) SetTags(v map[string]*string) *CreateNetworkInput
SetTags sets the Tags field's value.
func (s *CreateNetworkInput) SetVotingPolicy(v *VotingPolicy) *CreateNetworkInput
SetVotingPolicy sets the VotingPolicy field's value.
func (s CreateNetworkInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNetworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNetworkOutput struct { // The unique identifier for the first member within the network. MemberId *string `min:"1" type:"string"` // The unique identifier for the network. NetworkId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s CreateNetworkOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNetworkOutput) SetMemberId(v string) *CreateNetworkOutput
SetMemberId sets the MemberId field's value.
func (s *CreateNetworkOutput) SetNetworkId(v string) *CreateNetworkOutput
SetNetworkId sets the NetworkId field's value.
func (s CreateNetworkOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateNodeInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the operation. An idempotent operation completes no more than one time. // This identifier is required only if you make a service request directly using // an HTTP client. It is generated automatically if you use an Amazon Web Services // SDK or the CLI. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The unique identifier of the member that owns this node. // // Applies only to Hyperledger Fabric. MemberId *string `min:"1" type:"string"` // The unique identifier of the network for the node. // // Ethereum public networks have the following NetworkIds: // // * n-ethereum-mainnet // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The properties of a node configuration. // // NodeConfiguration is a required field NodeConfiguration *NodeConfiguration `type:"structure" required:"true"` // Tags to assign to the node. // // Each tag consists of a key and an optional value. You can specify multiple // key-value pairs in a single request with an overall maximum of 50 tags allowed // per resource. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s CreateNodeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNodeInput) SetClientRequestToken(v string) *CreateNodeInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateNodeInput) SetMemberId(v string) *CreateNodeInput
SetMemberId sets the MemberId field's value.
func (s *CreateNodeInput) SetNetworkId(v string) *CreateNodeInput
SetNetworkId sets the NetworkId field's value.
func (s *CreateNodeInput) SetNodeConfiguration(v *NodeConfiguration) *CreateNodeInput
SetNodeConfiguration sets the NodeConfiguration field's value.
func (s *CreateNodeInput) SetTags(v map[string]*string) *CreateNodeInput
SetTags sets the Tags field's value.
func (s CreateNodeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNodeOutput struct { // The unique identifier of the node. NodeId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s CreateNodeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNodeOutput) SetNodeId(v string) *CreateNodeOutput
SetNodeId sets the NodeId field's value.
func (s CreateNodeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateProposalInput struct { // The type of actions proposed, such as inviting a member or removing a member. // The types of Actions in a proposal are mutually exclusive. For example, a // proposal with Invitations actions cannot also contain Removals actions. // // Actions is a required field Actions *ProposalActions `type:"structure" required:"true"` // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the operation. An idempotent operation completes no more than one time. // This identifier is required only if you make a service request directly using // an HTTP client. It is generated automatically if you use an Amazon Web Services // SDK or the CLI. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // A description for the proposal that is visible to voting members, for example, // "Proposal to add Example Corp. as member." Description *string `type:"string"` // The unique identifier of the member that is creating the proposal. This identifier // is especially useful for identifying the member making the proposal when // multiple members exist in a single Amazon Web Services account. // // MemberId is a required field MemberId *string `min:"1" type:"string" required:"true"` // The unique identifier of the network for which the proposal is made. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // Tags to assign to the proposal. // // Each tag consists of a key and an optional value. You can specify multiple // key-value pairs in a single request with an overall maximum of 50 tags allowed // per resource. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s CreateProposalInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateProposalInput) SetActions(v *ProposalActions) *CreateProposalInput
SetActions sets the Actions field's value.
func (s *CreateProposalInput) SetClientRequestToken(v string) *CreateProposalInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateProposalInput) SetDescription(v string) *CreateProposalInput
SetDescription sets the Description field's value.
func (s *CreateProposalInput) SetMemberId(v string) *CreateProposalInput
SetMemberId sets the MemberId field's value.
func (s *CreateProposalInput) SetNetworkId(v string) *CreateProposalInput
SetNetworkId sets the NetworkId field's value.
func (s *CreateProposalInput) SetTags(v map[string]*string) *CreateProposalInput
SetTags sets the Tags field's value.
func (s CreateProposalInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateProposalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateProposalOutput struct { // The unique identifier of the proposal. ProposalId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s CreateProposalOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateProposalOutput) SetProposalId(v string) *CreateProposalOutput
SetProposalId sets the ProposalId field's value.
func (s CreateProposalOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteAccessorInput struct { // The unique identifier of the accessor. // // AccessorId is a required field AccessorId *string `location:"uri" locationName:"AccessorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteAccessorInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAccessorInput) SetAccessorId(v string) *DeleteAccessorInput
SetAccessorId sets the AccessorId field's value.
func (s DeleteAccessorInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAccessorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAccessorOutput struct {
// contains filtered or unexported fields
}
func (s DeleteAccessorOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteAccessorOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteMemberInput struct { // The unique identifier of the member to remove. // // MemberId is a required field MemberId *string `location:"uri" locationName:"memberId" min:"1" type:"string" required:"true"` // The unique identifier of the network from which the member is removed. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteMemberInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteMemberInput) SetMemberId(v string) *DeleteMemberInput
SetMemberId sets the MemberId field's value.
func (s *DeleteMemberInput) SetNetworkId(v string) *DeleteMemberInput
SetNetworkId sets the NetworkId field's value.
func (s DeleteMemberInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMemberOutput struct {
// contains filtered or unexported fields
}
func (s DeleteMemberOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteMemberOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteNodeInput struct { // The unique identifier of the member that owns this node. // // Applies only to Hyperledger Fabric and is required for Hyperledger Fabric. MemberId *string `location:"querystring" locationName:"memberId" min:"1" type:"string"` // The unique identifier of the network that the node is on. // // Ethereum public networks have the following NetworkIds: // // * n-ethereum-mainnet // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The unique identifier of the node. // // NodeId is a required field NodeId *string `location:"uri" locationName:"nodeId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteNodeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteNodeInput) SetMemberId(v string) *DeleteNodeInput
SetMemberId sets the MemberId field's value.
func (s *DeleteNodeInput) SetNetworkId(v string) *DeleteNodeInput
SetNetworkId sets the NetworkId field's value.
func (s *DeleteNodeInput) SetNodeId(v string) *DeleteNodeInput
SetNodeId sets the NodeId field's value.
func (s DeleteNodeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNodeOutput struct {
// contains filtered or unexported fields
}
func (s DeleteNodeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteNodeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAccessorInput struct { // The unique identifier of the accessor. // // AccessorId is a required field AccessorId *string `location:"uri" locationName:"AccessorId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetAccessorInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAccessorInput) SetAccessorId(v string) *GetAccessorInput
SetAccessorId sets the AccessorId field's value.
func (s GetAccessorInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAccessorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAccessorOutput struct { // The properties of the accessor. Accessor *Accessor `type:"structure"` // contains filtered or unexported fields }
func (s GetAccessorOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetAccessorOutput) SetAccessor(v *Accessor) *GetAccessorOutput
SetAccessor sets the Accessor field's value.
func (s GetAccessorOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetMemberInput struct { // The unique identifier of the member. // // MemberId is a required field MemberId *string `location:"uri" locationName:"memberId" min:"1" type:"string" required:"true"` // The unique identifier of the network to which the member belongs. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetMemberInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMemberInput) SetMemberId(v string) *GetMemberInput
SetMemberId sets the MemberId field's value.
func (s *GetMemberInput) SetNetworkId(v string) *GetMemberInput
SetNetworkId sets the NetworkId field's value.
func (s GetMemberInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMemberOutput struct { // The properties of a member. Member *Member `type:"structure"` // contains filtered or unexported fields }
func (s GetMemberOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMemberOutput) SetMember(v *Member) *GetMemberOutput
SetMember sets the Member field's value.
func (s GetMemberOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetNetworkInput struct { // The unique identifier of the network to get information about. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetNetworkInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetNetworkInput) SetNetworkId(v string) *GetNetworkInput
SetNetworkId sets the NetworkId field's value.
func (s GetNetworkInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetNetworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetNetworkOutput struct { // An object containing network configuration parameters. Network *Network `type:"structure"` // contains filtered or unexported fields }
func (s GetNetworkOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetNetworkOutput) SetNetwork(v *Network) *GetNetworkOutput
SetNetwork sets the Network field's value.
func (s GetNetworkOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetNodeInput struct { // The unique identifier of the member that owns the node. // // Applies only to Hyperledger Fabric and is required for Hyperledger Fabric. MemberId *string `location:"querystring" locationName:"memberId" min:"1" type:"string"` // The unique identifier of the network that the node is on. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The unique identifier of the node. // // NodeId is a required field NodeId *string `location:"uri" locationName:"nodeId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetNodeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetNodeInput) SetMemberId(v string) *GetNodeInput
SetMemberId sets the MemberId field's value.
func (s *GetNodeInput) SetNetworkId(v string) *GetNodeInput
SetNetworkId sets the NetworkId field's value.
func (s *GetNodeInput) SetNodeId(v string) *GetNodeInput
SetNodeId sets the NodeId field's value.
func (s GetNodeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetNodeOutput struct { // Properties of the node configuration. Node *Node `type:"structure"` // contains filtered or unexported fields }
func (s GetNodeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetNodeOutput) SetNode(v *Node) *GetNodeOutput
SetNode sets the Node field's value.
func (s GetNodeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetProposalInput struct { // The unique identifier of the network for which the proposal is made. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The unique identifier of the proposal. // // ProposalId is a required field ProposalId *string `location:"uri" locationName:"proposalId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetProposalInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetProposalInput) SetNetworkId(v string) *GetProposalInput
SetNetworkId sets the NetworkId field's value.
func (s *GetProposalInput) SetProposalId(v string) *GetProposalInput
SetProposalId sets the ProposalId field's value.
func (s GetProposalInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetProposalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetProposalOutput struct { // Information about a proposal. Proposal *Proposal `type:"structure"` // contains filtered or unexported fields }
func (s GetProposalOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetProposalOutput) SetProposal(v *Proposal) *GetProposalOutput
SetProposal sets the Proposal field's value.
func (s GetProposalOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IllegalActionException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
func (s *IllegalActionException) Code() string
Code returns the exception type name.
func (s *IllegalActionException) Error() string
func (s IllegalActionException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IllegalActionException) Message() string
Message returns the exception's message.
func (s *IllegalActionException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *IllegalActionException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *IllegalActionException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s IllegalActionException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServiceErrorException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request processing has failed because of an unknown error, exception or failure.
func (s *InternalServiceErrorException) Code() string
Code returns the exception type name.
func (s *InternalServiceErrorException) Error() string
func (s InternalServiceErrorException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InternalServiceErrorException) Message() string
Message returns the exception's message.
func (s *InternalServiceErrorException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServiceErrorException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServiceErrorException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalServiceErrorException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The action or operation requested is invalid. Verify that the action is typed correctly.
func (s *InvalidRequestException) Code() string
Code returns the exception type name.
func (s *InvalidRequestException) Error() string
func (s InvalidRequestException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InvalidRequestException) Message() string
Message returns the exception's message.
func (s *InvalidRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InvalidRequestException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Invitation struct { // The Amazon Resource Name (ARN) of the invitation. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The date and time that the invitation was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // 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 `type:"timestamp" timestampFormat:"iso8601"` // The unique identifier for the invitation. InvitationId *string `min:"1" type:"string"` // A summary of network configuration properties. NetworkSummary *NetworkSummary `type:"structure"` // The status of the invitation: // // * PENDING - The invitee hasn't created a member to join the network, and // the invitation hasn't yet expired. // // * ACCEPTING - The invitee has begun creating a member, and creation hasn't // 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 *string `type:"string" enum:"InvitationStatus"` // contains filtered or unexported fields }
An invitation to an Amazon Web Services account to create a member and join the network.
Applies only to Hyperledger Fabric.
func (s Invitation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Invitation) SetArn(v string) *Invitation
SetArn sets the Arn field's value.
func (s *Invitation) SetCreationDate(v time.Time) *Invitation
SetCreationDate sets the CreationDate field's value.
func (s *Invitation) SetExpirationDate(v time.Time) *Invitation
SetExpirationDate sets the ExpirationDate field's value.
func (s *Invitation) SetInvitationId(v string) *Invitation
SetInvitationId sets the InvitationId field's value.
func (s *Invitation) SetNetworkSummary(v *NetworkSummary) *Invitation
SetNetworkSummary sets the NetworkSummary field's value.
func (s *Invitation) SetStatus(v string) *Invitation
SetStatus sets the Status field's value.
func (s Invitation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InviteAction struct { // The Amazon Web Services account ID to invite. // // Principal is a required field Principal *string `type:"string" required:"true"` // contains filtered or unexported fields }
An action to invite a specific Amazon Web Services account to create a member and join the network. The InviteAction is carried out when a Proposal is APPROVED.
Applies only to Hyperledger Fabric.
func (s InviteAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InviteAction) SetPrincipal(v string) *InviteAction
SetPrincipal sets the Principal field's value.
func (s InviteAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InviteAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAccessorsInput struct { // The maximum number of accessors to list. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The blockchain network that the Accessor token is created for. // // Use the value ETHEREUM_MAINNET_AND_GOERLI for all existing Accessors tokens // that were created before the networkType property was introduced. NetworkType *string `location:"querystring" locationName:"networkType" type:"string" enum:"AccessorNetworkType"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListAccessorsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAccessorsInput) SetMaxResults(v int64) *ListAccessorsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAccessorsInput) SetNetworkType(v string) *ListAccessorsInput
SetNetworkType sets the NetworkType field's value.
func (s *ListAccessorsInput) SetNextToken(v string) *ListAccessorsInput
SetNextToken sets the NextToken field's value.
func (s ListAccessorsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAccessorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAccessorsOutput struct { // An array of AccessorSummary objects that contain configuration properties // for each accessor. Accessors []*AccessorSummary `type:"list"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListAccessorsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAccessorsOutput) SetAccessors(v []*AccessorSummary) *ListAccessorsOutput
SetAccessors sets the Accessors field's value.
func (s *ListAccessorsOutput) SetNextToken(v string) *ListAccessorsOutput
SetNextToken sets the NextToken field's value.
func (s ListAccessorsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListInvitationsInput struct { // The maximum number of invitations to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListInvitationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput
SetNextToken sets the NextToken field's value.
func (s ListInvitationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListInvitationsOutput struct { // The invitations for the network. Invitations []*Invitation `type:"list"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListInvitationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput
SetInvitations sets the Invitations field's value.
func (s *ListInvitationsOutput) SetNextToken(v string) *ListInvitationsOutput
SetNextToken sets the NextToken field's value.
func (s ListInvitationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListMembersInput struct { // An optional Boolean value. If provided, the request is limited either to // members that the current Amazon Web Services account owns (true) or that // other Amazon Web Services accountsn own (false). If omitted, all members // are listed. IsOwned *bool `location:"querystring" locationName:"isOwned" type:"boolean"` // The maximum number of members to return in the request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The optional name of the member to list. Name *string `location:"querystring" locationName:"name" type:"string"` // The unique identifier of the network for which to list members. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // An optional status specifier. If provided, only members currently in this // status are listed. Status *string `location:"querystring" locationName:"status" type:"string" enum:"MemberStatus"` // contains filtered or unexported fields }
func (s ListMembersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMembersInput) SetIsOwned(v bool) *ListMembersInput
SetIsOwned sets the IsOwned field's value.
func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMembersInput) SetName(v string) *ListMembersInput
SetName sets the Name field's value.
func (s *ListMembersInput) SetNetworkId(v string) *ListMembersInput
SetNetworkId sets the NetworkId field's value.
func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput
SetNextToken sets the NextToken field's value.
func (s *ListMembersInput) SetStatus(v string) *ListMembersInput
SetStatus sets the Status field's value.
func (s ListMembersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMembersOutput struct { // An array of MemberSummary objects. Each object contains details about a network // member. Members []*MemberSummary `type:"list"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListMembersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMembersOutput) SetMembers(v []*MemberSummary) *ListMembersOutput
SetMembers sets the Members field's value.
func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput
SetNextToken sets the NextToken field's value.
func (s ListMembersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListNetworksInput struct { // An optional framework specifier. If provided, only networks of this framework // type are listed. Framework *string `location:"querystring" locationName:"framework" type:"string" enum:"Framework"` // The maximum number of networks to list. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The name of the network. Name *string `location:"querystring" locationName:"name" type:"string"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // An optional status specifier. If provided, only networks currently in this // status are listed. // // Applies only to Hyperledger Fabric. Status *string `location:"querystring" locationName:"status" type:"string" enum:"NetworkStatus"` // contains filtered or unexported fields }
func (s ListNetworksInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListNetworksInput) SetFramework(v string) *ListNetworksInput
SetFramework sets the Framework field's value.
func (s *ListNetworksInput) SetMaxResults(v int64) *ListNetworksInput
SetMaxResults sets the MaxResults field's value.
func (s *ListNetworksInput) SetName(v string) *ListNetworksInput
SetName sets the Name field's value.
func (s *ListNetworksInput) SetNextToken(v string) *ListNetworksInput
SetNextToken sets the NextToken field's value.
func (s *ListNetworksInput) SetStatus(v string) *ListNetworksInput
SetStatus sets the Status field's value.
func (s ListNetworksInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListNetworksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListNetworksOutput struct { // An array of NetworkSummary objects that contain configuration properties // for each network. Networks []*NetworkSummary `type:"list"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListNetworksOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListNetworksOutput) SetNetworks(v []*NetworkSummary) *ListNetworksOutput
SetNetworks sets the Networks field's value.
func (s *ListNetworksOutput) SetNextToken(v string) *ListNetworksOutput
SetNextToken sets the NextToken field's value.
func (s ListNetworksOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListNodesInput struct { // The maximum number of nodes to list. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The unique identifier of the member who owns the nodes to list. // // Applies only to Hyperledger Fabric and is required for Hyperledger Fabric. MemberId *string `location:"querystring" locationName:"memberId" min:"1" type:"string"` // The unique identifier of the network for which to list nodes. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // An optional status specifier. If provided, only nodes currently in this status // are listed. Status *string `location:"querystring" locationName:"status" type:"string" enum:"NodeStatus"` // contains filtered or unexported fields }
func (s ListNodesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListNodesInput) SetMaxResults(v int64) *ListNodesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListNodesInput) SetMemberId(v string) *ListNodesInput
SetMemberId sets the MemberId field's value.
func (s *ListNodesInput) SetNetworkId(v string) *ListNodesInput
SetNetworkId sets the NetworkId field's value.
func (s *ListNodesInput) SetNextToken(v string) *ListNodesInput
SetNextToken sets the NextToken field's value.
func (s *ListNodesInput) SetStatus(v string) *ListNodesInput
SetStatus sets the Status field's value.
func (s ListNodesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListNodesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListNodesOutput struct { // The pagination token that indicates the next set of results to retrieve. NextToken *string `type:"string"` // An array of NodeSummary objects that contain configuration properties for // each node. Nodes []*NodeSummary `type:"list"` // contains filtered or unexported fields }
func (s ListNodesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListNodesOutput) SetNextToken(v string) *ListNodesOutput
SetNextToken sets the NextToken field's value.
func (s *ListNodesOutput) SetNodes(v []*NodeSummary) *ListNodesOutput
SetNodes sets the Nodes field's value.
func (s ListNodesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListProposalVotesInput struct { // The maximum number of votes to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The unique identifier of the network. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The unique identifier of the proposal. // // ProposalId is a required field ProposalId *string `location:"uri" locationName:"proposalId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListProposalVotesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListProposalVotesInput) SetMaxResults(v int64) *ListProposalVotesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListProposalVotesInput) SetNetworkId(v string) *ListProposalVotesInput
SetNetworkId sets the NetworkId field's value.
func (s *ListProposalVotesInput) SetNextToken(v string) *ListProposalVotesInput
SetNextToken sets the NextToken field's value.
func (s *ListProposalVotesInput) SetProposalId(v string) *ListProposalVotesInput
SetProposalId sets the ProposalId field's value.
func (s ListProposalVotesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListProposalVotesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProposalVotesOutput struct { // The pagination token that indicates the next set of results to retrieve. NextToken *string `type:"string"` // The list of votes. ProposalVotes []*VoteSummary `type:"list"` // contains filtered or unexported fields }
func (s ListProposalVotesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListProposalVotesOutput) SetNextToken(v string) *ListProposalVotesOutput
SetNextToken sets the NextToken field's value.
func (s *ListProposalVotesOutput) SetProposalVotes(v []*VoteSummary) *ListProposalVotesOutput
SetProposalVotes sets the ProposalVotes field's value.
func (s ListProposalVotesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListProposalsInput struct { // The maximum number of proposals to return. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The unique identifier of the network. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListProposalsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListProposalsInput) SetMaxResults(v int64) *ListProposalsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListProposalsInput) SetNetworkId(v string) *ListProposalsInput
SetNetworkId sets the NetworkId field's value.
func (s *ListProposalsInput) SetNextToken(v string) *ListProposalsInput
SetNextToken sets the NextToken field's value.
func (s ListProposalsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListProposalsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProposalsOutput struct { // The pagination token that indicates the next set of results to retrieve. NextToken *string `type:"string"` // The summary of each proposal made on the network. Proposals []*ProposalSummary `type:"list"` // contains filtered or unexported fields }
func (s ListProposalsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListProposalsOutput) SetNextToken(v string) *ListProposalsOutput
SetNextToken sets the NextToken field's value.
func (s *ListProposalsOutput) SetProposals(v []*ProposalSummary) *ListProposalsOutput
SetProposals sets the Proposals field's value.
func (s ListProposalsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // The tags assigned to the resource. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LogConfiguration struct { // Indicates whether logging is enabled. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
A configuration for logging events.
func (s LogConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LogConfiguration) SetEnabled(v bool) *LogConfiguration
SetEnabled sets the Enabled field's value.
func (s LogConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LogConfigurations struct { // Parameters for publishing logs to Amazon CloudWatch Logs. Cloudwatch *LogConfiguration `type:"structure"` // contains filtered or unexported fields }
A collection of log configurations.
func (s LogConfigurations) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LogConfigurations) SetCloudwatch(v *LogConfiguration) *LogConfigurations
SetCloudwatch sets the Cloudwatch field's value.
func (s LogConfigurations) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ManagedBlockchain struct { *client.Client }
ManagedBlockchain provides the API operation methods for making requests to Amazon Managed Blockchain. See this package's package overview docs for details on the service.
ManagedBlockchain methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ManagedBlockchain
New creates a new instance of the ManagedBlockchain client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a ManagedBlockchain client from just a session. svc := managedblockchain.New(mySession) // Create a ManagedBlockchain client with additional configuration svc := managedblockchain.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *ManagedBlockchain) CreateAccessor(input *CreateAccessorInput) (*CreateAccessorOutput, error)
CreateAccessor API operation for Amazon Managed Blockchain.
Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access. The accessor contains information required for token based access.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation CreateAccessor for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
ResourceLimitExceededException 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.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
TooManyTagsException
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateAccessor
func (c *ManagedBlockchain) CreateAccessorRequest(input *CreateAccessorInput) (req *request.Request, output *CreateAccessorOutput)
CreateAccessorRequest generates a "aws/request.Request" representing the client's request for the CreateAccessor operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateAccessor for more information on using the CreateAccessor API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateAccessorRequest method. req, resp := client.CreateAccessorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateAccessor
func (c *ManagedBlockchain) CreateAccessorWithContext(ctx aws.Context, input *CreateAccessorInput, opts ...request.Option) (*CreateAccessorOutput, error)
CreateAccessorWithContext is the same as CreateAccessor with the addition of the ability to pass a context and additional request options.
See CreateAccessor for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) CreateMember(input *CreateMemberInput) (*CreateMemberOutput, error)
CreateMember API operation for Amazon Managed Blockchain.
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation CreateMember for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
ResourceLimitExceededException 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.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
TooManyTagsException
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateMember
func (c *ManagedBlockchain) CreateMemberRequest(input *CreateMemberInput) (req *request.Request, output *CreateMemberOutput)
CreateMemberRequest generates a "aws/request.Request" representing the client's request for the CreateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateMember for more information on using the CreateMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateMemberRequest method. req, resp := client.CreateMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateMember
func (c *ManagedBlockchain) CreateMemberWithContext(ctx aws.Context, input *CreateMemberInput, opts ...request.Option) (*CreateMemberOutput, error)
CreateMemberWithContext is the same as CreateMember with the addition of the ability to pass a context and additional request options.
See CreateMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) CreateNetwork(input *CreateNetworkInput) (*CreateNetworkOutput, error)
CreateNetwork API operation for Amazon Managed Blockchain.
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation CreateNetwork for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
ResourceLimitExceededException 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.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
TooManyTagsException
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetwork
func (c *ManagedBlockchain) CreateNetworkRequest(input *CreateNetworkInput) (req *request.Request, output *CreateNetworkOutput)
CreateNetworkRequest generates a "aws/request.Request" representing the client's request for the CreateNetwork operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateNetwork for more information on using the CreateNetwork API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateNetworkRequest method. req, resp := client.CreateNetworkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetwork
func (c *ManagedBlockchain) CreateNetworkWithContext(ctx aws.Context, input *CreateNetworkInput, opts ...request.Option) (*CreateNetworkOutput, error)
CreateNetworkWithContext is the same as CreateNetwork with the addition of the ability to pass a context and additional request options.
See CreateNetwork for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) CreateNode(input *CreateNodeInput) (*CreateNodeOutput, error)
CreateNode API operation for Amazon Managed Blockchain.
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation CreateNode for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
ResourceLimitExceededException 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.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
TooManyTagsException
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNode
func (c *ManagedBlockchain) CreateNodeRequest(input *CreateNodeInput) (req *request.Request, output *CreateNodeOutput)
CreateNodeRequest generates a "aws/request.Request" representing the client's request for the CreateNode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateNode for more information on using the CreateNode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateNodeRequest method. req, resp := client.CreateNodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNode
func (c *ManagedBlockchain) CreateNodeWithContext(ctx aws.Context, input *CreateNodeInput, opts ...request.Option) (*CreateNodeOutput, error)
CreateNodeWithContext is the same as CreateNode with the addition of the ability to pass a context and additional request options.
See CreateNode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) CreateProposal(input *CreateProposalInput) (*CreateProposalOutput, error)
CreateProposal API operation for Amazon Managed Blockchain.
Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation CreateProposal for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
TooManyTagsException
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposal
func (c *ManagedBlockchain) CreateProposalRequest(input *CreateProposalInput) (req *request.Request, output *CreateProposalOutput)
CreateProposalRequest generates a "aws/request.Request" representing the client's request for the CreateProposal operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateProposal for more information on using the CreateProposal API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateProposalRequest method. req, resp := client.CreateProposalRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposal
func (c *ManagedBlockchain) CreateProposalWithContext(ctx aws.Context, input *CreateProposalInput, opts ...request.Option) (*CreateProposalOutput, error)
CreateProposalWithContext is the same as CreateProposal with the addition of the ability to pass a context and additional request options.
See CreateProposal for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) DeleteAccessor(input *DeleteAccessorInput) (*DeleteAccessorOutput, error)
DeleteAccessor API operation for Amazon Managed Blockchain.
Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the information required for token based access to your Ethereum nodes including, the BILLING_TOKEN. After an accessor is deleted, the status of the accessor changes from AVAILABLE to PENDING_DELETION. An accessor in the PENDING_DELETION state can’t be used for new WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in the AVAILABLE state remain open until they expire (up to 2 hours).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation DeleteAccessor for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteAccessor
func (c *ManagedBlockchain) DeleteAccessorRequest(input *DeleteAccessorInput) (req *request.Request, output *DeleteAccessorOutput)
DeleteAccessorRequest generates a "aws/request.Request" representing the client's request for the DeleteAccessor operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAccessor for more information on using the DeleteAccessor API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAccessorRequest method. req, resp := client.DeleteAccessorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteAccessor
func (c *ManagedBlockchain) DeleteAccessorWithContext(ctx aws.Context, input *DeleteAccessorInput, opts ...request.Option) (*DeleteAccessorOutput, error)
DeleteAccessorWithContext is the same as DeleteAccessor with the addition of the ability to pass a context and additional request options.
See DeleteAccessor for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) DeleteMember(input *DeleteMemberInput) (*DeleteMemberOutput, error)
DeleteMember API operation for Amazon Managed Blockchain.
Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember can only be called for a specified MemberId if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, the DeleteMember action is carried out as the result of an approved proposal to remove a member. If MemberId is the last member in a network specified by the last Amazon Web Services account, the network is deleted also.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation DeleteMember for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteMember
func (c *ManagedBlockchain) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Request, output *DeleteMemberOutput)
DeleteMemberRequest generates a "aws/request.Request" representing the client's request for the DeleteMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteMember for more information on using the DeleteMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteMemberRequest method. req, resp := client.DeleteMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteMember
func (c *ManagedBlockchain) DeleteMemberWithContext(ctx aws.Context, input *DeleteMemberInput, opts ...request.Option) (*DeleteMemberOutput, error)
DeleteMemberWithContext is the same as DeleteMember with the addition of the ability to pass a context and additional request options.
See DeleteMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) DeleteNode(input *DeleteNodeInput) (*DeleteNodeOutput, error)
DeleteNode API operation for Amazon Managed Blockchain.
Deletes a node that your Amazon Web Services account owns. All data on the node is lost and cannot be recovered.
Applies to Hyperledger Fabric and Ethereum.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation DeleteNode for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteNode
func (c *ManagedBlockchain) DeleteNodeRequest(input *DeleteNodeInput) (req *request.Request, output *DeleteNodeOutput)
DeleteNodeRequest generates a "aws/request.Request" representing the client's request for the DeleteNode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteNode for more information on using the DeleteNode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteNodeRequest method. req, resp := client.DeleteNodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteNode
func (c *ManagedBlockchain) DeleteNodeWithContext(ctx aws.Context, input *DeleteNodeInput, opts ...request.Option) (*DeleteNodeOutput, error)
DeleteNodeWithContext is the same as DeleteNode with the addition of the ability to pass a context and additional request options.
See DeleteNode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) GetAccessor(input *GetAccessorInput) (*GetAccessorOutput, error)
GetAccessor API operation for Amazon Managed Blockchain.
Returns detailed information about an accessor. An accessor object is a container that has the information required for token based access to your Ethereum nodes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation GetAccessor for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetAccessor
func (c *ManagedBlockchain) GetAccessorRequest(input *GetAccessorInput) (req *request.Request, output *GetAccessorOutput)
GetAccessorRequest generates a "aws/request.Request" representing the client's request for the GetAccessor operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAccessor for more information on using the GetAccessor API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAccessorRequest method. req, resp := client.GetAccessorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetAccessor
func (c *ManagedBlockchain) GetAccessorWithContext(ctx aws.Context, input *GetAccessorInput, opts ...request.Option) (*GetAccessorOutput, error)
GetAccessorWithContext is the same as GetAccessor with the addition of the ability to pass a context and additional request options.
See GetAccessor for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) GetMember(input *GetMemberInput) (*GetMemberOutput, error)
GetMember API operation for Amazon Managed Blockchain.
Returns detailed information about a member.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation GetMember for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember
func (c *ManagedBlockchain) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput)
GetMemberRequest generates a "aws/request.Request" representing the client's request for the GetMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetMember for more information on using the GetMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetMemberRequest method. req, resp := client.GetMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember
func (c *ManagedBlockchain) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, opts ...request.Option) (*GetMemberOutput, error)
GetMemberWithContext is the same as GetMember with the addition of the ability to pass a context and additional request options.
See GetMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) GetNetwork(input *GetNetworkInput) (*GetNetworkOutput, error)
GetNetwork API operation for Amazon Managed Blockchain.
Returns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation GetNetwork for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork
func (c *ManagedBlockchain) GetNetworkRequest(input *GetNetworkInput) (req *request.Request, output *GetNetworkOutput)
GetNetworkRequest generates a "aws/request.Request" representing the client's request for the GetNetwork operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetNetwork for more information on using the GetNetwork API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetNetworkRequest method. req, resp := client.GetNetworkRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork
func (c *ManagedBlockchain) GetNetworkWithContext(ctx aws.Context, input *GetNetworkInput, opts ...request.Option) (*GetNetworkOutput, error)
GetNetworkWithContext is the same as GetNetwork with the addition of the ability to pass a context and additional request options.
See GetNetwork for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) GetNode(input *GetNodeInput) (*GetNodeOutput, error)
GetNode API operation for Amazon Managed Blockchain.
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation GetNode for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode
func (c *ManagedBlockchain) GetNodeRequest(input *GetNodeInput) (req *request.Request, output *GetNodeOutput)
GetNodeRequest generates a "aws/request.Request" representing the client's request for the GetNode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetNode for more information on using the GetNode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetNodeRequest method. req, resp := client.GetNodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode
func (c *ManagedBlockchain) GetNodeWithContext(ctx aws.Context, input *GetNodeInput, opts ...request.Option) (*GetNodeOutput, error)
GetNodeWithContext is the same as GetNode with the addition of the ability to pass a context and additional request options.
See GetNode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) GetProposal(input *GetProposalInput) (*GetProposalOutput, error)
GetProposal API operation for Amazon Managed Blockchain.
Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation GetProposal for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal
func (c *ManagedBlockchain) GetProposalRequest(input *GetProposalInput) (req *request.Request, output *GetProposalOutput)
GetProposalRequest generates a "aws/request.Request" representing the client's request for the GetProposal operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetProposal for more information on using the GetProposal API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetProposalRequest method. req, resp := client.GetProposalRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal
func (c *ManagedBlockchain) GetProposalWithContext(ctx aws.Context, input *GetProposalInput, opts ...request.Option) (*GetProposalOutput, error)
GetProposalWithContext is the same as GetProposal with the addition of the ability to pass a context and additional request options.
See GetProposal for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListAccessors(input *ListAccessorsInput) (*ListAccessorsOutput, error)
ListAccessors API operation for Amazon Managed Blockchain.
Returns a list of the accessors and their properties. Accessor objects are containers that have the information required for token based access to your Ethereum nodes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation ListAccessors for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListAccessors
func (c *ManagedBlockchain) ListAccessorsPages(input *ListAccessorsInput, fn func(*ListAccessorsOutput, bool) bool) error
ListAccessorsPages iterates over the pages of a ListAccessors operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAccessors method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListAccessors operation. pageNum := 0 err := client.ListAccessorsPages(params, func(page *managedblockchain.ListAccessorsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ManagedBlockchain) ListAccessorsPagesWithContext(ctx aws.Context, input *ListAccessorsInput, fn func(*ListAccessorsOutput, bool) bool, opts ...request.Option) error
ListAccessorsPagesWithContext same as ListAccessorsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListAccessorsRequest(input *ListAccessorsInput) (req *request.Request, output *ListAccessorsOutput)
ListAccessorsRequest generates a "aws/request.Request" representing the client's request for the ListAccessors operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAccessors for more information on using the ListAccessors API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAccessorsRequest method. req, resp := client.ListAccessorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListAccessors
func (c *ManagedBlockchain) ListAccessorsWithContext(ctx aws.Context, input *ListAccessorsInput, opts ...request.Option) (*ListAccessorsOutput, error)
ListAccessorsWithContext is the same as ListAccessors with the addition of the ability to pass a context and additional request options.
See ListAccessors for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error)
ListInvitations API operation for Amazon Managed Blockchain.
Returns a list of all invitations for the current Amazon Web Services account.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation ListInvitations for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
ResourceLimitExceededException 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.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations
func (c *ManagedBlockchain) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error
ListInvitationsPages iterates over the pages of a ListInvitations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListInvitations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListInvitations operation. pageNum := 0 err := client.ListInvitationsPages(params, func(page *managedblockchain.ListInvitationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ManagedBlockchain) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error
ListInvitationsPagesWithContext same as ListInvitationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput)
ListInvitationsRequest generates a "aws/request.Request" representing the client's request for the ListInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListInvitations for more information on using the ListInvitations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListInvitationsRequest method. req, resp := client.ListInvitationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations
func (c *ManagedBlockchain) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error)
ListInvitationsWithContext is the same as ListInvitations with the addition of the ability to pass a context and additional request options.
See ListInvitations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)
ListMembers API operation for Amazon Managed Blockchain.
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation ListMembers for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers
func (c *ManagedBlockchain) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error
ListMembersPages iterates over the pages of a ListMembers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListMembers method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListMembers operation. pageNum := 0 err := client.ListMembersPages(params, func(page *managedblockchain.ListMembersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ManagedBlockchain) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error
ListMembersPagesWithContext same as ListMembersPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)
ListMembersRequest generates a "aws/request.Request" representing the client's request for the ListMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListMembers for more information on using the ListMembers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListMembersRequest method. req, resp := client.ListMembersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers
func (c *ManagedBlockchain) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)
ListMembersWithContext is the same as ListMembers with the addition of the ability to pass a context and additional request options.
See ListMembers for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListNetworks(input *ListNetworksInput) (*ListNetworksOutput, error)
ListNetworks API operation for Amazon Managed Blockchain.
Returns information about the networks in which the current Amazon Web Services account participates.
Applies to Hyperledger Fabric and Ethereum.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation ListNetworks for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks
func (c *ManagedBlockchain) ListNetworksPages(input *ListNetworksInput, fn func(*ListNetworksOutput, bool) bool) error
ListNetworksPages iterates over the pages of a ListNetworks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListNetworks method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListNetworks operation. pageNum := 0 err := client.ListNetworksPages(params, func(page *managedblockchain.ListNetworksOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ManagedBlockchain) ListNetworksPagesWithContext(ctx aws.Context, input *ListNetworksInput, fn func(*ListNetworksOutput, bool) bool, opts ...request.Option) error
ListNetworksPagesWithContext same as ListNetworksPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListNetworksRequest(input *ListNetworksInput) (req *request.Request, output *ListNetworksOutput)
ListNetworksRequest generates a "aws/request.Request" representing the client's request for the ListNetworks operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListNetworks for more information on using the ListNetworks API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListNetworksRequest method. req, resp := client.ListNetworksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks
func (c *ManagedBlockchain) ListNetworksWithContext(ctx aws.Context, input *ListNetworksInput, opts ...request.Option) (*ListNetworksOutput, error)
ListNetworksWithContext is the same as ListNetworks with the addition of the ability to pass a context and additional request options.
See ListNetworks for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListNodes(input *ListNodesInput) (*ListNodesOutput, error)
ListNodes API operation for Amazon Managed Blockchain.
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation ListNodes for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes
func (c *ManagedBlockchain) ListNodesPages(input *ListNodesInput, fn func(*ListNodesOutput, bool) bool) error
ListNodesPages iterates over the pages of a ListNodes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListNodes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListNodes operation. pageNum := 0 err := client.ListNodesPages(params, func(page *managedblockchain.ListNodesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ManagedBlockchain) ListNodesPagesWithContext(ctx aws.Context, input *ListNodesInput, fn func(*ListNodesOutput, bool) bool, opts ...request.Option) error
ListNodesPagesWithContext same as ListNodesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListNodesRequest(input *ListNodesInput) (req *request.Request, output *ListNodesOutput)
ListNodesRequest generates a "aws/request.Request" representing the client's request for the ListNodes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListNodes for more information on using the ListNodes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListNodesRequest method. req, resp := client.ListNodesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes
func (c *ManagedBlockchain) ListNodesWithContext(ctx aws.Context, input *ListNodesInput, opts ...request.Option) (*ListNodesOutput, error)
ListNodesWithContext is the same as ListNodes with the addition of the ability to pass a context and additional request options.
See ListNodes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListProposalVotes(input *ListProposalVotesInput) (*ListProposalVotesOutput, error)
ListProposalVotes API operation for Amazon Managed Blockchain.
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation ListProposalVotes for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposalVotes
func (c *ManagedBlockchain) ListProposalVotesPages(input *ListProposalVotesInput, fn func(*ListProposalVotesOutput, bool) bool) error
ListProposalVotesPages iterates over the pages of a ListProposalVotes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListProposalVotes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListProposalVotes operation. pageNum := 0 err := client.ListProposalVotesPages(params, func(page *managedblockchain.ListProposalVotesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ManagedBlockchain) ListProposalVotesPagesWithContext(ctx aws.Context, input *ListProposalVotesInput, fn func(*ListProposalVotesOutput, bool) bool, opts ...request.Option) error
ListProposalVotesPagesWithContext same as ListProposalVotesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListProposalVotesRequest(input *ListProposalVotesInput) (req *request.Request, output *ListProposalVotesOutput)
ListProposalVotesRequest generates a "aws/request.Request" representing the client's request for the ListProposalVotes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListProposalVotes for more information on using the ListProposalVotes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListProposalVotesRequest method. req, resp := client.ListProposalVotesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposalVotes
func (c *ManagedBlockchain) ListProposalVotesWithContext(ctx aws.Context, input *ListProposalVotesInput, opts ...request.Option) (*ListProposalVotesOutput, error)
ListProposalVotesWithContext is the same as ListProposalVotes with the addition of the ability to pass a context and additional request options.
See ListProposalVotes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListProposals(input *ListProposalsInput) (*ListProposalsOutput, error)
ListProposals API operation for Amazon Managed Blockchain.
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation ListProposals for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
AccessDeniedException You don't have sufficient access to perform this action.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals
func (c *ManagedBlockchain) ListProposalsPages(input *ListProposalsInput, fn func(*ListProposalsOutput, bool) bool) error
ListProposalsPages iterates over the pages of a ListProposals operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListProposals method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListProposals operation. pageNum := 0 err := client.ListProposalsPages(params, func(page *managedblockchain.ListProposalsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *ManagedBlockchain) ListProposalsPagesWithContext(ctx aws.Context, input *ListProposalsInput, fn func(*ListProposalsOutput, bool) bool, opts ...request.Option) error
ListProposalsPagesWithContext same as ListProposalsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListProposalsRequest(input *ListProposalsInput) (req *request.Request, output *ListProposalsOutput)
ListProposalsRequest generates a "aws/request.Request" representing the client's request for the ListProposals operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListProposals for more information on using the ListProposals API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListProposalsRequest method. req, resp := client.ListProposalsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals
func (c *ManagedBlockchain) ListProposalsWithContext(ctx aws.Context, input *ListProposalsInput, opts ...request.Option) (*ListProposalsOutput, error)
ListProposalsWithContext is the same as ListProposals with the addition of the ability to pass a context and additional request options.
See ListProposals for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Managed Blockchain.
Returns a list of tags for the specified resource. Each tag consists of a key and optional value.
For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation ListTagsForResource for usage and error information.
Returned Error Types:
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource
func (c *ManagedBlockchain) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource
func (c *ManagedBlockchain) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) RejectInvitation(input *RejectInvitationInput) (*RejectInvitationOutput, error)
RejectInvitation API operation for Amazon Managed Blockchain.
Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services account that has received an invitation to create a member and join a network.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation RejectInvitation for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
IllegalActionException
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/RejectInvitation
func (c *ManagedBlockchain) RejectInvitationRequest(input *RejectInvitationInput) (req *request.Request, output *RejectInvitationOutput)
RejectInvitationRequest generates a "aws/request.Request" representing the client's request for the RejectInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RejectInvitation for more information on using the RejectInvitation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RejectInvitationRequest method. req, resp := client.RejectInvitationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/RejectInvitation
func (c *ManagedBlockchain) RejectInvitationWithContext(ctx aws.Context, input *RejectInvitationInput, opts ...request.Option) (*RejectInvitationOutput, error)
RejectInvitationWithContext is the same as RejectInvitation with the addition of the ability to pass a context and additional request options.
See RejectInvitation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Managed Blockchain.
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.
When you specify a tag key that already exists, the tag value is overwritten with the new value. Use UntagResource to remove tag keys.
A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.
For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation TagResource for usage and error information.
Returned Error Types:
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
TooManyTagsException
ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource
func (c *ManagedBlockchain) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource
func (c *ManagedBlockchain) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Managed Blockchain.
Removes the specified tags from the Amazon Managed Blockchain resource.
For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation UntagResource for usage and error information.
Returned Error Types:
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource
func (c *ManagedBlockchain) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource
func (c *ManagedBlockchain) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) UpdateMember(input *UpdateMemberInput) (*UpdateMemberOutput, error)
UpdateMember API operation for Amazon Managed Blockchain.
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation UpdateMember for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMember
func (c *ManagedBlockchain) UpdateMemberRequest(input *UpdateMemberInput) (req *request.Request, output *UpdateMemberOutput)
UpdateMemberRequest generates a "aws/request.Request" representing the client's request for the UpdateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateMember for more information on using the UpdateMember API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateMemberRequest method. req, resp := client.UpdateMemberRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMember
func (c *ManagedBlockchain) UpdateMemberWithContext(ctx aws.Context, input *UpdateMemberInput, opts ...request.Option) (*UpdateMemberOutput, error)
UpdateMemberWithContext is the same as UpdateMember with the addition of the ability to pass a context and additional request options.
See UpdateMember for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) UpdateNode(input *UpdateNodeInput) (*UpdateNodeOutput, error)
UpdateNode API operation for Amazon Managed Blockchain.
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation UpdateNode for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNode
func (c *ManagedBlockchain) UpdateNodeRequest(input *UpdateNodeInput) (req *request.Request, output *UpdateNodeOutput)
UpdateNodeRequest generates a "aws/request.Request" representing the client's request for the UpdateNode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateNode for more information on using the UpdateNode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateNodeRequest method. req, resp := client.UpdateNodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNode
func (c *ManagedBlockchain) UpdateNodeWithContext(ctx aws.Context, input *UpdateNodeInput, opts ...request.Option) (*UpdateNodeOutput, error)
UpdateNodeWithContext is the same as UpdateNode with the addition of the ability to pass a context and additional request options.
See UpdateNode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *ManagedBlockchain) VoteOnProposal(input *VoteOnProposalInput) (*VoteOnProposalOutput, error)
VoteOnProposal API operation for Amazon Managed Blockchain.
Casts a vote for a specified ProposalId on behalf of a member. The member to vote as, specified by VoterMemberId, must be in the same Amazon Web Services account as the principal that calls the action.
Applies only to Hyperledger Fabric.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Managed Blockchain's API operation VoteOnProposal for usage and error information.
Returned Error Types:
InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
IllegalActionException
AccessDeniedException You don't have sufficient access to perform this action.
ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/VoteOnProposal
func (c *ManagedBlockchain) VoteOnProposalRequest(input *VoteOnProposalInput) (req *request.Request, output *VoteOnProposalOutput)
VoteOnProposalRequest generates a "aws/request.Request" representing the client's request for the VoteOnProposal operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See VoteOnProposal for more information on using the VoteOnProposal API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the VoteOnProposalRequest method. req, resp := client.VoteOnProposalRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/VoteOnProposal
func (c *ManagedBlockchain) VoteOnProposalWithContext(ctx aws.Context, input *VoteOnProposalInput, opts ...request.Option) (*VoteOnProposalOutput, error)
VoteOnProposalWithContext is the same as VoteOnProposal with the addition of the ability to pass a context and additional request options.
See VoteOnProposal for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type Member struct { // The Amazon Resource Name (ARN) of the member. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The date and time that the member was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // An optional description for the member. Description *string `type:"string"` // Attributes relevant to a member for the blockchain framework that the Managed // Blockchain network uses. FrameworkAttributes *MemberFrameworkAttributes `type:"structure"` // The unique identifier of the member. Id *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the customer managed key in Key Management // Service (KMS) that the member uses for encryption at rest. If the value of // this parameter is "AWS Owned KMS Key", the member uses an Amazon Web Services // owned KMS key for encryption. This parameter is inherited by the nodes that // this member owns. // // For more information, see Encryption at Rest (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/managed-blockchain-encryption-at-rest.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. KmsKeyArn *string `type:"string"` // Configuration properties for logging events associated with a member. LogPublishingConfiguration *MemberLogPublishingConfiguration `type:"structure"` // The name of the member. Name *string `min:"1" type:"string"` // The unique identifier of the network to which the member belongs. NetworkId *string `min:"1" type:"string"` // The status of a member. // // * CREATING - The Amazon Web Services account is in the process of creating // a member. // // * AVAILABLE - The member has been created and can participate in the network. // // * CREATE_FAILED - The Amazon Web Services account attempted to create // a member and creation failed. // // * UPDATING - The member is in the process of being updated. // // * DELETING - The member and all associated resources are in the process // of being deleted. Either the Amazon Web Services account that owns the // member deleted it, or the member is being deleted as the result of an // APPROVED PROPOSAL to remove the member. // // * DELETED - The member can no longer participate on the network and all // associated resources are deleted. Either the Amazon Web Services account // that owns the member deleted it, or the member is being deleted as the // result of an APPROVED PROPOSAL to remove the member. // // * INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function // as expected because it cannot access the specified customer managed key // in KMS for encryption at rest. Either the KMS key was disabled or deleted, // or the grants on the key were revoked. The effect of disabling or deleting // a key or of revoking a grant isn't immediate. It might take some time // for the member resource to discover that the key is inaccessible. When // a resource is in this state, we recommend deleting and recreating the // resource. Status *string `type:"string" enum:"MemberStatus"` // Tags assigned to the member. Tags consist of a key and optional value. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
Member configuration properties.
Applies only to Hyperledger Fabric.
func (s Member) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Member) SetArn(v string) *Member
SetArn sets the Arn field's value.
func (s *Member) SetCreationDate(v time.Time) *Member
SetCreationDate sets the CreationDate field's value.
func (s *Member) SetDescription(v string) *Member
SetDescription sets the Description field's value.
func (s *Member) SetFrameworkAttributes(v *MemberFrameworkAttributes) *Member
SetFrameworkAttributes sets the FrameworkAttributes field's value.
func (s *Member) SetId(v string) *Member
SetId sets the Id field's value.
func (s *Member) SetKmsKeyArn(v string) *Member
SetKmsKeyArn sets the KmsKeyArn field's value.
func (s *Member) SetLogPublishingConfiguration(v *MemberLogPublishingConfiguration) *Member
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (s *Member) SetName(v string) *Member
SetName sets the Name field's value.
func (s *Member) SetNetworkId(v string) *Member
SetNetworkId sets the NetworkId field's value.
func (s *Member) SetStatus(v string) *Member
SetStatus sets the Status field's value.
func (s *Member) SetTags(v map[string]*string) *Member
SetTags sets the Tags field's value.
func (s Member) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MemberConfiguration struct { // An optional description of the member. Description *string `type:"string"` // Configuration properties of the blockchain framework relevant to the member. // // FrameworkConfiguration is a required field FrameworkConfiguration *MemberFrameworkConfiguration `type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the customer managed key in Key Management // Service (KMS) to use for encryption at rest in the member. This parameter // is inherited by any nodes that this member creates. For more information, // see Encryption at Rest (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/managed-blockchain-encryption-at-rest.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. // // Use one of the following options to specify this parameter: // // * Undefined or empty string - By default, use an KMS key that is owned // and managed by Amazon Web Services on your behalf. // // * A valid symmetric customer managed KMS key - Use the specified KMS key // in your account that you create, own, and manage. Amazon Managed Blockchain // doesn't support asymmetric keys. For more information, see Using symmetric // and asymmetric keys (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) // in the Key Management Service Developer Guide. The following is an example // of a KMS key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab KmsKeyArn *string `min:"1" type:"string"` // Configuration properties for logging events associated with a member of a // Managed Blockchain network. LogPublishingConfiguration *MemberLogPublishingConfiguration `type:"structure"` // The name of the member. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // Tags assigned to the member. Tags consist of a key and optional value. // // When specifying tags during creation, you can specify multiple key-value // pairs in a single request, with an overall maximum of 50 tags added to each // resource. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
Configuration properties of the member.
Applies only to Hyperledger Fabric.
func (s MemberConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberConfiguration) SetDescription(v string) *MemberConfiguration
SetDescription sets the Description field's value.
func (s *MemberConfiguration) SetFrameworkConfiguration(v *MemberFrameworkConfiguration) *MemberConfiguration
SetFrameworkConfiguration sets the FrameworkConfiguration field's value.
func (s *MemberConfiguration) SetKmsKeyArn(v string) *MemberConfiguration
SetKmsKeyArn sets the KmsKeyArn field's value.
func (s *MemberConfiguration) SetLogPublishingConfiguration(v *MemberLogPublishingConfiguration) *MemberConfiguration
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (s *MemberConfiguration) SetName(v string) *MemberConfiguration
SetName sets the Name field's value.
func (s *MemberConfiguration) SetTags(v map[string]*string) *MemberConfiguration
SetTags sets the Tags field's value.
func (s MemberConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MemberFabricAttributes struct { // The user name for the initial administrator user for the member. AdminUsername *string `min:"1" type:"string"` // The endpoint used to access the member's certificate authority. CaEndpoint *string `type:"string"` // contains filtered or unexported fields }
Attributes of Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.
func (s MemberFabricAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberFabricAttributes) SetAdminUsername(v string) *MemberFabricAttributes
SetAdminUsername sets the AdminUsername field's value.
func (s *MemberFabricAttributes) SetCaEndpoint(v string) *MemberFabricAttributes
SetCaEndpoint sets the CaEndpoint field's value.
func (s MemberFabricAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MemberFabricConfiguration struct { // The password for the member's initial administrative user. The AdminPassword // must be at least 8 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 quotation mark (‘), a double quotation marks (“), // a forward slash(/), a backward slash(\), @, or a space. // // AdminPassword is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by MemberFabricConfiguration's // String and GoString methods. // // AdminPassword is a required field AdminPassword *string `min:"8" type:"string" required:"true" sensitive:"true"` // The user name for the member's initial administrative user. // // AdminUsername is a required field AdminUsername *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network that is using the Hyperledger Fabric framework.
func (s MemberFabricConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberFabricConfiguration) SetAdminPassword(v string) *MemberFabricConfiguration
SetAdminPassword sets the AdminPassword field's value.
func (s *MemberFabricConfiguration) SetAdminUsername(v string) *MemberFabricConfiguration
SetAdminUsername sets the AdminUsername field's value.
func (s MemberFabricConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberFabricConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 `type:"structure"` // contains filtered or unexported fields }
Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.
func (s MemberFabricLogPublishingConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberFabricLogPublishingConfiguration) SetCaLogs(v *LogConfigurations) *MemberFabricLogPublishingConfiguration
SetCaLogs sets the CaLogs field's value.
func (s MemberFabricLogPublishingConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MemberFrameworkAttributes struct { // Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain // network that uses Hyperledger Fabric. Fabric *MemberFabricAttributes `type:"structure"` // contains filtered or unexported fields }
Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
func (s MemberFrameworkAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberFrameworkAttributes) SetFabric(v *MemberFabricAttributes) *MemberFrameworkAttributes
SetFabric sets the Fabric field's value.
func (s MemberFrameworkAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MemberFrameworkConfiguration struct { // Attributes of Hyperledger Fabric for a member on a Managed Blockchain network // that uses Hyperledger Fabric. Fabric *MemberFabricConfiguration `type:"structure"` // contains filtered or unexported fields }
Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.
func (s MemberFrameworkConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberFrameworkConfiguration) SetFabric(v *MemberFabricConfiguration) *MemberFrameworkConfiguration
SetFabric sets the Fabric field's value.
func (s MemberFrameworkConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberFrameworkConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MemberLogPublishingConfiguration struct { // Configuration properties for logging events associated with a member of a // Managed Blockchain network using the Hyperledger Fabric framework. Fabric *MemberFabricLogPublishingConfiguration `type:"structure"` // contains filtered or unexported fields }
Configuration properties for logging events associated with a member of a Managed Blockchain network.
func (s MemberLogPublishingConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberLogPublishingConfiguration) SetFabric(v *MemberFabricLogPublishingConfiguration) *MemberLogPublishingConfiguration
SetFabric sets the Fabric field's value.
func (s MemberLogPublishingConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MemberSummary struct { // The Amazon Resource Name (ARN) of the member. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The date and time that the member was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // An optional description of the member. Description *string `type:"string"` // The unique identifier of the member. Id *string `min:"1" type:"string"` // An indicator of whether the member is owned by your Amazon Web Services account // or a different Amazon Web Services account. IsOwned *bool `type:"boolean"` // The name of the member. Name *string `min:"1" type:"string"` // The status of the member. // // * CREATING - The Amazon Web Services account is in the process of creating // a member. // // * AVAILABLE - The member has been created and can participate in the network. // // * CREATE_FAILED - The Amazon Web Services account attempted to create // a member and creation failed. // // * UPDATING - The member is in the process of being updated. // // * DELETING - The member and all associated resources are in the process // of being deleted. Either the Amazon Web Services account that owns the // member deleted it, or the member is being deleted as the result of an // APPROVED PROPOSAL to remove the member. // // * DELETED - The member can no longer participate on the network and all // associated resources are deleted. Either the Amazon Web Services account // that owns the member deleted it, or the member is being deleted as the // result of an APPROVED PROPOSAL to remove the member. // // * INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function // as expected because it cannot access the specified customer managed key // in Key Management Service (KMS) for encryption at rest. Either the KMS // key was disabled or deleted, or the grants on the key were revoked. The // effect of disabling or deleting a key or of revoking a grant isn't immediate. // It might take some time for the member resource to discover that the key // is inaccessible. When a resource is in this state, we recommend deleting // and recreating the resource. Status *string `type:"string" enum:"MemberStatus"` // contains filtered or unexported fields }
A summary of configuration properties for a member.
Applies only to Hyperledger Fabric.
func (s MemberSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MemberSummary) SetArn(v string) *MemberSummary
SetArn sets the Arn field's value.
func (s *MemberSummary) SetCreationDate(v time.Time) *MemberSummary
SetCreationDate sets the CreationDate field's value.
func (s *MemberSummary) SetDescription(v string) *MemberSummary
SetDescription sets the Description field's value.
func (s *MemberSummary) SetId(v string) *MemberSummary
SetId sets the Id field's value.
func (s *MemberSummary) SetIsOwned(v bool) *MemberSummary
SetIsOwned sets the IsOwned field's value.
func (s *MemberSummary) SetName(v string) *MemberSummary
SetName sets the Name field's value.
func (s *MemberSummary) SetStatus(v string) *MemberSummary
SetStatus sets the Status field's value.
func (s MemberSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Network struct { // The Amazon Resource Name (ARN) of the network. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The date and time that the network was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Attributes of the blockchain framework for the network. Description *string `type:"string"` // The blockchain framework that the network uses. Framework *string `type:"string" enum:"Framework"` // Attributes of the blockchain framework that the network uses. FrameworkAttributes *NetworkFrameworkAttributes `type:"structure"` // The version of the blockchain framework that the network uses. FrameworkVersion *string `min:"1" type:"string"` // The unique identifier of the network. Id *string `min:"1" type:"string"` // The name of the network. Name *string `min:"1" type:"string"` // The current status of the network. Status *string `type:"string" enum:"NetworkStatus"` // Tags assigned to the network. Each tag consists of a key and optional value. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // The voting rules that the network uses to decide if a proposal is accepted. VotingPolicy *VotingPolicy `type:"structure"` // 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 `type:"string"` // contains filtered or unexported fields }
Network configuration properties.
func (s Network) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Network) SetArn(v string) *Network
SetArn sets the Arn field's value.
func (s *Network) SetCreationDate(v time.Time) *Network
SetCreationDate sets the CreationDate field's value.
func (s *Network) SetDescription(v string) *Network
SetDescription sets the Description field's value.
func (s *Network) SetFramework(v string) *Network
SetFramework sets the Framework field's value.
func (s *Network) SetFrameworkAttributes(v *NetworkFrameworkAttributes) *Network
SetFrameworkAttributes sets the FrameworkAttributes field's value.
func (s *Network) SetFrameworkVersion(v string) *Network
SetFrameworkVersion sets the FrameworkVersion field's value.
func (s *Network) SetId(v string) *Network
SetId sets the Id field's value.
func (s *Network) SetName(v string) *Network
SetName sets the Name field's value.
func (s *Network) SetStatus(v string) *Network
SetStatus sets the Status field's value.
func (s *Network) SetTags(v map[string]*string) *Network
SetTags sets the Tags field's value.
func (s *Network) SetVotingPolicy(v *VotingPolicy) *Network
SetVotingPolicy sets the VotingPolicy field's value.
func (s *Network) SetVpcEndpointServiceName(v string) *Network
SetVpcEndpointServiceName sets the VpcEndpointServiceName field's value.
func (s Network) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkEthereumAttributes struct { // The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are // as follows: // // * mainnet = 1 ChainId *string `type:"string"` // contains filtered or unexported fields }
Attributes of Ethereum for a network.
func (s NetworkEthereumAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkEthereumAttributes) SetChainId(v string) *NetworkEthereumAttributes
SetChainId sets the ChainId field's value.
func (s NetworkEthereumAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFabricAttributes struct { // 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 *string `type:"string" enum:"Edition"` // The endpoint of the ordering service for the network. OrderingServiceEndpoint *string `type:"string"` // contains filtered or unexported fields }
Attributes of Hyperledger Fabric for a network.
func (s NetworkFabricAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFabricAttributes) SetEdition(v string) *NetworkFabricAttributes
SetEdition sets the Edition field's value.
func (s *NetworkFabricAttributes) SetOrderingServiceEndpoint(v string) *NetworkFabricAttributes
SetOrderingServiceEndpoint sets the OrderingServiceEndpoint field's value.
func (s NetworkFabricAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 is a required field Edition *string `type:"string" required:"true" enum:"Edition"` // contains filtered or unexported fields }
Hyperledger Fabric configuration properties for the network.
func (s NetworkFabricConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFabricConfiguration) SetEdition(v string) *NetworkFabricConfiguration
SetEdition sets the Edition field's value.
func (s NetworkFabricConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFabricConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NetworkFrameworkAttributes struct { // Attributes of an Ethereum network for Managed Blockchain resources participating // in an Ethereum network. Ethereum *NetworkEthereumAttributes `type:"structure"` // Attributes of Hyperledger Fabric for a Managed Blockchain network that uses // Hyperledger Fabric. Fabric *NetworkFabricAttributes `type:"structure"` // contains filtered or unexported fields }
Attributes relevant to the network for the blockchain framework that the network uses.
func (s NetworkFrameworkAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFrameworkAttributes) SetEthereum(v *NetworkEthereumAttributes) *NetworkFrameworkAttributes
SetEthereum sets the Ethereum field's value.
func (s *NetworkFrameworkAttributes) SetFabric(v *NetworkFabricAttributes) *NetworkFrameworkAttributes
SetFabric sets the Fabric field's value.
func (s NetworkFrameworkAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NetworkFrameworkConfiguration struct { // Hyperledger Fabric configuration properties for a Managed Blockchain network // that uses Hyperledger Fabric. Fabric *NetworkFabricConfiguration `type:"structure"` // contains filtered or unexported fields }
Configuration properties relevant to the network for the blockchain framework that the network uses.
func (s NetworkFrameworkConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFrameworkConfiguration) SetFabric(v *NetworkFabricConfiguration) *NetworkFrameworkConfiguration
SetFabric sets the Fabric field's value.
func (s NetworkFrameworkConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkFrameworkConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NetworkSummary struct { // The Amazon Resource Name (ARN) of the network. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The date and time that the network was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // An optional description of the network. Description *string `type:"string"` // The blockchain framework that the network uses. Framework *string `type:"string" enum:"Framework"` // The version of the blockchain framework that the network uses. FrameworkVersion *string `min:"1" type:"string"` // The unique identifier of the network. Id *string `min:"1" type:"string"` // The name of the network. Name *string `min:"1" type:"string"` // The current status of the network. Status *string `type:"string" enum:"NetworkStatus"` // contains filtered or unexported fields }
A summary of network configuration properties.
func (s NetworkSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NetworkSummary) SetArn(v string) *NetworkSummary
SetArn sets the Arn field's value.
func (s *NetworkSummary) SetCreationDate(v time.Time) *NetworkSummary
SetCreationDate sets the CreationDate field's value.
func (s *NetworkSummary) SetDescription(v string) *NetworkSummary
SetDescription sets the Description field's value.
func (s *NetworkSummary) SetFramework(v string) *NetworkSummary
SetFramework sets the Framework field's value.
func (s *NetworkSummary) SetFrameworkVersion(v string) *NetworkSummary
SetFrameworkVersion sets the FrameworkVersion field's value.
func (s *NetworkSummary) SetId(v string) *NetworkSummary
SetId sets the Id field's value.
func (s *NetworkSummary) SetName(v string) *NetworkSummary
SetName sets the Name field's value.
func (s *NetworkSummary) SetStatus(v string) *NetworkSummary
SetStatus sets the Status field's value.
func (s NetworkSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Node struct { // The Amazon Resource Name (ARN) of the node. For more information about ARNs // and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The Availability Zone in which the node exists. Required for Ethereum nodes. AvailabilityZone *string `type:"string"` // The date and time that the node was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Attributes of the blockchain framework being used. FrameworkAttributes *NodeFrameworkAttributes `type:"structure"` // The unique identifier of the node. Id *string `min:"1" type:"string"` // The instance type of the node. InstanceType *string `type:"string"` // The Amazon Resource Name (ARN) of the customer managed key in Key Management // Service (KMS) that the node uses for encryption at rest. If the value of // this parameter is "AWS Owned KMS Key", the node uses an Amazon Web Services // owned KMS key for encryption. The node inherits this parameter from the member // that it belongs to. // // For more information, see Encryption at Rest (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/managed-blockchain-encryption-at-rest.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. // // Applies only to Hyperledger Fabric. KmsKeyArn *string `type:"string"` // Configuration properties for logging events associated with a peer node on // a Hyperledger Fabric network on Managed Blockchain. LogPublishingConfiguration *NodeLogPublishingConfiguration `type:"structure"` // The unique identifier of the member to which the node belongs. // // Applies only to Hyperledger Fabric. MemberId *string `min:"1" type:"string"` // The unique identifier of the network that the node is on. NetworkId *string `min:"1" type:"string"` // The state database that the node uses. Values are LevelDB or CouchDB. // // Applies only to Hyperledger Fabric. StateDB *string `type:"string" enum:"StateDBType"` // The status of the node. // // * CREATING - The Amazon Web Services account is in the process of creating // a node. // // * AVAILABLE - The node has been created and can participate in the network. // // * UNHEALTHY - The node is impaired and might not function as expected. // Amazon Managed Blockchain automatically finds nodes in this state and // tries to recover them. If a node is recoverable, it returns to AVAILABLE. // Otherwise, it moves to FAILED status. // // * CREATE_FAILED - The Amazon Web Services account attempted to create // a node and creation failed. // // * UPDATING - The node is in the process of being updated. // // * DELETING - The node is in the process of being deleted. // // * DELETED - The node can no longer participate on the network. // // * FAILED - The node is no longer functional, cannot be recovered, and // must be deleted. // // * INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might not function // as expected because it cannot access the specified customer managed key // in KMS for encryption at rest. Either the KMS key was disabled or deleted, // or the grants on the key were revoked. The effect of disabling or deleting // a key or of revoking a grant isn't immediate. It might take some time // for the node resource to discover that the key is inaccessible. When a // resource is in this state, we recommend deleting and recreating the resource. Status *string `type:"string" enum:"NodeStatus"` // Tags assigned to the node. Each tag consists of a key and optional value. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
Configuration properties of a node.
func (s Node) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Node) SetArn(v string) *Node
SetArn sets the Arn field's value.
func (s *Node) SetAvailabilityZone(v string) *Node
SetAvailabilityZone sets the AvailabilityZone field's value.
func (s *Node) SetCreationDate(v time.Time) *Node
SetCreationDate sets the CreationDate field's value.
func (s *Node) SetFrameworkAttributes(v *NodeFrameworkAttributes) *Node
SetFrameworkAttributes sets the FrameworkAttributes field's value.
func (s *Node) SetId(v string) *Node
SetId sets the Id field's value.
func (s *Node) SetInstanceType(v string) *Node
SetInstanceType sets the InstanceType field's value.
func (s *Node) SetKmsKeyArn(v string) *Node
SetKmsKeyArn sets the KmsKeyArn field's value.
func (s *Node) SetLogPublishingConfiguration(v *NodeLogPublishingConfiguration) *Node
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (s *Node) SetMemberId(v string) *Node
SetMemberId sets the MemberId field's value.
func (s *Node) SetNetworkId(v string) *Node
SetNetworkId sets the NetworkId field's value.
func (s *Node) SetStateDB(v string) *Node
SetStateDB sets the StateDB field's value.
func (s *Node) SetStatus(v string) *Node
SetStatus sets the Status field's value.
func (s *Node) SetTags(v map[string]*string) *Node
SetTags sets the Tags field's value.
func (s Node) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NodeConfiguration struct { // The Availability Zone in which the node exists. Required for Ethereum nodes. AvailabilityZone *string `type:"string"` // The Amazon Managed Blockchain instance type for the node. // // InstanceType is a required field InstanceType *string `type:"string" required:"true"` // Configuration properties for logging events associated with a peer node on // a Hyperledger Fabric network on Managed Blockchain. LogPublishingConfiguration *NodeLogPublishingConfiguration `type:"structure"` // The state database that the node uses. Values are LevelDB or CouchDB. When // using an Amazon Managed Blockchain network with Hyperledger Fabric version // 1.4 or later, the default is CouchDB. // // Applies only to Hyperledger Fabric. StateDB *string `type:"string" enum:"StateDBType"` // contains filtered or unexported fields }
Configuration properties of a node.
func (s NodeConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NodeConfiguration) SetAvailabilityZone(v string) *NodeConfiguration
SetAvailabilityZone sets the AvailabilityZone field's value.
func (s *NodeConfiguration) SetInstanceType(v string) *NodeConfiguration
SetInstanceType sets the InstanceType field's value.
func (s *NodeConfiguration) SetLogPublishingConfiguration(v *NodeLogPublishingConfiguration) *NodeConfiguration
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (s *NodeConfiguration) SetStateDB(v string) *NodeConfiguration
SetStateDB sets the StateDB field's value.
func (s NodeConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NodeConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NodeEthereumAttributes struct { // The endpoint on which the Ethereum node listens to run Ethereum API methods // over HTTP connections from a client. Use this endpoint in client code for // smart contracts when using an HTTP connection. Connections to this endpoint // are authenticated using Signature Version 4 (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). HttpEndpoint *string `type:"string"` // The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC // methods over WebSocket connections from a client. Use this endpoint in client // code for smart contracts when using a WebSocket connection. Connections to // this endpoint are authenticated using Signature Version 4 (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). WebSocketEndpoint *string `type:"string"` // contains filtered or unexported fields }
Attributes of an Ethereum node.
func (s NodeEthereumAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NodeEthereumAttributes) SetHttpEndpoint(v string) *NodeEthereumAttributes
SetHttpEndpoint sets the HttpEndpoint field's value.
func (s *NodeEthereumAttributes) SetWebSocketEndpoint(v string) *NodeEthereumAttributes
SetWebSocketEndpoint sets the WebSocketEndpoint field's value.
func (s NodeEthereumAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NodeFabricAttributes struct { // The endpoint that identifies the peer node for all services except peer channel-based // event services. PeerEndpoint *string `type:"string"` // The endpoint that identifies the peer node for peer channel-based event services. PeerEventEndpoint *string `type:"string"` // contains filtered or unexported fields }
Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.
func (s NodeFabricAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NodeFabricAttributes) SetPeerEndpoint(v string) *NodeFabricAttributes
SetPeerEndpoint sets the PeerEndpoint field's value.
func (s *NodeFabricAttributes) SetPeerEventEndpoint(v string) *NodeFabricAttributes
SetPeerEventEndpoint sets the PeerEventEndpoint field's value.
func (s NodeFabricAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NodeFabricLogPublishingConfiguration struct { // 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 `type:"structure"` // 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 `type:"structure"` // contains filtered or unexported fields }
Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.
func (s NodeFabricLogPublishingConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NodeFabricLogPublishingConfiguration) SetChaincodeLogs(v *LogConfigurations) *NodeFabricLogPublishingConfiguration
SetChaincodeLogs sets the ChaincodeLogs field's value.
func (s *NodeFabricLogPublishingConfiguration) SetPeerLogs(v *LogConfigurations) *NodeFabricLogPublishingConfiguration
SetPeerLogs sets the PeerLogs field's value.
func (s NodeFabricLogPublishingConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NodeFrameworkAttributes struct { // Attributes of Ethereum for a node on a Managed Blockchain network that uses // Ethereum. Ethereum *NodeEthereumAttributes `type:"structure"` // Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain // network that uses Hyperledger Fabric. Fabric *NodeFabricAttributes `type:"structure"` // contains filtered or unexported fields }
Attributes relevant to a node on a Managed Blockchain network for the blockchain framework that the network uses.
func (s NodeFrameworkAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NodeFrameworkAttributes) SetEthereum(v *NodeEthereumAttributes) *NodeFrameworkAttributes
SetEthereum sets the Ethereum field's value.
func (s *NodeFrameworkAttributes) SetFabric(v *NodeFabricAttributes) *NodeFrameworkAttributes
SetFabric sets the Fabric field's value.
func (s NodeFrameworkAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 `type:"structure"` // contains filtered or unexported fields }
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
func (s NodeLogPublishingConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NodeLogPublishingConfiguration) SetFabric(v *NodeFabricLogPublishingConfiguration) *NodeLogPublishingConfiguration
SetFabric sets the Fabric field's value.
func (s NodeLogPublishingConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NodeSummary struct { // The Amazon Resource Name (ARN) of the node. For more information about ARNs // and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The Availability Zone in which the node exists. AvailabilityZone *string `type:"string"` // The date and time that the node was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The unique identifier of the node. Id *string `min:"1" type:"string"` // The EC2 instance type for the node. InstanceType *string `type:"string"` // The status of the node. Status *string `type:"string" enum:"NodeStatus"` // contains filtered or unexported fields }
A summary of configuration properties for a node.
func (s NodeSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NodeSummary) SetArn(v string) *NodeSummary
SetArn sets the Arn field's value.
func (s *NodeSummary) SetAvailabilityZone(v string) *NodeSummary
SetAvailabilityZone sets the AvailabilityZone field's value.
func (s *NodeSummary) SetCreationDate(v time.Time) *NodeSummary
SetCreationDate sets the CreationDate field's value.
func (s *NodeSummary) SetId(v string) *NodeSummary
SetId sets the Id field's value.
func (s *NodeSummary) SetInstanceType(v string) *NodeSummary
SetInstanceType sets the InstanceType field's value.
func (s *NodeSummary) SetStatus(v string) *NodeSummary
SetStatus sets the Status field's value.
func (s NodeSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Proposal struct { // The actions to perform on the network if the proposal is APPROVED. Actions *ProposalActions `type:"structure"` // The Amazon Resource Name (ARN) of the proposal. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The date and time that the proposal was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The description of the proposal. Description *string `type:"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 haven't cast enough votes to determine // the outcome according to the voting policy, the proposal is EXPIRED and Actions // aren't carried out. ExpirationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The unique identifier of the network for which the proposal is made. NetworkId *string `min:"1" type:"string"` // The current total of NO votes cast on the proposal by members. NoVoteCount *int64 `type:"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. OutstandingVoteCount *int64 `type:"integer"` // The unique identifier of the proposal. ProposalId *string `min:"1" type:"string"` // The unique identifier of the member that created the proposal. ProposedByMemberId *string `min:"1" type:"string"` // The name of the member that created the proposal. ProposedByMemberName *string `min:"1" type:"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. Status *string `type:"string" enum:"ProposalStatus"` // Tags assigned to the proposal. Each tag consists of a key and optional value. // // For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) // in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources // (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) // in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. Tags map[string]*string `type:"map"` // The current total of YES votes cast on the proposal by members. YesVoteCount *int64 `type:"integer"` // contains filtered or unexported fields }
Properties of a proposal on a Managed Blockchain network.
Applies only to Hyperledger Fabric.
func (s Proposal) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Proposal) SetActions(v *ProposalActions) *Proposal
SetActions sets the Actions field's value.
func (s *Proposal) SetArn(v string) *Proposal
SetArn sets the Arn field's value.
func (s *Proposal) SetCreationDate(v time.Time) *Proposal
SetCreationDate sets the CreationDate field's value.
func (s *Proposal) SetDescription(v string) *Proposal
SetDescription sets the Description field's value.
func (s *Proposal) SetExpirationDate(v time.Time) *Proposal
SetExpirationDate sets the ExpirationDate field's value.
func (s *Proposal) SetNetworkId(v string) *Proposal
SetNetworkId sets the NetworkId field's value.
func (s *Proposal) SetNoVoteCount(v int64) *Proposal
SetNoVoteCount sets the NoVoteCount field's value.
func (s *Proposal) SetOutstandingVoteCount(v int64) *Proposal
SetOutstandingVoteCount sets the OutstandingVoteCount field's value.
func (s *Proposal) SetProposalId(v string) *Proposal
SetProposalId sets the ProposalId field's value.
func (s *Proposal) SetProposedByMemberId(v string) *Proposal
SetProposedByMemberId sets the ProposedByMemberId field's value.
func (s *Proposal) SetProposedByMemberName(v string) *Proposal
SetProposedByMemberName sets the ProposedByMemberName field's value.
func (s *Proposal) SetStatus(v string) *Proposal
SetStatus sets the Status field's value.
func (s *Proposal) SetTags(v map[string]*string) *Proposal
SetTags sets the Tags field's value.
func (s *Proposal) SetYesVoteCount(v int64) *Proposal
SetYesVoteCount sets the YesVoteCount field's value.
func (s Proposal) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProposalActions struct { // The actions to perform for an APPROVED proposal to invite an Amazon Web Services // account to create a member and join the network. Invitations []*InviteAction `type:"list"` // 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 `type:"list"` // contains filtered or unexported fields }
The actions to carry out if a proposal is APPROVED.
Applies only to Hyperledger Fabric.
func (s ProposalActions) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ProposalActions) SetInvitations(v []*InviteAction) *ProposalActions
SetInvitations sets the Invitations field's value.
func (s *ProposalActions) SetRemovals(v []*RemoveAction) *ProposalActions
SetRemovals sets the Removals field's value.
func (s ProposalActions) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ProposalActions) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ProposalSummary struct { // The Amazon Resource Name (ARN) of the proposal. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. Arn *string `min:"1" type:"string"` // The date and time that the proposal was created. CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The description of the proposal. Description *string `type:"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 haven't cast enough votes to determine // the outcome according to the voting policy, the proposal is EXPIRED and Actions // aren't carried out. ExpirationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The unique identifier of the proposal. ProposalId *string `min:"1" type:"string"` // The unique identifier of the member that created the proposal. ProposedByMemberId *string `min:"1" type:"string"` // The name of the member that created the proposal. ProposedByMemberName *string `min:"1" type:"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. Status *string `type:"string" enum:"ProposalStatus"` // contains filtered or unexported fields }
Properties of a proposal.
Applies only to Hyperledger Fabric.
func (s ProposalSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ProposalSummary) SetArn(v string) *ProposalSummary
SetArn sets the Arn field's value.
func (s *ProposalSummary) SetCreationDate(v time.Time) *ProposalSummary
SetCreationDate sets the CreationDate field's value.
func (s *ProposalSummary) SetDescription(v string) *ProposalSummary
SetDescription sets the Description field's value.
func (s *ProposalSummary) SetExpirationDate(v time.Time) *ProposalSummary
SetExpirationDate sets the ExpirationDate field's value.
func (s *ProposalSummary) SetProposalId(v string) *ProposalSummary
SetProposalId sets the ProposalId field's value.
func (s *ProposalSummary) SetProposedByMemberId(v string) *ProposalSummary
SetProposedByMemberId sets the ProposedByMemberId field's value.
func (s *ProposalSummary) SetProposedByMemberName(v string) *ProposalSummary
SetProposedByMemberName sets the ProposedByMemberName field's value.
func (s *ProposalSummary) SetStatus(v string) *ProposalSummary
SetStatus sets the Status field's value.
func (s ProposalSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RejectInvitationInput struct { // The unique identifier of the invitation to reject. // // InvitationId is a required field InvitationId *string `location:"uri" locationName:"invitationId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s RejectInvitationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RejectInvitationInput) SetInvitationId(v string) *RejectInvitationInput
SetInvitationId sets the InvitationId field's value.
func (s RejectInvitationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RejectInvitationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RejectInvitationOutput struct {
// contains filtered or unexported fields
}
func (s RejectInvitationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s RejectInvitationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RemoveAction struct { // The unique identifier of the member to remove. // // MemberId is a required field MemberId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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.
Applies only to Hyperledger Fabric.
func (s RemoveAction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RemoveAction) SetMemberId(v string) *RemoveAction
SetMemberId sets the MemberId field's value.
func (s RemoveAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RemoveAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
A resource request is issued for a resource that already exists.
func (s *ResourceAlreadyExistsException) Code() string
Code returns the exception type name.
func (s *ResourceAlreadyExistsException) Error() string
func (s ResourceAlreadyExistsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceAlreadyExistsException) Message() string
Message returns the exception's message.
func (s *ResourceAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceAlreadyExistsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceLimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
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 (s *ResourceLimitExceededException) Code() string
Code returns the exception type name.
func (s *ResourceLimitExceededException) Error() string
func (s ResourceLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceLimitExceededException) Message() string
Message returns the exception's message.
func (s *ResourceLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // A requested resource doesn't exist. It may have been deleted or referenced // inaccurately. ResourceName *string `min:"1" type:"string"` // contains filtered or unexported fields }
A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotReadyException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The requested resource exists but isn't in a status that can complete the operation.
func (s *ResourceNotReadyException) Code() string
Code returns the exception type name.
func (s *ResourceNotReadyException) Error() string
func (s ResourceNotReadyException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceNotReadyException) Message() string
Message returns the exception's message.
func (s *ResourceNotReadyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotReadyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotReadyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceNotReadyException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // The tags to assign to the specified resource. Tag values can be empty, for // example, "MyTagKey" : "". You can specify multiple key-value pairs in a single // request, with an overall maximum of 50 tags added to each resource. // // Tags is a required field Tags map[string]*string `type:"map" required:"true"` // contains filtered or unexported fields }
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (s *ThrottlingException) Error() string
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TooManyTagsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` ResourceName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s *TooManyTagsException) Code() string
Code returns the exception type name.
func (s *TooManyTagsException) Error() string
func (s TooManyTagsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TooManyTagsException) Message() string
Message returns the exception's message.
func (s *TooManyTagsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *TooManyTagsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *TooManyTagsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s TooManyTagsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource. For more information about // ARNs and their format, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // The tag keys. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateMemberInput struct { // Configuration properties for publishing to Amazon CloudWatch Logs. LogPublishingConfiguration *MemberLogPublishingConfiguration `type:"structure"` // The unique identifier of the member. // // MemberId is a required field MemberId *string `location:"uri" locationName:"memberId" min:"1" type:"string" required:"true"` // The unique identifier of the Managed Blockchain network to which the member // belongs. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s UpdateMemberInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateMemberInput) SetLogPublishingConfiguration(v *MemberLogPublishingConfiguration) *UpdateMemberInput
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (s *UpdateMemberInput) SetMemberId(v string) *UpdateMemberInput
SetMemberId sets the MemberId field's value.
func (s *UpdateMemberInput) SetNetworkId(v string) *UpdateMemberInput
SetNetworkId sets the NetworkId field's value.
func (s UpdateMemberInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateMemberOutput struct {
// contains filtered or unexported fields
}
func (s UpdateMemberOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s UpdateMemberOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateNodeInput struct { // Configuration properties for publishing to Amazon CloudWatch Logs. LogPublishingConfiguration *NodeLogPublishingConfiguration `type:"structure"` // The unique identifier of the member that owns the node. // // Applies only to Hyperledger Fabric. MemberId *string `min:"1" type:"string"` // The unique identifier of the network that the node is on. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The unique identifier of the node. // // NodeId is a required field NodeId *string `location:"uri" locationName:"nodeId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s UpdateNodeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateNodeInput) SetLogPublishingConfiguration(v *NodeLogPublishingConfiguration) *UpdateNodeInput
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (s *UpdateNodeInput) SetMemberId(v string) *UpdateNodeInput
SetMemberId sets the MemberId field's value.
func (s *UpdateNodeInput) SetNetworkId(v string) *UpdateNodeInput
SetNetworkId sets the NetworkId field's value.
func (s *UpdateNodeInput) SetNodeId(v string) *UpdateNodeInput
SetNodeId sets the NodeId field's value.
func (s UpdateNodeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateNodeOutput struct {
// contains filtered or unexported fields
}
func (s UpdateNodeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s UpdateNodeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VoteOnProposalInput struct { // The unique identifier of the network. // // NetworkId is a required field NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"` // The unique identifier of the proposal. // // ProposalId is a required field ProposalId *string `location:"uri" locationName:"proposalId" min:"1" type:"string" required:"true"` // The value of the vote. // // Vote is a required field Vote *string `type:"string" required:"true" enum:"VoteValue"` // The unique identifier of the member casting the vote. // // VoterMemberId is a required field VoterMemberId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s VoteOnProposalInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *VoteOnProposalInput) SetNetworkId(v string) *VoteOnProposalInput
SetNetworkId sets the NetworkId field's value.
func (s *VoteOnProposalInput) SetProposalId(v string) *VoteOnProposalInput
SetProposalId sets the ProposalId field's value.
func (s *VoteOnProposalInput) SetVote(v string) *VoteOnProposalInput
SetVote sets the Vote field's value.
func (s *VoteOnProposalInput) SetVoterMemberId(v string) *VoteOnProposalInput
SetVoterMemberId sets the VoterMemberId field's value.
func (s VoteOnProposalInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *VoteOnProposalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VoteOnProposalOutput struct {
// contains filtered or unexported fields
}
func (s VoteOnProposalOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s VoteOnProposalOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VoteSummary struct { // The unique identifier of the member that cast the vote. MemberId *string `min:"1" type:"string"` // The name of the member that cast the vote. MemberName *string `min:"1" type:"string"` // The vote value, either YES or NO. Vote *string `type:"string" enum:"VoteValue"` // contains filtered or unexported fields }
Properties of an individual vote that a member cast for a proposal.
Applies only to Hyperledger Fabric.
func (s VoteSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *VoteSummary) SetMemberId(v string) *VoteSummary
SetMemberId sets the MemberId field's value.
func (s *VoteSummary) SetMemberName(v string) *VoteSummary
SetMemberName sets the MemberName field's value.
func (s *VoteSummary) SetVote(v string) *VoteSummary
SetVote sets the Vote field's value.
func (s VoteSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 `type:"structure"` // contains filtered or unexported fields }
The voting rules for the network to decide if a proposal is accepted
Applies only to Hyperledger Fabric.
func (s VotingPolicy) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *VotingPolicy) SetApprovalThresholdPolicy(v *ApprovalThresholdPolicy) *VotingPolicy
SetApprovalThresholdPolicy sets the ApprovalThresholdPolicy field's value.
func (s VotingPolicy) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *VotingPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.