describe_warm_pool
¶
describe_warm_pool(
*,
config_overrides: Optional[AutoScalingClientConfig] = None,
auto_scaling_group_name: Optional[XmlStringMaxLen255] = None,
max_records: Optional[MaxRecords] = None,
next_token: Optional[XmlString] = None,
) -> DescribeWarmPoolAnswer
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.
Parameters:
-
auto_scaling_group_name(Optional[XmlStringMaxLen255], default:None) –The name of the Auto Scaling group.
-
max_records(Optional[MaxRecords], default:None) –The maximum number of instances to return with this call. The maximum value is
50. -
next_token(Optional[XmlString], default:None) –The token for the next set of instances to return. (You received this token from a previous call.)
Raises:
-
InvalidNextToken–The
NextTokenvalue is not valid. -
LimitExceededFault–You have already reached a limit for your Amazon EC2 Auto Scaling resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits in the Amazon EC2 Auto Scaling API Reference.
-
ResourceContentionFault–You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, instance, or load balancer).
-
UnknownServiceError–The service returned an error code this client does not model.