Struct aws_sdk_gamelift::client::fluent_builders::DeleteVpcPeeringConnection [−][src]
pub struct DeleteVpcPeeringConnection<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteVpcPeeringConnection
.
Removes a VPC peering connection. To delete the connection, you must have a valid authorization for the VPC peering connection that you want to delete. You can check for an authorization by calling DescribeVpcPeeringAuthorizations or request a new one using CreateVpcPeeringAuthorization.
Once a valid authorization exists, call this operation from the AWS account that is used to manage the Amazon GameLift fleets. Identify the connection to delete by the connection ID and fleet ID. If successful, the connection is removed.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
Implementations
impl<C, M, R> DeleteVpcPeeringConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteVpcPeeringConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteVpcPeeringConnectionOutput, SdkError<DeleteVpcPeeringConnectionError>> where
R::Policy: SmithyRetryPolicy<DeleteVpcPeeringConnectionInputOperationOutputAlias, DeleteVpcPeeringConnectionOutput, DeleteVpcPeeringConnectionError, DeleteVpcPeeringConnectionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteVpcPeeringConnectionOutput, SdkError<DeleteVpcPeeringConnectionError>> where
R::Policy: SmithyRetryPolicy<DeleteVpcPeeringConnectionInputOperationOutputAlias, DeleteVpcPeeringConnectionOutput, DeleteVpcPeeringConnectionError, DeleteVpcPeeringConnectionInputOperationRetryAlias>,
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.
A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering connection record. You can use either the fleet ID or ARN value.
A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering connection record. You can use either the fleet ID or ARN value.
A unique identifier for a VPC peering connection. This value is included in the VpcPeeringConnection object, which can be retrieved by calling DescribeVpcPeeringConnections.
A unique identifier for a VPC peering connection. This value is included in the VpcPeeringConnection object, which can be retrieved by calling DescribeVpcPeeringConnections.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteVpcPeeringConnection<C, M, R>
impl<C, M, R> Send for DeleteVpcPeeringConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteVpcPeeringConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteVpcPeeringConnection<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteVpcPeeringConnection<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