#[non_exhaustive]pub struct CreateLocalGatewayRouteTableVpcAssociationInput { /* private fields */ }
Implementations§
source§impl CreateLocalGatewayRouteTableVpcAssociationInput
impl CreateLocalGatewayRouteTableVpcAssociationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLocalGatewayRouteTableVpcAssociation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLocalGatewayRouteTableVpcAssociation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateLocalGatewayRouteTableVpcAssociation
>
Examples found in repository?
src/client.rs (line 18522)
18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateLocalGatewayRouteTableVpcAssociation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::CreateLocalGatewayRouteTableVpcAssociationError,
>,
> {
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::CreateLocalGatewayRouteTableVpcAssociationOutput,
aws_smithy_http::result::SdkError<
crate::error::CreateLocalGatewayRouteTableVpcAssociationError,
>,
> {
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 CreateLocalGatewayRouteTableVpcAssociationInput
.
source§impl CreateLocalGatewayRouteTableVpcAssociationInput
impl CreateLocalGatewayRouteTableVpcAssociationInput
sourcepub fn local_gateway_route_table_id(&self) -> Option<&str>
pub fn local_gateway_route_table_id(&self) -> Option<&str>
The ID of the local gateway route table.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to assign to the local gateway route table VPC association.
Trait Implementations§
source§impl Clone for CreateLocalGatewayRouteTableVpcAssociationInput
impl Clone for CreateLocalGatewayRouteTableVpcAssociationInput
source§fn clone(&self) -> CreateLocalGatewayRouteTableVpcAssociationInput
fn clone(&self) -> CreateLocalGatewayRouteTableVpcAssociationInput
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