Smaws_Client_AutoScaling.DescribeScalingActivitiesGets information about the scaling activities in the account and Region.
When scaling events occur, you see a record of the scaling activity in the scaling activities. For more information, see Verify a scaling activity for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
If the scaling event succeeds, the value of the StatusCode element in the response is Successful. If an attempt to launch instances failed, the StatusCode value is Failed or Cancelled and the StatusMessage element in the response indicates the cause of the failure. For help interpreting the StatusMessage, see Troubleshooting Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidNextToken of Types.invalid_next_token
| `ResourceContentionFault of Types.resource_contention_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_scaling_activities_type ->
(Types.activities_type,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidNextToken of Types.invalid_next_token
| `ResourceContentionFault of Types.resource_contention_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_scaling_activities_type ->
(Types.activities_type Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidNextToken of Types.invalid_next_token
| `ResourceContentionFault of Types.resource_contention_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result