managedblockchain

package
v1.99.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package managedblockchain provides the client and types for making API requests to Amazon Managed Blockchain.

Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority. 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 contact Amazon Managed Blockchain with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Managed Blockchain client ManagedBlockchain for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/managedblockchain/#New

Index

Constants

View Source
const (
	// EditionStarter is a Edition enum value
	EditionStarter = "STARTER"

	// EditionStandard is a Edition enum value
	EditionStandard = "STANDARD"
)
View Source
const (
	// InvitationStatusPending is a InvitationStatus enum value
	InvitationStatusPending = "PENDING"

	// InvitationStatusAccepted is a InvitationStatus enum value
	InvitationStatusAccepted = "ACCEPTED"

	// InvitationStatusAccepting is a InvitationStatus enum value
	InvitationStatusAccepting = "ACCEPTING"

	// InvitationStatusRejected is a InvitationStatus enum value
	InvitationStatusRejected = "REJECTED"

	// InvitationStatusExpired is a InvitationStatus enum value
	InvitationStatusExpired = "EXPIRED"
)
View Source
const (
	// MemberStatusCreating is a MemberStatus enum value
	MemberStatusCreating = "CREATING"

	// MemberStatusAvailable is a MemberStatus enum value
	MemberStatusAvailable = "AVAILABLE"

	// MemberStatusCreateFailed is a MemberStatus enum value
	MemberStatusCreateFailed = "CREATE_FAILED"

	// MemberStatusDeleting is a MemberStatus enum value
	MemberStatusDeleting = "DELETING"

	// MemberStatusDeleted is a MemberStatus enum value
	MemberStatusDeleted = "DELETED"
)
View Source
const (
	// NetworkStatusCreating is a NetworkStatus enum value
	NetworkStatusCreating = "CREATING"

	// NetworkStatusAvailable is a NetworkStatus enum value
	NetworkStatusAvailable = "AVAILABLE"

	// NetworkStatusCreateFailed is a NetworkStatus enum value
	NetworkStatusCreateFailed = "CREATE_FAILED"

	// NetworkStatusDeleting is a NetworkStatus enum value
	NetworkStatusDeleting = "DELETING"

	// NetworkStatusDeleted is a NetworkStatus enum value
	NetworkStatusDeleted = "DELETED"
)
View Source
const (
	// NodeStatusCreating is a NodeStatus enum value
	NodeStatusCreating = "CREATING"

	// NodeStatusAvailable is a NodeStatus enum value
	NodeStatusAvailable = "AVAILABLE"

	// NodeStatusCreateFailed is a NodeStatus enum value
	NodeStatusCreateFailed = "CREATE_FAILED"

	// NodeStatusDeleting is a NodeStatus enum value
	NodeStatusDeleting = "DELETING"

	// NodeStatusDeleted is a NodeStatus enum value
	NodeStatusDeleted = "DELETED"

	// NodeStatusFailed is a NodeStatus enum value
	NodeStatusFailed = "FAILED"
)
View Source
const (
	// ProposalStatusInProgress is a ProposalStatus enum value
	ProposalStatusInProgress = "IN_PROGRESS"

	// ProposalStatusApproved is a ProposalStatus enum value
	ProposalStatusApproved = "APPROVED"

	// ProposalStatusRejected is a ProposalStatus enum value
	ProposalStatusRejected = "REJECTED"

	// ProposalStatusExpired is a ProposalStatus enum value
	ProposalStatusExpired = "EXPIRED"

	// ProposalStatusActionFailed is a ProposalStatus enum value
	ProposalStatusActionFailed = "ACTION_FAILED"
)
View Source
const (
	// ThresholdComparatorGreaterThan is a ThresholdComparator enum value
	ThresholdComparatorGreaterThan = "GREATER_THAN"

	// ThresholdComparatorGreaterThanOrEqualTo is a ThresholdComparator enum value
	ThresholdComparatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO"
)
View Source
const (
	// VoteValueYes is a VoteValue enum value
	VoteValueYes = "YES"

	// VoteValueNo is a VoteValue enum value
	VoteValueNo = "NO"
)
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"
)
View Source
const (
	ServiceName = "ManagedBlockchain" // Name of service.
	EndpointsID = "managedblockchain" // ID to lookup a service endpoint with.
	ServiceID   = "ManagedBlockchain" // ServiceID is a unique identifer of a specific service.
)

Service information constants

View Source
const (
	// FrameworkHyperledgerFabric is a Framework enum value
	FrameworkHyperledgerFabric = "HYPERLEDGER_FABRIC"
)

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 *string `type:"string" enum:"ThresholdComparator"`

	// The percentage of votes among all members that must be YES for a proposal
	// to be approved. For example, a ThresholdPercentage value of 50 indicates
	// 50%. The ThresholdComparator determines the precise comparison. If a ThresholdPercentage
	// value of 50 is specified on a network with 10 members, along with a ThresholdComparator
	// value of GREATER_THAN, this indicates that 6 YES votes are required for the
	// proposal to be approved.
	ThresholdPercentage *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A policy type that defines the voting rules for the network. The rules decide if a proposal is approved. Approval may be based on criteria such as the percentage of YES votes and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.

func (ApprovalThresholdPolicy) GoString

func (s ApprovalThresholdPolicy) GoString() string

GoString returns the string representation

func (*ApprovalThresholdPolicy) SetProposalDurationInHours

func (s *ApprovalThresholdPolicy) SetProposalDurationInHours(v int64) *ApprovalThresholdPolicy

SetProposalDurationInHours sets the ProposalDurationInHours field's value.

func (*ApprovalThresholdPolicy) SetThresholdComparator

func (s *ApprovalThresholdPolicy) SetThresholdComparator(v string) *ApprovalThresholdPolicy

SetThresholdComparator sets the ThresholdComparator field's value.

func (*ApprovalThresholdPolicy) SetThresholdPercentage

func (s *ApprovalThresholdPolicy) SetThresholdPercentage(v int64) *ApprovalThresholdPolicy

SetThresholdPercentage sets the ThresholdPercentage field's value.

func (ApprovalThresholdPolicy) String

func (s ApprovalThresholdPolicy) String() string

String returns the string representation

func (*ApprovalThresholdPolicy) Validate

func (s *ApprovalThresholdPolicy) Validate() error

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

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 *string `min:"1" type:"string" idempotencyToken:"true"`

	// The unique identifier of the invitation that is sent to the member to join
	// the network.
	//
	// InvitationId is a required field
	InvitationId *string `min:"1" type:"string" required:"true"`

	// Member configuration parameters.
	//
	// MemberConfiguration is a required field
	MemberConfiguration *MemberConfiguration `type:"structure" required:"true"`

	// The unique identifier of the network in which the member is created.
	//
	// NetworkId is a required field
	NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateMemberInput) GoString

func (s CreateMemberInput) GoString() string

GoString returns the string representation

func (*CreateMemberInput) SetClientRequestToken

func (s *CreateMemberInput) SetClientRequestToken(v string) *CreateMemberInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateMemberInput) SetInvitationId

func (s *CreateMemberInput) SetInvitationId(v string) *CreateMemberInput

SetInvitationId sets the InvitationId field's value.

func (*CreateMemberInput) SetMemberConfiguration

func (s *CreateMemberInput) SetMemberConfiguration(v *MemberConfiguration) *CreateMemberInput

SetMemberConfiguration sets the MemberConfiguration field's value.

func (*CreateMemberInput) SetNetworkId

func (s *CreateMemberInput) SetNetworkId(v string) *CreateMemberInput

SetNetworkId sets the NetworkId field's value.

func (CreateMemberInput) String

func (s CreateMemberInput) String() string

String returns the string representation

func (*CreateMemberInput) Validate

func (s *CreateMemberInput) Validate() error

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

type CreateMemberOutput

type CreateMemberOutput struct {

	// The unique identifier of the member.
	MemberId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateMemberOutput) GoString

func (s CreateMemberOutput) GoString() string

GoString returns the string representation

func (*CreateMemberOutput) SetMemberId

func (s *CreateMemberOutput) SetMemberId(v string) *CreateMemberOutput

SetMemberId sets the MemberId field's value.

func (CreateMemberOutput) String

func (s CreateMemberOutput) String() string

