Smaws_Client_AutoScaling.PutScheduledUpdateGroupActionCreates or updates a scheduled scaling action for an Auto Scaling group.
For more information, see Scheduled scaling in the Amazon EC2 Auto Scaling User Guide.
You can view the scheduled actions for an Auto Scaling group using the DescribeScheduledActions API call. If you are no longer using a scheduled action, you can delete it by calling the DeleteScheduledAction API.
If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AlreadyExistsFault of Types.already_exists_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_scheduled_update_group_action_type ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AlreadyExistsFault of Types.already_exists_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.put_scheduled_update_group_action_type ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AlreadyExistsFault of Types.already_exists_fault
| `LimitExceededFault of Types.limit_exceeded_fault
| `ResourceContentionFault of Types.resource_contention_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result