Struct aws_sdk_ec2::input::DeleteIpamScopeInput
source · #[non_exhaustive]pub struct DeleteIpamScopeInput { /* private fields */ }
Implementations§
source§impl DeleteIpamScopeInput
impl DeleteIpamScopeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteIpamScope, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteIpamScope, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteIpamScope
>
Examples found in repository?
src/client.rs (line 27097)
27083 27084 27085 27086 27087 27088 27089 27090 27091 27092 27093 27094 27095 27096 27097 27098 27099 27100 27101 27102 27103 27104 27105 27106 27107 27108 27109 27110 27111 27112 27113 27114 27115 27116 27117 27118 27119 27120 27121 27122 27123 27124 27125
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteIpamScope,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteIpamScopeError>,
> {
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::DeleteIpamScopeOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteIpamScopeError>,
> {
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 DeleteIpamScopeInput
.
source§impl DeleteIpamScopeInput
impl DeleteIpamScopeInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
A check for 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 ipam_scope_id(&self) -> Option<&str>
pub fn ipam_scope_id(&self) -> Option<&str>
The ID of the scope to delete.
Trait Implementations§
source§impl Clone for DeleteIpamScopeInput
impl Clone for DeleteIpamScopeInput
source§fn clone(&self) -> DeleteIpamScopeInput
fn clone(&self) -> DeleteIpamScopeInput
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