Struct aws_sdk_directconnect::client::fluent_builders::DeleteDirectConnectGatewayAssociation
source · pub struct DeleteDirectConnectGatewayAssociation { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteDirectConnectGatewayAssociation.
Deletes the association between the specified Direct Connect gateway and virtual private gateway.
We recommend that you specify the associationID to delete the association. Alternatively, if you own virtual gateway and a Direct Connect gateway association, you can specify the virtualGatewayId and directConnectGatewayId to delete an association.
Implementations§
source§impl DeleteDirectConnectGatewayAssociation
impl DeleteDirectConnectGatewayAssociation
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteDirectConnectGatewayAssociation, AwsResponseRetryClassifier>, SdkError<DeleteDirectConnectGatewayAssociationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteDirectConnectGatewayAssociation, AwsResponseRetryClassifier>, SdkError<DeleteDirectConnectGatewayAssociationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteDirectConnectGatewayAssociationOutput, SdkError<DeleteDirectConnectGatewayAssociationError>>
pub async fn send(
self
) -> Result<DeleteDirectConnectGatewayAssociationOutput, SdkError<DeleteDirectConnectGatewayAssociationError>>
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.
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The ID of the Direct Connect gateway association.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The ID of the Direct Connect gateway association.
sourcepub fn direct_connect_gateway_id(self, input: impl Into<String>) -> Self
pub fn direct_connect_gateway_id(self, input: impl Into<String>) -> Self
The ID of the Direct Connect gateway.
sourcepub fn set_direct_connect_gateway_id(self, input: Option<String>) -> Self
pub fn set_direct_connect_gateway_id(self, input: Option<String>) -> Self
The ID of the Direct Connect gateway.
sourcepub fn virtual_gateway_id(self, input: impl Into<String>) -> Self
pub fn virtual_gateway_id(self, input: impl Into<String>) -> Self
The ID of the virtual private gateway.
sourcepub fn set_virtual_gateway_id(self, input: Option<String>) -> Self
pub fn set_virtual_gateway_id(self, input: Option<String>) -> Self
The ID of the virtual private gateway.
Trait Implementations§
source§impl Clone for DeleteDirectConnectGatewayAssociation
impl Clone for DeleteDirectConnectGatewayAssociation
source§fn clone(&self) -> DeleteDirectConnectGatewayAssociation
fn clone(&self) -> DeleteDirectConnectGatewayAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more