pub struct DescribeInstanceRefreshes { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeInstanceRefreshes.
Gets information about the instance refreshes for the specified Auto Scaling group.
This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes.
To help you determine the status of an instance refresh, this operation returns information about the instance refreshes you previously initiated, including their status, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete.
The following are the possible statuses:
-
Pending- The request was created, but the operation has not started. -
InProgress- The operation is in progress. -
Successful- The operation completed successfully. -
Failed- The operation failed to complete. You can troubleshoot using the status reason and the scaling activities. -
Cancelling- An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started. -
Cancelled- The operation is cancelled.
Implementations§
source§impl DescribeInstanceRefreshes
impl DescribeInstanceRefreshes
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeInstanceRefreshes, AwsResponseRetryClassifier>, SdkError<DescribeInstanceRefreshesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeInstanceRefreshes, AwsResponseRetryClassifier>, SdkError<DescribeInstanceRefreshesError>>
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<DescribeInstanceRefreshesOutput, SdkError<DescribeInstanceRefreshesError>>
pub async fn send(
self
) -> Result<DescribeInstanceRefreshesOutput, SdkError<DescribeInstanceRefreshesError>>
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 auto_scaling_group_name(self, input: impl Into<String>) -> Self
pub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
The name of the Auto Scaling group.
sourcepub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
pub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
The name of the Auto Scaling group.
sourcepub fn instance_refresh_ids(self, input: impl Into<String>) -> Self
pub fn instance_refresh_ids(self, input: impl Into<String>) -> Self
Appends an item to InstanceRefreshIds.
To override the contents of this collection use set_instance_refresh_ids.
One or more instance refresh IDs.
sourcepub fn set_instance_refresh_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_refresh_ids(self, input: Option<Vec<String>>) -> Self
One or more instance refresh IDs.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.
Trait Implementations§
source§impl Clone for DescribeInstanceRefreshes
impl Clone for DescribeInstanceRefreshes
source§fn clone(&self) -> DescribeInstanceRefreshes
fn clone(&self) -> DescribeInstanceRefreshes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more