Struct aws_sdk_autoscaling::operation::describe_instance_refreshes::builders::DescribeInstanceRefreshesFluentBuilder
source · pub struct DescribeInstanceRefreshesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeInstanceRefreshes
.
Gets information about the instance refreshes for the specified Auto Scaling group from the previous six weeks.
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, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, 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. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.
Implementations§
source§impl DescribeInstanceRefreshesFluentBuilder
impl DescribeInstanceRefreshesFluentBuilder
sourcepub fn as_input(&self) -> &DescribeInstanceRefreshesInputBuilder
pub fn as_input(&self) -> &DescribeInstanceRefreshesInputBuilder
Access the DescribeInstanceRefreshes as a reference.
sourcepub async fn send(
self
) -> Result<DescribeInstanceRefreshesOutput, SdkError<DescribeInstanceRefreshesError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeInstanceRefreshesOutput, SdkError<DescribeInstanceRefreshesError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<DescribeInstanceRefreshesOutput, DescribeInstanceRefreshesError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeInstanceRefreshesOutput, DescribeInstanceRefreshesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeInstanceRefreshesPaginator
pub fn into_paginator(self) -> DescribeInstanceRefreshesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
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 get_auto_scaling_group_name(&self) -> &Option<String>
pub fn get_auto_scaling_group_name(&self) -> &Option<String>
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 get_instance_refresh_ids(&self) -> &Option<Vec<String>>
pub fn get_instance_refresh_ids(&self) -> &Option<Vec<String>>
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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
.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
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 DescribeInstanceRefreshesFluentBuilder
impl Clone for DescribeInstanceRefreshesFluentBuilder
source§fn clone(&self) -> DescribeInstanceRefreshesFluentBuilder
fn clone(&self) -> DescribeInstanceRefreshesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeInstanceRefreshesFluentBuilder
impl !RefUnwindSafe for DescribeInstanceRefreshesFluentBuilder
impl Send for DescribeInstanceRefreshesFluentBuilder
impl Sync for DescribeInstanceRefreshesFluentBuilder
impl Unpin for DescribeInstanceRefreshesFluentBuilder
impl !UnwindSafe for DescribeInstanceRefreshesFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more