Struct aws_sdk_directconnect::client::Client[][src]

pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description

Client for AWS Direct Connect

Client for invoking operations on AWS Direct Connect. Each operation on AWS Direct Connect is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

Examples

Constructing a client and invoking an operation

    // create a shared configuration. This can be used & shared between multiple service clients.
    let shared_config = aws_config::load_from_env().await;
    let client = aws_sdk_directconnect::Client::new(&shared_config);
    // invoke an operation
    /* let rsp = client
        .<operation_name>().
        .<param>("some value")
        .send().await; */

Constructing a client with custom configuration

use aws_config::RetryConfig;
    let shared_config = aws_config::load_from_env().await;
    let config = aws_sdk_directconnect::config::Builder::from(&shared_config)
        .retry_config(RetryConfig::disabled())
        .build();
    let client = aws_sdk_directconnect::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AcceptDirectConnectGatewayAssociationProposal operation.

See AcceptDirectConnectGatewayAssociationProposal for more information about the operation and its arguments.

Constructs a fluent builder for the AllocateConnectionOnInterconnect operation.

See AllocateConnectionOnInterconnect for more information about the operation and its arguments.

Constructs a fluent builder for the AllocateHostedConnection operation.

See AllocateHostedConnection for more information about the operation and its arguments.

Constructs a fluent builder for the AllocatePrivateVirtualInterface operation.

See AllocatePrivateVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the AllocatePublicVirtualInterface operation.

See AllocatePublicVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the AllocateTransitVirtualInterface operation.

See AllocateTransitVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the AssociateConnectionWithLag operation.

See AssociateConnectionWithLag for more information about the operation and its arguments.

Constructs a fluent builder for the AssociateHostedConnection operation.

See AssociateHostedConnection for more information about the operation and its arguments.

Constructs a fluent builder for the AssociateMacSecKey operation.

See AssociateMacSecKey for more information about the operation and its arguments.

Constructs a fluent builder for the AssociateVirtualInterface operation.

See AssociateVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the ConfirmConnection operation.

See ConfirmConnection for more information about the operation and its arguments.

Constructs a fluent builder for the ConfirmCustomerAgreement operation.

See ConfirmCustomerAgreement for more information about the operation and its arguments.

Constructs a fluent builder for the ConfirmPrivateVirtualInterface operation.

See ConfirmPrivateVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the ConfirmPublicVirtualInterface operation.

See ConfirmPublicVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the ConfirmTransitVirtualInterface operation.

See ConfirmTransitVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the CreateBGPPeer operation.

See CreateBGPPeer for more information about the operation and its arguments.

Constructs a fluent builder for the CreateConnection operation.

See CreateConnection for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDirectConnectGateway operation.

See CreateDirectConnectGateway for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDirectConnectGatewayAssociation operation.

See CreateDirectConnectGatewayAssociation for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDirectConnectGatewayAssociationProposal operation.

See CreateDirectConnectGatewayAssociationProposal for more information about the operation and its arguments.

Constructs a fluent builder for the CreateInterconnect operation.

See CreateInterconnect for more information about the operation and its arguments.

Constructs a fluent builder for the CreateLag operation.

See CreateLag for more information about the operation and its arguments.

Constructs a fluent builder for the CreatePrivateVirtualInterface operation.

See CreatePrivateVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the CreatePublicVirtualInterface operation.

See CreatePublicVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the CreateTransitVirtualInterface operation.

See CreateTransitVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteBGPPeer operation.

See DeleteBGPPeer for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteConnection operation.

See DeleteConnection for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDirectConnectGateway operation.

See DeleteDirectConnectGateway for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDirectConnectGatewayAssociation operation.

See DeleteDirectConnectGatewayAssociation for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDirectConnectGatewayAssociationProposal operation.

See DeleteDirectConnectGatewayAssociationProposal for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteInterconnect operation.

See DeleteInterconnect for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteLag operation.

See DeleteLag for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteVirtualInterface operation.

See DeleteVirtualInterface for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeConnectionLoa operation.

See DescribeConnectionLoa for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeConnections operation.

See DescribeConnections for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeConnectionsOnInterconnect operation.

See DescribeConnectionsOnInterconnect for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeCustomerMetadata operation.

See DescribeCustomerMetadata for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeDirectConnectGatewayAssociationProposals operation.

See DescribeDirectConnectGatewayAssociationProposals for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeDirectConnectGatewayAssociations operation.

See DescribeDirectConnectGatewayAssociations for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeDirectConnectGatewayAttachments operation.

See DescribeDirectConnectGatewayAttachments for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeDirectConnectGateways operation.

See DescribeDirectConnectGateways for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeHostedConnections operation.

See DescribeHostedConnections for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeInterconnectLoa operation.

See DescribeInterconnectLoa for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeInterconnects operation.

See DescribeInterconnects for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeLags operation.

See DescribeLags for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeLoa operation.

See DescribeLoa for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeLocations operation.

See DescribeLocations for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeRouterConfiguration operation.

See DescribeRouterConfiguration for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeTags operation.

See DescribeTags for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeVirtualGateways operation.

See DescribeVirtualGateways for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeVirtualInterfaces operation.

See DescribeVirtualInterfaces for more information about the operation and its arguments.

Constructs a fluent builder for the DisassociateConnectionFromLag operation.

See DisassociateConnectionFromLag for more information about the operation and its arguments.

Constructs a fluent builder for the DisassociateMacSecKey operation.

See DisassociateMacSecKey for more information about the operation and its arguments.

Constructs a fluent builder for the ListVirtualInterfaceTestHistory operation.

See ListVirtualInterfaceTestHistory for more information about the operation and its arguments.

Constructs a fluent builder for the StartBgpFailoverTest operation.

See StartBgpFailoverTest for more information about the operation and its arguments.

Constructs a fluent builder for the StopBgpFailoverTest operation.

See StopBgpFailoverTest for more information about the operation and its arguments.

Constructs a fluent builder for the TagResource operation.

See TagResource for more information about the operation and its arguments.

Constructs a fluent builder for the UntagResource operation.

See UntagResource for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateConnection operation.

See UpdateConnection for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateDirectConnectGateway operation.

See UpdateDirectConnectGateway for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateDirectConnectGatewayAssociation operation.

See UpdateDirectConnectGatewayAssociation for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateLag operation.

See UpdateLag for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateVirtualInterfaceAttributes operation.

See UpdateVirtualInterfaceAttributes for more information about the operation and its arguments.

Creates a client with the given service config and connector override.

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more