#[non_exhaustive]pub struct DisassociateTransitGatewayConnectPeerInput { /* private fields */ }Implementations§
source§impl DisassociateTransitGatewayConnectPeerInput
impl DisassociateTransitGatewayConnectPeerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateTransitGatewayConnectPeer, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateTransitGatewayConnectPeer, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateTransitGatewayConnectPeer>
Examples found in repository?
src/client.rs (line 4768)
4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateTransitGatewayConnectPeer,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DisassociateTransitGatewayConnectPeerError,
>,
> {
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::DisassociateTransitGatewayConnectPeerOutput,
aws_smithy_http::result::SdkError<
crate::error::DisassociateTransitGatewayConnectPeerError,
>,
> {
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 DisassociateTransitGatewayConnectPeerInput.
source§impl DisassociateTransitGatewayConnectPeerInput
impl DisassociateTransitGatewayConnectPeerInput
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of the global network.
sourcepub fn transit_gateway_connect_peer_arn(&self) -> Option<&str>
pub fn transit_gateway_connect_peer_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
Trait Implementations§
source§impl Clone for DisassociateTransitGatewayConnectPeerInput
impl Clone for DisassociateTransitGatewayConnectPeerInput
source§fn clone(&self) -> DisassociateTransitGatewayConnectPeerInput
fn clone(&self) -> DisassociateTransitGatewayConnectPeerInput
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