String returns the string representation

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 *string `min:"1" type:"string" idempotencyToken:"true"`

	// An optional description for the network.
	Description *string `type:"string"`

	// The blockchain framework that the network uses.
	//
	// Framework is a required field
	Framework *string `type:"string" required:"true" enum:"Framework"`

	// Configuration properties of the blockchain framework relevant to the network
	// configuration.
	FrameworkConfiguration *NetworkFrameworkConfiguration `type:"structure"`

	// The version of the blockchain framework that the network uses.
	//
	// FrameworkVersion is a required field
	FrameworkVersion *string `min:"1" type:"string" required:"true"`

	// Configuration properties for the first member within the network.
	//
	// MemberConfiguration is a required field
	MemberConfiguration *MemberConfiguration `type:"structure" required:"true"`

	// The name of the network.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The voting rules used by the network to determine if a proposal is approved.
	//
	// VotingPolicy is a required field
	VotingPolicy *VotingPolicy `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateNetworkInput) GoString

func (s CreateNetworkInput) GoString() string

GoString returns the string representation

func (*CreateNetworkInput) SetClientRequestToken

func (s *CreateNetworkInput) SetClientRequestToken(v string) *CreateNetworkInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateNetworkInput) SetDescription

func (s *CreateNetworkInput) SetDescription(v string) *CreateNetworkInput

SetDescription sets the Description field's value.

func (*CreateNetworkInput) SetFramework

func (s *CreateNetworkInput) SetFramework(v string) *CreateNetworkInput

SetFramework sets the Framework field's value.

func (*CreateNetworkInput) SetFrameworkConfiguration

func (s *CreateNetworkInput) SetFrameworkConfiguration(v *NetworkFrameworkConfiguration) *CreateNetworkInput

SetFrameworkConfiguration sets the FrameworkConfiguration field's value.

func (*CreateNetworkInput) SetFrameworkVersion

func (s *CreateNetworkInput) SetFrameworkVersion(v string) *CreateNetworkInput

SetFrameworkVersion sets the FrameworkVersion field's value.

func (*CreateNetworkInput) SetMemberConfiguration

func (s *CreateNetworkInput) SetMemberConfiguration(v *MemberConfiguration) *CreateNetworkInput

SetMemberConfiguration sets the MemberConfiguration field's value.

func (*CreateNetworkInput) SetName

SetName sets the Name field's value.

func (*CreateNetworkInput) SetVotingPolicy

func (s *CreateNetworkInput) SetVotingPolicy(v *VotingPolicy) *CreateNetworkInput

SetVotingPolicy sets the VotingPolicy field's value.

func (CreateNetworkInput) String

func (s CreateNetworkInput) String() string

String returns the string representation

func (*CreateNetworkInput) Validate

func (s *CreateNetworkInput) Validate() error

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

type CreateNetworkOutput

type CreateNetworkOutput struct {

	// The unique identifier for the first member within the network.
	MemberId *string `min:"1" type:"string"`

	// The unique identifier for the network.
	NetworkId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateNetworkOutput) GoString

func (s CreateNetworkOutput) GoString() string

GoString returns the string representation

func (*CreateNetworkOutput) SetMemberId

func (s *CreateNetworkOutput) SetMemberId(v string) *CreateNetworkOutput

SetMemberId sets the MemberId field's value.

func (*CreateNetworkOutput) SetNetworkId

func (s *CreateNetworkOutput) SetNetworkId(v string) *CreateNetworkOutput

SetNetworkId sets the NetworkId field's value.

func (CreateNetworkOutput) String

func (s CreateNetworkOutput) String() string

String returns the string representation

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 *string `min:"1" type:"string" 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) GoString

func (s CreateNodeInput) GoString() string

GoString returns the string representation

func (*CreateNodeInput) SetClientRequestToken

func (s *CreateNodeInput) SetClientRequestToken(v string) *CreateNodeInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateNodeInput) SetMemberId

func (s *CreateNodeInput) SetMemberId(v string) *CreateNodeInput

SetMemberId sets the MemberId field's value.

func (*CreateNodeInput) SetNetworkId

func (s *CreateNodeInput) SetNetworkId(v string) *CreateNodeInput

SetNetworkId sets the NetworkId field's value.

func (*CreateNodeInput) SetNodeConfiguration

func (s *CreateNodeInput) SetNodeConfiguration(v *NodeConfiguration) *CreateNodeInput

SetNodeConfiguration sets the NodeConfiguration field's value.

func (CreateNodeInput) 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) GoString

func (s CreateNodeOutput) GoString() string

GoString returns the string representation

func (*CreateNodeOutput) SetNodeId

func (s *CreateNodeOutput) SetNodeId(v string) *CreateNodeOutput

SetNodeId sets the NodeId field's value.

func (CreateNodeOutput) String

func (s CreateNodeOutput) String() string

String returns the string representation

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 *string `min:"1" type:"string" idempotencyToken:"true"`

	// A description for the proposal that is visible to voting members, for example,
	// "Proposal to add Example Corp. as member."
	Description *string `type:"string"`

	// The unique identifier of the member that is creating the proposal. This identifier
	// is especially useful for identifying the member making the proposal when
	// multiple members exist in a single 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) GoString

func (s CreateProposalInput) GoString() string

GoString returns the string representation

func (*CreateProposalInput) SetActions

SetActions sets the Actions field's value.

func (*CreateProposalInput) SetClientRequestToken

func (s *CreateProposalInput) SetClientRequestToken(v string) *CreateProposalInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateProposalInput) SetDescription

func (s *CreateProposalInput) SetDescription(v string) *CreateProposalInput

SetDescription sets the Description field's value.

func (*CreateProposalInput) SetMemberId

func (s *CreateProposalInput) SetMemberId(v string) *CreateProposalInput

SetMemberId sets the MemberId field's value.

func (*CreateProposalInput) SetNetworkId

func (s *CreateProposalInput) SetNetworkId(v string) *CreateProposalInput

SetNetworkId sets the NetworkId field's value.

func (CreateProposalInput) 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) GoString

func (s CreateProposalOutput) GoString() string

GoString returns the string representation

func (*CreateProposalOutput) SetProposalId

func (s *CreateProposalOutput) SetProposalId(v string) *CreateProposalOutput

SetProposalId sets the ProposalId field's value.

func (CreateProposalOutput) String

func (s CreateProposalOutput) String() string

String returns the string representation

type DeleteMemberInput

type DeleteMemberInput struct {

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

	// The unique identifier of the network from which the member is removed.
	//
	// NetworkId is a required field
	NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMemberInput) GoString

func (s DeleteMemberInput) GoString() string

GoString returns the string representation

func (*DeleteMemberInput) SetMemberId

func (s *DeleteMemberInput) SetMemberId(v string) *DeleteMemberInput

SetMemberId sets the MemberId field's value.

func (*DeleteMemberInput) SetNetworkId

func (s *DeleteMemberInput) SetNetworkId(v string) *DeleteMemberInput

SetNetworkId sets the NetworkId field's value.

func (DeleteMemberInput) String

func (s DeleteMemberInput) String() string

String returns the string representation

func (*DeleteMemberInput) Validate

func (s *DeleteMemberInput) Validate() error

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

type DeleteMemberOutput

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

func (DeleteMemberOutput) GoString

func (s DeleteMemberOutput) GoString() string

GoString returns the string representation

func (DeleteMemberOutput) String

func (s DeleteMemberOutput) String() string

String returns the string representation

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

func (s DeleteNodeInput) GoString() string

GoString returns the string representation

func (*DeleteNodeInput) SetMemberId

func (s *DeleteNodeInput) SetMemberId(v string) *DeleteNodeInput

SetMemberId sets the MemberId field's value.

func (*DeleteNodeInput) SetNetworkId

func (s *DeleteNodeInput) SetNetworkId(v string) *DeleteNodeInput

SetNetworkId sets the NetworkId field's value.

func (*DeleteNodeInput) SetNodeId

func (s *DeleteNodeInput) SetNodeId(v string) *DeleteNodeInput

SetNodeId sets the NodeId field's value.

func (DeleteNodeInput) String

func (s DeleteNodeInput) String() string

String returns the string representation

func (*DeleteNodeInput) Validate

func (s *DeleteNodeInput) Validate() error

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

type DeleteNodeOutput

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

func (DeleteNodeOutput) GoString

func (s DeleteNodeOutput) GoString() string

GoString returns the string representation

func (DeleteNodeOutput) String

func (s DeleteNodeOutput) String() string

String returns the string representation

type GetMemberInput

type GetMemberInput struct {

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

	// The unique identifier of the network to which the member belongs.
	//
	// NetworkId is a required field
	NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMemberInput) GoString

func (s GetMemberInput) GoString() string

GoString returns the string representation

func (*GetMemberInput) SetMemberId

func (s *GetMemberInput) SetMemberId(v string) *GetMemberInput

SetMemberId sets the MemberId field's value.

func (*GetMemberInput) SetNetworkId

func (s *GetMemberInput) SetNetworkId(v string) *GetMemberInput

SetNetworkId sets the NetworkId field's value.

func (GetMemberInput) String

func (s GetMemberInput) String() string

String returns the string representation

func (*GetMemberInput) Validate

func (s *GetMemberInput) Validate() error

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

type GetMemberOutput

type GetMemberOutput struct {

	// The properties of a member.
	Member *Member `type:"structure"`
	// contains filtered or unexported fields
}

func (GetMemberOutput) GoString

func (s GetMemberOutput) GoString() string

GoString returns the string representation

func (*GetMemberOutput) SetMember

func (s *GetMemberOutput) SetMember(v *Member) *GetMemberOutput

SetMember sets the Member field's value.

func (GetMemberOutput) String

func (s GetMemberOutput) String() string

String returns the string representation

type GetNetworkInput

type GetNetworkInput struct {

	// The unique identifier of the network to get information about.
	//
	// NetworkId is a required field
	NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetNetworkInput) GoString

func (s GetNetworkInput) GoString() string

GoString returns the string representation

func (*GetNetworkInput) SetNetworkId

func (s *GetNetworkInput) SetNetworkId(v string) *GetNetworkInput

SetNetworkId sets the NetworkId field's value.

func (GetNetworkInput) String

func (s GetNetworkInput) String() string

String returns the string representation

func (*GetNetworkInput) Validate

func (s *GetNetworkInput) Validate() error

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

type GetNetworkOutput

type GetNetworkOutput struct {

	// An object containing network configuration parameters.
	Network *Network `type:"structure"`
	// contains filtered or unexported fields
}

func (GetNetworkOutput) GoString

func (s GetNetworkOutput) GoString() string

GoString returns the string representation

func (*GetNetworkOutput) SetNetwork

func (s *GetNetworkOutput) SetNetwork(v *Network) *GetNetworkOutput

SetNetwork sets the Network field's value.

func (GetNetworkOutput) String

func (s GetNetworkOutput) String() string

String returns the string representation

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

func (s GetNodeInput) GoString() string

GoString returns the string representation

