#[non_exhaustive]pub struct DisableTransitGatewayRouteTablePropagationInput { /* private fields */ }
Implementations§
source§impl DisableTransitGatewayRouteTablePropagationInput
impl DisableTransitGatewayRouteTablePropagationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableTransitGatewayRouteTablePropagation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableTransitGatewayRouteTablePropagation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisableTransitGatewayRouteTablePropagation
>
Examples found in repository?
src/client.rs (line 54060)
54044 54045 54046 54047 54048 54049 54050 54051 54052 54053 54054 54055 54056 54057 54058 54059 54060 54061 54062 54063 54064 54065 54066 54067 54068 54069 54070 54071 54072 54073 54074 54075 54076 54077 54078 54079 54080 54081 54082 54083 54084 54085 54086 54087 54088 54089 54090
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisableTransitGatewayRouteTablePropagation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DisableTransitGatewayRouteTablePropagationError,
>,
> {
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::DisableTransitGatewayRouteTablePropagationOutput,
aws_smithy_http::result::SdkError<
crate::error::DisableTransitGatewayRouteTablePropagationError,
>,
> {
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 DisableTransitGatewayRouteTablePropagationInput
.
source§impl DisableTransitGatewayRouteTablePropagationInput
impl DisableTransitGatewayRouteTablePropagationInput
sourcepub fn transit_gateway_route_table_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_id(&self) -> Option<&str>
The ID of the propagation route table.
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the attachment.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn transit_gateway_route_table_announcement_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_announcement_id(&self) -> Option<&str>
The ID of the route table announcement.
Trait Implementations§
source§impl Clone for DisableTransitGatewayRouteTablePropagationInput
impl Clone for DisableTransitGatewayRouteTablePropagationInput
source§fn clone(&self) -> DisableTransitGatewayRouteTablePropagationInput
fn clone(&self) -> DisableTransitGatewayRouteTablePropagationInput
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