#[non_exhaustive]pub struct DeleteTransitGatewayPolicyTableInput { /* private fields */ }
Implementations§
source§impl DeleteTransitGatewayPolicyTableInput
impl DeleteTransitGatewayPolicyTableInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayPolicyTable, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayPolicyTable, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteTransitGatewayPolicyTable
>
Examples found in repository?
src/client.rs (line 30601)
30587 30588 30589 30590 30591 30592 30593 30594 30595 30596 30597 30598 30599 30600 30601 30602 30603 30604 30605 30606 30607 30608 30609 30610 30611 30612 30613 30614 30615 30616 30617 30618 30619 30620 30621 30622 30623 30624 30625 30626 30627 30628 30629
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteTransitGatewayPolicyTable,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteTransitGatewayPolicyTableError>,
> {
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::DeleteTransitGatewayPolicyTableOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteTransitGatewayPolicyTableError>,
> {
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 DeleteTransitGatewayPolicyTableInput
.
source§impl DeleteTransitGatewayPolicyTableInput
impl DeleteTransitGatewayPolicyTableInput
sourcepub fn transit_gateway_policy_table_id(&self) -> Option<&str>
pub fn transit_gateway_policy_table_id(&self) -> Option<&str>
The transit gateway policy table to delete.
Trait Implementations§
source§impl Clone for DeleteTransitGatewayPolicyTableInput
impl Clone for DeleteTransitGatewayPolicyTableInput
source§fn clone(&self) -> DeleteTransitGatewayPolicyTableInput
fn clone(&self) -> DeleteTransitGatewayPolicyTableInput
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