#[non_exhaustive]pub struct DeleteTransitGatewayRouteTableAnnouncementInput { /* private fields */ }
Implementations§
source§impl DeleteTransitGatewayRouteTableAnnouncementInput
impl DeleteTransitGatewayRouteTableAnnouncementInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayRouteTableAnnouncement, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayRouteTableAnnouncement, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteTransitGatewayRouteTableAnnouncement
>
Examples found in repository?
src/client.rs (line 30989)
30973 30974 30975 30976 30977 30978 30979 30980 30981 30982 30983 30984 30985 30986 30987 30988 30989 30990 30991 30992 30993 30994 30995 30996 30997 30998 30999 31000 31001 31002 31003 31004 31005 31006 31007 31008 31009 31010 31011 31012 31013 31014 31015 31016 31017 31018 31019
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteTransitGatewayRouteTableAnnouncement,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DeleteTransitGatewayRouteTableAnnouncementError,
>,
> {
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::DeleteTransitGatewayRouteTableAnnouncementOutput,
aws_smithy_http::result::SdkError<
crate::error::DeleteTransitGatewayRouteTableAnnouncementError,
>,
> {
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 DeleteTransitGatewayRouteTableAnnouncementInput
.
source§impl DeleteTransitGatewayRouteTableAnnouncementInput
impl DeleteTransitGatewayRouteTableAnnouncementInput
sourcepub fn transit_gateway_route_table_announcement_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_announcement_id(&self) -> Option<&str>
The transit gateway route table ID that's being deleted.
Trait Implementations§
source§impl Clone for DeleteTransitGatewayRouteTableAnnouncementInput
impl Clone for DeleteTransitGatewayRouteTableAnnouncementInput
source§fn clone(&self) -> DeleteTransitGatewayRouteTableAnnouncementInput
fn clone(&self) -> DeleteTransitGatewayRouteTableAnnouncementInput
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