Smaws_Client_AutoScaling.RecordLifecycleActionHeartbeatRecords a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call.
This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ResourceContentionFault of Types.resource_contention_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.record_lifecycle_action_heartbeat_type ->
(Types.record_lifecycle_action_heartbeat_answer,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ResourceContentionFault of Types.resource_contention_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.record_lifecycle_action_heartbeat_type ->
(Types.record_lifecycle_action_heartbeat_answer Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ResourceContentionFault of Types.resource_contention_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result