Struct aws_sdk_appmesh::client::fluent_builders::DeleteVirtualRouter
source · [−]pub struct DeleteVirtualRouter<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteVirtualRouter
.
Deletes an existing virtual router.
You must delete any routes associated with the virtual router before you can delete the router itself.
Implementations
impl<C, M, R> DeleteVirtualRouter<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteVirtualRouter<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteVirtualRouterOutput, SdkError<DeleteVirtualRouterError>> where
R::Policy: SmithyRetryPolicy<DeleteVirtualRouterInputOperationOutputAlias, DeleteVirtualRouterOutput, DeleteVirtualRouterError, DeleteVirtualRouterInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteVirtualRouterOutput, SdkError<DeleteVirtualRouterError>> where
R::Policy: SmithyRetryPolicy<DeleteVirtualRouterInputOperationOutputAlias, DeleteVirtualRouterOutput, DeleteVirtualRouterError, DeleteVirtualRouterInputOperationRetryAlias>,
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 name of the virtual router to delete.
The name of the virtual router to delete.
The name of the service mesh to delete the virtual router in.
The name of the service mesh to delete the virtual router in.
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteVirtualRouter<C, M, R>
impl<C, M, R> Send for DeleteVirtualRouter<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteVirtualRouter<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteVirtualRouter<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteVirtualRouter<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