[][src]Struct rusoto_managedblockchain::ManagedBlockchainClient

pub struct ManagedBlockchainClient { /* fields omitted */ }

A client for the ManagedBlockchain API.

Implementations

impl ManagedBlockchainClient[src]

pub fn new(region: Region) -> ManagedBlockchainClient[src]

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
) -> ManagedBlockchainClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(
    client: Client,
    region: Region
) -> ManagedBlockchainClient
[src]

Trait Implementations

impl Clone for ManagedBlockchainClient[src]

impl ManagedBlockchain for ManagedBlockchainClient[src]

fn create_member<'life0, 'async_trait>(
    &'life0 self,
    input: CreateMemberInput
) -> Pin<Box<dyn Future<Output = Result<CreateMemberOutput, RusotoError<CreateMemberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a member within a Managed Blockchain network.

fn create_network<'life0, 'async_trait>(
    &'life0 self,
    input: CreateNetworkInput
) -> Pin<Box<dyn Future<Output = Result<CreateNetworkOutput, RusotoError<CreateNetworkError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a new blockchain network using Amazon Managed Blockchain.

fn create_node<'life0, 'async_trait>(
    &'life0 self,
    input: CreateNodeInput
) -> Pin<Box<dyn Future<Output = Result<CreateNodeOutput, RusotoError<CreateNodeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a peer node in a member.

fn create_proposal<'life0, 'async_trait>(
    &'life0 self,
    input: CreateProposalInput
) -> Pin<Box<dyn Future<Output = Result<CreateProposalOutput, RusotoError<CreateProposalError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

fn delete_member<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteMemberInput
) -> Pin<Box<dyn Future<Output = Result<DeleteMemberOutput, RusotoError<DeleteMemberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

fn delete_node<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteNodeInput
) -> Pin<Box<dyn Future<Output = Result<DeleteNodeOutput, RusotoError<DeleteNodeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

fn get_member<'life0, 'async_trait>(
    &'life0 self,
    input: GetMemberInput
) -> Pin<Box<dyn Future<Output = Result<GetMemberOutput, RusotoError<GetMemberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns detailed information about a member.

fn get_network<'life0, 'async_trait>(
    &'life0 self,
    input: GetNetworkInput
) -> Pin<Box<dyn Future<Output = Result<GetNetworkOutput, RusotoError<GetNetworkError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns detailed information about a network.

fn get_node<'life0, 'async_trait>(
    &'life0 self,
    input: GetNodeInput
) -> Pin<Box<dyn Future<Output = Result<GetNodeOutput, RusotoError<GetNodeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns detailed information about a peer node.

fn get_proposal<'life0, 'async_trait>(
    &'life0 self,
    input: GetProposalInput
) -> Pin<Box<dyn Future<Output = Result<GetProposalOutput, RusotoError<GetProposalError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns detailed information about a proposal.

fn list_invitations<'life0, 'async_trait>(
    &'life0 self,
    input: ListInvitationsInput
) -> Pin<Box<dyn Future<Output = Result<ListInvitationsOutput, RusotoError<ListInvitationsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

fn list_members<'life0, 'async_trait>(
    &'life0 self,
    input: ListMembersInput
) -> Pin<Box<dyn Future<Output = Result<ListMembersOutput, RusotoError<ListMembersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

fn list_networks<'life0, 'async_trait>(
    &'life0 self,
    input: ListNetworksInput
) -> Pin<Box<dyn Future<Output = Result<ListNetworksOutput, RusotoError<ListNetworksError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

fn list_nodes<'life0, 'async_trait>(
    &'life0 self,
    input: ListNodesInput
) -> Pin<Box<dyn Future<Output = Result<ListNodesOutput, RusotoError<ListNodesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about the nodes within a network.

fn list_proposal_votes<'life0, 'async_trait>(
    &'life0 self,
    input: ListProposalVotesInput
) -> Pin<Box<dyn Future<Output = Result<ListProposalVotesOutput, RusotoError<ListProposalVotesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

fn list_proposals<'life0, 'async_trait>(
    &'life0 self,
    input: ListProposalsInput
) -> Pin<Box<dyn Future<Output = Result<ListProposalsOutput, RusotoError<ListProposalsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a listing of proposals for the network.

fn reject_invitation<'life0, 'async_trait>(
    &'life0 self,
    input: RejectInvitationInput
) -> Pin<Box<dyn Future<Output = Result<RejectInvitationOutput, RusotoError<RejectInvitationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

fn update_member<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateMemberInput
) -> Pin<Box<dyn Future<Output = Result<UpdateMemberOutput, RusotoError<UpdateMemberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a member configuration with new parameters.

fn update_node<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateNodeInput
) -> Pin<Box<dyn Future<Output = Result<UpdateNodeOutput, RusotoError<UpdateNodeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a node configuration with new parameters.

fn vote_on_proposal<'life0, 'async_trait>(
    &'life0 self,
    input: VoteOnProposalInput
) -> Pin<Box<dyn Future<Output = Result<VoteOnProposalOutput, RusotoError<VoteOnProposalError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.