#[non_exhaustive]pub struct DeleteQueuedReservedInstancesInput { /* private fields */ }
Implementations§
source§impl DeleteQueuedReservedInstancesInput
impl DeleteQueuedReservedInstancesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteQueuedReservedInstances, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteQueuedReservedInstances, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteQueuedReservedInstances
>
Examples found in repository?
src/client.rs (line 28960)
28946 28947 28948 28949 28950 28951 28952 28953 28954 28955 28956 28957 28958 28959 28960 28961 28962 28963 28964 28965 28966 28967 28968 28969 28970 28971 28972 28973 28974 28975 28976 28977 28978 28979 28980 28981 28982 28983 28984 28985 28986 28987 28988
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteQueuedReservedInstances,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteQueuedReservedInstancesError>,
> {
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::DeleteQueuedReservedInstancesOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteQueuedReservedInstancesError>,
> {
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 DeleteQueuedReservedInstancesInput
.
source§impl DeleteQueuedReservedInstancesInput
impl DeleteQueuedReservedInstancesInput
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 reserved_instances_ids(&self) -> Option<&[String]>
pub fn reserved_instances_ids(&self) -> Option<&[String]>
The IDs of the Reserved Instances.
Trait Implementations§
source§impl Clone for DeleteQueuedReservedInstancesInput
impl Clone for DeleteQueuedReservedInstancesInput
source§fn clone(&self) -> DeleteQueuedReservedInstancesInput
fn clone(&self) -> DeleteQueuedReservedInstancesInput
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