#[non_exhaustive]pub struct DeleteTransitGatewayPrefixListReferenceInput { /* private fields */ }
Implementations§
source§impl DeleteTransitGatewayPrefixListReferenceInput
impl DeleteTransitGatewayPrefixListReferenceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayPrefixListReference, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayPrefixListReference, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteTransitGatewayPrefixListReference
>
Examples found in repository?
src/client.rs (line 30692)
30676 30677 30678 30679 30680 30681 30682 30683 30684 30685 30686 30687 30688 30689 30690 30691 30692 30693 30694 30695 30696 30697 30698 30699 30700 30701 30702 30703 30704 30705 30706 30707 30708 30709 30710 30711 30712 30713 30714 30715 30716 30717 30718 30719 30720 30721 30722
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteTransitGatewayPrefixListReference,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DeleteTransitGatewayPrefixListReferenceError,
>,
> {
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::DeleteTransitGatewayPrefixListReferenceOutput,
aws_smithy_http::result::SdkError<
crate::error::DeleteTransitGatewayPrefixListReferenceError,
>,
> {
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 DeleteTransitGatewayPrefixListReferenceInput
.
source§impl DeleteTransitGatewayPrefixListReferenceInput
impl DeleteTransitGatewayPrefixListReferenceInput
sourcepub fn transit_gateway_route_table_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_id(&self) -> Option<&str>
The ID of the route table.
sourcepub fn prefix_list_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The ID of the prefix list.
Trait Implementations§
source§impl Clone for DeleteTransitGatewayPrefixListReferenceInput
impl Clone for DeleteTransitGatewayPrefixListReferenceInput
source§fn clone(&self) -> DeleteTransitGatewayPrefixListReferenceInput
fn clone(&self) -> DeleteTransitGatewayPrefixListReferenceInput
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