func (*GetNodeInput) SetMemberId

func (s *GetNodeInput) SetMemberId(v string) *GetNodeInput

SetMemberId sets the MemberId field's value.

func (*GetNodeInput) SetNetworkId

func (s *GetNodeInput) SetNetworkId(v string) *GetNodeInput

SetNetworkId sets the NetworkId field's value.

func (*GetNodeInput) SetNodeId

func (s *GetNodeInput) SetNodeId(v string) *GetNodeInput

SetNodeId sets the NodeId field's value.

func (GetNodeInput) String

func (s GetNodeInput) String() string

String returns the string representation

func (*GetNodeInput) Validate

func (s *GetNodeInput) Validate() error

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

type GetNodeOutput

type GetNodeOutput struct {

	// Properties of the node configuration.
	Node *Node `type:"structure"`
	// contains filtered or unexported fields
}

func (GetNodeOutput) GoString

func (s GetNodeOutput) GoString() string

GoString returns the string representation

func (*GetNodeOutput) SetNode

func (s *GetNodeOutput) SetNode(v *Node) *GetNodeOutput

SetNode sets the Node field's value.

func (GetNodeOutput) String

func (s GetNodeOutput) String() string

String returns the string representation

type GetProposalInput

type GetProposalInput struct {

	// The unique identifier of the network for which the proposal is made.
	//
	// NetworkId is a required field
	NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"`

	// The unique identifier of the proposal.
	//
	// ProposalId is a required field
	ProposalId *string `location:"uri" locationName:"proposalId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetProposalInput) GoString

func (s GetProposalInput) GoString() string

GoString returns the string representation

func (*GetProposalInput) SetNetworkId

func (s *GetProposalInput) SetNetworkId(v string) *GetProposalInput

SetNetworkId sets the NetworkId field's value.

func (*GetProposalInput) SetProposalId

func (s *GetProposalInput) SetProposalId(v string) *GetProposalInput

SetProposalId sets the ProposalId field's value.

func (GetProposalInput) String

func (s GetProposalInput) String() string

String returns the string representation

func (*GetProposalInput) Validate

func (s *GetProposalInput) Validate() error

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

type GetProposalOutput

type GetProposalOutput struct {

	// Information about a proposal.
	Proposal *Proposal `type:"structure"`
	// contains filtered or unexported fields
}

func (GetProposalOutput) GoString

func (s GetProposalOutput) GoString() string

GoString returns the string representation

func (*GetProposalOutput) SetProposal

func (s *GetProposalOutput) SetProposal(v *Proposal) *GetProposalOutput

SetProposal sets the Proposal field's value.

func (GetProposalOutput) String

func (s GetProposalOutput) String() string

String returns the string representation

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

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

func (Invitation) GoString

func (s Invitation) GoString() string

GoString returns the string representation

func (*Invitation) SetCreationDate

func (s *Invitation) SetCreationDate(v time.Time) *Invitation

SetCreationDate sets the CreationDate field's value.

func (*Invitation) SetExpirationDate

func (s *Invitation) SetExpirationDate(v time.Time) *Invitation

SetExpirationDate sets the ExpirationDate field's value.

func (*Invitation) SetInvitationId

func (s *Invitation) SetInvitationId(v string) *Invitation

SetInvitationId sets the InvitationId field's value.

func (*Invitation) SetNetworkSummary

func (s *Invitation) SetNetworkSummary(v *NetworkSummary) *Invitation

SetNetworkSummary sets the NetworkSummary field's value.

func (*Invitation) SetStatus

func (s *Invitation) SetStatus(v string) *Invitation

SetStatus sets the Status field's value.

func (Invitation) String

func (s Invitation) String() string

String returns the string representation

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

func (s InviteAction) GoString() string

GoString returns the string representation

func (*InviteAction) SetPrincipal

func (s *InviteAction) SetPrincipal(v string) *InviteAction

SetPrincipal sets the Principal field's value.

func (InviteAction) String

func (s InviteAction) String() string

String returns the string representation

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

func (s ListInvitationsInput) GoString() string

GoString returns the string representation

func (*ListInvitationsInput) SetMaxResults

func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListInvitationsInput) SetNextToken

func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput

SetNextToken sets the NextToken field's value.

func (ListInvitationsInput) String

func (s ListInvitationsInput) String() string

String returns the string representation

func (*ListInvitationsInput) Validate

func (s *ListInvitationsInput) Validate() error

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

type ListInvitationsOutput

type ListInvitationsOutput struct {

	// The invitations for the network.
	Invitations []*Invitation `type:"list"`

	// The pagination token that indicates the next set of results to retrieve.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListInvitationsOutput) GoString

func (s ListInvitationsOutput) GoString() string

GoString returns the string representation

func (*ListInvitationsOutput) SetInvitations

func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput

SetInvitations sets the Invitations field's value.

func (*ListInvitationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListInvitationsOutput) String

func (s ListInvitationsOutput) String() string

String returns the string representation

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

func (ListMembersInput) GoString

func (s ListMembersInput) GoString() string

GoString returns the string representation

func (*ListMembersInput) SetIsOwned

func (s *ListMembersInput) SetIsOwned(v bool) *ListMembersInput

SetIsOwned sets the IsOwned field's value.

func (*ListMembersInput) SetMaxResults

func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput

SetMaxResults sets the MaxResults field's value.

func (*ListMembersInput) SetName

func (s *ListMembersInput) SetName(v string) *ListMembersInput

SetName sets the Name field's value.

func (*ListMembersInput) SetNetworkId

func (s *ListMembersInput) SetNetworkId(v string) *ListMembersInput

SetNetworkId sets the NetworkId field's value.

func (*ListMembersInput) SetNextToken

func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput

SetNextToken sets the NextToken field's value.

func (*ListMembersInput) SetStatus

func (s *ListMembersInput) SetStatus(v string) *ListMembersInput

SetStatus sets the Status field's value.

func (ListMembersInput) String

func (s ListMembersInput) String() string

String returns the string representation

func (*ListMembersInput) Validate

func (s *ListMembersInput) Validate() error

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

type ListMembersOutput

type ListMembersOutput struct {

	// An array of MemberSummary objects. Each object contains details about a network
	// member.
	Members []*MemberSummary `type:"list"`

	// The pagination token that indicates the next set of results to retrieve.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListMembersOutput) GoString

func (s ListMembersOutput) GoString() string

GoString returns the string representation

func (*ListMembersOutput) SetMembers

func (s *ListMembersOutput) SetMembers(v []*MemberSummary) *ListMembersOutput

SetMembers sets the Members field's value.

func (*ListMembersOutput) SetNextToken

func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput

SetNextToken sets the NextToken field's value.

func (ListMembersOutput) String

func (s ListMembersOutput) String() string

String returns the string representation

type ListNetworksInput

type ListNetworksInput struct {

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

	// The maximum number of networks to list.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The name of the network.
	Name *string `location:"querystring" locationName:"name" type:"string"`

	// The pagination token that indicates the next set of results to retrieve.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// An optional status specifier. If provided, only networks currently in this
	// status are listed.
	Status *string `location:"querystring" locationName:"status" type:"string" enum:"NetworkStatus"`
	// contains filtered or unexported fields
}

func (ListNetworksInput) GoString

func (s ListNetworksInput) GoString() string

GoString returns the string representation

func (*ListNetworksInput) SetFramework

func (s *ListNetworksInput) SetFramework(v string) *ListNetworksInput

SetFramework sets the Framework field's value.

func (*ListNetworksInput) SetMaxResults

func (s *ListNetworksInput) SetMaxResults(v int64) *ListNetworksInput

SetMaxResults sets the MaxResults field's value.

func (*ListNetworksInput) SetName

SetName sets the Name field's value.

func (*ListNetworksInput) SetNextToken

func (s *ListNetworksInput) SetNextToken(v string) *ListNetworksInput

SetNextToken sets the NextToken field's value.

func (*ListNetworksInput) SetStatus

func (s *ListNetworksInput) SetStatus(v string) *ListNetworksInput

SetStatus sets the Status field's value.

func (ListNetworksInput) String

func (s ListNetworksInput) String() string

String returns the string representation

func (*ListNetworksInput) Validate

func (s *ListNetworksInput) Validate() error

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

type ListNetworksOutput

type ListNetworksOutput struct {

	// An array of NetworkSummary objects that contain configuration properties
	// for each network.
	Networks []*NetworkSummary `type:"list"`

	// The pagination token that indicates the next set of results to retrieve.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListNetworksOutput) GoString

func (s ListNetworksOutput) GoString() string

GoString returns the string representation

func (*ListNetworksOutput) SetNetworks

SetNetworks sets the Networks field's value.

func (*ListNetworksOutput) SetNextToken

func (s *ListNetworksOutput) SetNextToken(v string) *ListNetworksOutput

SetNextToken sets the NextToken field's value.

func (ListNetworksOutput) String

func (s ListNetworksOutput) String() string

String returns the string representation

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

func (ListNodesInput) GoString

func (s ListNodesInput) GoString() string

GoString returns the string representation

func (*ListNodesInput) SetMaxResults

func (s *ListNodesInput) SetMaxResults(v int64) *ListNodesInput

SetMaxResults sets the MaxResults field's value.

func (*ListNodesInput) SetMemberId

func (s *ListNodesInput) SetMemberId(v string) *ListNodesInput

SetMemberId sets the MemberId field's value.

func (*ListNodesInput) SetNetworkId

func (s *ListNodesInput) SetNetworkId(v string) *ListNodesInput

SetNetworkId sets the NetworkId field's value.

func (*ListNodesInput) SetNextToken

func (s *ListNodesInput) SetNextToken(v string) *ListNodesInput

SetNextToken sets the NextToken field's value.

func (*ListNodesInput) SetStatus

func (s *ListNodesInput) SetStatus(v string) *ListNodesInput

SetStatus sets the Status field's value.

func (ListNodesInput) String

func (s ListNodesInput) String() string

String returns the string representation

func (*ListNodesInput) Validate

func (s *ListNodesInput) Validate() error

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

type ListNodesOutput

type ListNodesOutput struct {

	// The pagination token that indicates the next set of results to retrieve.
	NextToken *string `type:"string"`

	// An array of NodeSummary objects that contain configuration properties for
	// each node.
	Nodes []*NodeSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListNodesOutput) GoString

func (s ListNodesOutput) GoString() string

GoString returns the string representation

func (*ListNodesOutput) SetNextToken

func (s *ListNodesOutput) SetNextToken(v string) *ListNodesOutput

SetNextToken sets the NextToken field's value.

func (*ListNodesOutput) SetNodes

func (s *ListNodesOutput) SetNodes(v []*NodeSummary) *ListNodesOutput

SetNodes sets the Nodes field's value.

func (ListNodesOutput) String

func (s ListNodesOutput) String() string

String returns the string representation

type ListProposalVotesInput

type ListProposalVotesInput struct {

	// The maximum number of votes to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The unique identifier of the network.
	//
	// NetworkId is a required field
	NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"`

	// The pagination token that indicates the next set of results to retrieve.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The unique identifier of the proposal.
	//
	// ProposalId is a required field
	ProposalId *string `location:"uri" locationName:"proposalId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListProposalVotesInput) GoString

func (s ListProposalVotesInput) GoString() string

GoString returns the string representation

func (*ListProposalVotesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListProposalVotesInput) SetNetworkId

SetNetworkId sets the NetworkId field's value.

func (*ListProposalVotesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProposalVotesInput) SetProposalId

SetProposalId sets the ProposalId field's value.

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

func (s ListProposalVotesOutput) GoString() string

GoString returns the string representation

func (*ListProposalVotesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProposalVotesOutput) SetProposalVotes

func (s *ListProposalVotesOutput) SetProposalVotes(v []*VoteSummary) *ListProposalVotesOutput

SetProposalVotes sets the ProposalVotes field's value.

func (ListProposalVotesOutput) String

func (s ListProposalVotesOutput) String() string

String returns the string representation

type ListProposalsInput

type ListProposalsInput struct {

	// The maximum number of proposals to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The unique identifier of the network.
	//
	// NetworkId is a required field
	NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"`

	// The pagination token that indicates the next set of results to retrieve.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListProposalsInput) GoString

func (s ListProposalsInput) GoString() string

GoString returns the string representation

func (*ListProposalsInput) SetMaxResults

func (s *ListProposalsInput) SetMaxResults(v int64) *ListProposalsInput

SetMaxResults sets the MaxResults field's value.

func (*ListProposalsInput) SetNetworkId

func (s *ListProposalsInput) SetNetworkId(v string) *ListProposalsInput

SetNetworkId sets the NetworkId field's value.

func (*ListProposalsInput) SetNextToken

func (s *ListProposalsInput) SetNextToken(v string) *ListProposalsInput

SetNextToken sets the NextToken field's value.

func (ListProposalsInput) String

func (s ListProposalsInput) String() string

String returns the string representation

func (*ListProposalsInput) Validate

func (s *ListProposalsInput) Validate() error

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

type ListProposalsOutput

type ListProposalsOutput struct {

	// The pagination token that indicates the next set of results to retrieve.
	NextToken *string `type:"string"`

	// The summary of each proposal made on the network.
	Proposals []*ProposalSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListProposalsOutput) GoString

func (s ListProposalsOutput) GoString() string

GoString returns the string representation

func (*ListProposalsOutput) SetNextToken

func (s *ListProposalsOutput) SetNextToken(v string) *ListProposalsOutput

SetNextToken sets the NextToken field's value.

func (*ListProposalsOutput) SetProposals

SetProposals sets the Proposals field's value.

func (ListProposalsOutput) String

func (s ListProposalsOutput) String() string

String returns the string representation

type ManagedBlockchain

type ManagedBlockchain struct {
	*client.Client
}

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

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

func New

New creates a new instance of the ManagedBlockchain client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a ManagedBlockchain client from just a session.
svc := managedblockchain.New(mySession)

// Create a ManagedBlockchain client with additional configuration
svc := managedblockchain.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*ManagedBlockchain) CreateMember

