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 |
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.
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.
GetAutoTerminationPolicyResponse' | |
|
Instances
Eq GetAutoTerminationPolicyResponse Source # | |
Read GetAutoTerminationPolicyResponse Source # | |
Show GetAutoTerminationPolicyResponse Source # | |
Defined in Amazonka.EMR.GetAutoTerminationPolicy | |
Generic GetAutoTerminationPolicyResponse Source # | |
NFData GetAutoTerminationPolicyResponse Source # | |
Defined in Amazonka.EMR.GetAutoTerminationPolicy rnf :: GetAutoTerminationPolicyResponse -> () # | |
type Rep GetAutoTerminationPolicyResponse Source # | |
Defined in Amazonka.EMR.GetAutoTerminationPolicy type Rep GetAutoTerminationPolicyResponse = D1 ('MetaData "GetAutoTerminationPolicyResponse" "Amazonka.EMR.GetAutoTerminationPolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "GetAutoTerminationPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoTerminationPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoTerminationPolicy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.