#[non_exhaustive]pub struct GetTransitGatewayRouteTableAttachmentInput { /* private fields */ }Implementations§
source§impl GetTransitGatewayRouteTableAttachmentInput
impl GetTransitGatewayRouteTableAttachmentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTransitGatewayRouteTableAttachment, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTransitGatewayRouteTableAttachment, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetTransitGatewayRouteTableAttachment>
Examples found in repository?
src/client.rs (line 7985)
7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetTransitGatewayRouteTableAttachment,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::GetTransitGatewayRouteTableAttachmentError,
>,
> {
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::GetTransitGatewayRouteTableAttachmentOutput,
aws_smithy_http::result::SdkError<
crate::error::GetTransitGatewayRouteTableAttachmentError,
>,
> {
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 GetTransitGatewayRouteTableAttachmentInput.
source§impl GetTransitGatewayRouteTableAttachmentInput
impl GetTransitGatewayRouteTableAttachmentInput
sourcepub fn attachment_id(&self) -> Option<&str>
pub fn attachment_id(&self) -> Option<&str>
The ID of the transit gateway route table attachment.
Trait Implementations§
source§impl Clone for GetTransitGatewayRouteTableAttachmentInput
impl Clone for GetTransitGatewayRouteTableAttachmentInput
source§fn clone(&self) -> GetTransitGatewayRouteTableAttachmentInput
fn clone(&self) -> GetTransitGatewayRouteTableAttachmentInput
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