#[non_exhaustive]pub struct CreateTransitGatewayConnectInput { /* private fields */ }
Implementations§
source§impl CreateTransitGatewayConnectInput
impl CreateTransitGatewayConnectInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTransitGatewayConnect, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTransitGatewayConnect, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateTransitGatewayConnect
>
Examples found in repository?
src/client.rs (line 22797)
22783 22784 22785 22786 22787 22788 22789 22790 22791 22792 22793 22794 22795 22796 22797 22798 22799 22800 22801 22802 22803 22804 22805 22806 22807 22808 22809 22810 22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateTransitGatewayConnect,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateTransitGatewayConnectError>,
> {
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::CreateTransitGatewayConnectOutput,
aws_smithy_http::result::SdkError<crate::error::CreateTransitGatewayConnectError>,
> {
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 CreateTransitGatewayConnectInput
.
source§impl CreateTransitGatewayConnectInput
impl CreateTransitGatewayConnectInput
sourcepub fn transport_transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transport_transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.
sourcepub fn options(&self) -> Option<&CreateTransitGatewayConnectRequestOptions>
pub fn options(&self) -> Option<&CreateTransitGatewayConnectRequestOptions>
The Connect attachment options.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the Connect attachment.
Trait Implementations§
source§impl Clone for CreateTransitGatewayConnectInput
impl Clone for CreateTransitGatewayConnectInput
source§fn clone(&self) -> CreateTransitGatewayConnectInput
fn clone(&self) -> CreateTransitGatewayConnectInput
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