GetAutoTerminationPolicy - Amazon EMR

GetAutoTerminationPolicy

Returns the auto-termination policy for an Amazon EMR cluster.

Request Syntax

{ "ClusterId": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

ClusterId

Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.

Type: String

Required: Yes

Response Syntax

{ "AutoTerminationPolicy": { "IdleTimeout": number } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

AutoTerminationPolicy

Specifies the auto-termination policy that is attached to an Amazon EMR cluster.

Type: AutoTerminationPolicy object

Errors

For information about the errors that are common to all actions, see Common Errors.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: