managedblockchain

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Overview

Package managedblockchain provides the client and types for making API requests to ManagedBlockchain.

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. Currently, Managed Blockchain supports the Hyperledger Fabric open source framework.

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 use ManagedBlockchain 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 ManagedBlockchain client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/managedblockchain/#New

Index

Constants

View Source
const (
	ServiceName = "ManagedBlockchain" // Service's name
	ServiceID   = "ManagedBlockchain" // Service's identifier
	EndpointsID = "managedblockchain" // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not 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 does not exist on the network. It may have been deleted
	// or referenced inaccurately.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeResourceNotReadyException for service response error code
	// "ResourceNotReadyException".
	//
	// The requested resource exists but is not in a status that can complete the
	// operation.
	ErrCodeResourceNotReadyException = "ResourceNotReadyException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request or operation could not be performed because a service is throttling
	// requests. The most common source of throttling errors is launching EC2 instances
	// such that your service limit for EC2 instances is exceeded. Request a limit
	// increase or delete unused resources if possible.
	ErrCodeThrottlingException = "ThrottlingException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApprovalThresholdPolicy

type ApprovalThresholdPolicy struct {

	// The duration from the time that a proposal is created until it expires. If
	// members cast neither the required number of YES votes to approve the proposal
	// nor the number of NO votes required to reject it before the duration expires,
	// the proposal is EXPIRED and ProposalActions are not carried out.
	ProposalDurationInHours *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 ThresholdComparator `type:"string" enum:"true"`

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

func (ApprovalThresholdPolicy) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApprovalThresholdPolicy) String

func (s ApprovalThresholdPolicy) String() string

String returns the string representation

func (*ApprovalThresholdPolicy) Validate

func (s *ApprovalThresholdPolicy) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to ManagedBlockchain. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := managedblockchain.New(myConfig)

func (*Client) CreateMemberRequest

func (c *Client) CreateMemberRequest(input *CreateMemberInput) CreateMemberRequest

CreateMemberRequest returns a request value for making API operation for Amazon Managed Blockchain.

Creates a member within a Managed Blockchain network.

// Example sending a request using CreateMemberRequest.
req := client.CreateMemberRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateMember

func (*Client) CreateNetworkRequest

func (c *Client) CreateNetworkRequest(input *CreateNetworkInput) CreateNetworkRequest

CreateNetworkRequest returns a request value for making API operation for Amazon Managed Blockchain.

Creates a new blockchain network using Amazon Managed Blockchain.

// Example sending a request using CreateNetworkRequest.
req := client.CreateNetworkRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetwork

func (*Client) CreateNodeRequest

func (c *Client) CreateNodeRequest(input *CreateNodeInput) CreateNodeRequest

CreateNodeRequest returns a request value for making API operation for Amazon Managed Blockchain.

Creates a peer node in a member.

// Example sending a request using CreateNodeRequest.
req := client.CreateNodeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNode

func (*Client) CreateProposalRequest

func (c *Client) CreateProposalRequest(input *CreateProposalInput) CreateProposalRequest

CreateProposalRequest returns a request value for making 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.

// Example sending a request using CreateProposalRequest.
req := client.CreateProposalRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposal

func (*Client) DeleteMemberRequest

func (c *Client) DeleteMemberRequest(input *DeleteMemberInput) DeleteMemberRequest

DeleteMemberRequest returns a request value for making 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 AWS 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 AWS account, the network is deleted also.

// Example sending a request using DeleteMemberRequest.
req := client.DeleteMemberRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteMember

func (*Client) DeleteNodeRequest

func (c *Client) DeleteNodeRequest(input *DeleteNodeInput) DeleteNodeRequest

DeleteNodeRequest returns a request value for making API operation for Amazon Managed Blockchain.

Deletes a peer node from a member that your AWS account owns. All data on the node is lost and cannot be recovered.

// Example sending a request using DeleteNodeRequest.
req := client.DeleteNodeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteNode

func (*Client) GetMemberRequest

func (c *Client) GetMemberRequest(input *GetMemberInput) GetMemberRequest

GetMemberRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns detailed information about a member.

// Example sending a request using GetMemberRequest.
req := client.GetMemberRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember

func (*Client) GetNetworkRequest

func (c *Client) GetNetworkRequest(input *GetNetworkInput) GetNetworkRequest

GetNetworkRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns detailed information about a network.

// Example sending a request using GetNetworkRequest.
req := client.GetNetworkRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork

func (*Client) GetNodeRequest

func (c *Client) GetNodeRequest(input *GetNodeInput) GetNodeRequest

GetNodeRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns detailed information about a peer node.

// Example sending a request using GetNodeRequest.
req := client.GetNodeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode

func (*Client) GetProposalRequest

func (c *Client) GetProposalRequest(input *GetProposalInput) GetProposalRequest

GetProposalRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns detailed information about a proposal.

// Example sending a request using GetProposalRequest.
req := client.GetProposalRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal

func (*Client) ListInvitationsRequest

func (c *Client) ListInvitationsRequest(input *ListInvitationsInput) ListInvitationsRequest

ListInvitationsRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns a listing of all invitations made on the specified network.

// Example sending a request using ListInvitationsRequest.
req := client.ListInvitationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations

func (*Client) ListMembersRequest

func (c *Client) ListMembersRequest(input *ListMembersInput) ListMembersRequest

ListMembersRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns a listing of the members in a network and properties of their configurations.

// Example sending a request using ListMembersRequest.
req := client.ListMembersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers

func (*Client) ListNetworksRequest

func (c *Client) ListNetworksRequest(input *ListNetworksInput) ListNetworksRequest

ListNetworksRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns information about the networks in which the current AWS account has members.

// Example sending a request using ListNetworksRequest.
req := client.ListNetworksRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks

func (*Client) ListNodesRequest

func (c *Client) ListNodesRequest(input *ListNodesInput) ListNodesRequest

ListNodesRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns information about the nodes within a network.

// Example sending a request using ListNodesRequest.
req := client.ListNodesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes

func (*Client) ListProposalVotesRequest

func (c *Client) ListProposalVotesRequest(input *ListProposalVotesInput) ListProposalVotesRequest

ListProposalVotesRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns the listing of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.

// Example sending a request using ListProposalVotesRequest.
req := client.ListProposalVotesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposalVotes

func (*Client) ListProposalsRequest

func (c *Client) ListProposalsRequest(input *ListProposalsInput) ListProposalsRequest

ListProposalsRequest returns a request value for making API operation for Amazon Managed Blockchain.

Returns a listing of proposals for the network.

// Example sending a request using ListProposalsRequest.
req := client.ListProposalsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals

func (*Client) RejectInvitationRequest

func (c *Client) RejectInvitationRequest(input *RejectInvitationInput) RejectInvitationRequest

RejectInvitationRequest returns a request value for making API operation for Amazon Managed Blockchain.

Rejects an invitation to join a network. This action can be called by a principal in an AWS account that has received an invitation to create a member and join a network.

// Example sending a request using RejectInvitationRequest.
req := client.RejectInvitationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/RejectInvitation

func (*Client) UpdateMemberRequest added in v0.21.0

func (c *Client) UpdateMemberRequest(input *UpdateMemberInput) UpdateMemberRequest

UpdateMemberRequest returns a request value for making API operation for Amazon Managed Blockchain.

Updates a member configuration with new parameters.

// Example sending a request using UpdateMemberRequest.
req := client.UpdateMemberRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMember

func (*Client) UpdateNodeRequest added in v0.21.0

func (c *Client) UpdateNodeRequest(input *UpdateNodeInput) UpdateNodeRequest

UpdateNodeRequest returns a request value for making API operation for Amazon Managed Blockchain.

Updates a node configuration with new parameters.

// Example sending a request using UpdateNodeRequest.
req := client.UpdateNodeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNode

func (*Client) VoteOnProposalRequest

func (c *Client) VoteOnProposalRequest(input *VoteOnProposalInput) VoteOnProposalRequest

VoteOnProposalRequest returns a request value for making 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 AWS account as the principal that calls the action.

// Example sending a request using VoteOnProposalRequest.
req := client.VoteOnProposalRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/VoteOnProposal

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 AWS SDK or the
	// AWS CLI.
	//
	// ClientRequestToken is a required field
	ClientRequestToken *string `min:"1" type:"string" required:"true" 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) MarshalFields

func (s CreateMemberInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateMemberInput) String

func (s CreateMemberInput) String() string

String returns the string representation

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

func (s CreateMemberOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateMemberOutput) String

func (s CreateMemberOutput) String() string

String returns the string representation

type CreateMemberRequest

type CreateMemberRequest struct {
	*aws.Request
	Input *CreateMemberInput
	Copy  func(*CreateMemberInput) CreateMemberRequest
}

CreateMemberRequest is the request type for the CreateMember API operation.

func (CreateMemberRequest) Send

Send marshals and sends the CreateMember API request.

type CreateMemberResponse

type CreateMemberResponse struct {
	*CreateMemberOutput
	// contains filtered or unexported fields
}

CreateMemberResponse is the response type for the CreateMember API operation.

func (*CreateMemberResponse) SDKResponseMetdata

func (r *CreateMemberResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateMember request.

type CreateNetworkInput

type CreateNetworkInput 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 AWS SDK or the
	// AWS CLI.
	//
	// ClientRequestToken is a required field
	ClientRequestToken *string `min:"1" type:"string" required:"true" 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 Framework `type:"string" required:"true" enum:"true"`

	// 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"`

	// 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) MarshalFields

func (s CreateNetworkInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateNetworkInput) String

func (s CreateNetworkInput) String() string

String returns the string representation

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

func (s CreateNetworkOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateNetworkOutput) String

func (s CreateNetworkOutput) String() string

String returns the string representation

type CreateNetworkRequest

type CreateNetworkRequest struct {
	*aws.Request
	Input *CreateNetworkInput
	Copy  func(*CreateNetworkInput) CreateNetworkRequest
}

CreateNetworkRequest is the request type for the CreateNetwork API operation.

func (CreateNetworkRequest) Send

Send marshals and sends the CreateNetwork API request.

type CreateNetworkResponse

type CreateNetworkResponse struct {
	*CreateNetworkOutput
	// contains filtered or unexported fields
}

CreateNetworkResponse is the response type for the CreateNetwork API operation.

func (*CreateNetworkResponse) SDKResponseMetdata

func (r *CreateNetworkResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateNetwork request.

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 AWS SDK or the
	// AWS CLI.
	//
	// ClientRequestToken is a required field
	ClientRequestToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`

	// The unique identifier of the member that owns this node.
	//
	// MemberId is a required field
	MemberId *string `location:"uri" locationName:"memberId" min:"1" type:"string" required:"true"`

	// The unique identifier of the network in which this node runs.
	//
	// 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"`
	// contains filtered or unexported fields
}

func (CreateNodeInput) MarshalFields

func (s CreateNodeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateNodeInput) String

func (s CreateNodeInput) String() string

String returns the string representation

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

func (s CreateNodeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateNodeOutput) String

func (s CreateNodeOutput) String() string

String returns the string representation

type CreateNodeRequest

type CreateNodeRequest struct {
	*aws.Request
	Input *CreateNodeInput
	Copy  func(*CreateNodeInput) CreateNodeRequest
}

CreateNodeRequest is the request type for the CreateNode API operation.

func (CreateNodeRequest) Send

Send marshals and sends the CreateNode API request.

type CreateNodeResponse

type CreateNodeResponse struct {
	*CreateNodeOutput
	// contains filtered or unexported fields
}

CreateNodeResponse is the response type for the CreateNode API operation.

func (*CreateNodeResponse) SDKResponseMetdata

func (r *CreateNodeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateNode request.

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 AWS SDK or the
	// AWS CLI.
	//
	// ClientRequestToken is a required field
	ClientRequestToken *string `min:"1" type:"string" required:"true" 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 AWS 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"`
	// contains filtered or unexported fields
}

func (CreateProposalInput) MarshalFields

func (s CreateProposalInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateProposalInput) String

func (s CreateProposalInput) String() string

String returns the string representation

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

func (s CreateProposalOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateProposalOutput) String

func (s CreateProposalOutput) String() string

String returns the string representation

type CreateProposalRequest

type CreateProposalRequest struct {
	*aws.Request
	Input *CreateProposalInput
	Copy  func(*CreateProposalInput) CreateProposalRequest
}

CreateProposalRequest is the request type for the CreateProposal API operation.

func (CreateProposalRequest) Send

Send marshals and sends the CreateProposal API request.

type CreateProposalResponse

type CreateProposalResponse struct {
	*CreateProposalOutput
	// contains filtered or unexported fields
}

CreateProposalResponse is the response type for the CreateProposal API operation.

func (*CreateProposalResponse) SDKResponseMetdata

func (r *CreateProposalResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateProposal request.

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

func (s DeleteMemberInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteMemberInput) String

func (s DeleteMemberInput) String() string

String returns the string representation

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

func (s DeleteMemberOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteMemberOutput) String

func (s DeleteMemberOutput) String() string

String returns the string representation

type DeleteMemberRequest

type DeleteMemberRequest struct {
	*aws.Request
	Input *DeleteMemberInput
	Copy  func(*DeleteMemberInput) DeleteMemberRequest
}

DeleteMemberRequest is the request type for the DeleteMember API operation.

func (DeleteMemberRequest) Send

Send marshals and sends the DeleteMember API request.

type DeleteMemberResponse

type DeleteMemberResponse struct {
	*DeleteMemberOutput
	// contains filtered or unexported fields
}

DeleteMemberResponse is the response type for the DeleteMember API operation.

func (*DeleteMemberResponse) SDKResponseMetdata

func (r *DeleteMemberResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteMember request.

type DeleteNodeInput

type DeleteNodeInput struct {

	// The unique identifier of the member that owns this node.
	//
	// MemberId is a required field
	MemberId *string `location:"uri" locationName:"memberId" min:"1" type:"string" required:"true"`

	// The unique identifier of the network that the node belongs to.
	//
	// 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) MarshalFields

func (s DeleteNodeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteNodeInput) String

func (s DeleteNodeInput) String() string

String returns the string representation

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

func (s DeleteNodeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteNodeOutput) String

func (s DeleteNodeOutput) String() string

String returns the string representation

type DeleteNodeRequest

type DeleteNodeRequest struct {
	*aws.Request
	Input *DeleteNodeInput
	Copy  func(*DeleteNodeInput) DeleteNodeRequest
}

DeleteNodeRequest is the request type for the DeleteNode API operation.

func (DeleteNodeRequest) Send

Send marshals and sends the DeleteNode API request.

type DeleteNodeResponse

type DeleteNodeResponse struct {
	*DeleteNodeOutput
	// contains filtered or unexported fields
}

DeleteNodeResponse is the response type for the DeleteNode API operation.

func (*DeleteNodeResponse) SDKResponseMetdata

func (r *DeleteNodeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteNode request.

type Edition

type Edition string
const (
	EditionStarter  Edition = "STARTER"
	EditionStandard Edition = "STANDARD"
)

Enum values for Edition

func (Edition) MarshalValue

func (enum Edition) MarshalValue() (string, error)

func (Edition) MarshalValueBuf

func (enum Edition) MarshalValueBuf(b []byte) ([]byte, error)

type Framework

type Framework string
const (
	FrameworkHyperledgerFabric Framework = "HYPERLEDGER_FABRIC"
)

Enum values for Framework

func (Framework) MarshalValue

func (enum Framework) MarshalValue() (string, error)

func (Framework) MarshalValueBuf

func (enum Framework) MarshalValueBuf(b []byte) ([]byte, error)

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

func (s GetMemberInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMemberInput) String

func (s GetMemberInput) String() string

String returns the string representation

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

func (s GetMemberOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMemberOutput) String

func (s GetMemberOutput) String() string

String returns the string representation

type GetMemberRequest

type GetMemberRequest struct {
	*aws.Request
	Input *GetMemberInput
	Copy  func(*GetMemberInput) GetMemberRequest
}

GetMemberRequest is the request type for the GetMember API operation.

func (GetMemberRequest) Send

Send marshals and sends the GetMember API request.

type GetMemberResponse

type GetMemberResponse struct {
	*GetMemberOutput
	// contains filtered or unexported fields
}

GetMemberResponse is the response type for the GetMember API operation.

func (*GetMemberResponse) SDKResponseMetdata

func (r *GetMemberResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetMember request.

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

func (s GetNetworkInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetNetworkInput) String

func (s GetNetworkInput) String() string

String returns the string representation

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

func (s GetNetworkOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetNetworkOutput) String

func (s GetNetworkOutput) String() string

String returns the string representation

type GetNetworkRequest

type GetNetworkRequest struct {
	*aws.Request
	Input *GetNetworkInput
	Copy  func(*GetNetworkInput) GetNetworkRequest
}

GetNetworkRequest is the request type for the GetNetwork API operation.

func (GetNetworkRequest) Send

Send marshals and sends the GetNetwork API request.

type GetNetworkResponse

type GetNetworkResponse struct {
	*GetNetworkOutput
	// contains filtered or unexported fields
}

GetNetworkResponse is the response type for the GetNetwork API operation.

func (*GetNetworkResponse) SDKResponseMetdata

func (r *GetNetworkResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetNetwork request.

type GetNodeInput

type GetNodeInput struct {

	// The unique identifier of the member that owns the node.
	//
	// 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 node belongs.
	//
	// 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) MarshalFields

func (s GetNodeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetNodeInput) String

func (s GetNodeInput) String() string

String returns the string representation

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

func (s GetNodeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetNodeOutput) String

func (s GetNodeOutput) String() string

String returns the string representation

type GetNodeRequest

type GetNodeRequest struct {
	*aws.Request
	Input *GetNodeInput
	Copy  func(*GetNodeInput) GetNodeRequest
}

GetNodeRequest is the request type for the GetNode API operation.

func (GetNodeRequest) Send

Send marshals and sends the GetNode API request.

type GetNodeResponse

type GetNodeResponse struct {
	*GetNodeOutput
	// contains filtered or unexported fields
}

GetNodeResponse is the response type for the GetNode API operation.

func (*GetNodeResponse) SDKResponseMetdata

func (r *GetNodeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetNode request.

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

func (s GetProposalInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetProposalInput) String

func (s GetProposalInput) String() string

String returns the string representation

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

func (s GetProposalOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetProposalOutput) String

func (s GetProposalOutput) String() string

String returns the string representation

type GetProposalRequest

type GetProposalRequest struct {
	*aws.Request
	Input *GetProposalInput
	Copy  func(*GetProposalInput) GetProposalRequest
}

GetProposalRequest is the request type for the GetProposal API operation.

func (GetProposalRequest) Send

Send marshals and sends the GetProposal API request.

type GetProposalResponse

type GetProposalResponse struct {
	*GetProposalOutput
	// contains filtered or unexported fields
}

GetProposalResponse is the response type for the GetProposal API operation.

func (*GetProposalResponse) SDKResponseMetdata

func (r *GetProposalResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetProposal request.

type Invitation

type Invitation struct {

	// 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 has not created a member to join the network,
	//    and the invitation has not yet expired.
	//
	//    * ACCEPTING - The invitee has begun creating a member, and creation has
	//    not yet completed.
	//
	//    * ACCEPTED - The invitee created a member and joined the network using
	//    the InvitationID.
	//
	//    * REJECTED - The invitee rejected the invitation.
	//
	//    * EXPIRED - The invitee neither created a member nor rejected the invitation
	//    before the ExpirationDate.
	Status InvitationStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

An invitation to an AWS account to create a member and join the network.

func (Invitation) MarshalFields

func (s Invitation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Invitation) String

func (s Invitation) String() string

String returns the string representation

type InvitationStatus

type InvitationStatus string
const (
	InvitationStatusPending   InvitationStatus = "PENDING"
	InvitationStatusAccepted  InvitationStatus = "ACCEPTED"
	InvitationStatusAccepting InvitationStatus = "ACCEPTING"
	InvitationStatusRejected  InvitationStatus = "REJECTED"
	InvitationStatusExpired   InvitationStatus = "EXPIRED"
)

Enum values for InvitationStatus

func (InvitationStatus) MarshalValue

func (enum InvitationStatus) MarshalValue() (string, error)

func (InvitationStatus) MarshalValueBuf

func (enum InvitationStatus) MarshalValueBuf(b []byte) ([]byte, error)

type InviteAction

type InviteAction struct {

	// The AWS 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 AWS account to create a member and join the network. The InviteAction is carried out when a Proposal is APPROVED.

func (InviteAction) MarshalFields

func (s InviteAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (InviteAction) String

func (s InviteAction) String() string

String returns the string representation

func (*InviteAction) Validate

func (s *InviteAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

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

func (s ListInvitationsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListInvitationsInput) String

func (s ListInvitationsInput) String() string

String returns the string representation

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

func (s ListInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListInvitationsOutput) String

func (s ListInvitationsOutput) String() string

String returns the string representation

type ListInvitationsPaginator

type ListInvitationsPaginator struct {
	aws.Pager
}

ListInvitationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListInvitationsPaginator

func NewListInvitationsPaginator(req ListInvitationsRequest) ListInvitationsPaginator

NewListInvitationsRequestPaginator returns a paginator for ListInvitations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListInvitationsRequest(input)
p := managedblockchain.NewListInvitationsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListInvitationsPaginator) CurrentPage

type ListInvitationsRequest

type ListInvitationsRequest struct {
	*aws.Request
	Input *ListInvitationsInput
	Copy  func(*ListInvitationsInput) ListInvitationsRequest
}

ListInvitationsRequest is the request type for the ListInvitations API operation.

func (ListInvitationsRequest) Send

Send marshals and sends the ListInvitations API request.

type ListInvitationsResponse

type ListInvitationsResponse struct {
	*ListInvitationsOutput
	// contains filtered or unexported fields
}

ListInvitationsResponse is the response type for the ListInvitations API operation.

func (*ListInvitationsResponse) SDKResponseMetdata

func (r *ListInvitationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListInvitations request.

type ListMembersInput

type ListMembersInput struct {

	// An optional Boolean value. If provided, the request is limited either to
	// members that the current AWS account owns (true) or that other AWS accounts
	// 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 MemberStatus `location:"querystring" locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListMembersInput) MarshalFields

func (s ListMembersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListMembersInput) String

func (s ListMembersInput) String() string

String returns the string representation

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

func (s ListMembersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListMembersOutput) String

func (s ListMembersOutput) String() string

String returns the string representation

type ListMembersPaginator

type ListMembersPaginator struct {
	aws.Pager
}

ListMembersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListMembersPaginator

func NewListMembersPaginator(req ListMembersRequest) ListMembersPaginator

NewListMembersRequestPaginator returns a paginator for ListMembers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListMembersRequest(input)
p := managedblockchain.NewListMembersRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListMembersPaginator) CurrentPage

func (p *ListMembersPaginator) CurrentPage() *ListMembersOutput

type ListMembersRequest

type ListMembersRequest struct {
	*aws.Request
	Input *ListMembersInput
	Copy  func(*ListMembersInput) ListMembersRequest
}

ListMembersRequest is the request type for the ListMembers API operation.

func (ListMembersRequest) Send

Send marshals and sends the ListMembers API request.

type ListMembersResponse

type ListMembersResponse struct {
	*ListMembersOutput
	// contains filtered or unexported fields
}

ListMembersResponse is the response type for the ListMembers API operation.

func (*ListMembersResponse) SDKResponseMetdata

func (r *ListMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListMembers request.

type ListNetworksInput

type ListNetworksInput struct {

	// An optional framework specifier. If provided, only networks of this framework
	// type are listed.
	Framework Framework `location:"querystring" locationName:"framework" type:"string" enum:"true"`

	// 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.
	Status NetworkStatus `location:"querystring" locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListNetworksInput) MarshalFields

func (s ListNetworksInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListNetworksInput) String

func (s ListNetworksInput) String() string

String returns the string representation

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

func (s ListNetworksOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListNetworksOutput) String

func (s ListNetworksOutput) String() string

String returns the string representation

type ListNetworksPaginator

type ListNetworksPaginator struct {
	aws.Pager
}

ListNetworksPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListNetworksPaginator

func NewListNetworksPaginator(req ListNetworksRequest) ListNetworksPaginator

NewListNetworksRequestPaginator returns a paginator for ListNetworks. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListNetworksRequest(input)
p := managedblockchain.NewListNetworksRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListNetworksPaginator) CurrentPage

func (p *ListNetworksPaginator) CurrentPage() *ListNetworksOutput

type ListNetworksRequest

type ListNetworksRequest struct {
	*aws.Request
	Input *ListNetworksInput
	Copy  func(*ListNetworksInput) ListNetworksRequest
}

ListNetworksRequest is the request type for the ListNetworks API operation.

func (ListNetworksRequest) Send

Send marshals and sends the ListNetworks API request.

type ListNetworksResponse

type ListNetworksResponse struct {
	*ListNetworksOutput
	// contains filtered or unexported fields
}

ListNetworksResponse is the response type for the ListNetworks API operation.

func (*ListNetworksResponse) SDKResponseMetdata

func (r *ListNetworksResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListNetworks request.

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.
	//
	// MemberId is a required field
	MemberId *string `location:"uri" locationName:"memberId" min:"1" type:"string" required:"true"`

	// 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 NodeStatus `location:"querystring" locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListNodesInput) MarshalFields

func (s ListNodesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListNodesInput) String

func (s ListNodesInput) String() string

String returns the string representation

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

func (s ListNodesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListNodesOutput) String

func (s ListNodesOutput) String() string

String returns the string representation

type ListNodesPaginator

type ListNodesPaginator struct {
	aws.Pager
}

ListNodesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListNodesPaginator

func NewListNodesPaginator(req ListNodesRequest) ListNodesPaginator

NewListNodesRequestPaginator returns a paginator for ListNodes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListNodesRequest(input)
p := managedblockchain.NewListNodesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListNodesPaginator) CurrentPage

func (p *ListNodesPaginator) CurrentPage() *ListNodesOutput

type ListNodesRequest

type ListNodesRequest struct {
	*aws.Request
	Input *ListNodesInput
	Copy  func(*ListNodesInput) ListNodesRequest
}

ListNodesRequest is the request type for the ListNodes API operation.

func (ListNodesRequest) Send

Send marshals and sends the ListNodes API request.

type ListNodesResponse

type ListNodesResponse struct {
	*ListNodesOutput
	// contains filtered or unexported fields
}

ListNodesResponse is the response type for the ListNodes API operation.

func (*ListNodesResponse) SDKResponseMetdata

func (r *ListNodesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListNodes request.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListProposalVotesInput) String

func (s ListProposalVotesInput) String() string

String returns the string representation

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 listing of votes.
	ProposalVotes []VoteSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListProposalVotesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListProposalVotesOutput) String

func (s ListProposalVotesOutput) String() string

String returns the string representation

type ListProposalVotesPaginator

type ListProposalVotesPaginator struct {
	aws.Pager
}

ListProposalVotesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListProposalVotesPaginator

func NewListProposalVotesPaginator(req ListProposalVotesRequest) ListProposalVotesPaginator

NewListProposalVotesRequestPaginator returns a paginator for ListProposalVotes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListProposalVotesRequest(input)
p := managedblockchain.NewListProposalVotesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListProposalVotesPaginator) CurrentPage

type ListProposalVotesRequest

type ListProposalVotesRequest struct {
	*aws.Request
	Input *ListProposalVotesInput
	Copy  func(*ListProposalVotesInput) ListProposalVotesRequest
}

ListProposalVotesRequest is the request type for the ListProposalVotes API operation.

func (ListProposalVotesRequest) Send

Send marshals and sends the ListProposalVotes API request.

type ListProposalVotesResponse

type ListProposalVotesResponse struct {
	*ListProposalVotesOutput
	// contains filtered or unexported fields
}

ListProposalVotesResponse is the response type for the ListProposalVotes API operation.

func (*ListProposalVotesResponse) SDKResponseMetdata

func (r *ListProposalVotesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListProposalVotes request.

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

func (s ListProposalsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListProposalsInput) String

func (s ListProposalsInput) String() string

String returns the string representation

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

func (s ListProposalsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListProposalsOutput) String

func (s ListProposalsOutput) String() string

String returns the string representation

type ListProposalsPaginator

type ListProposalsPaginator struct {
	aws.Pager
}

ListProposalsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListProposalsPaginator

func NewListProposalsPaginator(req ListProposalsRequest) ListProposalsPaginator

NewListProposalsRequestPaginator returns a paginator for ListProposals. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListProposalsRequest(input)
p := managedblockchain.NewListProposalsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListProposalsPaginator) CurrentPage

func (p *ListProposalsPaginator) CurrentPage() *ListProposalsOutput

type ListProposalsRequest

type ListProposalsRequest struct {
	*aws.Request
	Input *ListProposalsInput
	Copy  func(*ListProposalsInput) ListProposalsRequest
}

ListProposalsRequest is the request type for the ListProposals API operation.

func (ListProposalsRequest) Send

Send marshals and sends the ListProposals API request.

type ListProposalsResponse

type ListProposalsResponse struct {
	*ListProposalsOutput
	// contains filtered or unexported fields
}

ListProposalsResponse is the response type for the ListProposals API operation.

func (*ListProposalsResponse) SDKResponseMetdata

func (r *ListProposalsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListProposals request.

type LogConfiguration added in v0.21.0

type LogConfiguration struct {

	// Indicates whether logging is enabled.
	Enabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A configuration for logging events.

func (LogConfiguration) MarshalFields added in v0.21.0

func (s LogConfiguration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LogConfiguration) String added in v0.21.0

func (s LogConfiguration) String() string

String returns the string representation

type LogConfigurations added in v0.21.0

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) MarshalFields added in v0.21.0

func (s LogConfigurations) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LogConfigurations) String added in v0.21.0

func (s LogConfigurations) String() string

String returns the string representation

type Member

type Member struct {

	// 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"`

	// 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 AWS account is in the process of creating a member.
	//
	//    * AVAILABLE - The member has been created and can participate in the network.
	//
	//    * CREATE_FAILED - The AWS account attempted to create a member and creation
	//    failed.
	//
	//    * DELETING - The member and all associated resources are in the process
	//    of being deleted. Either the AWS account that owns the member deleted
	//    it, or the member is being deleted as the result of an APPROVED PROPOSAL
	//    to remove the member.
	//
	//    * DELETED - The member can no longer participate on the network and all
	//    associated resources are deleted. Either the AWS account that owns the
	//    member deleted it, or the member is being deleted as the result of an
	//    APPROVED PROPOSAL to remove the member.
	Status MemberStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Member configuration properties.

func (Member) MarshalFields

func (s Member) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Member) String

func (s Member) String() string

String returns the string representation

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"`

	// 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"`
	// contains filtered or unexported fields
}

Configuration properties of the member.

func (MemberConfiguration) MarshalFields

func (s MemberConfiguration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MemberConfiguration) String

func (s MemberConfiguration) String() string

String returns the string representation

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MemberFabricAttributes) String

func (s MemberFabricAttributes) String() string

String returns the string representation

type MemberFabricConfiguration

type MemberFabricConfiguration struct {

	// The password for the member's initial administrative user. The AdminPassword
	// must be at least eight characters long and no more than 32 characters. It
	// must contain at least one uppercase letter, one lowercase letter, and one
	// digit. It cannot have a single quote(‘), double quote(“), forward slash(/),
	// backward slash(\), @, or a space.
	//
	// AdminPassword 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 using the Hyperledger Fabric framework.

func (MemberFabricConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MemberFabricConfiguration) String

func (s MemberFabricConfiguration) String() string

String returns the string representation

func (*MemberFabricConfiguration) Validate

func (s *MemberFabricConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MemberFabricLogPublishingConfiguration added in v0.21.0

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) MarshalFields added in v0.21.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MemberFabricLogPublishingConfiguration) String added in v0.21.0

String returns the string representation

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MemberFrameworkAttributes) String

func (s MemberFrameworkAttributes) String() string

String returns the string representation

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MemberFrameworkConfiguration) String

String returns the string representation

func (*MemberFrameworkConfiguration) Validate

func (s *MemberFrameworkConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MemberLogPublishingConfiguration added in v0.21.0

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) MarshalFields added in v0.21.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MemberLogPublishingConfiguration) String added in v0.21.0

String returns the string representation

type MemberStatus

type MemberStatus string
const (
	MemberStatusCreating     MemberStatus = "CREATING"
	MemberStatusAvailable    MemberStatus = "AVAILABLE"
	MemberStatusCreateFailed MemberStatus = "CREATE_FAILED"
	MemberStatusUpdating     MemberStatus = "UPDATING"
	MemberStatusDeleting     MemberStatus = "DELETING"
	MemberStatusDeleted      MemberStatus = "DELETED"
)

Enum values for MemberStatus

func (MemberStatus) MarshalValue

func (enum MemberStatus) MarshalValue() (string, error)

func (MemberStatus) MarshalValueBuf

func (enum MemberStatus) MarshalValueBuf(b []byte) ([]byte, error)

type MemberSummary

type MemberSummary struct {

	// 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 AWS account or a different
	// AWS account.
	IsOwned *bool `type:"boolean"`

	// The name of the member.
	Name *string `min:"1" type:"string"`

	// The status of the member.
	//
	//    * CREATING - The AWS account is in the process of creating a member.
	//
	//    * AVAILABLE - The member has been created and can participate in the network.
	//
	//    * CREATE_FAILED - The AWS account attempted to create a member and creation
	//    failed.
	//
	//    * DELETING - The member and all associated resources are in the process
	//    of being deleted. Either the AWS account that owns the member deleted
	//    it, or the member is being deleted as the result of an APPROVED PROPOSAL
	//    to remove the member.
	//
	//    * DELETED - The member can no longer participate on the network and all
	//    associated resources are deleted. Either the AWS account that owns the
	//    member deleted it, or the member is being deleted as the result of an
	//    APPROVED PROPOSAL to remove the member.
	Status MemberStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A summary of configuration properties for a member.

func (MemberSummary) MarshalFields

func (s MemberSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MemberSummary) String

func (s MemberSummary) String() string

String returns the string representation

type Network

type Network struct {

	// 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 Framework `type:"string" enum:"true"`

	// 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 NetworkStatus `type:"string" enum:"true"`

	// The voting rules for the network 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) MarshalFields

func (s Network) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Network) String

func (s Network) String() string

String returns the string representation

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 Edition `type:"string" enum:"true"`

	// 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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NetworkFabricAttributes) String

func (s NetworkFabricAttributes) String() string

String returns the string representation

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 Edition `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Hyperledger Fabric configuration properties for the network.

func (NetworkFabricConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NetworkFabricConfiguration) String

String returns the string representation

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NetworkFrameworkAttributes) String

String returns the string representation

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NetworkFrameworkConfiguration) String

String returns the string representation

func (*NetworkFrameworkConfiguration) Validate

func (s *NetworkFrameworkConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type NetworkStatus

type NetworkStatus string
const (
	NetworkStatusCreating     NetworkStatus = "CREATING"
	NetworkStatusAvailable    NetworkStatus = "AVAILABLE"
	NetworkStatusCreateFailed NetworkStatus = "CREATE_FAILED"
	NetworkStatusDeleting     NetworkStatus = "DELETING"
	NetworkStatusDeleted      NetworkStatus = "DELETED"
)

Enum values for NetworkStatus

func (NetworkStatus) MarshalValue

func (enum NetworkStatus) MarshalValue() (string, error)

func (NetworkStatus) MarshalValueBuf

func (enum NetworkStatus) MarshalValueBuf(b []byte) ([]byte, error)

type NetworkSummary

type NetworkSummary struct {

	// 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 Framework `type:"string" enum:"true"`

	// 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 NetworkStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A summary of network configuration properties.

func (NetworkSummary) MarshalFields

func (s NetworkSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NetworkSummary) String

func (s NetworkSummary) String() string

String returns the string representation

type Node

type Node struct {

	// 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"`

	// 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"`

	// Configuration properties for logging events associated with a peer node owned
	// by a member in a Managed Blockchain network.
	LogPublishingConfiguration *NodeLogPublishingConfiguration `type:"structure"`

	// The unique identifier of the member to which the node belongs.
	MemberId *string `min:"1" type:"string"`

	// The unique identifier of the network that the node is in.
	NetworkId *string `min:"1" type:"string"`

	// The status of the node.
	Status NodeStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Configuration properties of a peer node.

func (Node) MarshalFields

func (s Node) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Node) String

func (s Node) String() string

String returns the string representation

type NodeConfiguration

type NodeConfiguration struct {

	// The Availability Zone in which the node exists.
	//
	// AvailabilityZone is a required field
	AvailabilityZone *string `type:"string" required:"true"`

	// 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 owned
	// by a member in a Managed Blockchain network.
	LogPublishingConfiguration *NodeLogPublishingConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

Configuration properties of a peer node.

func (NodeConfiguration) MarshalFields

func (s NodeConfiguration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NodeConfiguration) String

func (s NodeConfiguration) String() string

String returns the string representation

func (*NodeConfiguration) Validate

func (s *NodeConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

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 Managed Blockchain network that uses Hyperledger Fabric.

func (NodeFabricAttributes) MarshalFields

func (s NodeFabricAttributes) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NodeFabricAttributes) String

func (s NodeFabricAttributes) String() string

String returns the string representation

type NodeFabricLogPublishingConfiguration added in v0.21.0

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) MarshalFields added in v0.21.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NodeFabricLogPublishingConfiguration) String added in v0.21.0

String returns the string representation

type NodeFrameworkAttributes

type NodeFrameworkAttributes struct {

	// 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 peer node on a Managed Blockchain network for the blockchain framework that the network uses.

func (NodeFrameworkAttributes) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NodeFrameworkAttributes) String

func (s NodeFrameworkAttributes) String() string

String returns the string representation

type NodeLogPublishingConfiguration added in v0.21.0

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 owned by a member in a Managed Blockchain network.

func (NodeLogPublishingConfiguration) MarshalFields added in v0.21.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NodeLogPublishingConfiguration) String added in v0.21.0

String returns the string representation

type NodeStatus

type NodeStatus string
const (
	NodeStatusCreating     NodeStatus = "CREATING"
	NodeStatusAvailable    NodeStatus = "AVAILABLE"
	NodeStatusCreateFailed NodeStatus = "CREATE_FAILED"
	NodeStatusUpdating     NodeStatus = "UPDATING"
	NodeStatusDeleting     NodeStatus = "DELETING"
	NodeStatusDeleted      NodeStatus = "DELETED"
	NodeStatusFailed       NodeStatus = "FAILED"
)

Enum values for NodeStatus

func (NodeStatus) MarshalValue

func (enum NodeStatus) MarshalValue() (string, error)

func (NodeStatus) MarshalValueBuf

func (enum NodeStatus) MarshalValueBuf(b []byte) ([]byte, error)

type NodeSummary

type NodeSummary struct {

	// 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 NodeStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A summary of configuration properties for a peer node.

func (NodeSummary) MarshalFields

func (s NodeSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NodeSummary) String

func (s NodeSummary) String() string

String returns the string representation

type Proposal

type Proposal struct {

	// The actions to perform on the network if the proposal is APPROVED.
	Actions *ProposalActions `type:"structure"`

	// 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 have not cast enough votes to determine
	// the outcome according to the voting policy, the proposal is EXPIRED and Actions
	// are not carried out.
	ExpirationDate *time.Time `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 are not carried out.
	//
	//    * EXPIRED - Members did not cast the number of votes required to determine
	//    the proposal outcome before the proposal expired. The specified ProposalActions
	//    are not carried out.
	//
	//    * ACTION_FAILED - One or more of the specified ProposalActions in a proposal
	//    that was approved could not be completed because of an error. The ACTION_FAILED
	//    status occurs even if only one ProposalAction fails and other actions
	//    are successful.
	Status ProposalStatus `type:"string" enum:"true"`

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

func (Proposal) MarshalFields

func (s Proposal) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Proposal) String

func (s Proposal) String() string

String returns the string representation

type ProposalActions

type ProposalActions struct {

	// The actions to perform for an APPROVED proposal to invite an AWS 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.

func (ProposalActions) MarshalFields

func (s ProposalActions) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ProposalActions) String

func (s ProposalActions) String() string

String returns the string representation

func (*ProposalActions) Validate

func (s *ProposalActions) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ProposalStatus

type ProposalStatus string
const (
	ProposalStatusInProgress   ProposalStatus = "IN_PROGRESS"
	ProposalStatusApproved     ProposalStatus = "APPROVED"
	ProposalStatusRejected     ProposalStatus = "REJECTED"
	ProposalStatusExpired      ProposalStatus = "EXPIRED"
	ProposalStatusActionFailed ProposalStatus = "ACTION_FAILED"
)

Enum values for ProposalStatus

func (ProposalStatus) MarshalValue

func (enum ProposalStatus) MarshalValue() (string, error)

func (ProposalStatus) MarshalValueBuf

func (enum ProposalStatus) MarshalValueBuf(b []byte) ([]byte, error)

type ProposalSummary

type ProposalSummary struct {

	// 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 have not cast enough votes to determine
	// the outcome according to the voting policy, the proposal is EXPIRED and Actions
	// are not carried out.
	ExpirationDate *time.Time `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 are not carried out.
	//
	//    * EXPIRED - Members did not cast the number of votes required to determine
	//    the proposal outcome before the proposal expired. The specified ProposalActions
	//    are not carried out.
	//
	//    * ACTION_FAILED - One or more of the specified ProposalActions in a proposal
	//    that was approved could not be completed because of an error.
	Status ProposalStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Properties of a proposal.

func (ProposalSummary) MarshalFields

func (s ProposalSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ProposalSummary) String

func (s ProposalSummary) String() string

String returns the string representation

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

func (s RejectInvitationInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RejectInvitationInput) String

func (s RejectInvitationInput) String() string

String returns the string representation

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RejectInvitationOutput) String

func (s RejectInvitationOutput) String() string

String returns the string representation

type RejectInvitationRequest

type RejectInvitationRequest struct {
	*aws.Request
	Input *RejectInvitationInput
	Copy  func(*RejectInvitationInput) RejectInvitationRequest
}

RejectInvitationRequest is the request type for the RejectInvitation API operation.

func (RejectInvitationRequest) Send

Send marshals and sends the RejectInvitation API request.

type RejectInvitationResponse

type RejectInvitationResponse struct {
	*RejectInvitationOutput
	// contains filtered or unexported fields
}

RejectInvitationResponse is the response type for the RejectInvitation API operation.

func (*RejectInvitationResponse) SDKResponseMetdata

func (r *RejectInvitationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RejectInvitation request.

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.

func (RemoveAction) MarshalFields

func (s RemoveAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RemoveAction) String

func (s RemoveAction) String() string

String returns the string representation

func (*RemoveAction) Validate

func (s *RemoveAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ThresholdComparator

type ThresholdComparator string
const (
	ThresholdComparatorGreaterThan          ThresholdComparator = "GREATER_THAN"
	ThresholdComparatorGreaterThanOrEqualTo ThresholdComparator = "GREATER_THAN_OR_EQUAL_TO"
)

Enum values for ThresholdComparator

func (ThresholdComparator) MarshalValue

func (enum ThresholdComparator) MarshalValue() (string, error)

func (ThresholdComparator) MarshalValueBuf

func (enum ThresholdComparator) MarshalValueBuf(b []byte) ([]byte, error)

type UpdateMemberInput added in v0.21.0

type UpdateMemberInput struct {

	// Configuration properties for publishing to Amazon CloudWatch Logs.
	LogPublishingConfiguration *MemberLogPublishingConfiguration `type:"structure"`

	// The unique ID of the member.
	//
	// MemberId is a required field
	MemberId *string `location:"uri" locationName:"memberId" min:"1" type:"string" required:"true"`

	// The unique ID 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) MarshalFields added in v0.21.0

func (s UpdateMemberInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateMemberInput) String added in v0.21.0

func (s UpdateMemberInput) String() string

String returns the string representation

func (*UpdateMemberInput) Validate added in v0.21.0

func (s *UpdateMemberInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateMemberOutput added in v0.21.0

type UpdateMemberOutput struct {
	// contains filtered or unexported fields
}

func (UpdateMemberOutput) MarshalFields added in v0.21.0

func (s UpdateMemberOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateMemberOutput) String added in v0.21.0

func (s UpdateMemberOutput) String() string

String returns the string representation

type UpdateMemberRequest added in v0.21.0

type UpdateMemberRequest struct {
	*aws.Request
	Input *UpdateMemberInput
	Copy  func(*UpdateMemberInput) UpdateMemberRequest
}

UpdateMemberRequest is the request type for the UpdateMember API operation.

func (UpdateMemberRequest) Send added in v0.21.0

Send marshals and sends the UpdateMember API request.

type UpdateMemberResponse added in v0.21.0

type UpdateMemberResponse struct {
	*UpdateMemberOutput
	// contains filtered or unexported fields
}

UpdateMemberResponse is the response type for the UpdateMember API operation.

func (*UpdateMemberResponse) SDKResponseMetdata added in v0.21.0

func (r *UpdateMemberResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateMember request.

type UpdateNodeInput added in v0.21.0

type UpdateNodeInput struct {

	// Configuration properties for publishing to Amazon CloudWatch Logs.
	LogPublishingConfiguration *NodeLogPublishingConfiguration `type:"structure"`

	// The unique ID of the member that owns the node.
	//
	// MemberId is a required field
	MemberId *string `location:"uri" locationName:"memberId" min:"1" type:"string" required:"true"`

	// The unique ID of the Managed Blockchain network to which the node belongs.
	//
	// NetworkId is a required field
	NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"`

	// The unique ID 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) MarshalFields added in v0.21.0

func (s UpdateNodeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateNodeInput) String added in v0.21.0

func (s UpdateNodeInput) String() string

String returns the string representation

func (*UpdateNodeInput) Validate added in v0.21.0

func (s *UpdateNodeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateNodeOutput added in v0.21.0

type UpdateNodeOutput struct {
	// contains filtered or unexported fields
}

func (UpdateNodeOutput) MarshalFields added in v0.21.0

func (s UpdateNodeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateNodeOutput) String added in v0.21.0

func (s UpdateNodeOutput) String() string

String returns the string representation

type UpdateNodeRequest added in v0.21.0

type UpdateNodeRequest struct {
	*aws.Request
	Input *UpdateNodeInput
	Copy  func(*UpdateNodeInput) UpdateNodeRequest
}

UpdateNodeRequest is the request type for the UpdateNode API operation.

func (UpdateNodeRequest) Send added in v0.21.0

Send marshals and sends the UpdateNode API request.

type UpdateNodeResponse added in v0.21.0

type UpdateNodeResponse struct {
	*UpdateNodeOutput
	// contains filtered or unexported fields
}

UpdateNodeResponse is the response type for the UpdateNode API operation.

func (*UpdateNodeResponse) SDKResponseMetdata added in v0.21.0

func (r *UpdateNodeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateNode request.

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 VoteValue `type:"string" required:"true" enum:"true"`

	// 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) MarshalFields

func (s VoteOnProposalInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (VoteOnProposalInput) String

func (s VoteOnProposalInput) String() string

String returns the string representation

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

func (s VoteOnProposalOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (VoteOnProposalOutput) String

func (s VoteOnProposalOutput) String() string

String returns the string representation

type VoteOnProposalRequest

type VoteOnProposalRequest struct {
	*aws.Request
	Input *VoteOnProposalInput
	Copy  func(*VoteOnProposalInput) VoteOnProposalRequest
}

VoteOnProposalRequest is the request type for the VoteOnProposal API operation.

func (VoteOnProposalRequest) Send

Send marshals and sends the VoteOnProposal API request.

type VoteOnProposalResponse

type VoteOnProposalResponse struct {
	*VoteOnProposalOutput
	// contains filtered or unexported fields
}

VoteOnProposalResponse is the response type for the VoteOnProposal API operation.

func (*VoteOnProposalResponse) SDKResponseMetdata

func (r *VoteOnProposalResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the VoteOnProposal request.

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 VoteValue `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Properties of an individual vote that a member cast for a proposal.

func (VoteSummary) MarshalFields

func (s VoteSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (VoteSummary) String

func (s VoteSummary) String() string

String returns the string representation

type VoteValue

type VoteValue string
const (
	VoteValueYes VoteValue = "YES"
	VoteValueNo  VoteValue = "NO"
)

Enum values for VoteValue

func (VoteValue) MarshalValue

func (enum VoteValue) MarshalValue() (string, error)

func (VoteValue) MarshalValueBuf

func (enum VoteValue) MarshalValueBuf(b []byte) ([]byte, error)

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

func (VotingPolicy) MarshalFields

func (s VotingPolicy) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (VotingPolicy) String

func (s VotingPolicy) String() string

String returns the string representation

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL