#[non_exhaustive]pub struct DisassociateTransitGatewayPolicyTableInput { /* private fields */ }
Implementations§
source§impl DisassociateTransitGatewayPolicyTableInput
impl DisassociateTransitGatewayPolicyTableInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateTransitGatewayPolicyTable, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateTransitGatewayPolicyTable, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateTransitGatewayPolicyTable
>
Examples found in repository?
src/client.rs (line 55224)
55208 55209 55210 55211 55212 55213 55214 55215 55216 55217 55218 55219 55220 55221 55222 55223 55224 55225 55226 55227 55228 55229 55230 55231 55232 55233 55234 55235 55236 55237 55238 55239 55240 55241 55242 55243 55244 55245 55246 55247 55248 55249 55250 55251 55252 55253 55254
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateTransitGatewayPolicyTable,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DisassociateTransitGatewayPolicyTableError,
>,
> {
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::DisassociateTransitGatewayPolicyTableOutput,
aws_smithy_http::result::SdkError<
crate::error::DisassociateTransitGatewayPolicyTableError,
>,
> {
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 DisassociateTransitGatewayPolicyTableInput
.
source§impl DisassociateTransitGatewayPolicyTableInput
impl DisassociateTransitGatewayPolicyTableInput
sourcepub fn transit_gateway_policy_table_id(&self) -> Option<&str>
pub fn transit_gateway_policy_table_id(&self) -> Option<&str>
The ID of the disassociated policy table.
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the transit gateway attachment to disassociate from the policy table.
Trait Implementations§
source§impl Clone for DisassociateTransitGatewayPolicyTableInput
impl Clone for DisassociateTransitGatewayPolicyTableInput
source§fn clone(&self) -> DisassociateTransitGatewayPolicyTableInput
fn clone(&self) -> DisassociateTransitGatewayPolicyTableInput
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