pub struct DescribeReservedInstancesModifications { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeReservedInstancesModifications
.
Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned.
For more information, see Modifying Reserved Instances in the Amazon EC2 User Guide.
Implementations§
source§impl DescribeReservedInstancesModifications
impl DescribeReservedInstancesModifications
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeReservedInstancesModifications, AwsResponseRetryClassifier>, SdkError<DescribeReservedInstancesModificationsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeReservedInstancesModifications, AwsResponseRetryClassifier>, SdkError<DescribeReservedInstancesModificationsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeReservedInstancesModificationsOutput, SdkError<DescribeReservedInstancesModificationsError>>
pub async fn send(
self
) -> Result<DescribeReservedInstancesModificationsOutput, SdkError<DescribeReservedInstancesModificationsError>>
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.
sourcepub fn into_paginator(self) -> DescribeReservedInstancesModificationsPaginator
pub fn into_paginator(self) -> DescribeReservedInstancesModificationsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
One or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
modification-result.target-configuration.platform
- The network platform of the new Reserved Instances (EC2-Classic
|EC2-VPC
). -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
sourcepub fn reserved_instances_modification_ids(
self,
input: impl Into<String>
) -> Self
pub fn reserved_instances_modification_ids(
self,
input: impl Into<String>
) -> Self
Appends an item to ReservedInstancesModificationIds
.
To override the contents of this collection use set_reserved_instances_modification_ids
.
IDs for the submitted modification request.
sourcepub fn set_reserved_instances_modification_ids(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_reserved_instances_modification_ids(
self,
input: Option<Vec<String>>
) -> Self
IDs for the submitted modification request.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to retrieve the next page of results.
Trait Implementations§
source§impl Clone for DescribeReservedInstancesModifications
impl Clone for DescribeReservedInstancesModifications
source§fn clone(&self) -> DescribeReservedInstancesModifications
fn clone(&self) -> DescribeReservedInstancesModifications
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more