func (c *ManagedBlockchain) CreateMember(input *CreateMemberInput) (*CreateMemberOutput, error)

CreateMember API operation for Amazon Managed Blockchain.

Creates a member within a Managed Blockchain network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation CreateMember for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" A resource request is issued for a resource that already exists.

  • ErrCodeResourceNotReadyException "ResourceNotReadyException" The requested resource exists but is not in a status that can complete the operation.

  • ErrCodeThrottlingException "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.

  • ErrCodeResourceLimitExceededException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) CreateMemberRequest

func (c *ManagedBlockchain) CreateMemberRequest(input *CreateMemberInput) (req *request.Request, output *CreateMemberOutput)

CreateMemberRequest generates a "aws/request.Request" representing the client's request for the CreateMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateMember for more information on using the CreateMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateMemberRequest method.
req, resp := client.CreateMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) CreateMemberWithContext

func (c *ManagedBlockchain) CreateMemberWithContext(ctx aws.Context, input *CreateMemberInput, opts ...request.Option) (*CreateMemberOutput, error)

CreateMemberWithContext is the same as CreateMember with the addition of the ability to pass a context and additional request options.

See CreateMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) CreateNetwork

func (c *ManagedBlockchain) CreateNetwork(input *CreateNetworkInput) (*CreateNetworkOutput, error)

CreateNetwork API operation for Amazon Managed Blockchain.

Creates a new blockchain network using Amazon Managed Blockchain.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation CreateNetwork for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" A resource request is issued for a resource that already exists.

  • ErrCodeThrottlingException "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.

  • ErrCodeResourceLimitExceededException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) CreateNetworkRequest

func (c *ManagedBlockchain) CreateNetworkRequest(input *CreateNetworkInput) (req *request.Request, output *CreateNetworkOutput)

CreateNetworkRequest generates a "aws/request.Request" representing the client's request for the CreateNetwork operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateNetwork for more information on using the CreateNetwork API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateNetworkRequest method.
req, resp := client.CreateNetworkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) CreateNetworkWithContext

func (c *ManagedBlockchain) CreateNetworkWithContext(ctx aws.Context, input *CreateNetworkInput, opts ...request.Option) (*CreateNetworkOutput, error)

CreateNetworkWithContext is the same as CreateNetwork with the addition of the ability to pass a context and additional request options.

See CreateNetwork for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) CreateNode

func (c *ManagedBlockchain) CreateNode(input *CreateNodeInput) (*CreateNodeOutput, error)

CreateNode API operation for Amazon Managed Blockchain.

Creates a peer node in a member.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation CreateNode for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" A resource request is issued for a resource that already exists.

  • ErrCodeResourceNotReadyException "ResourceNotReadyException" The requested resource exists but is not in a status that can complete the operation.

  • ErrCodeThrottlingException "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.

  • ErrCodeResourceLimitExceededException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) CreateNodeRequest

func (c *ManagedBlockchain) CreateNodeRequest(input *CreateNodeInput) (req *request.Request, output *CreateNodeOutput)

CreateNodeRequest generates a "aws/request.Request" representing the client's request for the CreateNode operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateNode for more information on using the CreateNode API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateNodeRequest method.
req, resp := client.CreateNodeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) CreateNodeWithContext

func (c *ManagedBlockchain) CreateNodeWithContext(ctx aws.Context, input *CreateNodeInput, opts ...request.Option) (*CreateNodeOutput, error)

CreateNodeWithContext is the same as CreateNode with the addition of the ability to pass a context and additional request options.

See CreateNode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) CreateProposal

func (c *ManagedBlockchain) CreateProposal(input *CreateProposalInput) (*CreateProposalOutput, error)

CreateProposal API operation for Amazon Managed Blockchain.

Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation CreateProposal for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeResourceNotReadyException "ResourceNotReadyException" The requested resource exists but is not in a status that can complete the operation.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) CreateProposalRequest

func (c *ManagedBlockchain) CreateProposalRequest(input *CreateProposalInput) (req *request.Request, output *CreateProposalOutput)

CreateProposalRequest generates a "aws/request.Request" representing the client's request for the CreateProposal operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateProposal for more information on using the CreateProposal API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateProposalRequest method.
req, resp := client.CreateProposalRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) CreateProposalWithContext

func (c *ManagedBlockchain) CreateProposalWithContext(ctx aws.Context, input *CreateProposalInput, opts ...request.Option) (*CreateProposalOutput, error)

CreateProposalWithContext is the same as CreateProposal with the addition of the ability to pass a context and additional request options.

See CreateProposal for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) DeleteMember

func (c *ManagedBlockchain) DeleteMember(input *DeleteMemberInput) (*DeleteMemberOutput, error)

DeleteMember API operation for Amazon Managed Blockchain.

Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember can only be called for a specified MemberId if the principal performing the action is associated with the 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation DeleteMember for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeResourceNotReadyException "ResourceNotReadyException" The requested resource exists but is not in a status that can complete the operation.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) DeleteMemberRequest

func (c *ManagedBlockchain) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Request, output *DeleteMemberOutput)

