Struct aws_sdk_directconnect::client::fluent_builders::AcceptDirectConnectGatewayAssociationProposal
source · [−]pub struct AcceptDirectConnectGatewayAssociationProposal<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to AcceptDirectConnectGatewayAssociationProposal.
Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway.
Implementations
impl<C, M, R> AcceptDirectConnectGatewayAssociationProposal<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AcceptDirectConnectGatewayAssociationProposal<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AcceptDirectConnectGatewayAssociationProposalOutput, SdkError<AcceptDirectConnectGatewayAssociationProposalError>> where
R::Policy: SmithyRetryPolicy<AcceptDirectConnectGatewayAssociationProposalInputOperationOutputAlias, AcceptDirectConnectGatewayAssociationProposalOutput, AcceptDirectConnectGatewayAssociationProposalError, AcceptDirectConnectGatewayAssociationProposalInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AcceptDirectConnectGatewayAssociationProposalOutput, SdkError<AcceptDirectConnectGatewayAssociationProposalError>> where
R::Policy: SmithyRetryPolicy<AcceptDirectConnectGatewayAssociationProposalInputOperationOutputAlias, AcceptDirectConnectGatewayAssociationProposalOutput, AcceptDirectConnectGatewayAssociationProposalError, AcceptDirectConnectGatewayAssociationProposalInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the Direct Connect gateway.
The ID of the Direct Connect gateway.
The ID of the request proposal.
The ID of the request proposal.
The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.
The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.
pub fn override_allowed_prefixes_to_direct_connect_gateway(
self,
input: RouteFilterPrefix
) -> Self
pub fn override_allowed_prefixes_to_direct_connect_gateway(
self,
input: RouteFilterPrefix
) -> Self
Appends an item to overrideAllowedPrefixesToDirectConnectGateway.
To override the contents of this collection use set_override_allowed_prefixes_to_direct_connect_gateway.
Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
pub fn set_override_allowed_prefixes_to_direct_connect_gateway(
self,
input: Option<Vec<RouteFilterPrefix>>
) -> Self
pub fn set_override_allowed_prefixes_to_direct_connect_gateway(
self,
input: Option<Vec<RouteFilterPrefix>>
) -> Self
Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AcceptDirectConnectGatewayAssociationProposal<C, M, R>
impl<C, M, R> Send for AcceptDirectConnectGatewayAssociationProposal<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AcceptDirectConnectGatewayAssociationProposal<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AcceptDirectConnectGatewayAssociationProposal<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AcceptDirectConnectGatewayAssociationProposal<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