Documentation ¶
Overview ¶
Package managedblockchain provides the client and types for making API requests to Amazon Managed Blockchain.
Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.
Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember and DeleteMember don't apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
See https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24 for more information on this service.
See managedblockchain package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/managedblockchain/
Using the Client ¶
To contact Amazon Managed Blockchain with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Managed Blockchain client ManagedBlockchain for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/managedblockchain/#New
Index ¶
- Constants
- func AccessorStatus_Values() []string
- func AccessorType_Values() []string
- func Edition_Values() []string
- func Framework_Values() []string
- func InvitationStatus_Values() []string
- func MemberStatus_Values() []string
- func NetworkStatus_Values() []string
- func NodeStatus_Values() []string
- func ProposalStatus_Values() []string
- func StateDBType_Values() []string
- func ThresholdComparator_Values() []string
- func VoteValue_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type Accessor
- func (s Accessor) GoString() string
- func (s *Accessor) SetArn(v string) *Accessor
- func (s *Accessor) SetBillingToken(v string) *Accessor
- func (s *Accessor) SetCreationDate(v time.Time) *Accessor
- func (s *Accessor) SetId(v string) *Accessor
- func (s *Accessor) SetStatus(v string) *Accessor
- func (s *Accessor) SetTags(v map[string]*string) *Accessor
- func (s *Accessor) SetType(v string) *Accessor
- func (s Accessor) String() string
- type AccessorSummary
- func (s AccessorSummary) GoString() string
- func (s *AccessorSummary) SetArn(v string) *AccessorSummary
- func (s *AccessorSummary) SetCreationDate(v time.Time) *AccessorSummary
- func (s *AccessorSummary) SetId(v string) *AccessorSummary
- func (s *AccessorSummary) SetStatus(v string) *AccessorSummary
- func (s *AccessorSummary) SetType(v string) *AccessorSummary
- func (s AccessorSummary) String() string
- type ApprovalThresholdPolicy
- func (s ApprovalThresholdPolicy) GoString() string
- func (s *ApprovalThresholdPolicy) SetProposalDurationInHours(v int64) *ApprovalThresholdPolicy
- func (s *ApprovalThresholdPolicy) SetThresholdComparator(v string) *ApprovalThresholdPolicy
- func (s *ApprovalThresholdPolicy) SetThresholdPercentage(v int64) *ApprovalThresholdPolicy
- func (s ApprovalThresholdPolicy) String() string
- func (s *ApprovalThresholdPolicy) Validate() error
- type CreateAccessorInput
- func (s CreateAccessorInput) GoString() string
- func (s *CreateAccessorInput) SetAccessorType(v string) *CreateAccessorInput
- func (s *CreateAccessorInput) SetClientRequestToken(v string) *CreateAccessorInput
- func (s *CreateAccessorInput) SetTags(v map[string]*string) *CreateAccessorInput
- func (s CreateAccessorInput) String() string
- func (s *CreateAccessorInput) Validate() error
- type CreateAccessorOutput
- type CreateMemberInput
- func (s CreateMemberInput) GoString() string
- func (s *CreateMemberInput) SetClientRequestToken(v string) *CreateMemberInput
- func (s *CreateMemberInput) SetInvitationId(v string) *CreateMemberInput
- func (s *CreateMemberInput) SetMemberConfiguration(v *MemberConfiguration) *CreateMemberInput
- func (s *CreateMemberInput) SetNetworkId(v string) *CreateMemberInput
- func (s CreateMemberInput) String() string
- func (s *CreateMemberInput) Validate() error
- type CreateMemberOutput
- type CreateNetworkInput
- func (s CreateNetworkInput) GoString() string
- func (s *CreateNetworkInput) SetClientRequestToken(v string) *CreateNetworkInput
- func (s *CreateNetworkInput) SetDescription(v string) *CreateNetworkInput
- func (s *CreateNetworkInput) SetFramework(v string) *CreateNetworkInput
- func (s *CreateNetworkInput) SetFrameworkConfiguration(v *NetworkFrameworkConfiguration) *CreateNetworkInput
- func (s *CreateNetworkInput) SetFrameworkVersion(v string) *CreateNetworkInput
- func (s *CreateNetworkInput) SetMemberConfiguration(v *MemberConfiguration) *CreateNetworkInput
- func (s *CreateNetworkInput) SetName(v string) *CreateNetworkInput
- func (s *CreateNetworkInput) SetTags(v map[string]*string) *CreateNetworkInput
- func (s *CreateNetworkInput) SetVotingPolicy(v *VotingPolicy) *CreateNetworkInput
- func (s CreateNetworkInput) String() string
- func (s *CreateNetworkInput) Validate() error
- type CreateNetworkOutput
- type CreateNodeInput
- func (s CreateNodeInput) GoString() string
- func (s *CreateNodeInput) SetClientRequestToken(v string) *CreateNodeInput
- func (s *CreateNodeInput) SetMemberId(v string) *CreateNodeInput
- func (s *CreateNodeInput) SetNetworkId(v string) *CreateNodeInput
- func (s *CreateNodeInput) SetNodeConfiguration(v *NodeConfiguration) *CreateNodeInput
- func (s *CreateNodeInput) SetTags(v map[string]*string) *CreateNodeInput
- func (s CreateNodeInput) String() string
- func (s *CreateNodeInput) Validate() error
- type CreateNodeOutput
- type CreateProposalInput
- func (s CreateProposalInput) GoString() string
- func (s *CreateProposalInput) SetActions(v *ProposalActions) *CreateProposalInput
- func (s *CreateProposalInput) SetClientRequestToken(v string) *CreateProposalInput
- func (s *CreateProposalInput) SetDescription(v string) *CreateProposalInput
- func (s *CreateProposalInput) SetMemberId(v string) *CreateProposalInput
- func (s *CreateProposalInput) SetNetworkId(v string) *CreateProposalInput
- func (s *CreateProposalInput) SetTags(v map[string]*string) *CreateProposalInput
- func (s CreateProposalInput) String() string
- func (s *CreateProposalInput) Validate() error
- type CreateProposalOutput
- type DeleteAccessorInput
- type DeleteAccessorOutput
- type DeleteMemberInput
- type DeleteMemberOutput
- type DeleteNodeInput
- func (s DeleteNodeInput) GoString() string
- func (s *DeleteNodeInput) SetMemberId(v string) *DeleteNodeInput
- func (s *DeleteNodeInput) SetNetworkId(v string) *DeleteNodeInput
- func (s *DeleteNodeInput) SetNodeId(v string) *DeleteNodeInput
- func (s DeleteNodeInput) String() string
- func (s *DeleteNodeInput) Validate() error
- type DeleteNodeOutput
- type GetAccessorInput
- type GetAccessorOutput
- type GetMemberInput
- type GetMemberOutput
- type GetNetworkInput
- type GetNetworkOutput
- type GetNodeInput
- type GetNodeOutput
- type GetProposalInput
- type GetProposalOutput
- type IllegalActionException
- func (s *IllegalActionException) Code() string
- func (s *IllegalActionException) Error() string
- func (s IllegalActionException) GoString() string
- func (s *IllegalActionException) Message() string
- func (s *IllegalActionException) OrigErr() error
- func (s *IllegalActionException) RequestID() string
- func (s *IllegalActionException) StatusCode() int
- func (s IllegalActionException) String() string
- type InternalServiceErrorException
- func (s *InternalServiceErrorException) Code() string
- func (s *InternalServiceErrorException) Error() string
- func (s InternalServiceErrorException) GoString() string
- func (s *InternalServiceErrorException) Message() string
- func (s *InternalServiceErrorException) OrigErr() error
- func (s *InternalServiceErrorException) RequestID() string
- func (s *InternalServiceErrorException) StatusCode() int
- func (s InternalServiceErrorException) String() string
- type InvalidRequestException
- func (s *InvalidRequestException) Code() string
- func (s *InvalidRequestException) Error() string
- func (s InvalidRequestException) GoString() string
- func (s *InvalidRequestException) Message() string
- func (s *InvalidRequestException) OrigErr() error
- func (s *InvalidRequestException) RequestID() string
- func (s *InvalidRequestException) StatusCode() int
- func (s InvalidRequestException) String() string
- type Invitation
- func (s Invitation) GoString() string
- func (s *Invitation) SetArn(v string) *Invitation
- func (s *Invitation) SetCreationDate(v time.Time) *Invitation
- func (s *Invitation) SetExpirationDate(v time.Time) *Invitation
- func (s *Invitation) SetInvitationId(v string) *Invitation
- func (s *Invitation) SetNetworkSummary(v *NetworkSummary) *Invitation
- func (s *Invitation) SetStatus(v string) *Invitation
- func (s Invitation) String() string
- type InviteAction
- type ListAccessorsInput
- type ListAccessorsOutput
- type ListInvitationsInput
- type ListInvitationsOutput
- type ListMembersInput
- func (s ListMembersInput) GoString() string
- func (s *ListMembersInput) SetIsOwned(v bool) *ListMembersInput
- func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput
- func (s *ListMembersInput) SetName(v string) *ListMembersInput
- func (s *ListMembersInput) SetNetworkId(v string) *ListMembersInput
- func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput
- func (s *ListMembersInput) SetStatus(v string) *ListMembersInput
- func (s ListMembersInput) String() string
- func (s *ListMembersInput) Validate() error
- type ListMembersOutput
- type ListNetworksInput
- func (s ListNetworksInput) GoString() string
- func (s *ListNetworksInput) SetFramework(v string) *ListNetworksInput
- func (s *ListNetworksInput) SetMaxResults(v int64) *ListNetworksInput
- func (s *ListNetworksInput) SetName(v string) *ListNetworksInput
- func (s *ListNetworksInput) SetNextToken(v string) *ListNetworksInput
- func (s *ListNetworksInput) SetStatus(v string) *ListNetworksInput
- func (s ListNetworksInput) String() string
- func (s *ListNetworksInput) Validate() error
- type ListNetworksOutput
- type ListNodesInput
- func (s ListNodesInput) GoString() string
- func (s *ListNodesInput) SetMaxResults(v int64) *ListNodesInput
- func (s *ListNodesInput) SetMemberId(v string) *ListNodesInput
- func (s *ListNodesInput) SetNetworkId(v string) *ListNodesInput
- func (s *ListNodesInput) SetNextToken(v string) *ListNodesInput
- func (s *ListNodesInput) SetStatus(v string) *ListNodesInput
- func (s ListNodesInput) String() string
- func (s *ListNodesInput) Validate() error
- type ListNodesOutput
- type ListProposalVotesInput
- func (s ListProposalVotesInput) GoString() string
- func (s *ListProposalVotesInput) SetMaxResults(v int64) *ListProposalVotesInput
- func (s *ListProposalVotesInput) SetNetworkId(v string) *ListProposalVotesInput
- func (s *ListProposalVotesInput) SetNextToken(v string) *ListProposalVotesInput
- func (s *ListProposalVotesInput) SetProposalId(v string) *ListProposalVotesInput
- func (s ListProposalVotesInput) String() string
- func (s *ListProposalVotesInput) Validate() error
- type ListProposalVotesOutput
- type ListProposalsInput
- func (s ListProposalsInput) GoString() string
- func (s *ListProposalsInput) SetMaxResults(v int64) *ListProposalsInput
- func (s *ListProposalsInput) SetNetworkId(v string) *ListProposalsInput
- func (s *ListProposalsInput) SetNextToken(v string) *ListProposalsInput
- func (s ListProposalsInput) String() string
- func (s *ListProposalsInput) Validate() error
- type ListProposalsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type LogConfiguration
- type LogConfigurations
- type ManagedBlockchain
- func (c *ManagedBlockchain) CreateAccessor(input *CreateAccessorInput) (*CreateAccessorOutput, error)
- func (c *ManagedBlockchain) CreateAccessorRequest(input *CreateAccessorInput) (req *request.Request, output *CreateAccessorOutput)
- func (c *ManagedBlockchain) CreateAccessorWithContext(ctx aws.Context, input *CreateAccessorInput, opts ...request.Option) (*CreateAccessorOutput, error)
- func (c *ManagedBlockchain) CreateMember(input *CreateMemberInput) (*CreateMemberOutput, error)
- func (c *ManagedBlockchain) CreateMemberRequest(input *CreateMemberInput) (req *request.Request, output *CreateMemberOutput)
- func (c *ManagedBlockchain) CreateMemberWithContext(ctx aws.Context, input *CreateMemberInput, opts ...request.Option) (*CreateMemberOutput, error)
- func (c *ManagedBlockchain) CreateNetwork(input *CreateNetworkInput) (*CreateNetworkOutput, error)
- func (c *ManagedBlockchain) CreateNetworkRequest(input *CreateNetworkInput) (req *request.Request, output *CreateNetworkOutput)
- func (c *ManagedBlockchain) CreateNetworkWithContext(ctx aws.Context, input *CreateNetworkInput, opts ...request.Option) (*CreateNetworkOutput, error)
- func (c *ManagedBlockchain) CreateNode(input *CreateNodeInput) (*CreateNodeOutput, error)
- func (c *ManagedBlockchain) CreateNodeRequest(input *CreateNodeInput) (req *request.Request, output *CreateNodeOutput)
- func (c *ManagedBlockchain) CreateNodeWithContext(ctx aws.Context, input *CreateNodeInput, opts ...request.Option) (*CreateNodeOutput, error)
- func (c *ManagedBlockchain) CreateProposal(input *CreateProposalInput) (*CreateProposalOutput, error)
- func (c *ManagedBlockchain) CreateProposalRequest(input *CreateProposalInput) (req *request.Request, output *CreateProposalOutput)
- func (c *ManagedBlockchain) CreateProposalWithContext(ctx aws.Context, input *CreateProposalInput, opts ...request.Option) (*CreateProposalOutput, error)
- func (c *ManagedBlockchain) DeleteAccessor(input *DeleteAccessorInput) (*DeleteAccessorOutput, error)
- func (c *ManagedBlockchain) DeleteAccessorRequest(input *DeleteAccessorInput) (req *request.Request, output *DeleteAccessorOutput)
- func (c *ManagedBlockchain) DeleteAccessorWithContext(ctx aws.Context, input *DeleteAccessorInput, opts ...request.Option) (*DeleteAccessorOutput, error)
- func (c *ManagedBlockchain) DeleteMember(input *DeleteMemberInput) (*DeleteMemberOutput, error)
- func (c *ManagedBlockchain) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Request, output *DeleteMemberOutput)
- func (c *ManagedBlockchain) DeleteMemberWithContext(ctx aws.Context, input *DeleteMemberInput, opts ...request.Option) (*DeleteMemberOutput, error)
- func (c *ManagedBlockchain) DeleteNode(input *DeleteNodeInput) (*DeleteNodeOutput, error)
- func (c *ManagedBlockchain) DeleteNodeRequest(input *DeleteNodeInput) (req *request.Request, output *DeleteNodeOutput)
- func (c *ManagedBlockchain) DeleteNodeWithContext(ctx aws.Context, input *DeleteNodeInput, opts ...request.Option) (*DeleteNodeOutput, error)
- func (c *ManagedBlockchain) GetAccessor(input *GetAccessorInput) (*GetAccessorOutput, error)
- func (c *ManagedBlockchain) GetAccessorRequest(input *GetAccessorInput) (req *request.Request, output *GetAccessorOutput)
- func (c *ManagedBlockchain) GetAccessorWithContext(ctx aws.Context, input *GetAccessorInput, opts ...request.Option) (*GetAccessorOutput, error)
- func (c *ManagedBlockchain) GetMember(input *GetMemberInput) (*GetMemberOutput, error)
- func (c *ManagedBlockchain) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput)
- func (c *ManagedBlockchain) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, opts ...request.Option) (*GetMemberOutput, error)
- func (c *ManagedBlockchain) GetNetwork(input *GetNetworkInput) (*GetNetworkOutput, error)
- func (c *ManagedBlockchain) GetNetworkRequest(input *GetNetworkInput) (req *request.Request, output *GetNetworkOutput)
- func (c *ManagedBlockchain) GetNetworkWithContext(ctx aws.Context, input *GetNetworkInput, opts ...request.Option) (*GetNetworkOutput, error)
- func (c *ManagedBlockchain) GetNode(input *GetNodeInput) (*GetNodeOutput, error)
- func (c *ManagedBlockchain) GetNodeRequest(input *GetNodeInput) (req *request.Request, output *GetNodeOutput)
- func (c *ManagedBlockchain) GetNodeWithContext(ctx aws.Context, input *GetNodeInput, opts ...request.Option) (*GetNodeOutput, error)
- func (c *ManagedBlockchain) GetProposal(input *GetProposalInput) (*GetProposalOutput, error)
- func (c *ManagedBlockchain) GetProposalRequest(input *GetProposalInput) (req *request.Request, output *GetProposalOutput)
- func (c *ManagedBlockchain) GetProposalWithContext(ctx aws.Context, input *GetProposalInput, opts ...request.Option) (*GetProposalOutput, error)
- func (c *ManagedBlockchain) ListAccessors(input *ListAccessorsInput) (*ListAccessorsOutput, error)
- func (c *ManagedBlockchain) ListAccessorsPages(input *ListAccessorsInput, fn func(*ListAccessorsOutput, bool) bool) error
- func (c *ManagedBlockchain) ListAccessorsPagesWithContext(ctx aws.Context, input *ListAccessorsInput, ...) error
- func (c *ManagedBlockchain) ListAccessorsRequest(input *ListAccessorsInput) (req *request.Request, output *ListAccessorsOutput)
- func (c *ManagedBlockchain) ListAccessorsWithContext(ctx aws.Context, input *ListAccessorsInput, opts ...request.Option) (*ListAccessorsOutput, error)
- func (c *ManagedBlockchain) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error)
- func (c *ManagedBlockchain) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error
- func (c *ManagedBlockchain) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, ...) error
- func (c *ManagedBlockchain) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput)
- func (c *ManagedBlockchain) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error)
- func (c *ManagedBlockchain) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)
- func (c *ManagedBlockchain) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error
- func (c *ManagedBlockchain) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, ...) error
- func (c *ManagedBlockchain) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)
- func (c *ManagedBlockchain) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)
- func (c *ManagedBlockchain) ListNetworks(input *ListNetworksInput) (*ListNetworksOutput, error)
- func (c *ManagedBlockchain) ListNetworksPages(input *ListNetworksInput, fn func(*ListNetworksOutput, bool) bool) error
- func (c *ManagedBlockchain) ListNetworksPagesWithContext(ctx aws.Context, input *ListNetworksInput, ...) error
- func (c *ManagedBlockchain) ListNetworksRequest(input *ListNetworksInput) (req *request.Request, output *ListNetworksOutput)
- func (c *ManagedBlockchain) ListNetworksWithContext(ctx aws.Context, input *ListNetworksInput, opts ...request.Option) (*ListNetworksOutput, error)
- func (c *ManagedBlockchain) ListNodes(input *ListNodesInput) (*ListNodesOutput, error)
- func (c *ManagedBlockchain) ListNodesPages(input *ListNodesInput, fn func(*ListNodesOutput, bool) bool) error
- func (c *ManagedBlockchain) ListNodesPagesWithContext(ctx aws.Context, input *ListNodesInput, fn func(*ListNodesOutput, bool) bool, ...) error
- func (c *ManagedBlockchain) ListNodesRequest(input *ListNodesInput) (req *request.Request, output *ListNodesOutput)
- func (c *ManagedBlockchain) ListNodesWithContext(ctx aws.Context, input *ListNodesInput, opts ...request.Option) (*ListNodesOutput, error)
- func (c *ManagedBlockchain) ListProposalVotes(input *ListProposalVotesInput) (*ListProposalVotesOutput, error)
- func (c *ManagedBlockchain) ListProposalVotesPages(input *ListProposalVotesInput, fn func(*ListProposalVotesOutput, bool) bool) error
- func (c *ManagedBlockchain) ListProposalVotesPagesWithContext(ctx aws.Context, input *ListProposalVotesInput, ...) error
- func (c *ManagedBlockchain) ListProposalVotesRequest(input *ListProposalVotesInput) (req *request.Request, output *ListProposalVotesOutput)
- func (c *ManagedBlockchain) ListProposalVotesWithContext(ctx aws.Context, input *ListProposalVotesInput, opts ...request.Option) (*ListProposalVotesOutput, error)
- func (c *ManagedBlockchain) ListProposals(input *ListProposalsInput) (*ListProposalsOutput, error)
- func (c *ManagedBlockchain) ListProposalsPages(input *ListProposalsInput, fn func(*ListProposalsOutput, bool) bool) error
- func (c *ManagedBlockchain) ListProposalsPagesWithContext(ctx aws.Context, input *ListProposalsInput, ...) error
- func (c *ManagedBlockchain) ListProposalsRequest(input *ListProposalsInput) (req *request.Request, output *ListProposalsOutput)
- func (c *ManagedBlockchain) ListProposalsWithContext(ctx aws.Context, input *ListProposalsInput, opts ...request.Option) (*ListProposalsOutput, error)
- func (c *ManagedBlockchain) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *ManagedBlockchain) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *ManagedBlockchain) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *ManagedBlockchain) RejectInvitation(input *RejectInvitationInput) (*RejectInvitationOutput, error)
- func (c *ManagedBlockchain) RejectInvitationRequest(input *RejectInvitationInput) (req *request.Request, output *RejectInvitationOutput)
- func (c *ManagedBlockchain) RejectInvitationWithContext(ctx aws.Context, input *RejectInvitationInput, opts ...request.Option) (*RejectInvitationOutput, error)
- func (c *ManagedBlockchain) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *ManagedBlockchain) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *ManagedBlockchain) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *ManagedBlockchain) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *ManagedBlockchain) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *ManagedBlockchain) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *ManagedBlockchain) UpdateMember(input *UpdateMemberInput) (*UpdateMemberOutput, error)
- func (c *ManagedBlockchain) UpdateMemberRequest(input *UpdateMemberInput) (req *request.Request, output *UpdateMemberOutput)
- func (c *ManagedBlockchain) UpdateMemberWithContext(ctx aws.Context, input *UpdateMemberInput, opts ...request.Option) (*UpdateMemberOutput, error)
- func (c *ManagedBlockchain) UpdateNode(input *UpdateNodeInput) (*UpdateNodeOutput, error)
- func (c *ManagedBlockchain) UpdateNodeRequest(input *UpdateNodeInput) (req *request.Request, output *UpdateNodeOutput)
- func (c *ManagedBlockchain) UpdateNodeWithContext(ctx aws.Context, input *UpdateNodeInput, opts ...request.Option) (*UpdateNodeOutput, error)
- func (c *ManagedBlockchain) VoteOnProposal(input *VoteOnProposalInput) (*VoteOnProposalOutput, error)
- func (c *ManagedBlockchain) VoteOnProposalRequest(input *VoteOnProposalInput) (req *request.Request, output *VoteOnProposalOutput)
- func (c *ManagedBlockchain) VoteOnProposalWithContext(ctx aws.Context, input *VoteOnProposalInput, opts ...request.Option) (*VoteOnProposalOutput, error)
- type Member
- func (s Member) GoString() string
- func (s *Member) SetArn(v string) *Member
- func (s *Member) SetCreationDate(v time.Time) *Member
- func (s *Member) SetDescription(v string) *Member
- func (s *Member) SetFrameworkAttributes(v *MemberFrameworkAttributes) *Member
- func (s *Member) SetId(v string) *Member
- func (s *Member) SetKmsKeyArn(v string) *Member
- func (s *Member) SetLogPublishingConfiguration(v *MemberLogPublishingConfiguration) *Member
- func (s *Member) SetName(v string) *Member
- func (s *Member) SetNetworkId(v string) *Member
- func (s *Member) SetStatus(v string) *Member
- func (s *Member) SetTags(v map[string]*string) *Member
- func (s Member) String() string
- type MemberConfiguration
- func (s MemberConfiguration) GoString() string
- func (s *MemberConfiguration) SetDescription(v string) *MemberConfiguration
- func (s *MemberConfiguration) SetFrameworkConfiguration(v *MemberFrameworkConfiguration) *MemberConfiguration
- func (s *MemberConfiguration) SetKmsKeyArn(v string) *MemberConfiguration
- func (s *MemberConfiguration) SetLogPublishingConfiguration(v *MemberLogPublishingConfiguration) *MemberConfiguration
- func (s *MemberConfiguration) SetName(v string) *MemberConfiguration
- func (s *MemberConfiguration) SetTags(v map[string]*string) *MemberConfiguration
- func (s MemberConfiguration) String() string
- func (s *MemberConfiguration) Validate() error
- type MemberFabricAttributes
- type MemberFabricConfiguration
- func (s MemberFabricConfiguration) GoString() string
- func (s *MemberFabricConfiguration) SetAdminPassword(v string) *MemberFabricConfiguration
- func (s *MemberFabricConfiguration) SetAdminUsername(v string) *MemberFabricConfiguration
- func (s MemberFabricConfiguration) String() string
- func (s *MemberFabricConfiguration) Validate() error
- type MemberFabricLogPublishingConfiguration
- type MemberFrameworkAttributes
- type MemberFrameworkConfiguration
- type MemberLogPublishingConfiguration
- type MemberSummary
- func (s MemberSummary) GoString() string
- func (s *MemberSummary) SetArn(v string) *MemberSummary
- func (s *MemberSummary) SetCreationDate(v time.Time) *MemberSummary
- func (s *MemberSummary) SetDescription(v string) *MemberSummary
- func (s *MemberSummary) SetId(v string) *MemberSummary
- func (s *MemberSummary) SetIsOwned(v bool) *MemberSummary
- func (s *MemberSummary) SetName(v string) *MemberSummary
- func (s *MemberSummary) SetStatus(v string) *MemberSummary
- func (s MemberSummary) String() string
- type Network
- func (s Network) GoString() string
- func (s *Network) SetArn(v string) *Network
- func (s *Network) SetCreationDate(v time.Time) *Network
- func (s *Network) SetDescription(v string) *Network
- func (s *Network) SetFramework(v string) *Network
- func (s *Network) SetFrameworkAttributes(v *NetworkFrameworkAttributes) *Network
- func (s *Network) SetFrameworkVersion(v string) *Network
- func (s *Network) SetId(v string) *Network
- func (s *Network) SetName(v string) *Network
- func (s *Network) SetStatus(v string) *Network
- func (s *Network) SetTags(v map[string]*string) *Network
- func (s *Network) SetVotingPolicy(v *VotingPolicy) *Network
- func (s *Network) SetVpcEndpointServiceName(v string) *Network
- func (s Network) String() string
- type NetworkEthereumAttributes
- type NetworkFabricAttributes
- type NetworkFabricConfiguration
- type NetworkFrameworkAttributes
- func (s NetworkFrameworkAttributes) GoString() string
- func (s *NetworkFrameworkAttributes) SetEthereum(v *NetworkEthereumAttributes) *NetworkFrameworkAttributes
- func (s *NetworkFrameworkAttributes) SetFabric(v *NetworkFabricAttributes) *NetworkFrameworkAttributes
- func (s NetworkFrameworkAttributes) String() string
- type NetworkFrameworkConfiguration
- type NetworkSummary
- func (s NetworkSummary) GoString() string
- func (s *NetworkSummary) SetArn(v string) *NetworkSummary
- func (s *NetworkSummary) SetCreationDate(v time.Time) *NetworkSummary
- func (s *NetworkSummary) SetDescription(v string) *NetworkSummary
- func (s *NetworkSummary) SetFramework(v string) *NetworkSummary
- func (s *NetworkSummary) SetFrameworkVersion(v string) *NetworkSummary
- func (s *NetworkSummary) SetId(v string) *NetworkSummary
- func (s *NetworkSummary) SetName(v string) *NetworkSummary
- func (s *NetworkSummary) SetStatus(v string) *NetworkSummary
- func (s NetworkSummary) String() string
- type Node
- func (s Node) GoString() string
- func (s *Node) SetArn(v string) *Node
- func (s *Node) SetAvailabilityZone(v string) *Node
- func (s *Node) SetCreationDate(v time.Time) *Node
- func (s *Node) SetFrameworkAttributes(v *NodeFrameworkAttributes) *Node
- func (s *Node) SetId(v string) *Node
- func (s *Node) SetInstanceType(v string) *Node
- func (s *Node) SetKmsKeyArn(v string) *Node
- func (s *Node) SetLogPublishingConfiguration(v *NodeLogPublishingConfiguration) *Node
- func (s *Node) SetMemberId(v string) *Node
- func (s *Node) SetNetworkId(v string) *Node
- func (s *Node) SetStateDB(v string) *Node
- func (s *Node) SetStatus(v string) *Node
- func (s *Node) SetTags(v map[string]*string) *Node
- func (s Node) String() string
- type NodeConfiguration
- func (s NodeConfiguration) GoString() string
- func (s *NodeConfiguration) SetAvailabilityZone(v string) *NodeConfiguration
- func (s *NodeConfiguration) SetInstanceType(v string) *NodeConfiguration
- func (s *NodeConfiguration) SetLogPublishingConfiguration(v *NodeLogPublishingConfiguration) *NodeConfiguration
- func (s *NodeConfiguration) SetStateDB(v string) *NodeConfiguration
- func (s NodeConfiguration) String() string
- func (s *NodeConfiguration) Validate() error
- type NodeEthereumAttributes
- type NodeFabricAttributes
- type NodeFabricLogPublishingConfiguration
- func (s NodeFabricLogPublishingConfiguration) GoString() string
- func (s *NodeFabricLogPublishingConfiguration) SetChaincodeLogs(v *LogConfigurations) *NodeFabricLogPublishingConfiguration
- func (s *NodeFabricLogPublishingConfiguration) SetPeerLogs(v *LogConfigurations) *NodeFabricLogPublishingConfiguration
- func (s NodeFabricLogPublishingConfiguration) String() string
- type NodeFrameworkAttributes
- type NodeLogPublishingConfiguration
- type NodeSummary
- func (s NodeSummary) GoString() string
- func (s *NodeSummary) SetArn(v string) *NodeSummary
- func (s *NodeSummary) SetAvailabilityZone(v string) *NodeSummary
- func (s *NodeSummary) SetCreationDate(v time.Time) *NodeSummary
- func (s *NodeSummary) SetId(v string) *NodeSummary
- func (s *NodeSummary) SetInstanceType(v string) *NodeSummary
- func (s *NodeSummary) SetStatus(v string) *NodeSummary
- func (s NodeSummary) String() string
- type Proposal
- func (s Proposal) GoString() string
- func (s *Proposal) SetActions(v *ProposalActions) *Proposal
- func (s *Proposal) SetArn(v string) *Proposal
- func (s *Proposal) SetCreationDate(v time.Time) *Proposal
- func (s *Proposal) SetDescription(v string) *Proposal
- func (s *Proposal) SetExpirationDate(v time.Time) *Proposal
- func (s *Proposal) SetNetworkId(v string) *Proposal
- func (s *Proposal) SetNoVoteCount(v int64) *Proposal
- func (s *Proposal) SetOutstandingVoteCount(v int64) *Proposal
- func (s *Proposal) SetProposalId(v string) *Proposal
- func (s *Proposal) SetProposedByMemberId(v string) *Proposal
- func (s *Proposal) SetProposedByMemberName(v string) *Proposal
- func (s *Proposal) SetStatus(v string) *Proposal
- func (s *Proposal) SetTags(v map[string]*string) *Proposal
- func (s *Proposal) SetYesVoteCount(v int64) *Proposal
- func (s Proposal) String() string
- type ProposalActions
- type ProposalSummary
- func (s ProposalSummary) GoString() string
- func (s *ProposalSummary) SetArn(v string) *ProposalSummary
- func (s *ProposalSummary) SetCreationDate(v time.Time) *ProposalSummary
- func (s *ProposalSummary) SetDescription(v string) *ProposalSummary
- func (s *ProposalSummary) SetExpirationDate(v time.Time) *ProposalSummary
- func (s *ProposalSummary) SetProposalId(v string) *ProposalSummary
- func (s *ProposalSummary) SetProposedByMemberId(v string) *ProposalSummary
- func (s *ProposalSummary) SetProposedByMemberName(v string) *ProposalSummary
- func (s *ProposalSummary) SetStatus(v string) *ProposalSummary
- func (s ProposalSummary) String() string
- type RejectInvitationInput
- type RejectInvitationOutput
- type RemoveAction
- type ResourceAlreadyExistsException
- func (s *ResourceAlreadyExistsException) Code() string
- func (s *ResourceAlreadyExistsException) Error() string
- func (s ResourceAlreadyExistsException) GoString() string
- func (s *ResourceAlreadyExistsException) Message() string
- func (s *ResourceAlreadyExistsException) OrigErr() error
- func (s *ResourceAlreadyExistsException) RequestID() string
- func (s *ResourceAlreadyExistsException) StatusCode() int
- func (s ResourceAlreadyExistsException) String() string
- type ResourceLimitExceededException
- func (s *ResourceLimitExceededException) Code() string
- func (s *ResourceLimitExceededException) Error() string
- func (s ResourceLimitExceededException) GoString() string
- func (s *ResourceLimitExceededException) Message() string
- func (s *ResourceLimitExceededException) OrigErr() error
- func (s *ResourceLimitExceededException) RequestID() string
- func (s *ResourceLimitExceededException) StatusCode() int
- func (s ResourceLimitExceededException) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ResourceNotReadyException
- func (s *ResourceNotReadyException) Code() string
- func (s *ResourceNotReadyException) Error() string
- func (s ResourceNotReadyException) GoString() string
- func (s *ResourceNotReadyException) Message() string
- func (s *ResourceNotReadyException) OrigErr() error
- func (s *ResourceNotReadyException) RequestID() string
- func (s *ResourceNotReadyException) StatusCode() int
- func (s ResourceNotReadyException) String() string
- type TagResourceInput
- type TagResourceOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type TooManyTagsException
- func (s *TooManyTagsException) Code() string
- func (s *TooManyTagsException) Error() string
- func (s TooManyTagsException) GoString() string
- func (s *TooManyTagsException) Message() string
- func (s *TooManyTagsException) OrigErr() error
- func (s *TooManyTagsException) RequestID() string
- func (s *TooManyTagsException) StatusCode() int
- func (s TooManyTagsException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateMemberInput
- func (s UpdateMemberInput) GoString() string
- func (s *UpdateMemberInput) SetLogPublishingConfiguration(v *MemberLogPublishingConfiguration) *UpdateMemberInput
- func (s *UpdateMemberInput) SetMemberId(v string) *UpdateMemberInput
- func (s *UpdateMemberInput) SetNetworkId(v string) *UpdateMemberInput
- func (s UpdateMemberInput) String() string
- func (s *UpdateMemberInput) Validate() error
- type UpdateMemberOutput
- type UpdateNodeInput
- func (s UpdateNodeInput) GoString() string
- func (s *UpdateNodeInput) SetLogPublishingConfiguration(v *NodeLogPublishingConfiguration) *UpdateNodeInput
- func (s *UpdateNodeInput) SetMemberId(v string) *UpdateNodeInput
- func (s *UpdateNodeInput) SetNetworkId(v string) *UpdateNodeInput
- func (s *UpdateNodeInput) SetNodeId(v string) *UpdateNodeInput
- func (s UpdateNodeInput) String() string
- func (s *UpdateNodeInput) Validate() error
- type UpdateNodeOutput
- type VoteOnProposalInput
- func (s VoteOnProposalInput) GoString() string
- func (s *VoteOnProposalInput) SetNetworkId(v string) *VoteOnProposalInput
- func (s *VoteOnProposalInput) SetProposalId(v string) *VoteOnProposalInput
- func (s *VoteOnProposalInput) SetVote(v string) *VoteOnProposalInput
- func (s *VoteOnProposalInput) SetVoterMemberId(v string) *VoteOnProposalInput
- func (s VoteOnProposalInput) String() string
- func (s *VoteOnProposalInput) Validate() error
- type VoteOnProposalOutput
- type VoteSummary
- type VotingPolicy
Constants ¶
const ( // AccessorStatusAvailable is a AccessorStatus enum value AccessorStatusAvailable = "AVAILABLE" // AccessorStatusPendingDeletion is a AccessorStatus enum value AccessorStatusPendingDeletion = "PENDING_DELETION" // AccessorStatusDeleted is a AccessorStatus enum value AccessorStatusDeleted = "DELETED" )
const ( // EditionStarter is a Edition enum value EditionStarter = "STARTER" // EditionStandard is a Edition enum value EditionStandard = "STANDARD" )
const ( // FrameworkHyperledgerFabric is a Framework enum value FrameworkHyperledgerFabric = "HYPERLEDGER_FABRIC" // FrameworkEthereum is a Framework enum value FrameworkEthereum = "ETHEREUM" )
const ( // InvitationStatusPending is a InvitationStatus enum value InvitationStatusPending = "PENDING" // InvitationStatusAccepted is a InvitationStatus enum value InvitationStatusAccepted = "ACCEPTED" // InvitationStatusAccepting is a InvitationStatus enum value InvitationStatusAccepting = "ACCEPTING" // InvitationStatusRejected is a InvitationStatus enum value InvitationStatusRejected = "REJECTED" // InvitationStatusExpired is a InvitationStatus enum value InvitationStatusExpired = "EXPIRED" )
const ( // MemberStatusCreating is a MemberStatus enum value MemberStatusCreating = "CREATING" // MemberStatusAvailable is a MemberStatus enum value MemberStatusAvailable = "AVAILABLE" // MemberStatusCreateFailed is a MemberStatus enum value MemberStatusCreateFailed = "CREATE_FAILED" // MemberStatusUpdating is a MemberStatus enum value MemberStatusUpdating = "UPDATING" // MemberStatusDeleting is a MemberStatus enum value MemberStatusDeleting = "DELETING" // MemberStatusDeleted is a MemberStatus enum value MemberStatusDeleted = "DELETED" // MemberStatusInaccessibleEncryptionKey is a MemberStatus enum value MemberStatusInaccessibleEncryptionKey = "INACCESSIBLE_ENCRYPTION_KEY" )
const ( // NetworkStatusCreating is a NetworkStatus enum value NetworkStatusCreating = "CREATING" // NetworkStatusAvailable is a NetworkStatus enum value NetworkStatusAvailable = "AVAILABLE" // NetworkStatusCreateFailed is a NetworkStatus enum value NetworkStatusCreateFailed = "CREATE_FAILED" // NetworkStatusDeleting is a NetworkStatus enum value NetworkStatusDeleting = "DELETING" // NetworkStatusDeleted is a NetworkStatus enum value NetworkStatusDeleted = "DELETED" )
const ( // NodeStatusCreating is a NodeStatus enum value NodeStatusCreating = "CREATING" // NodeStatusAvailable is a NodeStatus enum value NodeStatusAvailable = "AVAILABLE" // NodeStatusUnhealthy is a NodeStatus enum value NodeStatusUnhealthy = "UNHEALTHY" // NodeStatusCreateFailed is a NodeStatus enum value NodeStatusCreateFailed = "CREATE_FAILED" // NodeStatusUpdating is a NodeStatus enum value NodeStatusUpdating = "UPDATING" // NodeStatusDeleting is a NodeStatus enum value NodeStatusDeleting = "DELETING" // NodeStatusDeleted is a NodeStatus enum value NodeStatusDeleted = "DELETED" // NodeStatusFailed is a NodeStatus enum value NodeStatusFailed = "FAILED" // NodeStatusInaccessibleEncryptionKey is a NodeStatus enum value NodeStatusInaccessibleEncryptionKey = "INACCESSIBLE_ENCRYPTION_KEY" )
const ( // ProposalStatusInProgress is a ProposalStatus enum value ProposalStatusInProgress = "IN_PROGRESS" // ProposalStatusApproved is a ProposalStatus enum value ProposalStatusApproved = "APPROVED" // ProposalStatusRejected is a ProposalStatus enum value ProposalStatusRejected = "REJECTED" // ProposalStatusExpired is a ProposalStatus enum value ProposalStatusExpired = "EXPIRED" // ProposalStatusActionFailed is a ProposalStatus enum value ProposalStatusActionFailed = "ACTION_FAILED" )
const ( // StateDBTypeLevelDb is a StateDBType enum value StateDBTypeLevelDb = "LevelDB" // StateDBTypeCouchDb is a StateDBType enum value StateDBTypeCouchDb = "CouchDB" )
const ( // ThresholdComparatorGreaterThan is a ThresholdComparator enum value ThresholdComparatorGreaterThan = "GREATER_THAN" // ThresholdComparatorGreaterThanOrEqualTo is a ThresholdComparator enum value ThresholdComparatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" )
const ( // VoteValueYes is a VoteValue enum value VoteValueYes = "YES" // VoteValueNo is a VoteValue enum value VoteValueNo = "NO" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You don't have sufficient access to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeIllegalActionException for service response error code // "IllegalActionException". ErrCodeIllegalActionException = "IllegalActionException" // ErrCodeInternalServiceErrorException for service response error code // "InternalServiceErrorException". // // The request processing has failed because of an unknown error, exception // or failure. ErrCodeInternalServiceErrorException = "InternalServiceErrorException" // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". // // The action or operation requested is invalid. Verify that the action is typed // correctly. ErrCodeInvalidRequestException = "InvalidRequestException" // ErrCodeResourceAlreadyExistsException for service response error code // "ResourceAlreadyExistsException". // // A resource request is issued for a resource that already exists. ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException" // ErrCodeResourceLimitExceededException for service response error code // "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. ErrCodeResourceLimitExceededException = "ResourceLimitExceededException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // A requested resource doesn't exist. It may have been deleted or referenced // incorrectly. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeResourceNotReadyException for service response error code // "ResourceNotReadyException". // // The requested resource exists but isn't in a status that can complete the // operation. ErrCodeResourceNotReadyException = "ResourceNotReadyException" // ErrCodeThrottlingException for service response error code // "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. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeTooManyTagsException for service response error code // "TooManyTagsException". ErrCodeTooManyTagsException = "TooManyTagsException" )
const ( ServiceName = "ManagedBlockchain" // Name of service. EndpointsID = "managedblockchain" // ID to lookup a service endpoint with. ServiceID = "ManagedBlockchain" // ServiceID is a unique identifier of a specific service. )
Service information constants
const (
// AccessorTypeBillingToken is a AccessorType enum value
AccessorTypeBillingToken = "BILLING_TOKEN"
)
Variables ¶
This section is empty.
Functions ¶
func AccessorStatus_Values ¶
func AccessorStatus_Values() []string
AccessorStatus_Values returns all elements of the AccessorStatus enum
func AccessorType_Values ¶
func AccessorType_Values() []string
AccessorType_Values returns all elements of the AccessorType enum
func Edition_Values ¶
func Edition_Values() []string
Edition_Values returns all elements of the Edition enum
func Framework_Values ¶
func Framework_Values() []string
Framework_Values returns all elements of the Framework enum
func InvitationStatus_Values ¶
func InvitationStatus_Values() []string
InvitationStatus_Values returns all elements of the InvitationStatus enum
func MemberStatus_Values ¶
func MemberStatus_Values() []string
MemberStatus_Values returns all elements of the MemberStatus enum
func NetworkStatus_Values ¶
func NetworkStatus_Values() []string
NetworkStatus_Values returns all elements of the NetworkStatus enum
func NodeStatus_Values ¶
func NodeStatus_Values() []string
NodeStatus_Values returns all elements of the NodeStatus enum
func ProposalStatus_Values ¶
func ProposalStatus_Values() []string
ProposalStatus_Values returns all elements of the ProposalStatus enum
func StateDBType_Values ¶
func StateDBType_Values() []string
StateDBType_Values returns all elements of the StateDBType enum
func ThresholdComparator_Values ¶
func ThresholdComparator_Values() []string
ThresholdComparator_Values returns all elements of the ThresholdComparator enum
func VoteValue_Values ¶
func VoteValue_Values() []string
VoteValue_Values returns all elements of the VoteValue enum
Types ¶
type AccessDeniedException ¶
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 (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
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 (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
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 ¶
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 make Ethereum // API calls to your Ethereum node. The billing token is used to track your // accessor object for billing Ethereum API requests made to your Ethereum nodes. 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 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 (Accessor) GoString ¶
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 (*Accessor) SetBillingToken ¶
SetBillingToken sets the BillingToken field's value.
func (*Accessor) SetCreationDate ¶
SetCreationDate sets the CreationDate field's value.
type AccessorSummary ¶
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 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 (AccessorSummary) GoString ¶
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 (*AccessorSummary) SetArn ¶
func (s *AccessorSummary) SetArn(v string) *AccessorSummary
SetArn sets the Arn field's value.
func (*AccessorSummary) SetCreationDate ¶
func (s *AccessorSummary) SetCreationDate(v time.Time) *AccessorSummary
SetCreationDate sets the CreationDate field's value.
func (*AccessorSummary) SetId ¶
func (s *AccessorSummary) SetId(v string) *AccessorSummary
SetId sets the Id field's value.
func (*AccessorSummary) SetStatus ¶
func (s *AccessorSummary) SetStatus(v string) *AccessorSummary
SetStatus sets the Status field's value.
func (*AccessorSummary) SetType ¶
func (s *AccessorSummary) SetType(v string) *AccessorSummary
SetType sets the Type field's value.
func (AccessorSummary) String ¶
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 ¶
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 ThreholdPercentage 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 (ApprovalThresholdPolicy) GoString ¶
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 (*ApprovalThresholdPolicy) SetProposalDurationInHours ¶
func (s *ApprovalThresholdPolicy) SetProposalDurationInHours(v int64) *ApprovalThresholdPolicy
SetProposalDurationInHours sets the ProposalDurationInHours field's value.
func (*ApprovalThresholdPolicy) SetThresholdComparator ¶
func (s *ApprovalThresholdPolicy) SetThresholdComparator(v string) *ApprovalThresholdPolicy
SetThresholdComparator sets the ThresholdComparator field's value.
func (*ApprovalThresholdPolicy) SetThresholdPercentage ¶
func (s *ApprovalThresholdPolicy) SetThresholdPercentage(v int64) *ApprovalThresholdPolicy
SetThresholdPercentage sets the ThresholdPercentage field's value.
func (ApprovalThresholdPolicy) String ¶
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 (*ApprovalThresholdPolicy) Validate ¶
func (s *ApprovalThresholdPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAccessorInput ¶
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"` // 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 (CreateAccessorInput) GoString ¶
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 (*CreateAccessorInput) SetAccessorType ¶
func (s *CreateAccessorInput) SetAccessorType(v string) *CreateAccessorInput
SetAccessorType sets the AccessorType field's value.
func (*CreateAccessorInput) SetClientRequestToken ¶
func (s *CreateAccessorInput) SetClientRequestToken(v string) *CreateAccessorInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*CreateAccessorInput) SetTags ¶
func (s *CreateAccessorInput) SetTags(v map[string]*string) *CreateAccessorInput
SetTags sets the Tags field's value.
func (CreateAccessorInput) String ¶
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 (*CreateAccessorInput) Validate ¶
func (s *CreateAccessorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAccessorOutput ¶
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 make Ethereum // API calls to your Ethereum node. The billing token is used to track your // accessor object for billing Ethereum API requests made to your Ethereum nodes. BillingToken *string `min:"42" type:"string"` // contains filtered or unexported fields }
func (CreateAccessorOutput) GoString ¶
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 (*CreateAccessorOutput) SetAccessorId ¶
func (s *CreateAccessorOutput) SetAccessorId(v string) *CreateAccessorOutput
SetAccessorId sets the AccessorId field's value.
func (*CreateAccessorOutput) SetBillingToken ¶
func (s *CreateAccessorOutput) SetBillingToken(v string) *CreateAccessorOutput
SetBillingToken sets the BillingToken field's value.
func (CreateAccessorOutput) String ¶
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 ¶
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 (CreateMemberInput) GoString ¶
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 (*CreateMemberInput) SetClientRequestToken ¶
func (s *CreateMemberInput) SetClientRequestToken(v string) *CreateMemberInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*CreateMemberInput) SetInvitationId ¶
func (s *CreateMemberInput) SetInvitationId(v string) *CreateMemberInput
SetInvitationId sets the InvitationId field's value.
func (*CreateMemberInput) SetMemberConfiguration ¶
func (s *CreateMemberInput) SetMemberConfiguration(v *MemberConfiguration) *CreateMemberInput
SetMemberConfiguration sets the MemberConfiguration field's value.
func (*CreateMemberInput) SetNetworkId ¶
func (s *CreateMemberInput) SetNetworkId(v string) *CreateMemberInput
SetNetworkId sets the NetworkId field's value.
func (CreateMemberInput) String ¶
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 (*CreateMemberInput) Validate ¶
func (s *CreateMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMemberOutput ¶
type CreateMemberOutput struct { // The unique identifier of the member. MemberId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateMemberOutput) GoString ¶
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 (*CreateMemberOutput) SetMemberId ¶
func (s *CreateMemberOutput) SetMemberId(v string) *CreateMemberOutput
SetMemberId sets the MemberId field's value.
func (CreateMemberOutput) String ¶
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 ¶
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 (CreateNetworkInput) GoString ¶
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 (*CreateNetworkInput) SetClientRequestToken ¶
func (s *CreateNetworkInput) SetClientRequestToken(v string) *CreateNetworkInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*CreateNetworkInput) SetDescription ¶
func (s *CreateNetworkInput) SetDescription(v string) *CreateNetworkInput
SetDescription sets the Description field's value.
func (*CreateNetworkInput) SetFramework ¶
func (s *CreateNetworkInput) SetFramework(v string) *CreateNetworkInput
SetFramework sets the Framework field's value.
func (*CreateNetworkInput) SetFrameworkConfiguration ¶
func (s *CreateNetworkInput) SetFrameworkConfiguration(v *NetworkFrameworkConfiguration) *CreateNetworkInput
SetFrameworkConfiguration sets the FrameworkConfiguration field's value.
func (*CreateNetworkInput) SetFrameworkVersion ¶
func (s *CreateNetworkInput) SetFrameworkVersion(v string) *CreateNetworkInput
SetFrameworkVersion sets the FrameworkVersion field's value.
func (*CreateNetworkInput) SetMemberConfiguration ¶
func (s *CreateNetworkInput) SetMemberConfiguration(v *MemberConfiguration) *CreateNetworkInput
SetMemberConfiguration sets the MemberConfiguration field's value.
func (*CreateNetworkInput) SetName ¶
func (s *CreateNetworkInput) SetName(v string) *CreateNetworkInput
SetName sets the Name field's value.
func (*CreateNetworkInput) SetTags ¶
func (s *CreateNetworkInput) SetTags(v map[string]*string) *CreateNetworkInput
SetTags sets the Tags field's value.
func (*CreateNetworkInput) SetVotingPolicy ¶
func (s *CreateNetworkInput) SetVotingPolicy(v *VotingPolicy) *CreateNetworkInput
SetVotingPolicy sets the VotingPolicy field's value.
func (CreateNetworkInput) String ¶
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 (*CreateNetworkInput) Validate ¶
func (s *CreateNetworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNetworkOutput ¶
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 (CreateNetworkOutput) GoString ¶
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 (*CreateNetworkOutput) SetMemberId ¶
func (s *CreateNetworkOutput) SetMemberId(v string) *CreateNetworkOutput
SetMemberId sets the MemberId field's value.
func (*CreateNetworkOutput) SetNetworkId ¶
func (s *CreateNetworkOutput) SetNetworkId(v string) *CreateNetworkOutput
SetNetworkId sets the NetworkId field's value.
func (CreateNetworkOutput) String ¶
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 ¶
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 // // * n-ethereum-goerli // // * n-ethereum-rinkeby // // 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 (CreateNodeInput) GoString ¶
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 (*CreateNodeInput) SetClientRequestToken ¶
func (s *CreateNodeInput) SetClientRequestToken(v string) *CreateNodeInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*CreateNodeInput) SetMemberId ¶
func (s *CreateNodeInput) SetMemberId(v string) *CreateNodeInput
SetMemberId sets the MemberId field's value.
func (*CreateNodeInput) SetNetworkId ¶
func (s *CreateNodeInput) SetNetworkId(v string) *CreateNodeInput
SetNetworkId sets the NetworkId field's value.
func (*CreateNodeInput) SetNodeConfiguration ¶
func (s *CreateNodeInput) SetNodeConfiguration(v *NodeConfiguration) *CreateNodeInput
SetNodeConfiguration sets the NodeConfiguration field's value.
func (*CreateNodeInput) SetTags ¶
func (s *CreateNodeInput) SetTags(v map[string]*string) *CreateNodeInput
SetTags sets the Tags field's value.
func (CreateNodeInput) String ¶
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 (*CreateNodeInput) Validate ¶
func (s *CreateNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNodeOutput ¶
type CreateNodeOutput struct { // The unique identifier of the node. NodeId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateNodeOutput) GoString ¶
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 (*CreateNodeOutput) SetNodeId ¶
func (s *CreateNodeOutput) SetNodeId(v string) *CreateNodeOutput
SetNodeId sets the NodeId field's value.
func (CreateNodeOutput) String ¶
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 ¶
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 (CreateProposalInput) GoString ¶
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 (*CreateProposalInput) SetActions ¶
func (s *CreateProposalInput) SetActions(v *ProposalActions) *CreateProposalInput
SetActions sets the Actions field's value.
func (*CreateProposalInput) SetClientRequestToken ¶
func (s *CreateProposalInput) SetClientRequestToken(v string) *CreateProposalInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*CreateProposalInput) SetDescription ¶
func (s *CreateProposalInput) SetDescription(v string) *CreateProposalInput
SetDescription sets the Description field's value.
func (*CreateProposalInput) SetMemberId ¶
func (s *CreateProposalInput) SetMemberId(v string) *CreateProposalInput
SetMemberId sets the MemberId field's value.
func (*CreateProposalInput) SetNetworkId ¶
func (s *CreateProposalInput) SetNetworkId(v string) *CreateProposalInput
SetNetworkId sets the NetworkId field's value.
func (*CreateProposalInput) SetTags ¶
func (s *CreateProposalInput) SetTags(v map[string]*string) *CreateProposalInput
SetTags sets the Tags field's value.
func (CreateProposalInput) String ¶
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 (*CreateProposalInput) Validate ¶
func (s *CreateProposalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateProposalOutput ¶
type CreateProposalOutput struct { // The unique identifier of the proposal. ProposalId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateProposalOutput) GoString ¶
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 (*CreateProposalOutput) SetProposalId ¶
func (s *CreateProposalOutput) SetProposalId(v string) *CreateProposalOutput
SetProposalId sets the ProposalId field's value.
func (CreateProposalOutput) String ¶
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 ¶
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 (DeleteAccessorInput) GoString ¶
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 (*DeleteAccessorInput) SetAccessorId ¶
func (s *DeleteAccessorInput) SetAccessorId(v string) *DeleteAccessorInput
SetAccessorId sets the AccessorId field's value.
func (DeleteAccessorInput) String ¶
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 (*DeleteAccessorInput) Validate ¶
func (s *DeleteAccessorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAccessorOutput ¶
type DeleteAccessorOutput struct {
// contains filtered or unexported fields
}
func (DeleteAccessorOutput) GoString ¶
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 (DeleteAccessorOutput) String ¶
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 ¶
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 (DeleteMemberInput) GoString ¶
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 (*DeleteMemberInput) SetMemberId ¶
func (s *DeleteMemberInput) SetMemberId(v string) *DeleteMemberInput
SetMemberId sets the MemberId field's value.
func (*DeleteMemberInput) SetNetworkId ¶
func (s *DeleteMemberInput) SetNetworkId(v string) *DeleteMemberInput
SetNetworkId sets the NetworkId field's value.
func (DeleteMemberInput) String ¶
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 (*DeleteMemberInput) Validate ¶
func (s *DeleteMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMemberOutput ¶
type DeleteMemberOutput struct {
// contains filtered or unexported fields
}
func (DeleteMemberOutput) GoString ¶
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 (DeleteMemberOutput) String ¶
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 ¶
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 // // * n-ethereum-goerli // // * n-ethereum-rinkeby // // 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 (DeleteNodeInput) GoString ¶
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 (*DeleteNodeInput) SetMemberId ¶
func (s *DeleteNodeInput) SetMemberId(v string) *DeleteNodeInput
SetMemberId sets the MemberId field's value.
func (*DeleteNodeInput) SetNetworkId ¶
func (s *DeleteNodeInput) SetNetworkId(v string) *DeleteNodeInput
SetNetworkId sets the NetworkId field's value.
func (*DeleteNodeInput) SetNodeId ¶
func (s *DeleteNodeInput) SetNodeId(v string) *DeleteNodeInput
SetNodeId sets the NodeId field's value.
func (DeleteNodeInput) String ¶
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 (*DeleteNodeInput) Validate ¶
func (s *DeleteNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteNodeOutput ¶
type DeleteNodeOutput struct {
// contains filtered or unexported fields
}
func (DeleteNodeOutput) GoString ¶
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 (DeleteNodeOutput) String ¶
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 ¶
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 (GetAccessorInput) GoString ¶
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 (*GetAccessorInput) SetAccessorId ¶
func (s *GetAccessorInput) SetAccessorId(v string) *GetAccessorInput
SetAccessorId sets the AccessorId field's value.
func (GetAccessorInput) String ¶
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 (*GetAccessorInput) Validate ¶
func (s *GetAccessorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAccessorOutput ¶
type GetAccessorOutput struct { // The properties of the accessor. Accessor *Accessor `type:"structure"` // contains filtered or unexported fields }
func (GetAccessorOutput) GoString ¶
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 (*GetAccessorOutput) SetAccessor ¶
func (s *GetAccessorOutput) SetAccessor(v *Accessor) *GetAccessorOutput
SetAccessor sets the Accessor field's value.
func (GetAccessorOutput) String ¶
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 ¶
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 (GetMemberInput) GoString ¶
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 (*GetMemberInput) SetMemberId ¶
func (s *GetMemberInput) SetMemberId(v string) *GetMemberInput
SetMemberId sets the MemberId field's value.
func (*GetMemberInput) SetNetworkId ¶
func (s *GetMemberInput) SetNetworkId(v string) *GetMemberInput
SetNetworkId sets the NetworkId field's value.
func (GetMemberInput) String ¶
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 (*GetMemberInput) Validate ¶
func (s *GetMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMemberOutput ¶
type GetMemberOutput struct { // The properties of a member. Member *Member `type:"structure"` // contains filtered or unexported fields }
func (GetMemberOutput) GoString ¶
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 (*GetMemberOutput) SetMember ¶
func (s *GetMemberOutput) SetMember(v *Member) *GetMemberOutput
SetMember sets the Member field's value.
func (GetMemberOutput) String ¶
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 ¶
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 (GetNetworkInput) GoString ¶
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 (*GetNetworkInput) SetNetworkId ¶
func (s *GetNetworkInput) SetNetworkId(v string) *GetNetworkInput
SetNetworkId sets the NetworkId field's value.
func (GetNetworkInput) String ¶
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 (*GetNetworkInput) Validate ¶
func (s *GetNetworkInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetNetworkOutput ¶
type GetNetworkOutput struct { // An object containing network configuration parameters. Network *Network `type:"structure"` // contains filtered or unexported fields }
func (GetNetworkOutput) GoString ¶
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 (*GetNetworkOutput) SetNetwork ¶
func (s *GetNetworkOutput) SetNetwork(v *Network) *GetNetworkOutput
SetNetwork sets the Network field's value.
func (GetNetworkOutput) String ¶
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 ¶
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 (GetNodeInput) GoString ¶
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 (*GetNodeInput) SetMemberId ¶
func (s *GetNodeInput) SetMemberId(v string) *GetNodeInput
SetMemberId sets the MemberId field's value.
func (*GetNodeInput) SetNetworkId ¶
func (s *GetNodeInput) SetNetworkId(v string) *GetNodeInput
SetNetworkId sets the NetworkId field's value.
func (*GetNodeInput) SetNodeId ¶
func (s *GetNodeInput) SetNodeId(v string) *GetNodeInput
SetNodeId sets the NodeId field's value.
func (GetNodeInput) String ¶
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 (*GetNodeInput) Validate ¶
func (s *GetNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetNodeOutput ¶
type GetNodeOutput struct { // Properties of the node configuration. Node *Node `type:"structure"` // contains filtered or unexported fields }
func (GetNodeOutput) GoString ¶
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 (*GetNodeOutput) SetNode ¶
func (s *GetNodeOutput) SetNode(v *Node) *GetNodeOutput
SetNode sets the Node field's value.
func (GetNodeOutput) String ¶
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 ¶
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 (GetProposalInput) GoString ¶
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 (*GetProposalInput) SetNetworkId ¶
func (s *GetProposalInput) SetNetworkId(v string) *GetProposalInput
SetNetworkId sets the NetworkId field's value.
func (*GetProposalInput) SetProposalId ¶
func (s *GetProposalInput) SetProposalId(v string) *GetProposalInput
SetProposalId sets the ProposalId field's value.
func (GetProposalInput) String ¶
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 (*GetProposalInput) Validate ¶
func (s *GetProposalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetProposalOutput ¶
type GetProposalOutput struct { // Information about a proposal. Proposal *Proposal `type:"structure"` // contains filtered or unexported fields }
func (GetProposalOutput) GoString ¶
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 (*GetProposalOutput) SetProposal ¶
func (s *GetProposalOutput) SetProposal(v *Proposal) *GetProposalOutput
SetProposal sets the Proposal field's value.
func (GetProposalOutput) String ¶
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 ¶
type IllegalActionException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
func (*IllegalActionException) Code ¶
func (s *IllegalActionException) Code() string
Code returns the exception type name.
func (*IllegalActionException) Error ¶
func (s *IllegalActionException) Error() string
func (IllegalActionException) GoString ¶
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 (*IllegalActionException) Message ¶
func (s *IllegalActionException) Message() string
Message returns the exception's message.
func (*IllegalActionException) OrigErr ¶
func (s *IllegalActionException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*IllegalActionException) RequestID ¶
func (s *IllegalActionException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*IllegalActionException) StatusCode ¶
func (s *IllegalActionException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (IllegalActionException) String ¶
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 ¶
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 (*InternalServiceErrorException) Code ¶
func (s *InternalServiceErrorException) Code() string
Code returns the exception type name.
func (*InternalServiceErrorException) Error ¶
func (s *InternalServiceErrorException) Error() string
func (InternalServiceErrorException) GoString ¶
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 (*InternalServiceErrorException) Message ¶
func (s *InternalServiceErrorException) Message() string
Message returns the exception's message.
func (*InternalServiceErrorException) OrigErr ¶
func (s *InternalServiceErrorException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServiceErrorException) RequestID ¶
func (s *InternalServiceErrorException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServiceErrorException) StatusCode ¶
func (s *InternalServiceErrorException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServiceErrorException) String ¶
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 ¶
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 (*InvalidRequestException) Code ¶
func (s *InvalidRequestException) Code() string
Code returns the exception type name.
func (*InvalidRequestException) Error ¶
func (s *InvalidRequestException) Error() string
func (InvalidRequestException) GoString ¶
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 (*InvalidRequestException) Message ¶
func (s *InvalidRequestException) Message() string
Message returns the exception's message.
func (*InvalidRequestException) OrigErr ¶
func (s *InvalidRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidRequestException) RequestID ¶
func (s *InvalidRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidRequestException) StatusCode ¶
func (s *InvalidRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidRequestException) String ¶
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 ¶
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 (Invitation) GoString ¶
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 (*Invitation) SetArn ¶
func (s *Invitation) SetArn(v string) *Invitation
SetArn sets the Arn field's value.
func (*Invitation) SetCreationDate ¶
func (s *Invitation) SetCreationDate(v time.Time) *Invitation
SetCreationDate sets the CreationDate field's value.
func (*Invitation) SetExpirationDate ¶
func (s *Invitation) SetExpirationDate(v time.Time) *Invitation
SetExpirationDate sets the ExpirationDate field's value.
func (*Invitation) SetInvitationId ¶
func (s *Invitation) SetInvitationId(v string) *Invitation
SetInvitationId sets the InvitationId field's value.
func (*Invitation) SetNetworkSummary ¶
func (s *Invitation) SetNetworkSummary(v *NetworkSummary) *Invitation
SetNetworkSummary sets the NetworkSummary field's value.
func (*Invitation) SetStatus ¶
func (s *Invitation) SetStatus(v string) *Invitation
SetStatus sets the Status field's value.
func (Invitation) String ¶
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 ¶
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 (InviteAction) GoString ¶
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 (*InviteAction) SetPrincipal ¶
func (s *InviteAction) SetPrincipal(v string) *InviteAction
SetPrincipal sets the Principal field's value.
func (InviteAction) String ¶
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 (*InviteAction) Validate ¶
func (s *InviteAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAccessorsInput ¶
type ListAccessorsInput struct { // The maximum number of accessors to list. 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 (ListAccessorsInput) GoString ¶
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 (*ListAccessorsInput) SetMaxResults ¶
func (s *ListAccessorsInput) SetMaxResults(v int64) *ListAccessorsInput
SetMaxResults sets the MaxResults field's value.
func (*ListAccessorsInput) SetNextToken ¶
func (s *ListAccessorsInput) SetNextToken(v string) *ListAccessorsInput
SetNextToken sets the NextToken field's value.
func (ListAccessorsInput) String ¶
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 (*ListAccessorsInput) Validate ¶
func (s *ListAccessorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAccessorsOutput ¶
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 (ListAccessorsOutput) GoString ¶
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 (*ListAccessorsOutput) SetAccessors ¶
func (s *ListAccessorsOutput) SetAccessors(v []*AccessorSummary) *ListAccessorsOutput
SetAccessors sets the Accessors field's value.
func (*ListAccessorsOutput) SetNextToken ¶
func (s *ListAccessorsOutput) SetNextToken(v string) *ListAccessorsOutput
SetNextToken sets the NextToken field's value.
func (ListAccessorsOutput) String ¶
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 ¶
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 (ListInvitationsInput) GoString ¶
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 (*ListInvitationsInput) SetMaxResults ¶
func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListInvitationsInput) SetNextToken ¶
func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput
SetNextToken sets the NextToken field's value.
func (ListInvitationsInput) String ¶
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 (*ListInvitationsInput) Validate ¶
func (s *ListInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListInvitationsOutput ¶
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 (ListInvitationsOutput) GoString ¶
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 (*ListInvitationsOutput) SetInvitations ¶
func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput
SetInvitations sets the Invitations field's value.
func (*ListInvitationsOutput) SetNextToken ¶
func (s *ListInvitationsOutput) SetNextToken(v string) *ListInvitationsOutput
SetNextToken sets the NextToken field's value.
func (ListInvitationsOutput) String ¶
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 ¶
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 (ListMembersInput) GoString ¶
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 (*ListMembersInput) SetIsOwned ¶
func (s *ListMembersInput) SetIsOwned(v bool) *ListMembersInput
SetIsOwned sets the IsOwned field's value.
func (*ListMembersInput) SetMaxResults ¶
func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput
SetMaxResults sets the MaxResults field's value.
func (*ListMembersInput) SetName ¶
func (s *ListMembersInput) SetName(v string) *ListMembersInput
SetName sets the Name field's value.
func (*ListMembersInput) SetNetworkId ¶
func (s *ListMembersInput) SetNetworkId(v string) *ListMembersInput
SetNetworkId sets the NetworkId field's value.
func (*ListMembersInput) SetNextToken ¶
func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput
SetNextToken sets the NextToken field's value.
func (*ListMembersInput) SetStatus ¶
func (s *ListMembersInput) SetStatus(v string) *ListMembersInput
SetStatus sets the Status field's value.
func (ListMembersInput) String ¶
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 (*ListMembersInput) Validate ¶
func (s *ListMembersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMembersOutput ¶
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 (ListMembersOutput) GoString ¶
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 (*ListMembersOutput) SetMembers ¶
func (s *ListMembersOutput) SetMembers(v []*MemberSummary) *ListMembersOutput
SetMembers sets the Members field's value.
func (*ListMembersOutput) SetNextToken ¶
func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput
SetNextToken sets the NextToken field's value.
func (ListMembersOutput) String ¶
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 ¶
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 (ListNetworksInput) GoString ¶
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 (*ListNetworksInput) SetFramework ¶
func (s *ListNetworksInput) SetFramework(v string) *ListNetworksInput
SetFramework sets the Framework field's value.
func (*ListNetworksInput) SetMaxResults ¶
func (s *ListNetworksInput) SetMaxResults(v int64) *ListNetworksInput
SetMaxResults sets the MaxResults field's value.
func (*ListNetworksInput) SetName ¶
func (s *ListNetworksInput) SetName(v string) *ListNetworksInput
SetName sets the Name field's value.
func (*ListNetworksInput) SetNextToken ¶
func (s *ListNetworksInput) SetNextToken(v string) *ListNetworksInput
SetNextToken sets the NextToken field's value.
func (*ListNetworksInput) SetStatus ¶
func (s *ListNetworksInput) SetStatus(v string) *ListNetworksInput
SetStatus sets the Status field's value.
func (ListNetworksInput) String ¶
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 (*ListNetworksInput) Validate ¶
func (s *ListNetworksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListNetworksOutput ¶
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 (ListNetworksOutput) GoString ¶
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 (*ListNetworksOutput) SetNetworks ¶
func (s *ListNetworksOutput) SetNetworks(v []*NetworkSummary) *ListNetworksOutput
SetNetworks sets the Networks field's value.
func (*ListNetworksOutput) SetNextToken ¶
func (s *ListNetworksOutput) SetNextToken(v string) *ListNetworksOutput
SetNextToken sets the NextToken field's value.
func (ListNetworksOutput) String ¶
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 ¶
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 (ListNodesInput) GoString ¶
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 (*ListNodesInput) SetMaxResults ¶
func (s *ListNodesInput) SetMaxResults(v int64) *ListNodesInput
SetMaxResults sets the MaxResults field's value.
func (*ListNodesInput) SetMemberId ¶
func (s *ListNodesInput) SetMemberId(v string) *ListNodesInput
SetMemberId sets the MemberId field's value.
func (*ListNodesInput) SetNetworkId ¶
func (s *ListNodesInput) SetNetworkId(v string) *ListNodesInput
SetNetworkId sets the NetworkId field's value.
func (*ListNodesInput) SetNextToken ¶
func (s *ListNodesInput) SetNextToken(v string) *ListNodesInput
SetNextToken sets the NextToken field's value.
func (*ListNodesInput) SetStatus ¶
func (s *ListNodesInput) SetStatus(v string) *ListNodesInput
SetStatus sets the Status field's value.
func (ListNodesInput) String ¶
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 (*ListNodesInput) Validate ¶
func (s *ListNodesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListNodesOutput ¶
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 (ListNodesOutput) GoString ¶
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 (*ListNodesOutput) SetNextToken ¶
func (s *ListNodesOutput) SetNextToken(v string) *ListNodesOutput
SetNextToken sets the NextToken field's value.
func (*ListNodesOutput) SetNodes ¶
func (s *ListNodesOutput) SetNodes(v []*NodeSummary) *ListNodesOutput
SetNodes sets the Nodes field's value.
func (ListNodesOutput) String ¶
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 ¶
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 (ListProposalVotesInput) GoString ¶
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 (*ListProposalVotesInput) SetMaxResults ¶
func (s *ListProposalVotesInput) SetMaxResults(v int64) *ListProposalVotesInput
SetMaxResults sets the MaxResults field's value.
func (*ListProposalVotesInput) SetNetworkId ¶
func (s *ListProposalVotesInput) SetNetworkId(v string) *ListProposalVotesInput
SetNetworkId sets the NetworkId field's value.
func (*ListProposalVotesInput) SetNextToken ¶
func (s *ListProposalVotesInput) SetNextToken(v string) *ListProposalVotesInput
SetNextToken sets the NextToken field's value.
func (*ListProposalVotesInput) SetProposalId ¶
func (s *ListProposalVotesInput) SetProposalId(v string) *ListProposalVotesInput
SetProposalId sets the ProposalId field's value.
func (ListProposalVotesInput) String ¶
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 (*ListProposalVotesInput) Validate ¶
func (s *ListProposalVotesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProposalVotesOutput ¶
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 (ListProposalVotesOutput) GoString ¶
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 (*ListProposalVotesOutput) SetNextToken ¶
func (s *ListProposalVotesOutput) SetNextToken(v string) *ListProposalVotesOutput
SetNextToken sets the NextToken field's value.
func (*ListProposalVotesOutput) SetProposalVotes ¶
func (s *ListProposalVotesOutput) SetProposalVotes(v []*VoteSummary) *ListProposalVotesOutput
SetProposalVotes sets the ProposalVotes field's value.
func (ListProposalVotesOutput) String ¶
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 ¶
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 (ListProposalsInput) GoString ¶
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 (*ListProposalsInput) SetMaxResults ¶
func (s *ListProposalsInput) SetMaxResults(v int64) *ListProposalsInput
SetMaxResults sets the MaxResults field's value.
func (*ListProposalsInput) SetNetworkId ¶
func (s *ListProposalsInput) SetNetworkId(v string) *ListProposalsInput
SetNetworkId sets the NetworkId field's value.
func (*ListProposalsInput) SetNextToken ¶
func (s *ListProposalsInput) SetNextToken(v string) *ListProposalsInput
SetNextToken sets the NextToken field's value.
func (ListProposalsInput) String ¶
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 (*ListProposalsInput) Validate ¶
func (s *ListProposalsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProposalsOutput ¶
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 (ListProposalsOutput) GoString ¶
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 (*ListProposalsOutput) SetNextToken ¶
func (s *ListProposalsOutput) SetNextToken(v string) *ListProposalsOutput
SetNextToken sets the NextToken field's value.
func (*ListProposalsOutput) SetProposals ¶
func (s *ListProposalsOutput) SetProposals(v []*ProposalSummary) *ListProposalsOutput
SetProposals sets the Proposals field's value.
func (ListProposalsOutput) String ¶
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 ¶
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 (ListTagsForResourceInput) GoString ¶
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 (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶
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 (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags assigned to the resource. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶
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 (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
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 ¶
type LogConfiguration struct { // Indicates whether logging is enabled. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
A configuration for logging events.
func (LogConfiguration) GoString ¶
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 (*LogConfiguration) SetEnabled ¶
func (s *LogConfiguration) SetEnabled(v bool) *LogConfiguration
SetEnabled sets the Enabled field's value.
func (LogConfiguration) String ¶
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 ¶
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 (LogConfigurations) GoString ¶
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 (*LogConfigurations) SetCloudwatch ¶
func (s *LogConfigurations) SetCloudwatch(v *LogConfiguration) *LogConfigurations
SetCloudwatch sets the Cloudwatch field's value.
func (LogConfigurations) String ¶
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 ¶
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 ¶
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 (*ManagedBlockchain) CreateAccessor ¶
func (c *ManagedBlockchain) CreateAccessor(input *CreateAccessorInput) (*CreateAccessorOutput, error)
CreateAccessor API operation for Amazon Managed Blockchain.
Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor contains 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 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 (*ManagedBlockchain) CreateAccessorRequest ¶
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 (*ManagedBlockchain) CreateAccessorWithContext ¶
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 (*ManagedBlockchain) CreateMember ¶
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 (*ManagedBlockchain) CreateMemberRequest ¶
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 (*ManagedBlockchain) CreateMemberWithContext ¶
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 (*ManagedBlockchain) CreateNetwork ¶
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 (*ManagedBlockchain) CreateNetworkRequest ¶
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 (*ManagedBlockchain) CreateNetworkWithContext ¶
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 (*ManagedBlockchain) CreateNode ¶
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 (*ManagedBlockchain) CreateNodeRequest ¶
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 (*ManagedBlockchain) CreateNodeWithContext ¶
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 (*ManagedBlockchain) CreateProposal ¶
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 (*ManagedBlockchain) CreateProposalRequest ¶
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 (*ManagedBlockchain) CreateProposalWithContext ¶
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 (*ManagedBlockchain) DeleteAccessor ¶
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 (*ManagedBlockchain) DeleteAccessorRequest ¶
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 (*ManagedBlockchain) DeleteAccessorWithContext ¶
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 (*ManagedBlockchain) DeleteMember ¶
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 (*ManagedBlockchain) DeleteMemberRequest ¶
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 (*ManagedBlockchain) DeleteMemberWithContext ¶
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 (*ManagedBlockchain) DeleteNode ¶
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 (*ManagedBlockchain) DeleteNodeRequest ¶
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 (*ManagedBlockchain) DeleteNodeWithContext ¶
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 (*ManagedBlockchain) GetAccessor ¶
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 (*ManagedBlockchain) GetAccessorRequest ¶
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 (*ManagedBlockchain) GetAccessorWithContext ¶
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 (*ManagedBlockchain) GetMember ¶
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 (*ManagedBlockchain) GetMemberRequest ¶
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 (*ManagedBlockchain) GetMemberWithContext ¶
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 (*ManagedBlockchain) GetNetwork ¶
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 (*ManagedBlockchain) GetNetworkRequest ¶
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 (*ManagedBlockchain) GetNetworkWithContext ¶
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 (*ManagedBlockchain) GetNode ¶
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 (*ManagedBlockchain) GetNodeRequest ¶
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 (*ManagedBlockchain) GetNodeWithContext ¶
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 (*ManagedBlockchain) GetProposal ¶
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 (*ManagedBlockchain) GetProposalRequest ¶
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 (*ManagedBlockchain) GetProposalWithContext ¶
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 (*ManagedBlockchain) ListAccessors ¶
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 (*ManagedBlockchain) ListAccessorsPages ¶
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 (*ManagedBlockchain) ListAccessorsPagesWithContext ¶
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 (*ManagedBlockchain) ListAccessorsRequest ¶
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 (*ManagedBlockchain) ListAccessorsWithContext ¶
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 (*ManagedBlockchain) ListInvitations ¶
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 (*ManagedBlockchain) ListInvitationsPages ¶
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 (*ManagedBlockchain) ListInvitationsPagesWithContext ¶
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 (*ManagedBlockchain) ListInvitationsRequest ¶
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 (*ManagedBlockchain) ListInvitationsWithContext ¶
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 (*ManagedBlockchain) ListMembers ¶
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 (*ManagedBlockchain) ListMembersPages ¶
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 (*ManagedBlockchain) ListMembersPagesWithContext ¶
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 (*ManagedBlockchain) ListMembersRequest ¶
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 (*ManagedBlockchain) ListMembersWithContext ¶
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 (*ManagedBlockchain) ListNetworks ¶
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 (*ManagedBlockchain) ListNetworksPages ¶
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 (*ManagedBlockchain) ListNetworksPagesWithContext ¶
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 (*ManagedBlockchain) ListNetworksRequest ¶
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 (*ManagedBlockchain) ListNetworksWithContext ¶
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 (*ManagedBlockchain) ListNodes ¶
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 (*ManagedBlockchain) ListNodesPages ¶
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 (*ManagedBlockchain) ListNodesPagesWithContext ¶
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 (*ManagedBlockchain) ListNodesRequest ¶
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 (*ManagedBlockchain) ListNodesWithContext ¶
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 (*ManagedBlockchain) ListProposalVotes ¶
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 (*ManagedBlockchain) ListProposalVotesPages ¶
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 (*ManagedBlockchain) ListProposalVotesPagesWithContext ¶
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 (*ManagedBlockchain) ListProposalVotesRequest ¶
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 (*ManagedBlockchain) ListProposalVotesWithContext ¶
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 (*ManagedBlockchain) ListProposals ¶
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 (*ManagedBlockchain) ListProposalsPages ¶
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 (*ManagedBlockchain) ListProposalsPagesWithContext ¶
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 (*ManagedBlockchain) ListProposalsRequest ¶
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 (*ManagedBlockchain) ListProposalsWithContext ¶
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 (*ManagedBlockchain) ListTagsForResource ¶
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 (*ManagedBlockchain) ListTagsForResourceRequest ¶
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 (*ManagedBlockchain) ListTagsForResourceWithContext ¶
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 (*ManagedBlockchain) RejectInvitation ¶
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 (*ManagedBlockchain) RejectInvitationRequest ¶
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 (*ManagedBlockchain) RejectInvitationWithContext ¶
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 (*ManagedBlockchain) TagResource ¶
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 (*ManagedBlockchain) TagResourceRequest ¶
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 (*ManagedBlockchain) TagResourceWithContext ¶
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 (*ManagedBlockchain) UntagResource ¶
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 (*ManagedBlockchain) UntagResourceRequest ¶
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 (*ManagedBlockchain) UntagResourceWithContext ¶
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 (*ManagedBlockchain) UpdateMember ¶
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 (*ManagedBlockchain) UpdateMemberRequest ¶
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 (*ManagedBlockchain) UpdateMemberWithContext ¶
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 (*ManagedBlockchain) UpdateNode ¶
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 (*ManagedBlockchain) UpdateNodeRequest ¶
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 (*ManagedBlockchain) UpdateNodeWithContext ¶
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 (*ManagedBlockchain) VoteOnProposal ¶
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 (*ManagedBlockchain) VoteOnProposalRequest ¶
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 (*ManagedBlockchain) VoteOnProposalWithContext ¶
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 ¶
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 (Member) GoString ¶
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 (*Member) SetCreationDate ¶
SetCreationDate sets the CreationDate field's value.
func (*Member) SetDescription ¶
SetDescription sets the Description field's value.
func (*Member) SetFrameworkAttributes ¶
func (s *Member) SetFrameworkAttributes(v *MemberFrameworkAttributes) *Member
SetFrameworkAttributes sets the FrameworkAttributes field's value.
func (*Member) SetKmsKeyArn ¶
SetKmsKeyArn sets the KmsKeyArn field's value.
func (*Member) SetLogPublishingConfiguration ¶
func (s *Member) SetLogPublishingConfiguration(v *MemberLogPublishingConfiguration) *Member
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (*Member) SetNetworkId ¶
SetNetworkId sets the NetworkId field's value.
type MemberConfiguration ¶
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 (MemberConfiguration) GoString ¶
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 (*MemberConfiguration) SetDescription ¶
func (s *MemberConfiguration) SetDescription(v string) *MemberConfiguration
SetDescription sets the Description field's value.
func (*MemberConfiguration) SetFrameworkConfiguration ¶
func (s *MemberConfiguration) SetFrameworkConfiguration(v *MemberFrameworkConfiguration) *MemberConfiguration
SetFrameworkConfiguration sets the FrameworkConfiguration field's value.
func (*MemberConfiguration) SetKmsKeyArn ¶
func (s *MemberConfiguration) SetKmsKeyArn(v string) *MemberConfiguration
SetKmsKeyArn sets the KmsKeyArn field's value.
func (*MemberConfiguration) SetLogPublishingConfiguration ¶
func (s *MemberConfiguration) SetLogPublishingConfiguration(v *MemberLogPublishingConfiguration) *MemberConfiguration
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (*MemberConfiguration) SetName ¶
func (s *MemberConfiguration) SetName(v string) *MemberConfiguration
SetName sets the Name field's value.
func (*MemberConfiguration) SetTags ¶
func (s *MemberConfiguration) SetTags(v map[string]*string) *MemberConfiguration
SetTags sets the Tags field's value.
func (MemberConfiguration) String ¶
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 (*MemberConfiguration) Validate ¶
func (s *MemberConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MemberFabricAttributes ¶
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 (MemberFabricAttributes) GoString ¶
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 (*MemberFabricAttributes) SetAdminUsername ¶
func (s *MemberFabricAttributes) SetAdminUsername(v string) *MemberFabricAttributes
SetAdminUsername sets the AdminUsername field's value.
func (*MemberFabricAttributes) SetCaEndpoint ¶
func (s *MemberFabricAttributes) SetCaEndpoint(v string) *MemberFabricAttributes
SetCaEndpoint sets the CaEndpoint field's value.
func (MemberFabricAttributes) String ¶
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 ¶
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 (MemberFabricConfiguration) GoString ¶
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 (*MemberFabricConfiguration) SetAdminPassword ¶
func (s *MemberFabricConfiguration) SetAdminPassword(v string) *MemberFabricConfiguration
SetAdminPassword sets the AdminPassword field's value.
func (*MemberFabricConfiguration) SetAdminUsername ¶
func (s *MemberFabricConfiguration) SetAdminUsername(v string) *MemberFabricConfiguration
SetAdminUsername sets the AdminUsername field's value.
func (MemberFabricConfiguration) String ¶
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 (*MemberFabricConfiguration) Validate ¶
func (s *MemberFabricConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MemberFabricLogPublishingConfiguration ¶
type MemberFabricLogPublishingConfiguration struct { // Configuration properties for logging events associated with a member's Certificate // Authority (CA). CA logs help you determine when a member in your account // joins the network, or when new peers register with a member CA. CaLogs *LogConfigurations `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 (MemberFabricLogPublishingConfiguration) GoString ¶
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 (*MemberFabricLogPublishingConfiguration) SetCaLogs ¶
func (s *MemberFabricLogPublishingConfiguration) SetCaLogs(v *LogConfigurations) *MemberFabricLogPublishingConfiguration
SetCaLogs sets the CaLogs field's value.
func (MemberFabricLogPublishingConfiguration) String ¶
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 ¶
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 (MemberFrameworkAttributes) GoString ¶
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 (*MemberFrameworkAttributes) SetFabric ¶
func (s *MemberFrameworkAttributes) SetFabric(v *MemberFabricAttributes) *MemberFrameworkAttributes
SetFabric sets the Fabric field's value.
func (MemberFrameworkAttributes) String ¶
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 ¶
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 (MemberFrameworkConfiguration) GoString ¶
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 (*MemberFrameworkConfiguration) SetFabric ¶
func (s *MemberFrameworkConfiguration) SetFabric(v *MemberFabricConfiguration) *MemberFrameworkConfiguration
SetFabric sets the Fabric field's value.
func (MemberFrameworkConfiguration) String ¶
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 (*MemberFrameworkConfiguration) Validate ¶
func (s *MemberFrameworkConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MemberLogPublishingConfiguration ¶
type MemberLogPublishingConfiguration struct { // Configuration properties for logging events associated with a member of a // Managed Blockchain network using the Hyperledger Fabric framework. Fabric *MemberFabricLogPublishingConfiguration `type:"structure"` // contains filtered or unexported fields }
Configuration properties for logging events associated with a member of a Managed Blockchain network.
func (MemberLogPublishingConfiguration) GoString ¶
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 (*MemberLogPublishingConfiguration) SetFabric ¶
func (s *MemberLogPublishingConfiguration) SetFabric(v *MemberFabricLogPublishingConfiguration) *MemberLogPublishingConfiguration
SetFabric sets the Fabric field's value.
func (MemberLogPublishingConfiguration) String ¶
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 ¶
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 (MemberSummary) GoString ¶
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 (*MemberSummary) SetArn ¶
func (s *MemberSummary) SetArn(v string) *MemberSummary
SetArn sets the Arn field's value.
func (*MemberSummary) SetCreationDate ¶
func (s *MemberSummary) SetCreationDate(v time.Time) *MemberSummary
SetCreationDate sets the CreationDate field's value.
func (*MemberSummary) SetDescription ¶
func (s *MemberSummary) SetDescription(v string) *MemberSummary
SetDescription sets the Description field's value.
func (*MemberSummary) SetId ¶
func (s *MemberSummary) SetId(v string) *MemberSummary
SetId sets the Id field's value.
func (*MemberSummary) SetIsOwned ¶
func (s *MemberSummary) SetIsOwned(v bool) *MemberSummary
SetIsOwned sets the IsOwned field's value.
func (*MemberSummary) SetName ¶
func (s *MemberSummary) SetName(v string) *MemberSummary
SetName sets the Name field's value.
func (*MemberSummary) SetStatus ¶
func (s *MemberSummary) SetStatus(v string) *MemberSummary
SetStatus sets the Status field's value.
func (MemberSummary) String ¶
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 ¶
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 (Network) GoString ¶
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 (*Network) SetCreationDate ¶
SetCreationDate sets the CreationDate field's value.
func (*Network) SetDescription ¶
SetDescription sets the Description field's value.
func (*Network) SetFramework ¶
SetFramework sets the Framework field's value.
func (*Network) SetFrameworkAttributes ¶
func (s *Network) SetFrameworkAttributes(v *NetworkFrameworkAttributes) *Network
SetFrameworkAttributes sets the FrameworkAttributes field's value.
func (*Network) SetFrameworkVersion ¶
SetFrameworkVersion sets the FrameworkVersion field's value.
func (*Network) SetVotingPolicy ¶
func (s *Network) SetVotingPolicy(v *VotingPolicy) *Network
SetVotingPolicy sets the VotingPolicy field's value.
func (*Network) SetVpcEndpointServiceName ¶
SetVpcEndpointServiceName sets the VpcEndpointServiceName field's value.
type NetworkEthereumAttributes ¶
type NetworkEthereumAttributes struct { // The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are // as follows: // // * mainnet = 1 // // * goerli = 5 // // * rinkeby = 4 ChainId *string `type:"string"` // contains filtered or unexported fields }
Attributes of Ethereum for a network.
func (NetworkEthereumAttributes) GoString ¶
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 (*NetworkEthereumAttributes) SetChainId ¶
func (s *NetworkEthereumAttributes) SetChainId(v string) *NetworkEthereumAttributes
SetChainId sets the ChainId field's value.
func (NetworkEthereumAttributes) String ¶
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 ¶
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 (NetworkFabricAttributes) GoString ¶
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 (*NetworkFabricAttributes) SetEdition ¶
func (s *NetworkFabricAttributes) SetEdition(v string) *NetworkFabricAttributes
SetEdition sets the Edition field's value.
func (*NetworkFabricAttributes) SetOrderingServiceEndpoint ¶
func (s *NetworkFabricAttributes) SetOrderingServiceEndpoint(v string) *NetworkFabricAttributes
SetOrderingServiceEndpoint sets the OrderingServiceEndpoint field's value.
func (NetworkFabricAttributes) String ¶
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 ¶
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 (NetworkFabricConfiguration) GoString ¶
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 (*NetworkFabricConfiguration) SetEdition ¶
func (s *NetworkFabricConfiguration) SetEdition(v string) *NetworkFabricConfiguration
SetEdition sets the Edition field's value.
func (NetworkFabricConfiguration) String ¶
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 (*NetworkFabricConfiguration) Validate ¶
func (s *NetworkFabricConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NetworkFrameworkAttributes ¶
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 (NetworkFrameworkAttributes) GoString ¶
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 (*NetworkFrameworkAttributes) SetEthereum ¶
func (s *NetworkFrameworkAttributes) SetEthereum(v *NetworkEthereumAttributes) *NetworkFrameworkAttributes
SetEthereum sets the Ethereum field's value.
func (*NetworkFrameworkAttributes) SetFabric ¶
func (s *NetworkFrameworkAttributes) SetFabric(v *NetworkFabricAttributes) *NetworkFrameworkAttributes
SetFabric sets the Fabric field's value.
func (NetworkFrameworkAttributes) String ¶
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 ¶
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 (NetworkFrameworkConfiguration) GoString ¶
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 (*NetworkFrameworkConfiguration) SetFabric ¶
func (s *NetworkFrameworkConfiguration) SetFabric(v *NetworkFabricConfiguration) *NetworkFrameworkConfiguration
SetFabric sets the Fabric field's value.
func (NetworkFrameworkConfiguration) String ¶
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 (*NetworkFrameworkConfiguration) Validate ¶
func (s *NetworkFrameworkConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NetworkSummary ¶
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 (NetworkSummary) GoString ¶
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 (*NetworkSummary) SetArn ¶
func (s *NetworkSummary) SetArn(v string) *NetworkSummary
SetArn sets the Arn field's value.
func (*NetworkSummary) SetCreationDate ¶
func (s *NetworkSummary) SetCreationDate(v time.Time) *NetworkSummary
SetCreationDate sets the CreationDate field's value.
func (*NetworkSummary) SetDescription ¶
func (s *NetworkSummary) SetDescription(v string) *NetworkSummary
SetDescription sets the Description field's value.
func (*NetworkSummary) SetFramework ¶
func (s *NetworkSummary) SetFramework(v string) *NetworkSummary
SetFramework sets the Framework field's value.
func (*NetworkSummary) SetFrameworkVersion ¶
func (s *NetworkSummary) SetFrameworkVersion(v string) *NetworkSummary
SetFrameworkVersion sets the FrameworkVersion field's value.
func (*NetworkSummary) SetId ¶
func (s *NetworkSummary) SetId(v string) *NetworkSummary
SetId sets the Id field's value.
func (*NetworkSummary) SetName ¶
func (s *NetworkSummary) SetName(v string) *NetworkSummary
SetName sets the Name field's value.
func (*NetworkSummary) SetStatus ¶
func (s *NetworkSummary) SetStatus(v string) *NetworkSummary
SetStatus sets the Status field's value.
func (NetworkSummary) String ¶
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 ¶
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 (Node) GoString ¶
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 (*Node) SetAvailabilityZone ¶
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*Node) SetCreationDate ¶
SetCreationDate sets the CreationDate field's value.
func (*Node) SetFrameworkAttributes ¶
func (s *Node) SetFrameworkAttributes(v *NodeFrameworkAttributes) *Node
SetFrameworkAttributes sets the FrameworkAttributes field's value.
func (*Node) SetInstanceType ¶
SetInstanceType sets the InstanceType field's value.
func (*Node) SetKmsKeyArn ¶
SetKmsKeyArn sets the KmsKeyArn field's value.
func (*Node) SetLogPublishingConfiguration ¶
func (s *Node) SetLogPublishingConfiguration(v *NodeLogPublishingConfiguration) *Node
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (*Node) SetMemberId ¶
SetMemberId sets the MemberId field's value.
func (*Node) SetNetworkId ¶
SetNetworkId sets the NetworkId field's value.
func (*Node) SetStateDB ¶
SetStateDB sets the StateDB field's value.
type NodeConfiguration ¶
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 (NodeConfiguration) GoString ¶
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 (*NodeConfiguration) SetAvailabilityZone ¶
func (s *NodeConfiguration) SetAvailabilityZone(v string) *NodeConfiguration
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*NodeConfiguration) SetInstanceType ¶
func (s *NodeConfiguration) SetInstanceType(v string) *NodeConfiguration
SetInstanceType sets the InstanceType field's value.
func (*NodeConfiguration) SetLogPublishingConfiguration ¶
func (s *NodeConfiguration) SetLogPublishingConfiguration(v *NodeLogPublishingConfiguration) *NodeConfiguration
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (*NodeConfiguration) SetStateDB ¶
func (s *NodeConfiguration) SetStateDB(v string) *NodeConfiguration
SetStateDB sets the StateDB field's value.
func (NodeConfiguration) String ¶
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 (*NodeConfiguration) Validate ¶
func (s *NodeConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NodeEthereumAttributes ¶
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 (NodeEthereumAttributes) GoString ¶
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 (*NodeEthereumAttributes) SetHttpEndpoint ¶
func (s *NodeEthereumAttributes) SetHttpEndpoint(v string) *NodeEthereumAttributes
SetHttpEndpoint sets the HttpEndpoint field's value.
func (*NodeEthereumAttributes) SetWebSocketEndpoint ¶
func (s *NodeEthereumAttributes) SetWebSocketEndpoint(v string) *NodeEthereumAttributes
SetWebSocketEndpoint sets the WebSocketEndpoint field's value.
func (NodeEthereumAttributes) String ¶
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 ¶
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 (NodeFabricAttributes) GoString ¶
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 (*NodeFabricAttributes) SetPeerEndpoint ¶
func (s *NodeFabricAttributes) SetPeerEndpoint(v string) *NodeFabricAttributes
SetPeerEndpoint sets the PeerEndpoint field's value.
func (*NodeFabricAttributes) SetPeerEventEndpoint ¶
func (s *NodeFabricAttributes) SetPeerEventEndpoint(v string) *NodeFabricAttributes
SetPeerEventEndpoint sets the PeerEventEndpoint field's value.
func (NodeFabricAttributes) String ¶
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 ¶
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 (NodeFabricLogPublishingConfiguration) GoString ¶
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 (*NodeFabricLogPublishingConfiguration) SetChaincodeLogs ¶
func (s *NodeFabricLogPublishingConfiguration) SetChaincodeLogs(v *LogConfigurations) *NodeFabricLogPublishingConfiguration
SetChaincodeLogs sets the ChaincodeLogs field's value.
func (*NodeFabricLogPublishingConfiguration) SetPeerLogs ¶
func (s *NodeFabricLogPublishingConfiguration) SetPeerLogs(v *LogConfigurations) *NodeFabricLogPublishingConfiguration
SetPeerLogs sets the PeerLogs field's value.
func (NodeFabricLogPublishingConfiguration) String ¶
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 ¶
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 (NodeFrameworkAttributes) GoString ¶
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 (*NodeFrameworkAttributes) SetEthereum ¶
func (s *NodeFrameworkAttributes) SetEthereum(v *NodeEthereumAttributes) *NodeFrameworkAttributes
SetEthereum sets the Ethereum field's value.
func (*NodeFrameworkAttributes) SetFabric ¶
func (s *NodeFrameworkAttributes) SetFabric(v *NodeFabricAttributes) *NodeFrameworkAttributes
SetFabric sets the Fabric field's value.
func (NodeFrameworkAttributes) String ¶
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 ¶
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 (NodeLogPublishingConfiguration) GoString ¶
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 (*NodeLogPublishingConfiguration) SetFabric ¶
func (s *NodeLogPublishingConfiguration) SetFabric(v *NodeFabricLogPublishingConfiguration) *NodeLogPublishingConfiguration
SetFabric sets the Fabric field's value.
func (NodeLogPublishingConfiguration) String ¶
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 ¶
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 (NodeSummary) GoString ¶
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 (*NodeSummary) SetArn ¶
func (s *NodeSummary) SetArn(v string) *NodeSummary
SetArn sets the Arn field's value.
func (*NodeSummary) SetAvailabilityZone ¶
func (s *NodeSummary) SetAvailabilityZone(v string) *NodeSummary
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*NodeSummary) SetCreationDate ¶
func (s *NodeSummary) SetCreationDate(v time.Time) *NodeSummary
SetCreationDate sets the CreationDate field's value.
func (*NodeSummary) SetId ¶
func (s *NodeSummary) SetId(v string) *NodeSummary
SetId sets the Id field's value.
func (*NodeSummary) SetInstanceType ¶
func (s *NodeSummary) SetInstanceType(v string) *NodeSummary
SetInstanceType sets the InstanceType field's value.
func (*NodeSummary) SetStatus ¶
func (s *NodeSummary) SetStatus(v string) *NodeSummary
SetStatus sets the Status field's value.
func (NodeSummary) String ¶
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 ¶
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 (Proposal) GoString ¶
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 (*Proposal) SetActions ¶
func (s *Proposal) SetActions(v *ProposalActions) *Proposal
SetActions sets the Actions field's value.
func (*Proposal) SetCreationDate ¶
SetCreationDate sets the CreationDate field's value.
func (*Proposal) SetDescription ¶
SetDescription sets the Description field's value.
func (*Proposal) SetExpirationDate ¶
SetExpirationDate sets the ExpirationDate field's value.
func (*Proposal) SetNetworkId ¶
SetNetworkId sets the NetworkId field's value.
func (*Proposal) SetNoVoteCount ¶
SetNoVoteCount sets the NoVoteCount field's value.
func (*Proposal) SetOutstandingVoteCount ¶
SetOutstandingVoteCount sets the OutstandingVoteCount field's value.
func (*Proposal) SetProposalId ¶
SetProposalId sets the ProposalId field's value.
func (*Proposal) SetProposedByMemberId ¶
SetProposedByMemberId sets the ProposedByMemberId field's value.
func (*Proposal) SetProposedByMemberName ¶
SetProposedByMemberName sets the ProposedByMemberName field's value.
func (*Proposal) SetYesVoteCount ¶
SetYesVoteCount sets the YesVoteCount field's value.
type ProposalActions ¶
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 (ProposalActions) GoString ¶
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 (*ProposalActions) SetInvitations ¶
func (s *ProposalActions) SetInvitations(v []*InviteAction) *ProposalActions
SetInvitations sets the Invitations field's value.
func (*ProposalActions) SetRemovals ¶
func (s *ProposalActions) SetRemovals(v []*RemoveAction) *ProposalActions
SetRemovals sets the Removals field's value.
func (ProposalActions) String ¶
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 (*ProposalActions) Validate ¶
func (s *ProposalActions) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ProposalSummary ¶
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 (ProposalSummary) GoString ¶
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 (*ProposalSummary) SetArn ¶
func (s *ProposalSummary) SetArn(v string) *ProposalSummary
SetArn sets the Arn field's value.
func (*ProposalSummary) SetCreationDate ¶
func (s *ProposalSummary) SetCreationDate(v time.Time) *ProposalSummary
SetCreationDate sets the CreationDate field's value.
func (*ProposalSummary) SetDescription ¶
func (s *ProposalSummary) SetDescription(v string) *ProposalSummary
SetDescription sets the Description field's value.
func (*ProposalSummary) SetExpirationDate ¶
func (s *ProposalSummary) SetExpirationDate(v time.Time) *ProposalSummary
SetExpirationDate sets the ExpirationDate field's value.
func (*ProposalSummary) SetProposalId ¶
func (s *ProposalSummary) SetProposalId(v string) *ProposalSummary
SetProposalId sets the ProposalId field's value.
func (*ProposalSummary) SetProposedByMemberId ¶
func (s *ProposalSummary) SetProposedByMemberId(v string) *ProposalSummary
SetProposedByMemberId sets the ProposedByMemberId field's value.
func (*ProposalSummary) SetProposedByMemberName ¶
func (s *ProposalSummary) SetProposedByMemberName(v string) *ProposalSummary
SetProposedByMemberName sets the ProposedByMemberName field's value.
func (*ProposalSummary) SetStatus ¶
func (s *ProposalSummary) SetStatus(v string) *ProposalSummary
SetStatus sets the Status field's value.
func (ProposalSummary) String ¶
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 ¶
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 (RejectInvitationInput) GoString ¶
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 (*RejectInvitationInput) SetInvitationId ¶
func (s *RejectInvitationInput) SetInvitationId(v string) *RejectInvitationInput
SetInvitationId sets the InvitationId field's value.
func (RejectInvitationInput) String ¶
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 (*RejectInvitationInput) Validate ¶
func (s *RejectInvitationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RejectInvitationOutput ¶
type RejectInvitationOutput struct {
// contains filtered or unexported fields
}
func (RejectInvitationOutput) GoString ¶
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 (RejectInvitationOutput) String ¶
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 ¶
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 (RemoveAction) GoString ¶
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 (*RemoveAction) SetMemberId ¶
func (s *RemoveAction) SetMemberId(v string) *RemoveAction
SetMemberId sets the MemberId field's value.
func (RemoveAction) String ¶
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 (*RemoveAction) Validate ¶
func (s *RemoveAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceAlreadyExistsException ¶
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 (*ResourceAlreadyExistsException) Code ¶
func (s *ResourceAlreadyExistsException) Code() string
Code returns the exception type name.
func (*ResourceAlreadyExistsException) Error ¶
func (s *ResourceAlreadyExistsException) Error() string
func (ResourceAlreadyExistsException) GoString ¶
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 (*ResourceAlreadyExistsException) Message ¶
func (s *ResourceAlreadyExistsException) Message() string
Message returns the exception's message.
func (*ResourceAlreadyExistsException) OrigErr ¶
func (s *ResourceAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceAlreadyExistsException) RequestID ¶
func (s *ResourceAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceAlreadyExistsException) StatusCode ¶
func (s *ResourceAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceAlreadyExistsException) String ¶
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 ¶
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 (*ResourceLimitExceededException) Code ¶
func (s *ResourceLimitExceededException) Code() string
Code returns the exception type name.
func (*ResourceLimitExceededException) Error ¶
func (s *ResourceLimitExceededException) Error() string
func (ResourceLimitExceededException) GoString ¶
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 (*ResourceLimitExceededException) Message ¶
func (s *ResourceLimitExceededException) Message() string
Message returns the exception's message.
func (*ResourceLimitExceededException) OrigErr ¶
func (s *ResourceLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceLimitExceededException) RequestID ¶
func (s *ResourceLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceLimitExceededException) StatusCode ¶
func (s *ResourceLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceLimitExceededException) String ¶
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 ¶
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 (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
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 (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
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 ¶
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 (*ResourceNotReadyException) Code ¶
func (s *ResourceNotReadyException) Code() string
Code returns the exception type name.
func (*ResourceNotReadyException) Error ¶
func (s *ResourceNotReadyException) Error() string
func (ResourceNotReadyException) GoString ¶
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 (*ResourceNotReadyException) Message ¶
func (s *ResourceNotReadyException) Message() string
Message returns the exception's message.
func (*ResourceNotReadyException) OrigErr ¶
func (s *ResourceNotReadyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotReadyException) RequestID ¶
func (s *ResourceNotReadyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotReadyException) StatusCode ¶
func (s *ResourceNotReadyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotReadyException) String ¶
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 ¶
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 (TagResourceInput) GoString ¶
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 (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
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 (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
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 (TagResourceOutput) String ¶
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 ¶
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 (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
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 (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
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 ¶
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 (*TooManyTagsException) Code ¶
func (s *TooManyTagsException) Code() string
Code returns the exception type name.
func (*TooManyTagsException) Error ¶
func (s *TooManyTagsException) Error() string
func (TooManyTagsException) GoString ¶
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 (*TooManyTagsException) Message ¶
func (s *TooManyTagsException) Message() string
Message returns the exception's message.
func (*TooManyTagsException) OrigErr ¶
func (s *TooManyTagsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TooManyTagsException) RequestID ¶
func (s *TooManyTagsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TooManyTagsException) StatusCode ¶
func (s *TooManyTagsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TooManyTagsException) String ¶
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 ¶
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 (UntagResourceInput) GoString ¶
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 (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
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 (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
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 (UntagResourceOutput) String ¶
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 ¶
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 (UpdateMemberInput) GoString ¶
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 (*UpdateMemberInput) SetLogPublishingConfiguration ¶
func (s *UpdateMemberInput) SetLogPublishingConfiguration(v *MemberLogPublishingConfiguration) *UpdateMemberInput
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (*UpdateMemberInput) SetMemberId ¶
func (s *UpdateMemberInput) SetMemberId(v string) *UpdateMemberInput
SetMemberId sets the MemberId field's value.
func (*UpdateMemberInput) SetNetworkId ¶
func (s *UpdateMemberInput) SetNetworkId(v string) *UpdateMemberInput
SetNetworkId sets the NetworkId field's value.
func (UpdateMemberInput) String ¶
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 (*UpdateMemberInput) Validate ¶
func (s *UpdateMemberInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateMemberOutput ¶
type UpdateMemberOutput struct {
// contains filtered or unexported fields
}
func (UpdateMemberOutput) GoString ¶
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 (UpdateMemberOutput) String ¶
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 ¶
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 (UpdateNodeInput) GoString ¶
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 (*UpdateNodeInput) SetLogPublishingConfiguration ¶
func (s *UpdateNodeInput) SetLogPublishingConfiguration(v *NodeLogPublishingConfiguration) *UpdateNodeInput
SetLogPublishingConfiguration sets the LogPublishingConfiguration field's value.
func (*UpdateNodeInput) SetMemberId ¶
func (s *UpdateNodeInput) SetMemberId(v string) *UpdateNodeInput
SetMemberId sets the MemberId field's value.
func (*UpdateNodeInput) SetNetworkId ¶
func (s *UpdateNodeInput) SetNetworkId(v string) *UpdateNodeInput
SetNetworkId sets the NetworkId field's value.
func (*UpdateNodeInput) SetNodeId ¶
func (s *UpdateNodeInput) SetNodeId(v string) *UpdateNodeInput
SetNodeId sets the NodeId field's value.
func (UpdateNodeInput) String ¶
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 (*UpdateNodeInput) Validate ¶
func (s *UpdateNodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateNodeOutput ¶
type UpdateNodeOutput struct {
// contains filtered or unexported fields
}
func (UpdateNodeOutput) GoString ¶
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 (UpdateNodeOutput) String ¶
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 ¶
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 (VoteOnProposalInput) GoString ¶
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 (*VoteOnProposalInput) SetNetworkId ¶
func (s *VoteOnProposalInput) SetNetworkId(v string) *VoteOnProposalInput
SetNetworkId sets the NetworkId field's value.
func (*VoteOnProposalInput) SetProposalId ¶
func (s *VoteOnProposalInput) SetProposalId(v string) *VoteOnProposalInput
SetProposalId sets the ProposalId field's value.
func (*VoteOnProposalInput) SetVote ¶
func (s *VoteOnProposalInput) SetVote(v string) *VoteOnProposalInput
SetVote sets the Vote field's value.
func (*VoteOnProposalInput) SetVoterMemberId ¶
func (s *VoteOnProposalInput) SetVoterMemberId(v string) *VoteOnProposalInput
SetVoterMemberId sets the VoterMemberId field's value.
func (VoteOnProposalInput) String ¶
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 (*VoteOnProposalInput) Validate ¶
func (s *VoteOnProposalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type VoteOnProposalOutput ¶
type VoteOnProposalOutput struct {
// contains filtered or unexported fields
}
func (VoteOnProposalOutput) GoString ¶
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 (VoteOnProposalOutput) String ¶
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 ¶
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 (VoteSummary) GoString ¶
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 (*VoteSummary) SetMemberId ¶
func (s *VoteSummary) SetMemberId(v string) *VoteSummary
SetMemberId sets the MemberId field's value.
func (*VoteSummary) SetMemberName ¶
func (s *VoteSummary) SetMemberName(v string) *VoteSummary
SetMemberName sets the MemberName field's value.
func (*VoteSummary) SetVote ¶
func (s *VoteSummary) SetVote(v string) *VoteSummary
SetVote sets the Vote field's value.
func (VoteSummary) String ¶
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 ¶
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 (VotingPolicy) GoString ¶
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 (*VotingPolicy) SetApprovalThresholdPolicy ¶
func (s *VotingPolicy) SetApprovalThresholdPolicy(v *ApprovalThresholdPolicy) *VotingPolicy
SetApprovalThresholdPolicy sets the ApprovalThresholdPolicy field's value.
func (VotingPolicy) String ¶
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 (*VotingPolicy) Validate ¶
func (s *VotingPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
Directories ¶
Path | Synopsis |
---|---|
Package managedblockchainiface provides an interface to enable mocking the Amazon Managed Blockchain service client for testing your code.
|
Package managedblockchainiface provides an interface to enable mocking the Amazon Managed Blockchain service client for testing your code. |