#[non_exhaustive]pub struct AssociateTransitGatewayPolicyTableInput { /* private fields */ }Implementations§
source§impl AssociateTransitGatewayPolicyTableInput
impl AssociateTransitGatewayPolicyTableInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssociateTransitGatewayPolicyTable, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssociateTransitGatewayPolicyTable, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AssociateTransitGatewayPolicyTable>
Examples found in repository?
src/client.rs (line 10943)
10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::AssociateTransitGatewayPolicyTable,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::AssociateTransitGatewayPolicyTableError,
>,
> {
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::AssociateTransitGatewayPolicyTableOutput,
aws_smithy_http::result::SdkError<
crate::error::AssociateTransitGatewayPolicyTableError,
>,
> {
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 AssociateTransitGatewayPolicyTableInput.
source§impl AssociateTransitGatewayPolicyTableInput
impl AssociateTransitGatewayPolicyTableInput
sourcepub fn transit_gateway_policy_table_id(&self) -> Option<&str>
pub fn transit_gateway_policy_table_id(&self) -> Option<&str>
The ID of the transit gateway policy table to associate with the transit gateway attachment.
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 associate with the policy table.
Trait Implementations§
source§impl Clone for AssociateTransitGatewayPolicyTableInput
impl Clone for AssociateTransitGatewayPolicyTableInput
source§fn clone(&self) -> AssociateTransitGatewayPolicyTableInput
fn clone(&self) -> AssociateTransitGatewayPolicyTableInput
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