#[non_exhaustive]pub struct DeleteEgressOnlyInternetGatewayInput { /* private fields */ }
Implementations§
source§impl DeleteEgressOnlyInternetGatewayInput
impl DeleteEgressOnlyInternetGatewayInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteEgressOnlyInternetGateway, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteEgressOnlyInternetGateway, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteEgressOnlyInternetGateway
>
Examples found in repository?
src/client.rs (line 26335)
26321 26322 26323 26324 26325 26326 26327 26328 26329 26330 26331 26332 26333 26334 26335 26336 26337 26338 26339 26340 26341 26342 26343 26344 26345 26346 26347 26348 26349 26350 26351 26352 26353 26354 26355 26356 26357 26358 26359 26360 26361 26362 26363
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteEgressOnlyInternetGateway,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteEgressOnlyInternetGatewayError>,
> {
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::DeleteEgressOnlyInternetGatewayOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteEgressOnlyInternetGatewayError>,
> {
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 DeleteEgressOnlyInternetGatewayInput
.
source§impl DeleteEgressOnlyInternetGatewayInput
impl DeleteEgressOnlyInternetGatewayInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn egress_only_internet_gateway_id(&self) -> Option<&str>
pub fn egress_only_internet_gateway_id(&self) -> Option<&str>
The ID of the egress-only internet gateway.
Trait Implementations§
source§impl Clone for DeleteEgressOnlyInternetGatewayInput
impl Clone for DeleteEgressOnlyInternetGatewayInput
source§fn clone(&self) -> DeleteEgressOnlyInternetGatewayInput
fn clone(&self) -> DeleteEgressOnlyInternetGatewayInput
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