#[non_exhaustive]pub struct CreateLocalGatewayRouteTableInput { /* private fields */ }Implementations§
source§impl CreateLocalGatewayRouteTableInput
impl CreateLocalGatewayRouteTableInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLocalGatewayRouteTable, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLocalGatewayRouteTable, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateLocalGatewayRouteTable>
Examples found in repository?
src/client.rs (line 18274)
18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateLocalGatewayRouteTable,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateLocalGatewayRouteTableError>,
> {
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::CreateLocalGatewayRouteTableOutput,
aws_smithy_http::result::SdkError<crate::error::CreateLocalGatewayRouteTableError>,
> {
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 CreateLocalGatewayRouteTableInput.
source§impl CreateLocalGatewayRouteTableInput
impl CreateLocalGatewayRouteTableInput
sourcepub fn local_gateway_id(&self) -> Option<&str>
pub fn local_gateway_id(&self) -> Option<&str>
The ID of the local gateway.
sourcepub fn mode(&self) -> Option<&LocalGatewayRouteTableMode>
pub fn mode(&self) -> Option<&LocalGatewayRouteTableMode>
The mode of the local gateway route table.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags assigned to the local gateway route table.
Trait Implementations§
source§impl Clone for CreateLocalGatewayRouteTableInput
impl Clone for CreateLocalGatewayRouteTableInput
source§fn clone(&self) -> CreateLocalGatewayRouteTableInput
fn clone(&self) -> CreateLocalGatewayRouteTableInput
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