pub struct DescribeVolumesModifications { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeVolumesModifications
.
Describes the most recent volume modification request for the specified EBS volumes.
If a volume has never been modified, some information in the output will be null. If a volume has been modified more than once, the output includes only the most recent modification request.
You can also use CloudWatch Events to check the status of a modification to an EBS volume. For information about CloudWatch Events, see the Amazon CloudWatch Events User Guide. For more information, see Monitor the progress of volume modifications in the Amazon Elastic Compute Cloud User Guide.
Implementations§
source§impl DescribeVolumesModifications
impl DescribeVolumesModifications
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeVolumesModifications, AwsResponseRetryClassifier>, SdkError<DescribeVolumesModificationsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeVolumesModifications, AwsResponseRetryClassifier>, SdkError<DescribeVolumesModificationsError>>
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<DescribeVolumesModificationsOutput, SdkError<DescribeVolumesModificationsError>>
pub async fn send(
self
) -> Result<DescribeVolumesModificationsOutput, SdkError<DescribeVolumesModificationsError>>
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) -> DescribeVolumesModificationsPaginator
pub fn into_paginator(self) -> DescribeVolumesModificationsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
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 set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
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 volume_ids(self, input: impl Into<String>) -> Self
pub fn volume_ids(self, input: impl Into<String>) -> Self
Appends an item to VolumeIds
.
To override the contents of this collection use set_volume_ids
.
The IDs of the volumes.
sourcepub fn set_volume_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_volume_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the volumes.
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
.
The filters.
-
modification-state
- The current modification state (modifying | optimizing | completed | failed). -
original-iops
- The original IOPS rate of the volume. -
original-size
- The original size of the volume, in GiB. -
original-volume-type
- The original volume type of the volume (standard | io1 | io2 | gp2 | sc1 | st1). -
originalMultiAttachEnabled
- Indicates whether Multi-Attach support was enabled (true | false). -
start-time
- The modification start time. -
target-iops
- The target IOPS rate of the volume. -
target-size
- The target size of the volume, in GiB. -
target-volume-type
- The target volume type of the volume (standard | io1 | io2 | gp2 | sc1 | st1). -
targetMultiAttachEnabled
- Indicates whether Multi-Attach support is to be enabled (true | false). -
volume-id
- The ID of the volume.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
The filters.
-
modification-state
- The current modification state (modifying | optimizing | completed | failed). -
original-iops
- The original IOPS rate of the volume. -
original-size
- The original size of the volume, in GiB. -
original-volume-type
- The original volume type of the volume (standard | io1 | io2 | gp2 | sc1 | st1). -
originalMultiAttachEnabled
- Indicates whether Multi-Attach support was enabled (true | false). -
start-time
- The modification start time. -
target-iops
- The target IOPS rate of the volume. -
target-size
- The target size of the volume, in GiB. -
target-volume-type
- The target volume type of the volume (standard | io1 | io2 | gp2 | sc1 | st1). -
targetMultiAttachEnabled
- Indicates whether Multi-Attach support is to be enabled (true | false). -
volume-id
- The ID of the volume.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value returned by a previous paginated request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value returned by a previous paginated request.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results (up to a limit of 500) to be returned in a paginated request.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results (up to a limit of 500) to be returned in a paginated request.
Trait Implementations§
source§impl Clone for DescribeVolumesModifications
impl Clone for DescribeVolumesModifications
source§fn clone(&self) -> DescribeVolumesModifications
fn clone(&self) -> DescribeVolumesModifications
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more