#[non_exhaustive]pub struct EnableTransitGatewayRouteTablePropagationInput { /* private fields */ }
Implementations§
source§impl EnableTransitGatewayRouteTablePropagationInput
impl EnableTransitGatewayRouteTablePropagationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableTransitGatewayRouteTablePropagation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableTransitGatewayRouteTablePropagation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<EnableTransitGatewayRouteTablePropagation
>
Examples found in repository?
src/client.rs (line 56206)
56190 56191 56192 56193 56194 56195 56196 56197 56198 56199 56200 56201 56202 56203 56204 56205 56206 56207 56208 56209 56210 56211 56212 56213 56214 56215 56216 56217 56218 56219 56220 56221 56222 56223 56224 56225 56226 56227 56228 56229 56230 56231 56232 56233 56234 56235 56236
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::EnableTransitGatewayRouteTablePropagation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::EnableTransitGatewayRouteTablePropagationError,
>,
> {
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::EnableTransitGatewayRouteTablePropagationOutput,
aws_smithy_http::result::SdkError<
crate::error::EnableTransitGatewayRouteTablePropagationError,
>,
> {
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 EnableTransitGatewayRouteTablePropagationInput
.
source§impl EnableTransitGatewayRouteTablePropagationInput
impl EnableTransitGatewayRouteTablePropagationInput
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 transit gateway route table announcement.
Trait Implementations§
source§impl Clone for EnableTransitGatewayRouteTablePropagationInput
impl Clone for EnableTransitGatewayRouteTablePropagationInput
source§fn clone(&self) -> EnableTransitGatewayRouteTablePropagationInput
fn clone(&self) -> EnableTransitGatewayRouteTablePropagationInput
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