Struct aws_sdk_ec2::client::fluent_builders::ModifyReservedInstances [−][src]
pub struct ModifyReservedInstances<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ModifyReservedInstances
.
Modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Reserved Instances. The Reserved Instances to be modified must be identical, except for Availability Zone, network platform, and instance type.
For more information, see Modifying Reserved Instances in the Amazon EC2 User Guide.
Implementations
impl<C, M, R> ModifyReservedInstances<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ModifyReservedInstances<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ModifyReservedInstancesOutput, SdkError<ModifyReservedInstancesError>> where
R::Policy: SmithyRetryPolicy<ModifyReservedInstancesInputOperationOutputAlias, ModifyReservedInstancesOutput, ModifyReservedInstancesError, ModifyReservedInstancesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ModifyReservedInstancesOutput, SdkError<ModifyReservedInstancesError>> where
R::Policy: SmithyRetryPolicy<ModifyReservedInstancesInputOperationOutputAlias, ModifyReservedInstancesOutput, ModifyReservedInstancesError, ModifyReservedInstancesInputOperationRetryAlias>,
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, which can be set when configuring the client.
Appends an item to ReservedInstancesIds
.
To override the contents of this collection use set_reserved_instances_ids
.
The IDs of the Reserved Instances to modify.
The IDs of the Reserved Instances to modify.
A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
Appends an item to TargetConfigurations
.
To override the contents of this collection use set_target_configurations
.
The configuration settings for the Reserved Instances to modify.
pub fn set_target_configurations(
self,
input: Option<Vec<ReservedInstancesConfiguration>>
) -> Self
pub fn set_target_configurations(
self,
input: Option<Vec<ReservedInstancesConfiguration>>
) -> Self
The configuration settings for the Reserved Instances to modify.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ModifyReservedInstances<C, M, R>
impl<C, M, R> Send for ModifyReservedInstances<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ModifyReservedInstances<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ModifyReservedInstances<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ModifyReservedInstances<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more