DeleteMemberRequest generates a "aws/request.Request" representing the client's request for the DeleteMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMember for more information on using the DeleteMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMemberRequest method.
req, resp := client.DeleteMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) DeleteMemberWithContext

func (c *ManagedBlockchain) DeleteMemberWithContext(ctx aws.Context, input *DeleteMemberInput, opts ...request.Option) (*DeleteMemberOutput, error)

DeleteMemberWithContext is the same as DeleteMember with the addition of the ability to pass a context and additional request options.

See DeleteMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) DeleteNode

func (c *ManagedBlockchain) DeleteNode(input *DeleteNodeInput) (*DeleteNodeOutput, error)

DeleteNode API operation for Amazon Managed Blockchain.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation DeleteNode for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeResourceNotReadyException "ResourceNotReadyException" The requested resource exists but is not in a status that can complete the operation.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) DeleteNodeRequest

func (c *ManagedBlockchain) DeleteNodeRequest(input *DeleteNodeInput) (req *request.Request, output *DeleteNodeOutput)

DeleteNodeRequest generates a "aws/request.Request" representing the client's request for the DeleteNode operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteNode for more information on using the DeleteNode API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteNodeRequest method.
req, resp := client.DeleteNodeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) DeleteNodeWithContext

func (c *ManagedBlockchain) DeleteNodeWithContext(ctx aws.Context, input *DeleteNodeInput, opts ...request.Option) (*DeleteNodeOutput, error)

DeleteNodeWithContext is the same as DeleteNode with the addition of the ability to pass a context and additional request options.

See DeleteNode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) GetMember

func (c *ManagedBlockchain) GetMember(input *GetMemberInput) (*GetMemberOutput, error)

GetMember API operation for Amazon Managed Blockchain.

Returns detailed information about a member.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation GetMember for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) GetMemberRequest

func (c *ManagedBlockchain) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput)

GetMemberRequest generates a "aws/request.Request" representing the client's request for the GetMember operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMember for more information on using the GetMember API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMemberRequest method.
req, resp := client.GetMemberRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) GetMemberWithContext

func (c *ManagedBlockchain) GetMemberWithContext(ctx aws.Context, input *GetMemberInput, opts ...request.Option) (*GetMemberOutput, error)

GetMemberWithContext is the same as GetMember with the addition of the ability to pass a context and additional request options.

See GetMember for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) GetNetwork

func (c *ManagedBlockchain) GetNetwork(input *GetNetworkInput) (*GetNetworkOutput, error)

GetNetwork API operation for Amazon Managed Blockchain.

Returns detailed information about a network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation GetNetwork for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) GetNetworkRequest

func (c *ManagedBlockchain) GetNetworkRequest(input *GetNetworkInput) (req *request.Request, output *GetNetworkOutput)

GetNetworkRequest generates a "aws/request.Request" representing the client's request for the GetNetwork operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetNetwork for more information on using the GetNetwork API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetNetworkRequest method.
req, resp := client.GetNetworkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) GetNetworkWithContext

func (c *ManagedBlockchain) GetNetworkWithContext(ctx aws.Context, input *GetNetworkInput, opts ...request.Option) (*GetNetworkOutput, error)

GetNetworkWithContext is the same as GetNetwork with the addition of the ability to pass a context and additional request options.

See GetNetwork for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) GetNode

func (c *ManagedBlockchain) GetNode(input *GetNodeInput) (*GetNodeOutput, error)

GetNode API operation for Amazon Managed Blockchain.

Returns detailed information about a peer node.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation GetNode for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) GetNodeRequest

func (c *ManagedBlockchain) GetNodeRequest(input *GetNodeInput) (req *request.Request, output *GetNodeOutput)

GetNodeRequest generates a "aws/request.Request" representing the client's request for the GetNode operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetNode for more information on using the GetNode API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetNodeRequest method.
req, resp := client.GetNodeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) GetNodeWithContext

func (c *ManagedBlockchain) GetNodeWithContext(ctx aws.Context, input *GetNodeInput, opts ...request.Option) (*GetNodeOutput, error)

GetNodeWithContext is the same as GetNode with the addition of the ability to pass a context and additional request options.

See GetNode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) GetProposal

func (c *ManagedBlockchain) GetProposal(input *GetProposalInput) (*GetProposalOutput, error)

GetProposal API operation for Amazon Managed Blockchain.

Returns detailed information about a proposal.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation GetProposal for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) GetProposalRequest

func (c *ManagedBlockchain) GetProposalRequest(input *GetProposalInput) (req *request.Request, output *GetProposalOutput)

GetProposalRequest generates a "aws/request.Request" representing the client's request for the GetProposal operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetProposal for more information on using the GetProposal API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetProposalRequest method.
req, resp := client.GetProposalRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) GetProposalWithContext

func (c *ManagedBlockchain) GetProposalWithContext(ctx aws.Context, input *GetProposalInput, opts ...request.Option) (*GetProposalOutput, error)

GetProposalWithContext is the same as GetProposal with the addition of the ability to pass a context and additional request options.

See GetProposal for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListInvitations

func (c *ManagedBlockchain) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error)

ListInvitations API operation for Amazon Managed Blockchain.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation ListInvitations for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeThrottlingException "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.

  • ErrCodeResourceLimitExceededException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) ListInvitationsPages

func (c *ManagedBlockchain) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error

ListInvitationsPages iterates over the pages of a ListInvitations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListInvitations method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListInvitations operation.
pageNum := 0
err := client.ListInvitationsPages(params,
    func(page *managedblockchain.ListInvitationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchain) ListInvitationsPagesWithContext

func (c *ManagedBlockchain) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error

ListInvitationsPagesWithContext same as ListInvitationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListInvitationsRequest

func (c *ManagedBlockchain) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput)

ListInvitationsRequest generates a "aws/request.Request" representing the client's request for the ListInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListInvitations for more information on using the ListInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListInvitationsRequest method.
req, resp := client.ListInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) ListInvitationsWithContext

func (c *ManagedBlockchain) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error)

ListInvitationsWithContext is the same as ListInvitations with the addition of the ability to pass a context and additional request options.

See ListInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListMembers

func (c *ManagedBlockchain) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)

ListMembers API operation for Amazon Managed Blockchain.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation ListMembers for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) ListMembersPages

func (c *ManagedBlockchain) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error

ListMembersPages iterates over the pages of a ListMembers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMembers method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListMembers operation.
pageNum := 0
err := client.ListMembersPages(params,
    func(page *managedblockchain.ListMembersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchain) ListMembersPagesWithContext

func (c *ManagedBlockchain) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error

ListMembersPagesWithContext same as ListMembersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListMembersRequest

func (c *ManagedBlockchain) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)

ListMembersRequest generates a "aws/request.Request" representing the client's request for the ListMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMembers for more information on using the ListMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMembersRequest method.
req, resp := client.ListMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) ListMembersWithContext

func (c *ManagedBlockchain) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error)

ListMembersWithContext is the same as ListMembers with the addition of the ability to pass a context and additional request options.

See ListMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListNetworks

func (c *ManagedBlockchain) ListNetworks(input *ListNetworksInput) (*ListNetworksOutput, error)

ListNetworks API operation for Amazon Managed Blockchain.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation ListNetworks for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) ListNetworksPages

func (c *ManagedBlockchain) ListNetworksPages(input *ListNetworksInput, fn func(*ListNetworksOutput, bool) bool) error

ListNetworksPages iterates over the pages of a ListNetworks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListNetworks method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListNetworks operation.
pageNum := 0
err := client.ListNetworksPages(params,
    func(page *managedblockchain.ListNetworksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchain) ListNetworksPagesWithContext

func (c *ManagedBlockchain) ListNetworksPagesWithContext(ctx aws.Context, input *ListNetworksInput, fn func(*ListNetworksOutput, bool) bool, opts ...request.Option) error

ListNetworksPagesWithContext same as ListNetworksPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListNetworksRequest

func (c *ManagedBlockchain) ListNetworksRequest(input *ListNetworksInput) (req *request.Request, output *ListNetworksOutput)

ListNetworksRequest generates a "aws/request.Request" representing the client's request for the ListNetworks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListNetworks for more information on using the ListNetworks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListNetworksRequest method.
req, resp := client.ListNetworksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) ListNetworksWithContext

func (c *ManagedBlockchain) ListNetworksWithContext(ctx aws.Context, input *ListNetworksInput, opts ...request.Option) (*ListNetworksOutput, error)

ListNetworksWithContext is the same as ListNetworks with the addition of the ability to pass a context and additional request options.

See ListNetworks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListNodes

func (c *ManagedBlockchain) ListNodes(input *ListNodesInput) (*ListNodesOutput, error)

ListNodes API operation for Amazon Managed Blockchain.

Returns information about the nodes within a network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation ListNodes for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) ListNodesPages

func (c *ManagedBlockchain) ListNodesPages(input *ListNodesInput, fn func(*ListNodesOutput, bool) bool) error

ListNodesPages iterates over the pages of a ListNodes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListNodes method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListNodes operation.
pageNum := 0
err := client.ListNodesPages(params,
    func(page *managedblockchain.ListNodesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchain) ListNodesPagesWithContext

func (c *ManagedBlockchain) ListNodesPagesWithContext(ctx aws.Context, input *ListNodesInput, fn func(*ListNodesOutput, bool) bool, opts ...request.Option) error

ListNodesPagesWithContext same as ListNodesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListNodesRequest

func (c *ManagedBlockchain) ListNodesRequest(input *ListNodesInput) (req *request.Request, output *ListNodesOutput)

ListNodesRequest generates a "aws/request.Request" representing the client's request for the ListNodes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListNodes for more information on using the ListNodes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListNodesRequest method.
req, resp := client.ListNodesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) ListNodesWithContext

