Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.EMR.GetAutoTerminationPolicy
Description
Returns the auto-termination policy for an Amazon EMR cluster.
Synopsis
- data GetAutoTerminationPolicy = GetAutoTerminationPolicy' {}
- newGetAutoTerminationPolicy :: Text -> GetAutoTerminationPolicy
- getAutoTerminationPolicy_clusterId :: Lens' GetAutoTerminationPolicy Text
- data GetAutoTerminationPolicyResponse = GetAutoTerminationPolicyResponse' {}
- newGetAutoTerminationPolicyResponse :: Int -> GetAutoTerminationPolicyResponse
- getAutoTerminationPolicyResponse_autoTerminationPolicy :: Lens' GetAutoTerminationPolicyResponse (Maybe AutoTerminationPolicy)
- getAutoTerminationPolicyResponse_httpStatus :: Lens' GetAutoTerminationPolicyResponse Int
Creating a Request
data GetAutoTerminationPolicy Source #
See: newGetAutoTerminationPolicy
smart constructor.
Constructors
GetAutoTerminationPolicy' | |
Instances
newGetAutoTerminationPolicy Source #
Create a value of GetAutoTerminationPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clusterId:GetAutoTerminationPolicy'
, getAutoTerminationPolicy_clusterId
- Specifies the ID of the Amazon EMR cluster for which the
auto-termination policy will be fetched.
Request Lenses
getAutoTerminationPolicy_clusterId :: Lens' GetAutoTerminationPolicy Text Source #
Specifies the ID of the Amazon EMR cluster for which the auto-termination policy will be fetched.
Destructuring the Response
data GetAutoTerminationPolicyResponse Source #
See: newGetAutoTerminationPolicyResponse
smart constructor.
Constructors
GetAutoTerminationPolicyResponse' | |
Fields
|
Instances
newGetAutoTerminationPolicyResponse Source #
Create a value of GetAutoTerminationPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoTerminationPolicy:GetAutoTerminationPolicyResponse'
, getAutoTerminationPolicyResponse_autoTerminationPolicy
- Specifies the auto-termination policy that is attached to an Amazon EMR
cluster.
$sel:httpStatus:GetAutoTerminationPolicyResponse'
, getAutoTerminationPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getAutoTerminationPolicyResponse_autoTerminationPolicy :: Lens' GetAutoTerminationPolicyResponse (Maybe AutoTerminationPolicy) Source #
Specifies the auto-termination policy that is attached to an Amazon EMR cluster.
getAutoTerminationPolicyResponse_httpStatus :: Lens' GetAutoTerminationPolicyResponse Int Source #
The response's http status code.