Documentation ¶
Overview ¶
Package managedblockchain provides the API client, operations, and parameter types for 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.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateAccessor(ctx context.Context, params *CreateAccessorInput, optFns ...func(*Options)) (*CreateAccessorOutput, error)
- func (c *Client) CreateMember(ctx context.Context, params *CreateMemberInput, optFns ...func(*Options)) (*CreateMemberOutput, error)
- func (c *Client) CreateNetwork(ctx context.Context, params *CreateNetworkInput, optFns ...func(*Options)) (*CreateNetworkOutput, error)
- func (c *Client) CreateNode(ctx context.Context, params *CreateNodeInput, optFns ...func(*Options)) (*CreateNodeOutput, error)
- func (c *Client) CreateProposal(ctx context.Context, params *CreateProposalInput, optFns ...func(*Options)) (*CreateProposalOutput, error)
- func (c *Client) DeleteAccessor(ctx context.Context, params *DeleteAccessorInput, optFns ...func(*Options)) (*DeleteAccessorOutput, error)
- func (c *Client) DeleteMember(ctx context.Context, params *DeleteMemberInput, optFns ...func(*Options)) (*DeleteMemberOutput, error)
- func (c *Client) DeleteNode(ctx context.Context, params *DeleteNodeInput, optFns ...func(*Options)) (*DeleteNodeOutput, error)
- func (c *Client) GetAccessor(ctx context.Context, params *GetAccessorInput, optFns ...func(*Options)) (*GetAccessorOutput, error)
- func (c *Client) GetMember(ctx context.Context, params *GetMemberInput, optFns ...func(*Options)) (*GetMemberOutput, error)
- func (c *Client) GetNetwork(ctx context.Context, params *GetNetworkInput, optFns ...func(*Options)) (*GetNetworkOutput, error)
- func (c *Client) GetNode(ctx context.Context, params *GetNodeInput, optFns ...func(*Options)) (*GetNodeOutput, error)
- func (c *Client) GetProposal(ctx context.Context, params *GetProposalInput, optFns ...func(*Options)) (*GetProposalOutput, error)
- func (c *Client) ListAccessors(ctx context.Context, params *ListAccessorsInput, optFns ...func(*Options)) (*ListAccessorsOutput, error)
- func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsInput, optFns ...func(*Options)) (*ListInvitationsOutput, error)
- func (c *Client) ListMembers(ctx context.Context, params *ListMembersInput, optFns ...func(*Options)) (*ListMembersOutput, error)
- func (c *Client) ListNetworks(ctx context.Context, params *ListNetworksInput, optFns ...func(*Options)) (*ListNetworksOutput, error)
- func (c *Client) ListNodes(ctx context.Context, params *ListNodesInput, optFns ...func(*Options)) (*ListNodesOutput, error)
- func (c *Client) ListProposalVotes(ctx context.Context, params *ListProposalVotesInput, optFns ...func(*Options)) (*ListProposalVotesOutput, error)
- func (c *Client) ListProposals(ctx context.Context, params *ListProposalsInput, optFns ...func(*Options)) (*ListProposalsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- func (c *Client) RejectInvitation(ctx context.Context, params *RejectInvitationInput, optFns ...func(*Options)) (*RejectInvitationOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateMember(ctx context.Context, params *UpdateMemberInput, optFns ...func(*Options)) (*UpdateMemberOutput, error)
- func (c *Client) UpdateNode(ctx context.Context, params *UpdateNodeInput, optFns ...func(*Options)) (*UpdateNodeOutput, error)
- func (c *Client) VoteOnProposal(ctx context.Context, params *VoteOnProposalInput, optFns ...func(*Options)) (*VoteOnProposalOutput, error)
- type CreateAccessorInput
- type CreateAccessorOutput
- type CreateMemberInput
- type CreateMemberOutput
- type CreateNetworkInput
- type CreateNetworkOutput
- type CreateNodeInput
- type CreateNodeOutput
- type CreateProposalInput
- type CreateProposalOutput
- type DeleteAccessorInput
- type DeleteAccessorOutput
- type DeleteMemberInput
- type DeleteMemberOutput
- type DeleteNodeInput
- type DeleteNodeOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetAccessorInput
- type GetAccessorOutput
- type GetMemberInput
- type GetMemberOutput
- type GetNetworkInput
- type GetNetworkOutput
- type GetNodeInput
- type GetNodeOutput
- type GetProposalInput
- type GetProposalOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListAccessorsAPIClient
- type ListAccessorsInput
- type ListAccessorsOutput
- type ListAccessorsPaginator
- type ListAccessorsPaginatorOptions
- type ListInvitationsAPIClient
- type ListInvitationsInput
- type ListInvitationsOutput
- type ListInvitationsPaginator
- type ListInvitationsPaginatorOptions
- type ListMembersAPIClient
- type ListMembersInput
- type ListMembersOutput
- type ListMembersPaginator
- type ListMembersPaginatorOptions
- type ListNetworksAPIClient
- type ListNetworksInput
- type ListNetworksOutput
- type ListNetworksPaginator
- type ListNetworksPaginatorOptions
- type ListNodesAPIClient
- type ListNodesInput
- type ListNodesOutput
- type ListNodesPaginator
- type ListNodesPaginatorOptions
- type ListProposalVotesAPIClient
- type ListProposalVotesInput
- type ListProposalVotesOutput
- type ListProposalVotesPaginator
- type ListProposalVotesPaginatorOptions
- type ListProposalsAPIClient
- type ListProposalsInput
- type ListProposalsOutput
- type ListProposalsPaginator
- type ListProposalsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type RejectInvitationInput
- type RejectInvitationOutput
- type ResolveEndpoint
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateMemberInput
- type UpdateMemberOutput
- type UpdateNodeInput
- type UpdateNodeOutput
- type VoteOnProposalInput
- type VoteOnProposalOutput
Constants ¶
const ServiceAPIVersion = "2018-09-24"
const ServiceID = "ManagedBlockchain"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.16.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.18.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.18.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.18.2
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.18.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon Managed Blockchain.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateAccessor ¶ added in v1.13.0
func (c *Client) CreateAccessor(ctx context.Context, params *CreateAccessorInput, optFns ...func(*Options)) (*CreateAccessorOutput, error)
Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access. The accessor contains information required for token based access.
func (*Client) CreateMember ¶
func (c *Client) CreateMember(ctx context.Context, params *CreateMemberInput, optFns ...func(*Options)) (*CreateMemberOutput, error)
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
func (*Client) CreateNetwork ¶
func (c *Client) CreateNetwork(ctx context.Context, params *CreateNetworkInput, optFns ...func(*Options)) (*CreateNetworkOutput, error)
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
func (*Client) CreateNode ¶
func (c *Client) CreateNode(ctx context.Context, params *CreateNodeInput, optFns ...func(*Options)) (*CreateNodeOutput, error)
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
func (*Client) CreateProposal ¶
func (c *Client) CreateProposal(ctx context.Context, params *CreateProposalInput, optFns ...func(*Options)) (*CreateProposalOutput, error)
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.
func (*Client) DeleteAccessor ¶ added in v1.13.0
func (c *Client) DeleteAccessor(ctx context.Context, params *DeleteAccessorInput, optFns ...func(*Options)) (*DeleteAccessorOutput, error)
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).
func (*Client) DeleteMember ¶
func (c *Client) DeleteMember(ctx context.Context, params *DeleteMemberInput, optFns ...func(*Options)) (*DeleteMemberOutput, error)
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.
func (*Client) DeleteNode ¶
func (c *Client) DeleteNode(ctx context.Context, params *DeleteNodeInput, optFns ...func(*Options)) (*DeleteNodeOutput, error)
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.
func (*Client) GetAccessor ¶ added in v1.13.0
func (c *Client) GetAccessor(ctx context.Context, params *GetAccessorInput, optFns ...func(*Options)) (*GetAccessorOutput, error)
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.
func (*Client) GetMember ¶
func (c *Client) GetMember(ctx context.Context, params *GetMemberInput, optFns ...func(*Options)) (*GetMemberOutput, error)
Returns detailed information about a member.
Applies only to Hyperledger Fabric.
func (*Client) GetNetwork ¶
func (c *Client) GetNetwork(ctx context.Context, params *GetNetworkInput, optFns ...func(*Options)) (*GetNetworkOutput, error)
Returns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
func (*Client) GetNode ¶
func (c *Client) GetNode(ctx context.Context, params *GetNodeInput, optFns ...func(*Options)) (*GetNodeOutput, error)
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
func (*Client) GetProposal ¶
func (c *Client) GetProposal(ctx context.Context, params *GetProposalInput, optFns ...func(*Options)) (*GetProposalOutput, error)
Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
func (*Client) ListAccessors ¶ added in v1.13.0
func (c *Client) ListAccessors(ctx context.Context, params *ListAccessorsInput, optFns ...func(*Options)) (*ListAccessorsOutput, error)
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.
func (*Client) ListInvitations ¶
func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsInput, optFns ...func(*Options)) (*ListInvitationsOutput, error)
Returns a list of all invitations for the current Amazon Web Services account.
Applies only to Hyperledger Fabric.
func (*Client) ListMembers ¶
func (c *Client) ListMembers(ctx context.Context, params *ListMembersInput, optFns ...func(*Options)) (*ListMembersOutput, error)
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
func (*Client) ListNetworks ¶
func (c *Client) ListNetworks(ctx context.Context, params *ListNetworksInput, optFns ...func(*Options)) (*ListNetworksOutput, error)
Returns information about the networks in which the current Amazon Web Services account participates.
Applies to Hyperledger Fabric and Ethereum.
func (*Client) ListNodes ¶
func (c *Client) ListNodes(ctx context.Context, params *ListNodesInput, optFns ...func(*Options)) (*ListNodesOutput, error)
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
func (*Client) ListProposalVotes ¶
func (c *Client) ListProposalVotes(ctx context.Context, params *ListProposalVotesInput, optFns ...func(*Options)) (*ListProposalVotesOutput, error)
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.
func (*Client) ListProposals ¶
func (c *Client) ListProposals(ctx context.Context, params *ListProposalsInput, optFns ...func(*Options)) (*ListProposalsOutput, error)
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
func (*Client) ListTagsForResource ¶ added in v1.2.0
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
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 in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resourcesin the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
func (*Client) Options ¶ added in v1.20.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) RejectInvitation ¶
func (c *Client) RejectInvitation(ctx context.Context, params *RejectInvitationInput, optFns ...func(*Options)) (*RejectInvitationOutput, error)
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.
func (*Client) TagResource ¶ added in v1.2.0
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
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 in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resourcesin the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
func (*Client) UntagResource ¶ added in v1.2.0
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes the specified tags from the Amazon Managed Blockchain resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resourcesin the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
func (*Client) UpdateMember ¶
func (c *Client) UpdateMember(ctx context.Context, params *UpdateMemberInput, optFns ...func(*Options)) (*UpdateMemberOutput, error)
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
func (*Client) UpdateNode ¶
func (c *Client) UpdateNode(ctx context.Context, params *UpdateNodeInput, optFns ...func(*Options)) (*UpdateNodeOutput, error)
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
func (*Client) VoteOnProposal ¶
func (c *Client) VoteOnProposal(ctx context.Context, params *VoteOnProposalInput, optFns ...func(*Options)) (*VoteOnProposalOutput, error)
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.
type CreateAccessorInput ¶ added in v1.13.0
type CreateAccessorInput struct { // The type of accessor. // // Currently, accessor type is restricted to BILLING_TOKEN . // // This member is required. AccessorType types.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. // // This member is required. ClientRequestToken *string // The blockchain network that the Accessor token is created for. // // - Use the actual networkType value for the blockchain network that you are // creating the Accessor token for. // // - With the shut down of the Ethereum Goerli and Polygon Mumbai Testnet // networks the following networkType values are no longer available for // selection and use. // // - ETHEREUM_MAINNET_AND_GOERLI // // - ETHEREUM_GOERLI // // - POLYGON_MUMBAI // // However, your existing Accessor tokens with these networkType values will remain // unchanged. NetworkType types.AccessorNetworkType // Tags to assign to the Accessor. // // Each tag consists of a key and an optional value. You can specify multiple // key-value pairs in a single request with an overall maximum of 50 tags allowed // per resource. // // For more information about tags, see [Tagging Resources] in the Amazon Managed Blockchain Ethereum // Developer Guide, or [Tagging Resources]in the Amazon Managed Blockchain Hyperledger Fabric // Developer Guide. // // [Tagging Resources]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html Tags map[string]string // contains filtered or unexported fields }
type CreateAccessorOutput ¶ added in v1.13.0
type CreateAccessorOutput struct { // The unique identifier of the accessor. AccessorId *string // The billing token is a property of the Accessor. Use this token to when making // calls to the blockchain network. The billing token is used to track your // accessor token for billing requests. BillingToken *string // The blockchain network that the accessor token is created for. NetworkType types.AccessorNetworkType // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. ClientRequestToken *string // The unique identifier of the invitation that is sent to the member to join the // network. // // This member is required. InvitationId *string // Member configuration parameters. // // This member is required. MemberConfiguration *types.MemberConfiguration // The unique identifier of the network in which the member is created. // // This member is required. NetworkId *string // contains filtered or unexported fields }
type CreateMemberOutput ¶
type CreateMemberOutput struct { // The unique identifier of the member. MemberId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. ClientRequestToken *string // The blockchain framework that the network uses. // // This member is required. Framework types.Framework // The version of the blockchain framework that the network uses. // // This member is required. FrameworkVersion *string // Configuration properties for the first member within the network. // // This member is required. MemberConfiguration *types.MemberConfiguration // The name of the network. // // This member is required. Name *string // The voting rules used by the network to determine if a proposal is approved. // // This member is required. VotingPolicy *types.VotingPolicy // An optional description for the network. Description *string // Configuration properties of the blockchain framework relevant to the network // configuration. FrameworkConfiguration *types.NetworkFrameworkConfiguration // 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] in the Amazon Managed Blockchain Ethereum // Developer Guide, or [Tagging Resources]in the Amazon Managed Blockchain Hyperledger Fabric // Developer Guide. // // [Tagging Resources]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html Tags map[string]string // contains filtered or unexported fields }
type CreateNetworkOutput ¶
type CreateNetworkOutput struct { // The unique identifier for the first member within the network. MemberId *string // The unique identifier for the network. NetworkId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. ClientRequestToken *string // The unique identifier of the network for the node. // // Ethereum public networks have the following NetworkId s: // // - n-ethereum-mainnet // // This member is required. NetworkId *string // The properties of a node configuration. // // This member is required. NodeConfiguration *types.NodeConfiguration // The unique identifier of the member that owns this node. // // Applies only to Hyperledger Fabric. MemberId *string // 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] in the Amazon Managed Blockchain Ethereum // Developer Guide, or [Tagging Resources]in the Amazon Managed Blockchain Hyperledger Fabric // Developer Guide. // // [Tagging Resources]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html Tags map[string]string // contains filtered or unexported fields }
type CreateNodeOutput ¶
type CreateNodeOutput struct { // The unique identifier of the node. NodeId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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. // // This member is required. Actions *types.ProposalActions // 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. // // This member is required. ClientRequestToken *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. // // This member is required. MemberId *string // The unique identifier of the network for which the proposal is made. // // This member is required. NetworkId *string // A description for the proposal that is visible to voting members, for example, // "Proposal to add Example Corp. as member." Description *string // 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] in the Amazon Managed Blockchain Ethereum // Developer Guide, or [Tagging Resources]in the Amazon Managed Blockchain Hyperledger Fabric // Developer Guide. // // [Tagging Resources]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html Tags map[string]string // contains filtered or unexported fields }
type CreateProposalOutput ¶
type CreateProposalOutput struct { // The unique identifier of the proposal. ProposalId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAccessorInput ¶ added in v1.13.0
type DeleteAccessorInput struct { // The unique identifier of the accessor. // // This member is required. AccessorId *string // contains filtered or unexported fields }
type DeleteAccessorOutput ¶ added in v1.13.0
type DeleteAccessorOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteMemberInput ¶
type DeleteMemberOutput ¶
type DeleteMemberOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteNodeInput ¶
type DeleteNodeInput struct { // The unique identifier of the network that the node is on. // // Ethereum public networks have the following NetworkId s: // // - n-ethereum-mainnet // // This member is required. NetworkId *string // The unique identifier of the node. // // This member is required. NodeId *string // The unique identifier of the member that owns this node. // // Applies only to Hyperledger Fabric and is required for Hyperledger Fabric. MemberId *string // contains filtered or unexported fields }
type DeleteNodeOutput ¶
type DeleteNodeOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.16.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.16.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.16.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.16.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.16.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetAccessorInput ¶ added in v1.13.0
type GetAccessorInput struct { // The unique identifier of the accessor. // // This member is required. AccessorId *string // contains filtered or unexported fields }
type GetAccessorOutput ¶ added in v1.13.0
type GetAccessorOutput struct { // The properties of the accessor. Accessor *types.Accessor // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMemberInput ¶
type GetMemberOutput ¶
type GetMemberOutput struct { // The properties of a member. Member *types.Member // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetNetworkInput ¶
type GetNetworkInput struct { // The unique identifier of the network to get information about. // // This member is required. NetworkId *string // contains filtered or unexported fields }
type GetNetworkOutput ¶
type GetNetworkOutput struct { // An object containing network configuration parameters. Network *types.Network // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetNodeInput ¶
type GetNodeInput struct { // The unique identifier of the network that the node is on. // // This member is required. NetworkId *string // The unique identifier of the node. // // This member is required. NodeId *string // The unique identifier of the member that owns the node. // // Applies only to Hyperledger Fabric and is required for Hyperledger Fabric. MemberId *string // contains filtered or unexported fields }
type GetNodeOutput ¶
type GetNodeOutput struct { // Properties of the node configuration. Node *types.Node // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetProposalInput ¶
type GetProposalOutput ¶
type GetProposalOutput struct { // Information about a proposal. Proposal *types.Proposal // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListAccessorsAPIClient ¶ added in v1.13.0
type ListAccessorsAPIClient interface {
ListAccessors(context.Context, *ListAccessorsInput, ...func(*Options)) (*ListAccessorsOutput, error)
}
ListAccessorsAPIClient is a client that implements the ListAccessors operation.
type ListAccessorsInput ¶ added in v1.13.0
type ListAccessorsInput struct { // The maximum number of accessors to list. MaxResults *int32 // The blockchain network that the Accessor token is created for. // // Use the value ETHEREUM_MAINNET_AND_GOERLI for all existing Accessors tokens // that were created before the networkType property was introduced. NetworkType types.AccessorNetworkType // The pagination token that indicates the next set of results to retrieve. NextToken *string // contains filtered or unexported fields }
type ListAccessorsOutput ¶ added in v1.13.0
type ListAccessorsOutput struct { // An array of AccessorSummary objects that contain configuration properties for // each accessor. Accessors []types.AccessorSummary // The pagination token that indicates the next set of results to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAccessorsPaginator ¶ added in v1.13.0
type ListAccessorsPaginator struct {
// contains filtered or unexported fields
}
ListAccessorsPaginator is a paginator for ListAccessors
func NewListAccessorsPaginator ¶ added in v1.13.0
func NewListAccessorsPaginator(client ListAccessorsAPIClient, params *ListAccessorsInput, optFns ...func(*ListAccessorsPaginatorOptions)) *ListAccessorsPaginator
NewListAccessorsPaginator returns a new ListAccessorsPaginator
func (*ListAccessorsPaginator) HasMorePages ¶ added in v1.13.0
func (p *ListAccessorsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAccessorsPaginator) NextPage ¶ added in v1.13.0
func (p *ListAccessorsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAccessorsOutput, error)
NextPage retrieves the next ListAccessors page.
type ListAccessorsPaginatorOptions ¶ added in v1.13.0
type ListAccessorsPaginatorOptions struct { // The maximum number of accessors to list. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAccessorsPaginatorOptions is the paginator options for ListAccessors
type ListInvitationsAPIClient ¶ added in v0.30.0
type ListInvitationsAPIClient interface {
ListInvitations(context.Context, *ListInvitationsInput, ...func(*Options)) (*ListInvitationsOutput, error)
}
ListInvitationsAPIClient is a client that implements the ListInvitations operation.
type ListInvitationsInput ¶
type ListInvitationsOutput ¶
type ListInvitationsOutput struct { // The invitations for the network. Invitations []types.Invitation // The pagination token that indicates the next set of results to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListInvitationsPaginator ¶ added in v0.30.0
type ListInvitationsPaginator struct {
// contains filtered or unexported fields
}
ListInvitationsPaginator is a paginator for ListInvitations
func NewListInvitationsPaginator ¶ added in v0.30.0
func NewListInvitationsPaginator(client ListInvitationsAPIClient, params *ListInvitationsInput, optFns ...func(*ListInvitationsPaginatorOptions)) *ListInvitationsPaginator
NewListInvitationsPaginator returns a new ListInvitationsPaginator
func (*ListInvitationsPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListInvitationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListInvitationsPaginator) NextPage ¶ added in v0.30.0
func (p *ListInvitationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListInvitationsOutput, error)
NextPage retrieves the next ListInvitations page.
type ListInvitationsPaginatorOptions ¶ added in v0.30.0
type ListInvitationsPaginatorOptions struct { // The maximum number of invitations to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListInvitationsPaginatorOptions is the paginator options for ListInvitations
type ListMembersAPIClient ¶ added in v0.30.0
type ListMembersAPIClient interface {
ListMembers(context.Context, *ListMembersInput, ...func(*Options)) (*ListMembersOutput, error)
}
ListMembersAPIClient is a client that implements the ListMembers operation.
type ListMembersInput ¶
type ListMembersInput struct { // The unique identifier of the network for which to list members. // // This member is required. NetworkId *string // 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 // The maximum number of members to return in the request. MaxResults *int32 // The optional name of the member to list. Name *string // The pagination token that indicates the next set of results to retrieve. NextToken *string // An optional status specifier. If provided, only members currently in this // status are listed. Status types.MemberStatus // contains filtered or unexported fields }
type ListMembersOutput ¶
type ListMembersOutput struct { // An array of MemberSummary objects. Each object contains details about a network // member. Members []types.MemberSummary // The pagination token that indicates the next set of results to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListMembersPaginator ¶ added in v0.30.0
type ListMembersPaginator struct {
// contains filtered or unexported fields
}
ListMembersPaginator is a paginator for ListMembers
func NewListMembersPaginator ¶ added in v0.30.0
func NewListMembersPaginator(client ListMembersAPIClient, params *ListMembersInput, optFns ...func(*ListMembersPaginatorOptions)) *ListMembersPaginator
NewListMembersPaginator returns a new ListMembersPaginator
func (*ListMembersPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListMembersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListMembersPaginator) NextPage ¶ added in v0.30.0
func (p *ListMembersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMembersOutput, error)
NextPage retrieves the next ListMembers page.
type ListMembersPaginatorOptions ¶ added in v0.30.0
type ListMembersPaginatorOptions struct { // The maximum number of members to return in the request. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListMembersPaginatorOptions is the paginator options for ListMembers
type ListNetworksAPIClient ¶ added in v0.30.0
type ListNetworksAPIClient interface {
ListNetworks(context.Context, *ListNetworksInput, ...func(*Options)) (*ListNetworksOutput, error)
}
ListNetworksAPIClient is a client that implements the ListNetworks operation.
type ListNetworksInput ¶
type ListNetworksInput struct { // An optional framework specifier. If provided, only networks of this framework // type are listed. Framework types.Framework // The maximum number of networks to list. MaxResults *int32 // The name of the network. Name *string // The pagination token that indicates the next set of results to retrieve. NextToken *string // An optional status specifier. If provided, only networks currently in this // status are listed. // // Applies only to Hyperledger Fabric. Status types.NetworkStatus // contains filtered or unexported fields }
type ListNetworksOutput ¶
type ListNetworksOutput struct { // An array of NetworkSummary objects that contain configuration properties for // each network. Networks []types.NetworkSummary // The pagination token that indicates the next set of results to retrieve. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListNetworksPaginator ¶ added in v0.30.0
type ListNetworksPaginator struct {
// contains filtered or unexported fields
}
ListNetworksPaginator is a paginator for ListNetworks
func NewListNetworksPaginator ¶ added in v0.30.0
func NewListNetworksPaginator(client ListNetworksAPIClient, params *ListNetworksInput, optFns ...func(*ListNetworksPaginatorOptions)) *ListNetworksPaginator
NewListNetworksPaginator returns a new ListNetworksPaginator
func (*ListNetworksPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListNetworksPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListNetworksPaginator) NextPage ¶ added in v0.30.0
func (p *ListNetworksPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListNetworksOutput, error)
NextPage retrieves the next ListNetworks page.
type ListNetworksPaginatorOptions ¶ added in v0.30.0
type ListNetworksPaginatorOptions struct { // The maximum number of networks to list. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListNetworksPaginatorOptions is the paginator options for ListNetworks
type ListNodesAPIClient ¶ added in v0.30.0
type ListNodesAPIClient interface {
ListNodes(context.Context, *ListNodesInput, ...func(*Options)) (*ListNodesOutput, error)
}
ListNodesAPIClient is a client that implements the ListNodes operation.
type ListNodesInput ¶
type ListNodesInput struct { // The unique identifier of the network for which to list nodes. // // This member is required. NetworkId *string // The maximum number of nodes to list. MaxResults *int32 // 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 // The pagination token that indicates the next set of results to retrieve. NextToken *string // An optional status specifier. If provided, only nodes currently in this status // are listed. Status types.NodeStatus // contains filtered or unexported fields }
type ListNodesOutput ¶
type ListNodesOutput struct { // The pagination token that indicates the next set of results to retrieve. NextToken *string // An array of NodeSummary objects that contain configuration properties for each // node. Nodes []types.NodeSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListNodesPaginator ¶ added in v0.30.0
type ListNodesPaginator struct {
// contains filtered or unexported fields
}
ListNodesPaginator is a paginator for ListNodes
func NewListNodesPaginator ¶ added in v0.30.0
func NewListNodesPaginator(client ListNodesAPIClient, params *ListNodesInput, optFns ...func(*ListNodesPaginatorOptions)) *ListNodesPaginator
NewListNodesPaginator returns a new ListNodesPaginator
func (*ListNodesPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListNodesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListNodesPaginator) NextPage ¶ added in v0.30.0
func (p *ListNodesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListNodesOutput, error)
NextPage retrieves the next ListNodes page.
type ListNodesPaginatorOptions ¶ added in v0.30.0
type ListNodesPaginatorOptions struct { // The maximum number of nodes to list. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListNodesPaginatorOptions is the paginator options for ListNodes
type ListProposalVotesAPIClient ¶ added in v0.30.0
type ListProposalVotesAPIClient interface {
ListProposalVotes(context.Context, *ListProposalVotesInput, ...func(*Options)) (*ListProposalVotesOutput, error)
}
ListProposalVotesAPIClient is a client that implements the ListProposalVotes operation.
type ListProposalVotesInput ¶
type ListProposalVotesInput struct { // The unique identifier of the network. // // This member is required. NetworkId *string // The unique identifier of the proposal. // // This member is required. ProposalId *string // The maximum number of votes to return. MaxResults *int32 // The pagination token that indicates the next set of results to retrieve. NextToken *string // contains filtered or unexported fields }
type ListProposalVotesOutput ¶
type ListProposalVotesOutput struct { // The pagination token that indicates the next set of results to retrieve. NextToken *string // The list of votes. ProposalVotes []types.VoteSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProposalVotesPaginator ¶ added in v0.30.0
type ListProposalVotesPaginator struct {
// contains filtered or unexported fields
}
ListProposalVotesPaginator is a paginator for ListProposalVotes
func NewListProposalVotesPaginator ¶ added in v0.30.0
func NewListProposalVotesPaginator(client ListProposalVotesAPIClient, params *ListProposalVotesInput, optFns ...func(*ListProposalVotesPaginatorOptions)) *ListProposalVotesPaginator
NewListProposalVotesPaginator returns a new ListProposalVotesPaginator
func (*ListProposalVotesPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListProposalVotesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListProposalVotesPaginator) NextPage ¶ added in v0.30.0
func (p *ListProposalVotesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProposalVotesOutput, error)
NextPage retrieves the next ListProposalVotes page.
type ListProposalVotesPaginatorOptions ¶ added in v0.30.0
type ListProposalVotesPaginatorOptions struct { // The maximum number of votes to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListProposalVotesPaginatorOptions is the paginator options for ListProposalVotes
type ListProposalsAPIClient ¶ added in v0.30.0
type ListProposalsAPIClient interface {
ListProposals(context.Context, *ListProposalsInput, ...func(*Options)) (*ListProposalsOutput, error)
}
ListProposalsAPIClient is a client that implements the ListProposals operation.
type ListProposalsInput ¶
type ListProposalsInput struct { // The unique identifier of the network. // // This member is required. NetworkId *string // The maximum number of proposals to return. MaxResults *int32 // The pagination token that indicates the next set of results to retrieve. NextToken *string // contains filtered or unexported fields }
type ListProposalsOutput ¶
type ListProposalsOutput struct { // The pagination token that indicates the next set of results to retrieve. NextToken *string // The summary of each proposal made on the network. Proposals []types.ProposalSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProposalsPaginator ¶ added in v0.30.0
type ListProposalsPaginator struct {
// contains filtered or unexported fields
}
ListProposalsPaginator is a paginator for ListProposals
func NewListProposalsPaginator ¶ added in v0.30.0
func NewListProposalsPaginator(client ListProposalsAPIClient, params *ListProposalsInput, optFns ...func(*ListProposalsPaginatorOptions)) *ListProposalsPaginator
NewListProposalsPaginator returns a new ListProposalsPaginator
func (*ListProposalsPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListProposalsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListProposalsPaginator) NextPage ¶ added in v0.30.0
func (p *ListProposalsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProposalsOutput, error)
NextPage retrieves the next ListProposals page.
type ListProposalsPaginatorOptions ¶ added in v0.30.0
type ListProposalsPaginatorOptions struct { // The maximum number of proposals to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListProposalsPaginatorOptions is the paginator options for ListProposals
type ListTagsForResourceInput ¶ added in v1.2.0
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource. For more information about ARNs // and their format, see [Amazon Resource Names (ARNs)]in the Amazon Web Services General Reference. // // [Amazon Resource Names (ARNs)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶ added in v1.2.0
type ListTagsForResourceOutput struct { // The tags assigned to the resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The client meter provider. MeterProvider metrics.MeterProvider // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The client tracer provider. TracerProvider tracing.TracerProvider // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.18.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type RejectInvitationInput ¶
type RejectInvitationInput struct { // The unique identifier of the invitation to reject. // // This member is required. InvitationId *string // contains filtered or unexported fields }
type RejectInvitationOutput ¶
type RejectInvitationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type TagResourceInput ¶ added in v1.2.0
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource. For more information about ARNs // and their format, see [Amazon Resource Names (ARNs)]in the Amazon Web Services General Reference. // // [Amazon Resource Names (ARNs)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html // // This member is required. ResourceArn *string // 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. // // This member is required. Tags map[string]string // contains filtered or unexported fields }
type TagResourceOutput ¶ added in v1.2.0
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶ added in v1.2.0
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource. For more information about ARNs // and their format, see [Amazon Resource Names (ARNs)]in the Amazon Web Services General Reference. // // [Amazon Resource Names (ARNs)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html // // This member is required. ResourceArn *string // The tag keys. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶ added in v1.2.0
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateMemberInput ¶
type UpdateMemberInput struct { // The unique identifier of the member. // // This member is required. MemberId *string // The unique identifier of the Managed Blockchain network to which the member // belongs. // // This member is required. NetworkId *string // Configuration properties for publishing to Amazon CloudWatch Logs. LogPublishingConfiguration *types.MemberLogPublishingConfiguration // contains filtered or unexported fields }
type UpdateMemberOutput ¶
type UpdateMemberOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateNodeInput ¶
type UpdateNodeInput struct { // The unique identifier of the network that the node is on. // // This member is required. NetworkId *string // The unique identifier of the node. // // This member is required. NodeId *string // Configuration properties for publishing to Amazon CloudWatch Logs. LogPublishingConfiguration *types.NodeLogPublishingConfiguration // The unique identifier of the member that owns the node. // // Applies only to Hyperledger Fabric. MemberId *string // contains filtered or unexported fields }
type UpdateNodeOutput ¶
type UpdateNodeOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type VoteOnProposalInput ¶
type VoteOnProposalInput struct { // The unique identifier of the network. // // This member is required. NetworkId *string // The unique identifier of the proposal. // // This member is required. ProposalId *string // The value of the vote. // // This member is required. Vote types.VoteValue // The unique identifier of the member casting the vote. // // This member is required. VoterMemberId *string // contains filtered or unexported fields }
type VoteOnProposalOutput ¶
type VoteOnProposalOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateAccessor.go
- api_op_CreateMember.go
- api_op_CreateNetwork.go
- api_op_CreateNode.go
- api_op_CreateProposal.go
- api_op_DeleteAccessor.go
- api_op_DeleteMember.go
- api_op_DeleteNode.go
- api_op_GetAccessor.go
- api_op_GetMember.go
- api_op_GetNetwork.go
- api_op_GetNode.go
- api_op_GetProposal.go
- api_op_ListAccessors.go
- api_op_ListInvitations.go
- api_op_ListMembers.go
- api_op_ListNetworks.go
- api_op_ListNodes.go
- api_op_ListProposalVotes.go
- api_op_ListProposals.go
- api_op_ListTagsForResource.go
- api_op_RejectInvitation.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateMember.go
- api_op_UpdateNode.go
- api_op_VoteOnProposal.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go