func (c *ManagedBlockchain) ListNodesWithContext(ctx aws.Context, input *ListNodesInput, opts ...request.Option) (*ListNodesOutput, error)

ListNodesWithContext is the same as ListNodes with the addition of the ability to pass a context and additional request options.

See ListNodes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListProposalVotes

func (c *ManagedBlockchain) ListProposalVotes(input *ListProposalVotesInput) (*ListProposalVotesOutput, error)

ListProposalVotes API operation for Amazon Managed Blockchain.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation ListProposalVotes for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) ListProposalVotesPages

func (c *ManagedBlockchain) ListProposalVotesPages(input *ListProposalVotesInput, fn func(*ListProposalVotesOutput, bool) bool) error

ListProposalVotesPages iterates over the pages of a ListProposalVotes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProposalVotes method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListProposalVotes operation.
pageNum := 0
err := client.ListProposalVotesPages(params,
    func(page *managedblockchain.ListProposalVotesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchain) ListProposalVotesPagesWithContext

func (c *ManagedBlockchain) ListProposalVotesPagesWithContext(ctx aws.Context, input *ListProposalVotesInput, fn func(*ListProposalVotesOutput, bool) bool, opts ...request.Option) error

ListProposalVotesPagesWithContext same as ListProposalVotesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListProposalVotesRequest

func (c *ManagedBlockchain) ListProposalVotesRequest(input *ListProposalVotesInput) (req *request.Request, output *ListProposalVotesOutput)

ListProposalVotesRequest generates a "aws/request.Request" representing the client's request for the ListProposalVotes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListProposalVotes for more information on using the ListProposalVotes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListProposalVotesRequest method.
req, resp := client.ListProposalVotesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) ListProposalVotesWithContext

func (c *ManagedBlockchain) ListProposalVotesWithContext(ctx aws.Context, input *ListProposalVotesInput, opts ...request.Option) (*ListProposalVotesOutput, error)

ListProposalVotesWithContext is the same as ListProposalVotes with the addition of the ability to pass a context and additional request options.

See ListProposalVotes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListProposals

func (c *ManagedBlockchain) ListProposals(input *ListProposalsInput) (*ListProposalsOutput, error)

ListProposals API operation for Amazon Managed Blockchain.

Returns a listing of proposals for the network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation ListProposals for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) ListProposalsPages

func (c *ManagedBlockchain) ListProposalsPages(input *ListProposalsInput, fn func(*ListProposalsOutput, bool) bool) error

ListProposalsPages iterates over the pages of a ListProposals operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProposals method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListProposals operation.
pageNum := 0
err := client.ListProposalsPages(params,
    func(page *managedblockchain.ListProposalsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ManagedBlockchain) ListProposalsPagesWithContext

func (c *ManagedBlockchain) ListProposalsPagesWithContext(ctx aws.Context, input *ListProposalsInput, fn func(*ListProposalsOutput, bool) bool, opts ...request.Option) error

ListProposalsPagesWithContext same as ListProposalsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) ListProposalsRequest

func (c *ManagedBlockchain) ListProposalsRequest(input *ListProposalsInput) (req *request.Request, output *ListProposalsOutput)

ListProposalsRequest generates a "aws/request.Request" representing the client's request for the ListProposals operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListProposals for more information on using the ListProposals API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListProposalsRequest method.
req, resp := client.ListProposalsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) ListProposalsWithContext

func (c *ManagedBlockchain) ListProposalsWithContext(ctx aws.Context, input *ListProposalsInput, opts ...request.Option) (*ListProposalsOutput, error)

ListProposalsWithContext is the same as ListProposals with the addition of the ability to pass a context and additional request options.

See ListProposals for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) RejectInvitation

func (c *ManagedBlockchain) RejectInvitation(input *RejectInvitationInput) (*RejectInvitationOutput, error)

RejectInvitation API operation for Amazon Managed Blockchain.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation RejectInvitation for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeIllegalActionException "IllegalActionException"

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) RejectInvitationRequest

func (c *ManagedBlockchain) RejectInvitationRequest(input *RejectInvitationInput) (req *request.Request, output *RejectInvitationOutput)

RejectInvitationRequest generates a "aws/request.Request" representing the client's request for the RejectInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RejectInvitation for more information on using the RejectInvitation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RejectInvitationRequest method.
req, resp := client.RejectInvitationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) RejectInvitationWithContext

func (c *ManagedBlockchain) RejectInvitationWithContext(ctx aws.Context, input *RejectInvitationInput, opts ...request.Option) (*RejectInvitationOutput, error)

RejectInvitationWithContext is the same as RejectInvitation with the addition of the ability to pass a context and additional request options.

See RejectInvitation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ManagedBlockchain) VoteOnProposal

func (c *ManagedBlockchain) VoteOnProposal(input *VoteOnProposalInput) (*VoteOnProposalOutput, error)

VoteOnProposal API operation for Amazon Managed Blockchain.

Casts a vote for a specified ProposalId on behalf of a member. The member to vote as, specified by VoterMemberId, must be in the same AWS account as the principal that calls the action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Managed Blockchain's API operation VoteOnProposal for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException" The action or operation requested is invalid. Verify that the action is typed correctly.

  • ErrCodeIllegalActionException "IllegalActionException"

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.

  • ErrCodeThrottlingException "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.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" The request processing has failed because of an unknown error, exception or failure.

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

func (*ManagedBlockchain) VoteOnProposalRequest

func (c *ManagedBlockchain) VoteOnProposalRequest(input *VoteOnProposalInput) (req *request.Request, output *VoteOnProposalOutput)

VoteOnProposalRequest generates a "aws/request.Request" representing the client's request for the VoteOnProposal operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See VoteOnProposal for more information on using the VoteOnProposal API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the VoteOnProposalRequest method.
req, resp := client.VoteOnProposalRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*ManagedBlockchain) VoteOnProposalWithContext

func (c *ManagedBlockchain) VoteOnProposalWithContext(ctx aws.Context, input *VoteOnProposalInput, opts ...request.Option) (*VoteOnProposalOutput, error)

VoteOnProposalWithContext is the same as VoteOnProposal with the addition of the ability to pass a context and additional request options.

See VoteOnProposal for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Member

