#[non_exhaustive]pub struct DeleteTransitGatewayConnectPeerInput { /* private fields */ }
Implementations§
source§impl DeleteTransitGatewayConnectPeerInput
impl DeleteTransitGatewayConnectPeerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayConnectPeer, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteTransitGatewayConnectPeer, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteTransitGatewayConnectPeer
>
Examples found in repository?
src/client.rs (line 30326)
30312 30313 30314 30315 30316 30317 30318 30319 30320 30321 30322 30323 30324 30325 30326 30327 30328 30329 30330 30331 30332 30333 30334 30335 30336 30337 30338 30339 30340 30341 30342 30343 30344 30345 30346 30347 30348 30349 30350 30351 30352 30353 30354
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteTransitGatewayConnectPeer,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteTransitGatewayConnectPeerError>,
> {
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::DeleteTransitGatewayConnectPeerOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteTransitGatewayConnectPeerError>,
> {
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 DeleteTransitGatewayConnectPeerInput
.
source§impl DeleteTransitGatewayConnectPeerInput
impl DeleteTransitGatewayConnectPeerInput
sourcepub fn transit_gateway_connect_peer_id(&self) -> Option<&str>
pub fn transit_gateway_connect_peer_id(&self) -> Option<&str>
The ID of the Connect peer.
Trait Implementations§
source§impl Clone for DeleteTransitGatewayConnectPeerInput
impl Clone for DeleteTransitGatewayConnectPeerInput
source§fn clone(&self) -> DeleteTransitGatewayConnectPeerInput
fn clone(&self) -> DeleteTransitGatewayConnectPeerInput
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