pub struct DescribeWarmPool { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeWarmPool.
Gets information about a warm pool and its instances.
For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
Implementations§
source§impl DescribeWarmPool
impl DescribeWarmPool
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeWarmPool, AwsResponseRetryClassifier>, SdkError<DescribeWarmPoolError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeWarmPool, AwsResponseRetryClassifier>, SdkError<DescribeWarmPoolError>>
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<DescribeWarmPoolOutput, SdkError<DescribeWarmPoolError>>
pub async fn send(
self
) -> Result<DescribeWarmPoolOutput, SdkError<DescribeWarmPoolError>>
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 max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of instances to return with this call. The maximum value is 50.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of instances to return with this call. The maximum value is 50.
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 instances 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 instances to return. (You received this token from a previous call.)
Trait Implementations§
source§impl Clone for DescribeWarmPool
impl Clone for DescribeWarmPool
source§fn clone(&self) -> DescribeWarmPool
fn clone(&self) -> DescribeWarmPool
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more