pub struct ManagedBlockchainClient { /* private fields */ }Expand description
A client for the ManagedBlockchain API.
Implementations§
Source§impl ManagedBlockchainClient
impl ManagedBlockchainClient
Sourcepub fn new(region: Region) -> ManagedBlockchainClient
pub fn new(region: Region) -> ManagedBlockchainClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region,
) -> ManagedBlockchainClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client( client: Client, region: Region, ) -> ManagedBlockchainClient
Trait Implementations§
Source§impl Clone for ManagedBlockchainClient
impl Clone for ManagedBlockchainClient
Source§fn clone(&self) -> ManagedBlockchainClient
fn clone(&self) -> ManagedBlockchainClient
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ManagedBlockchain for ManagedBlockchainClient
impl ManagedBlockchain for ManagedBlockchainClient
Source§fn create_member<'life0, 'async_trait>(
&'life0 self,
input: CreateMemberInput,
) -> Pin<Box<dyn Future<Output = Result<CreateMemberOutput, RusotoError<CreateMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_member<'life0, 'async_trait>(
&'life0 self,
input: CreateMemberInput,
) -> Pin<Box<dyn Future<Output = Result<CreateMemberOutput, RusotoError<CreateMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a member within a Managed Blockchain network.
Source§fn create_network<'life0, 'async_trait>(
&'life0 self,
input: CreateNetworkInput,
) -> Pin<Box<dyn Future<Output = Result<CreateNetworkOutput, RusotoError<CreateNetworkError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_network<'life0, 'async_trait>(
&'life0 self,
input: CreateNetworkInput,
) -> Pin<Box<dyn Future<Output = Result<CreateNetworkOutput, RusotoError<CreateNetworkError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a new blockchain network using Amazon Managed Blockchain.
Source§fn create_node<'life0, 'async_trait>(
&'life0 self,
input: CreateNodeInput,
) -> Pin<Box<dyn Future<Output = Result<CreateNodeOutput, RusotoError<CreateNodeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_node<'life0, 'async_trait>(
&'life0 self,
input: CreateNodeInput,
) -> Pin<Box<dyn Future<Output = Result<CreateNodeOutput, RusotoError<CreateNodeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a peer node in a member.
Source§fn create_proposal<'life0, 'async_trait>(
&'life0 self,
input: CreateProposalInput,
) -> Pin<Box<dyn Future<Output = Result<CreateProposalOutput, RusotoError<CreateProposalError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_proposal<'life0, 'async_trait>(
&'life0 self,
input: CreateProposalInput,
) -> Pin<Box<dyn Future<Output = Result<CreateProposalOutput, RusotoError<CreateProposalError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn delete_member<'life0, 'async_trait>(
&'life0 self,
input: DeleteMemberInput,
) -> Pin<Box<dyn Future<Output = Result<DeleteMemberOutput, RusotoError<DeleteMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_member<'life0, 'async_trait>(
&'life0 self,
input: DeleteMemberInput,
) -> Pin<Box<dyn Future<Output = Result<DeleteMemberOutput, RusotoError<DeleteMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn delete_node<'life0, 'async_trait>(
&'life0 self,
input: DeleteNodeInput,
) -> Pin<Box<dyn Future<Output = Result<DeleteNodeOutput, RusotoError<DeleteNodeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_node<'life0, 'async_trait>(
&'life0 self,
input: DeleteNodeInput,
) -> Pin<Box<dyn Future<Output = Result<DeleteNodeOutput, RusotoError<DeleteNodeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Deletes a peer node from a member that your AWS account owns. All data on the node is lost and cannot be recovered.
Source§fn get_member<'life0, 'async_trait>(
&'life0 self,
input: GetMemberInput,
) -> Pin<Box<dyn Future<Output = Result<GetMemberOutput, RusotoError<GetMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_member<'life0, 'async_trait>(
&'life0 self,
input: GetMemberInput,
) -> Pin<Box<dyn Future<Output = Result<GetMemberOutput, RusotoError<GetMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns detailed information about a member.
Source§fn get_network<'life0, 'async_trait>(
&'life0 self,
input: GetNetworkInput,
) -> Pin<Box<dyn Future<Output = Result<GetNetworkOutput, RusotoError<GetNetworkError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_network<'life0, 'async_trait>(
&'life0 self,
input: GetNetworkInput,
) -> Pin<Box<dyn Future<Output = Result<GetNetworkOutput, RusotoError<GetNetworkError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns detailed information about a network.
Source§fn get_node<'life0, 'async_trait>(
&'life0 self,
input: GetNodeInput,
) -> Pin<Box<dyn Future<Output = Result<GetNodeOutput, RusotoError<GetNodeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_node<'life0, 'async_trait>(
&'life0 self,
input: GetNodeInput,
) -> Pin<Box<dyn Future<Output = Result<GetNodeOutput, RusotoError<GetNodeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns detailed information about a peer node.
Source§fn get_proposal<'life0, 'async_trait>(
&'life0 self,
input: GetProposalInput,
) -> Pin<Box<dyn Future<Output = Result<GetProposalOutput, RusotoError<GetProposalError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_proposal<'life0, 'async_trait>(
&'life0 self,
input: GetProposalInput,
) -> Pin<Box<dyn Future<Output = Result<GetProposalOutput, RusotoError<GetProposalError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns detailed information about a proposal.
Source§fn list_invitations<'life0, 'async_trait>(
&'life0 self,
input: ListInvitationsInput,
) -> Pin<Box<dyn Future<Output = Result<ListInvitationsOutput, RusotoError<ListInvitationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_invitations<'life0, 'async_trait>(
&'life0 self,
input: ListInvitationsInput,
) -> Pin<Box<dyn Future<Output = Result<ListInvitationsOutput, RusotoError<ListInvitationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns a listing of all invitations made on the specified network.
Source§fn list_members<'life0, 'async_trait>(
&'life0 self,
input: ListMembersInput,
) -> Pin<Box<dyn Future<Output = Result<ListMembersOutput, RusotoError<ListMembersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_members<'life0, 'async_trait>(
&'life0 self,
input: ListMembersInput,
) -> Pin<Box<dyn Future<Output = Result<ListMembersOutput, RusotoError<ListMembersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns a listing of the members in a network and properties of their configurations.
Source§fn list_networks<'life0, 'async_trait>(
&'life0 self,
input: ListNetworksInput,
) -> Pin<Box<dyn Future<Output = Result<ListNetworksOutput, RusotoError<ListNetworksError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_networks<'life0, 'async_trait>(
&'life0 self,
input: ListNetworksInput,
) -> Pin<Box<dyn Future<Output = Result<ListNetworksOutput, RusotoError<ListNetworksError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns information about the networks in which the current AWS account has members.
Source§fn list_nodes<'life0, 'async_trait>(
&'life0 self,
input: ListNodesInput,
) -> Pin<Box<dyn Future<Output = Result<ListNodesOutput, RusotoError<ListNodesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_nodes<'life0, 'async_trait>(
&'life0 self,
input: ListNodesInput,
) -> Pin<Box<dyn Future<Output = Result<ListNodesOutput, RusotoError<ListNodesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns information about the nodes within a network.
Source§fn list_proposal_votes<'life0, 'async_trait>(
&'life0 self,
input: ListProposalVotesInput,
) -> Pin<Box<dyn Future<Output = Result<ListProposalVotesOutput, RusotoError<ListProposalVotesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_proposal_votes<'life0, 'async_trait>(
&'life0 self,
input: ListProposalVotesInput,
) -> Pin<Box<dyn Future<Output = Result<ListProposalVotesOutput, RusotoError<ListProposalVotesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn list_proposals<'life0, 'async_trait>(
&'life0 self,
input: ListProposalsInput,
) -> Pin<Box<dyn Future<Output = Result<ListProposalsOutput, RusotoError<ListProposalsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_proposals<'life0, 'async_trait>(
&'life0 self,
input: ListProposalsInput,
) -> Pin<Box<dyn Future<Output = Result<ListProposalsOutput, RusotoError<ListProposalsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns a listing of proposals for the network.
Source§fn reject_invitation<'life0, 'async_trait>(
&'life0 self,
input: RejectInvitationInput,
) -> Pin<Box<dyn Future<Output = Result<RejectInvitationOutput, RusotoError<RejectInvitationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reject_invitation<'life0, 'async_trait>(
&'life0 self,
input: RejectInvitationInput,
) -> Pin<Box<dyn Future<Output = Result<RejectInvitationOutput, RusotoError<RejectInvitationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn update_member<'life0, 'async_trait>(
&'life0 self,
input: UpdateMemberInput,
) -> Pin<Box<dyn Future<Output = Result<UpdateMemberOutput, RusotoError<UpdateMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_member<'life0, 'async_trait>(
&'life0 self,
input: UpdateMemberInput,
) -> Pin<Box<dyn Future<Output = Result<UpdateMemberOutput, RusotoError<UpdateMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates a member configuration with new parameters.
Source§fn update_node<'life0, 'async_trait>(
&'life0 self,
input: UpdateNodeInput,
) -> Pin<Box<dyn Future<Output = Result<UpdateNodeOutput, RusotoError<UpdateNodeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_node<'life0, 'async_trait>(
&'life0 self,
input: UpdateNodeInput,
) -> Pin<Box<dyn Future<Output = Result<UpdateNodeOutput, RusotoError<UpdateNodeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates a node configuration with new parameters.
Source§fn vote_on_proposal<'life0, 'async_trait>(
&'life0 self,
input: VoteOnProposalInput,
) -> Pin<Box<dyn Future<Output = Result<VoteOnProposalOutput, RusotoError<VoteOnProposalError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn vote_on_proposal<'life0, 'async_trait>(
&'life0 self,
input: VoteOnProposalInput,
) -> Pin<Box<dyn Future<Output = Result<VoteOnProposalOutput, RusotoError<VoteOnProposalError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.