type Member struct {

	// The date and time that the member was created.
	CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// An optional description for the member.
	Description *string `type:"string"`

	// Attributes relevant to a member for the blockchain framework that the Managed
	// Blockchain network uses.
	FrameworkAttributes *MemberFrameworkAttributes `type:"structure"`

	// The unique identifier of the member.
	Id *string `min:"1" type:"string"`

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

Member configuration properties.

func (Member) GoString

func (s Member) GoString() string

GoString returns the string representation

func (*Member) SetCreationDate

func (s *Member) SetCreationDate(v time.Time) *Member

SetCreationDate sets the CreationDate field's value.

func (*Member) SetDescription

func (s *Member) SetDescription(v string) *Member

SetDescription sets the Description field's value.

func (*Member) SetFrameworkAttributes

func (s *Member) SetFrameworkAttributes(v *MemberFrameworkAttributes) *Member

SetFrameworkAttributes sets the FrameworkAttributes field's value.

func (*Member) SetId

func (s *Member) SetId(v string) *Member

SetId sets the Id field's value.

func (*Member) SetName

func (s *Member) SetName(v string) *Member

SetName sets the Name field's value.

func (*Member) SetNetworkId

func (s *Member) SetNetworkId(v string) *Member

SetNetworkId sets the NetworkId field's value.

func (*Member) SetStatus

func (s *Member) SetStatus(v string) *Member

SetStatus sets the Status field's value.

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

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

func (s MemberConfiguration) GoString() string

GoString returns the string representation

func (*MemberConfiguration) SetDescription

func (s *MemberConfiguration) SetDescription(v string) *MemberConfiguration

SetDescription sets the Description field's value.

func (*MemberConfiguration) SetFrameworkConfiguration

func (s *MemberConfiguration) SetFrameworkConfiguration(v *MemberFrameworkConfiguration) *MemberConfiguration

SetFrameworkConfiguration sets the FrameworkConfiguration field's value.

func (*MemberConfiguration) SetName

SetName sets the Name field's value.

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

func (s MemberFabricAttributes) GoString() string

GoString returns the string representation

func (*MemberFabricAttributes) SetAdminUsername

func (s *MemberFabricAttributes) SetAdminUsername(v string) *MemberFabricAttributes

SetAdminUsername sets the AdminUsername field's value.

func (*MemberFabricAttributes) SetCaEndpoint

SetCaEndpoint sets the CaEndpoint field's value.

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

func (s MemberFabricConfiguration) GoString() string

GoString returns the string representation

func (*MemberFabricConfiguration) SetAdminPassword

SetAdminPassword sets the AdminPassword field's value.

func (*MemberFabricConfiguration) SetAdminUsername

SetAdminUsername sets the AdminUsername field's value.

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 MemberFrameworkAttributes

type MemberFrameworkAttributes struct {

	// Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain
	// network that uses Hyperledger Fabric.
	Fabric *MemberFabricAttributes `type:"structure"`
	// contains filtered or unexported fields
}

Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.

func (MemberFrameworkAttributes) GoString

func (s MemberFrameworkAttributes) GoString() string

GoString returns the string representation

func (*MemberFrameworkAttributes) SetFabric

SetFabric sets the Fabric field's value.

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

func (s MemberFrameworkConfiguration) GoString() string

GoString returns the string representation

func (*MemberFrameworkConfiguration) SetFabric

SetFabric sets the Fabric field's value.

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

A summary of configuration properties for a member.

func (MemberSummary) GoString

func (s MemberSummary) GoString() string

GoString returns the string representation

func (*MemberSummary) SetCreationDate

func (s *MemberSummary) SetCreationDate(v time.Time) *MemberSummary

SetCreationDate sets the CreationDate field's value.

func (*MemberSummary) SetDescription

func (s *MemberSummary) SetDescription(v string) *MemberSummary

SetDescription sets the Description field's value.

func (*MemberSummary) SetId

func (s *MemberSummary) SetId(v string) *MemberSummary

SetId sets the Id field's value.

func (*MemberSummary) SetIsOwned

func (s *MemberSummary) SetIsOwned(v bool) *MemberSummary

SetIsOwned sets the IsOwned field's value.

func (*MemberSummary) SetName

func (s *MemberSummary) SetName(v string) *MemberSummary

SetName sets the Name field's value.

func (*MemberSummary) SetStatus

func (s *MemberSummary) SetStatus(v string) *MemberSummary

SetStatus sets the Status field's value.

func (MemberSummary) String

func (s MemberSummary) String() string

String returns the string representation

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

	// Attributes of the blockchain framework that the network uses.
	FrameworkAttributes *NetworkFrameworkAttributes `type:"structure"`

	// The version of the blockchain framework that the network uses.
	FrameworkVersion *string `min:"1" type:"string"`

	// The unique identifier of the network.
	Id *string `min:"1" type:"string"`

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

	// The current status of the network.
	Status *string `type:"string" enum:"NetworkStatus"`

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

func (s Network) GoString() string

GoString returns the string representation

func (*Network) SetCreationDate

func (s *Network) SetCreationDate(v time.Time) *Network

SetCreationDate sets the CreationDate field's value.

func (*Network) SetDescription

func (s *Network) SetDescription(v string) *Network

SetDescription sets the Description field's value.

func (*Network) SetFramework

func (s *Network) SetFramework(v string) *Network

SetFramework sets the Framework field's value.

func (*Network) SetFrameworkAttributes

func (s *Network) SetFrameworkAttributes(v *NetworkFrameworkAttributes) *Network

SetFrameworkAttributes sets the FrameworkAttributes field's value.

func (*Network) SetFrameworkVersion

func (s *Network) SetFrameworkVersion(v string) *Network

SetFrameworkVersion sets the FrameworkVersion field's value.

func (*Network) SetId

func (s *Network) SetId(v string) *Network

SetId sets the Id field's value.

func (*Network) SetName

func (s *Network) SetName(v string) *Network

SetName sets the Name field's value.

func (*Network) SetStatus

func (s *Network) SetStatus(v string) *Network

SetStatus sets the Status field's value.

func (*Network) SetVotingPolicy

func (s *Network) SetVotingPolicy(v *VotingPolicy) *Network

SetVotingPolicy sets the VotingPolicy field's value.

func (*Network) SetVpcEndpointServiceName

func (s *Network) SetVpcEndpointServiceName(v string) *Network

SetVpcEndpointServiceName sets the VpcEndpointServiceName field's value.

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 (https://aws.amazon.com/managed-blockchain/pricing/).
	Edition *string `type:"string" enum:"Edition"`

	// The endpoint of the ordering service for the network.
	OrderingServiceEndpoint *string `type:"string"`
	// contains filtered or unexported fields
}

Attributes of Hyperledger Fabric for a network.

func (NetworkFabricAttributes) GoString

func (s NetworkFabricAttributes) GoString() string

GoString returns the string representation

func (*NetworkFabricAttributes) SetEdition

SetEdition sets the Edition field's value.

func (*NetworkFabricAttributes) SetOrderingServiceEndpoint

func (s *NetworkFabricAttributes) SetOrderingServiceEndpoint(v string) *NetworkFabricAttributes

SetOrderingServiceEndpoint sets the OrderingServiceEndpoint field's value.

func (NetworkFabricAttributes) String

func (s NetworkFabricAttributes) String() string

String returns the string representation

type NetworkFabricConfiguration

type NetworkFabricConfiguration struct {

	// The edition of Amazon Managed Blockchain that the network uses. For more
	// information, see Amazon Managed Blockchain Pricing (https://aws.amazon.com/managed-blockchain/pricing/).
	//
	// Edition is a required field
	Edition *string `type:"string" required:"true" enum:"Edition"`
	// contains filtered or unexported fields
}

Hyperledger Fabric configuration properties for the network.

func (NetworkFabricConfiguration) GoString

func (s NetworkFabricConfiguration) GoString() string

GoString returns the string representation

func (*NetworkFabricConfiguration) SetEdition

SetEdition sets the Edition field's value.

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

func (s NetworkFrameworkAttributes) GoString() string

GoString returns the string representation

func (*NetworkFrameworkAttributes) SetFabric

SetFabric sets the Fabric field's value.

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

GoString returns the string representation

func (*NetworkFrameworkConfiguration) SetFabric

SetFabric sets the Fabric field's value.

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

	// The version of the blockchain framework that the network uses.
	FrameworkVersion *string `min:"1" type:"string"`

	// The unique identifier of the network.
	Id *string `min:"1" type:"string"`

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

	// The current status of the network.
	Status *string `type:"string" enum:"NetworkStatus"`
	// contains filtered or unexported fields
}

A summary of network configuration properties.

func (NetworkSummary) GoString

func (s NetworkSummary) GoString() string

GoString returns the string representation

func (*NetworkSummary) SetCreationDate

func (s *NetworkSummary) SetCreationDate(v time.Time) *NetworkSummary

SetCreationDate sets the CreationDate field's value.

func (*NetworkSummary) SetDescription

func (s *NetworkSummary) SetDescription(v string) *NetworkSummary

SetDescription sets the Description field's value.

func (*NetworkSummary) SetFramework

func (s *NetworkSummary) SetFramework(v string) *NetworkSummary

SetFramework sets the Framework field's value.

func (*NetworkSummary) SetFrameworkVersion

func (s *NetworkSummary) SetFrameworkVersion(v string) *NetworkSummary

SetFrameworkVersion sets the FrameworkVersion field's value.

func (*NetworkSummary) SetId

func (s *NetworkSummary) SetId(v string) *NetworkSummary

SetId sets the Id field's value.

func (*NetworkSummary) SetName

func (s *NetworkSummary) SetName(v string) *NetworkSummary

SetName sets the Name field's value.

func (*NetworkSummary) SetStatus

func (s *NetworkSummary) SetStatus(v string) *NetworkSummary

SetStatus sets the Status field's value.

func (NetworkSummary) String

func (s NetworkSummary) String() string

String returns the string representation

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

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

Configuration properties of a peer node.

func (Node) GoString

func (s Node) GoString() string

GoString returns the string representation

func (*Node) SetAvailabilityZone

func (s *Node) SetAvailabilityZone(v string) *Node

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*Node) SetCreationDate

func (s *Node) SetCreationDate(v time.Time) *Node

SetCreationDate sets the CreationDate field's value.

func (*Node) SetFrameworkAttributes

func (s *Node) SetFrameworkAttributes(v *NodeFrameworkAttributes) *Node

SetFrameworkAttributes sets the FrameworkAttributes field's value.

func (*Node) SetId

func (s *Node) SetId(v string) *Node

SetId sets the Id field's value.

func (*Node) SetInstanceType

func (s *Node) SetInstanceType(v string) *Node

SetInstanceType sets the InstanceType field's value.

func (*Node) SetMemberId

func (s *Node) SetMemberId(v string) *Node

SetMemberId sets the MemberId field's value.

func (*Node) SetNetworkId

func (s *Node) SetNetworkId(v string) *Node

SetNetworkId sets the NetworkId field's value.

func (*Node) SetStatus

func (s *Node) SetStatus(v string) *Node

SetStatus sets the Status field's value.

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

Configuration properties of a peer node.

func (NodeConfiguration) GoString

func (s NodeConfiguration) GoString() string

GoString returns the string representation

func (*NodeConfiguration) SetAvailabilityZone

func (s *NodeConfiguration) SetAvailabilityZone(v string) *NodeConfiguration

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*NodeConfiguration) SetInstanceType

func (s *NodeConfiguration) SetInstanceType(v string) *NodeConfiguration

SetInstanceType sets the InstanceType field's value.

func (NodeConfiguration) 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) GoString

func (s NodeFabricAttributes) GoString() string

GoString returns the string representation

func (*NodeFabricAttributes) SetPeerEndpoint

func (s *NodeFabricAttributes) SetPeerEndpoint(v string) *NodeFabricAttributes

SetPeerEndpoint sets the PeerEndpoint field's value.

func (*NodeFabricAttributes) SetPeerEventEndpoint

func (s *NodeFabricAttributes) SetPeerEventEndpoint(v string) *NodeFabricAttributes

SetPeerEventEndpoint sets the PeerEventEndpoint field's value.

func (NodeFabricAttributes) String

func (s NodeFabricAttributes) String() string

String returns the string representation

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

func (s NodeFrameworkAttributes) GoString() string

GoString returns the string representation

func (*NodeFrameworkAttributes) SetFabric

SetFabric sets the Fabric field's value.

func (NodeFrameworkAttributes) String

func (s NodeFrameworkAttributes) String() string

String returns the string representation

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

A summary of configuration properties for a peer node.

func (NodeSummary) GoString

func (s NodeSummary) GoString() string

GoString returns the string representation

func (*NodeSummary) SetAvailabilityZone

func (s *NodeSummary) SetAvailabilityZone(v string) *NodeSummary

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*NodeSummary) SetCreationDate

