#[non_exhaustive]pub struct DeleteTransitGatewayVpcAttachmentInput { /* private fields */ }
Implementations§
source§impl DeleteTransitGatewayVpcAttachmentInput
impl DeleteTransitGatewayVpcAttachmentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayVpcAttachment, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayVpcAttachment, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteTransitGatewayVpcAttachment
>
Examples found in repository?
src/client.rs (line 31084)
31070 31071 31072 31073 31074 31075 31076 31077 31078 31079 31080 31081 31082 31083 31084 31085 31086 31087 31088 31089 31090 31091 31092 31093 31094 31095 31096 31097 31098 31099 31100 31101 31102 31103 31104 31105 31106 31107 31108 31109 31110 31111 31112
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteTransitGatewayVpcAttachment,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteTransitGatewayVpcAttachmentError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DeleteTransitGatewayVpcAttachmentOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteTransitGatewayVpcAttachmentError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteTransitGatewayVpcAttachmentInput
.
source§impl DeleteTransitGatewayVpcAttachmentInput
impl DeleteTransitGatewayVpcAttachmentInput
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the attachment.
Trait Implementations§
source§impl Clone for DeleteTransitGatewayVpcAttachmentInput
impl Clone for DeleteTransitGatewayVpcAttachmentInput
source§fn clone(&self) -> DeleteTransitGatewayVpcAttachmentInput
fn clone(&self) -> DeleteTransitGatewayVpcAttachmentInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more