#[non_exhaustive]pub struct CreateTransitGatewayPrefixListReferenceInput { /* private fields */ }
Implementations§
source§impl CreateTransitGatewayPrefixListReferenceInput
impl CreateTransitGatewayPrefixListReferenceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTransitGatewayPrefixListReference, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTransitGatewayPrefixListReference, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateTransitGatewayPrefixListReference
>
Examples found in repository?
src/client.rs (line 23480)
23464 23465 23466 23467 23468 23469 23470 23471 23472 23473 23474 23475 23476 23477 23478 23479 23480 23481 23482 23483 23484 23485 23486 23487 23488 23489 23490 23491 23492 23493 23494 23495 23496 23497 23498 23499 23500 23501 23502 23503 23504 23505 23506 23507 23508 23509 23510
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateTransitGatewayPrefixListReference,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::CreateTransitGatewayPrefixListReferenceError,
>,
> {
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::CreateTransitGatewayPrefixListReferenceOutput,
aws_smithy_http::result::SdkError<
crate::error::CreateTransitGatewayPrefixListReferenceError,
>,
> {
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 CreateTransitGatewayPrefixListReferenceInput
.
source§impl CreateTransitGatewayPrefixListReferenceInput
impl CreateTransitGatewayPrefixListReferenceInput
sourcepub fn transit_gateway_route_table_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_id(&self) -> Option<&str>
The ID of the transit gateway route table.
sourcepub fn prefix_list_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The ID of the prefix list that is used for destination matches.
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the attachment to which traffic is routed.
Trait Implementations§
source§impl Clone for CreateTransitGatewayPrefixListReferenceInput
impl Clone for CreateTransitGatewayPrefixListReferenceInput
source§fn clone(&self) -> CreateTransitGatewayPrefixListReferenceInput
fn clone(&self) -> CreateTransitGatewayPrefixListReferenceInput
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