func (s *NodeSummary) SetCreationDate(v time.Time) *NodeSummary

SetCreationDate sets the CreationDate field's value.

func (*NodeSummary) SetId

func (s *NodeSummary) SetId(v string) *NodeSummary

SetId sets the Id field's value.

func (*NodeSummary) SetInstanceType

func (s *NodeSummary) SetInstanceType(v string) *NodeSummary

SetInstanceType sets the InstanceType field's value.

func (*NodeSummary) SetStatus

func (s *NodeSummary) SetStatus(v string) *NodeSummary

SetStatus sets the Status field's value.

func (NodeSummary) String

func (s NodeSummary) String() string

String returns the string representation

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.
	Status *string `type:"string" enum:"ProposalStatus"`

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

func (s Proposal) GoString() string

GoString returns the string representation

func (*Proposal) SetActions

func (s *Proposal) SetActions(v *ProposalActions) *Proposal

SetActions sets the Actions field's value.

func (*Proposal) SetCreationDate

func (s *Proposal) SetCreationDate(v time.Time) *Proposal

SetCreationDate sets the CreationDate field's value.

func (*Proposal) SetDescription

func (s *Proposal) SetDescription(v string) *Proposal

SetDescription sets the Description field's value.

func (*Proposal) SetExpirationDate

func (s *Proposal) SetExpirationDate(v time.Time) *Proposal

SetExpirationDate sets the ExpirationDate field's value.

func (*Proposal) SetNetworkId

func (s *Proposal) SetNetworkId(v string) *Proposal

SetNetworkId sets the NetworkId field's value.

func (*Proposal) SetNoVoteCount

func (s *Proposal) SetNoVoteCount(v int64) *Proposal

SetNoVoteCount sets the NoVoteCount field's value.

func (*Proposal) SetOutstandingVoteCount

func (s *Proposal) SetOutstandingVoteCount(v int64) *Proposal

SetOutstandingVoteCount sets the OutstandingVoteCount field's value.

func (*Proposal) SetProposalId

func (s *Proposal) SetProposalId(v string) *Proposal

SetProposalId sets the ProposalId field's value.

func (*Proposal) SetProposedByMemberId

func (s *Proposal) SetProposedByMemberId(v string) *Proposal

SetProposedByMemberId sets the ProposedByMemberId field's value.

func (*Proposal) SetProposedByMemberName

func (s *Proposal) SetProposedByMemberName(v string) *Proposal

SetProposedByMemberName sets the ProposedByMemberName field's value.

func (*Proposal) SetStatus

func (s *Proposal) SetStatus(v string) *Proposal

SetStatus sets the Status field's value.

func (*Proposal) SetYesVoteCount

func (s *Proposal) SetYesVoteCount(v int64) *Proposal

SetYesVoteCount sets the YesVoteCount field's value.

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

func (s ProposalActions) GoString() string

GoString returns the string representation

func (*ProposalActions) SetInvitations

func (s *ProposalActions) SetInvitations(v []*InviteAction) *ProposalActions

SetInvitations sets the Invitations field's value.

func (*ProposalActions) SetRemovals

func (s *ProposalActions) SetRemovals(v []*RemoveAction) *ProposalActions

SetRemovals sets the Removals field's value.

func (ProposalActions) String

func (s ProposalActions) String() string

String returns the string representation

func (*ProposalActions) Validate

func (s *ProposalActions) Validate() error

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

type ProposalSummary

type ProposalSummary struct {

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

Properties of a proposal.

func (ProposalSummary) GoString

func (s ProposalSummary) GoString() string

GoString returns the string representation

func (*ProposalSummary) SetCreationDate

func (s *ProposalSummary) SetCreationDate(v time.Time) *ProposalSummary

SetCreationDate sets the CreationDate field's value.

func (*ProposalSummary) SetDescription

func (s *ProposalSummary) SetDescription(v string) *ProposalSummary

SetDescription sets the Description field's value.

func (*ProposalSummary) SetExpirationDate

func (s *ProposalSummary) SetExpirationDate(v time.Time) *ProposalSummary

SetExpirationDate sets the ExpirationDate field's value.

func (*ProposalSummary) SetProposalId

func (s *ProposalSummary) SetProposalId(v string) *ProposalSummary

SetProposalId sets the ProposalId field's value.

func (*ProposalSummary) SetProposedByMemberId

func (s *ProposalSummary) SetProposedByMemberId(v string) *ProposalSummary

SetProposedByMemberId sets the ProposedByMemberId field's value.

func (*ProposalSummary) SetProposedByMemberName

func (s *ProposalSummary) SetProposedByMemberName(v string) *ProposalSummary

SetProposedByMemberName sets the ProposedByMemberName field's value.

func (*ProposalSummary) SetStatus

func (s *ProposalSummary) SetStatus(v string) *ProposalSummary

SetStatus sets the Status field's value.

func (ProposalSummary) String

func (s ProposalSummary) String() string

String returns the string representation

type RejectInvitationInput

type RejectInvitationInput struct {

	// The unique identifier of the invitation to reject.
	//
	// InvitationId is a required field
	InvitationId *string `location:"uri" locationName:"invitationId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RejectInvitationInput) GoString

func (s RejectInvitationInput) GoString() string

GoString returns the string representation

func (*RejectInvitationInput) SetInvitationId

func (s *RejectInvitationInput) SetInvitationId(v string) *RejectInvitationInput

SetInvitationId sets the InvitationId field's value.

func (RejectInvitationInput) String

func (s RejectInvitationInput) String() string

String returns the string representation

func (*RejectInvitationInput) Validate

func (s *RejectInvitationInput) Validate() error

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

type RejectInvitationOutput

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

func (RejectInvitationOutput) GoString

func (s RejectInvitationOutput) GoString() string

GoString returns the string representation

func (RejectInvitationOutput) String

func (s RejectInvitationOutput) String() string

String returns the string representation

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

func (s RemoveAction) GoString() string

GoString returns the string representation

func (*RemoveAction) SetMemberId

func (s *RemoveAction) SetMemberId(v string) *RemoveAction

SetMemberId sets the MemberId field's value.

func (RemoveAction) String

func (s RemoveAction) String() string

String returns the string representation

func (*RemoveAction) Validate

func (s *RemoveAction) Validate() error

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

type VoteOnProposalInput

type VoteOnProposalInput struct {

	// The unique identifier of the network.
	//
	// NetworkId is a required field
	NetworkId *string `location:"uri" locationName:"networkId" min:"1" type:"string" required:"true"`

	// The unique identifier of the proposal.
	//
	// ProposalId is a required field
	ProposalId *string `location:"uri" locationName:"proposalId" min:"1" type:"string" required:"true"`

	// The value of the vote.
	//
	// Vote is a required field
	Vote *string `type:"string" required:"true" enum:"VoteValue"`

	// The unique identifier of the member casting the vote.
	//
	// VoterMemberId is a required field
	VoterMemberId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (VoteOnProposalInput) GoString

func (s VoteOnProposalInput) GoString() string

GoString returns the string representation

func (*VoteOnProposalInput) SetNetworkId

func (s *VoteOnProposalInput) SetNetworkId(v string) *VoteOnProposalInput

SetNetworkId sets the NetworkId field's value.

func (*VoteOnProposalInput) SetProposalId

func (s *VoteOnProposalInput) SetProposalId(v string) *VoteOnProposalInput

SetProposalId sets the ProposalId field's value.

func (*VoteOnProposalInput) SetVote

SetVote sets the Vote field's value.

func (*VoteOnProposalInput) SetVoterMemberId

func (s *VoteOnProposalInput) SetVoterMemberId(v string) *VoteOnProposalInput

SetVoterMemberId sets the VoterMemberId field's value.

func (VoteOnProposalInput) String

func (s VoteOnProposalInput) String() string

String returns the string representation

func (*VoteOnProposalInput) Validate

func (s *VoteOnProposalInput) Validate() error

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

type VoteOnProposalOutput

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

func (VoteOnProposalOutput) GoString

func (s VoteOnProposalOutput) GoString() string

GoString returns the string representation

func (VoteOnProposalOutput) String

func (s VoteOnProposalOutput) String() string

String returns the string representation

type VoteSummary

type VoteSummary struct {

	// The unique identifier of the member that cast the vote.
	MemberId *string `min:"1" type:"string"`

	// The name of the member that cast the vote.
	MemberName *string `min:"1" type:"string"`

	// The vote value, either YES or NO.
	Vote *string `type:"string" enum:"VoteValue"`
	// contains filtered or unexported fields
}

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

func (VoteSummary) GoString

func (s VoteSummary) GoString() string

GoString returns the string representation

func (*VoteSummary) SetMemberId

func (s *VoteSummary) SetMemberId(v string) *VoteSummary

SetMemberId sets the MemberId field's value.

func (*VoteSummary) SetMemberName

func (s *VoteSummary) SetMemberName(v string) *VoteSummary

SetMemberName sets the MemberName field's value.

func (*VoteSummary) SetVote

func (s *VoteSummary) SetVote(v string) *VoteSummary

SetVote sets the Vote field's value.

func (VoteSummary) String

func (s VoteSummary) String() string

String returns the string representation

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

func (s VotingPolicy) GoString() string

GoString returns the string representation

func (*VotingPolicy) SetApprovalThresholdPolicy

func (s *VotingPolicy) SetApprovalThresholdPolicy(v *ApprovalThresholdPolicy) *VotingPolicy

SetApprovalThresholdPolicy sets the ApprovalThresholdPolicy field's value.

func (VotingPolicy) String

func (s VotingPolicy) String() string

String returns the string representation

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