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
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub fn accept_direct_connect_gateway_association_proposal(
&self
) -> AcceptDirectConnectGatewayAssociationProposal<C, M, R>
pub fn accept_direct_connect_gateway_association_proposal(
&self
) -> AcceptDirectConnectGatewayAssociationProposal<C, M, R>
Constructs a fluent builder for the AcceptDirectConnectGatewayAssociationProposal operation.
See AcceptDirectConnectGatewayAssociationProposal for more information about the
operation and its arguments.
pub fn allocate_connection_on_interconnect(
&self
) -> AllocateConnectionOnInterconnect<C, M, R>
pub fn allocate_connection_on_interconnect(
&self
) -> AllocateConnectionOnInterconnect<C, M, R>
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.
pub fn create_direct_connect_gateway_association(
&self
) -> CreateDirectConnectGatewayAssociation<C, M, R>
pub fn create_direct_connect_gateway_association(
&self
) -> CreateDirectConnectGatewayAssociation<C, M, R>
Constructs a fluent builder for the CreateDirectConnectGatewayAssociation operation.
See CreateDirectConnectGatewayAssociation for more information about the
operation and its arguments.
pub fn create_direct_connect_gateway_association_proposal(
&self
) -> CreateDirectConnectGatewayAssociationProposal<C, M, R>
pub fn create_direct_connect_gateway_association_proposal(
&self
) -> CreateDirectConnectGatewayAssociationProposal<C, M, R>
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.
pub fn delete_direct_connect_gateway_association(
&self
) -> DeleteDirectConnectGatewayAssociation<C, M, R>
pub fn delete_direct_connect_gateway_association(
&self
) -> DeleteDirectConnectGatewayAssociation<C, M, R>
Constructs a fluent builder for the DeleteDirectConnectGatewayAssociation operation.
See DeleteDirectConnectGatewayAssociation for more information about the
operation and its arguments.
pub fn delete_direct_connect_gateway_association_proposal(
&self
) -> DeleteDirectConnectGatewayAssociationProposal<C, M, R>
pub fn delete_direct_connect_gateway_association_proposal(
&self
) -> DeleteDirectConnectGatewayAssociationProposal<C, M, R>
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.
pub fn describe_connections_on_interconnect(
&self
) -> DescribeConnectionsOnInterconnect<C, M, R>
pub fn describe_connections_on_interconnect(
&self
) -> DescribeConnectionsOnInterconnect<C, M, R>
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.
pub fn describe_direct_connect_gateway_association_proposals(
&self
) -> DescribeDirectConnectGatewayAssociationProposals<C, M, R>
pub fn describe_direct_connect_gateway_association_proposals(
&self
) -> DescribeDirectConnectGatewayAssociationProposals<C, M, R>
Constructs a fluent builder for the DescribeDirectConnectGatewayAssociationProposals operation.
See DescribeDirectConnectGatewayAssociationProposals for more information about the
operation and its arguments.
pub fn describe_direct_connect_gateway_associations(
&self
) -> DescribeDirectConnectGatewayAssociations<C, M, R>
pub fn describe_direct_connect_gateway_associations(
&self
) -> DescribeDirectConnectGatewayAssociations<C, M, R>
Constructs a fluent builder for the DescribeDirectConnectGatewayAssociations operation.
See DescribeDirectConnectGatewayAssociations for more information about the
operation and its arguments.
pub fn describe_direct_connect_gateway_attachments(
&self
) -> DescribeDirectConnectGatewayAttachments<C, M, R>
pub fn describe_direct_connect_gateway_attachments(
&self
) -> DescribeDirectConnectGatewayAttachments<C, M, R>
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.
pub fn update_direct_connect_gateway_association(
&self
) -> UpdateDirectConnectGatewayAssociation<C, M, R>
pub fn update_direct_connect_gateway_association(
&self
) -> UpdateDirectConnectGatewayAssociation<C, M, R>
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.
pub fn update_virtual_interface_attributes(
&self
) -> UpdateVirtualInterfaceAttributes<C, M, R>
pub fn update_virtual_interface_attributes(
&self
) -> UpdateVirtualInterfaceAttributes<C, M, R>
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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
