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 |
Fetches the attached managed scaling policy for an Amazon EMR cluster.
Synopsis
- data GetManagedScalingPolicy = GetManagedScalingPolicy' {}
- newGetManagedScalingPolicy :: Text -> GetManagedScalingPolicy
- getManagedScalingPolicy_clusterId :: Lens' GetManagedScalingPolicy Text
- data GetManagedScalingPolicyResponse = GetManagedScalingPolicyResponse' {}
- newGetManagedScalingPolicyResponse :: Int -> GetManagedScalingPolicyResponse
- getManagedScalingPolicyResponse_managedScalingPolicy :: Lens' GetManagedScalingPolicyResponse (Maybe ManagedScalingPolicy)
- getManagedScalingPolicyResponse_httpStatus :: Lens' GetManagedScalingPolicyResponse Int
Creating a Request
data GetManagedScalingPolicy Source #
See: newGetManagedScalingPolicy
smart constructor.
Instances
newGetManagedScalingPolicy Source #
Create a value of GetManagedScalingPolicy
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:GetManagedScalingPolicy'
, getManagedScalingPolicy_clusterId
- Specifies the ID of the cluster for which the managed scaling policy
will be fetched.
Request Lenses
getManagedScalingPolicy_clusterId :: Lens' GetManagedScalingPolicy Text Source #
Specifies the ID of the cluster for which the managed scaling policy will be fetched.
Destructuring the Response
data GetManagedScalingPolicyResponse Source #
See: newGetManagedScalingPolicyResponse
smart constructor.
GetManagedScalingPolicyResponse' | |
|
Instances
Eq GetManagedScalingPolicyResponse Source # | |
Read GetManagedScalingPolicyResponse Source # | |
Show GetManagedScalingPolicyResponse Source # | |
Defined in Amazonka.EMR.GetManagedScalingPolicy | |
Generic GetManagedScalingPolicyResponse Source # | |
NFData GetManagedScalingPolicyResponse Source # | |
Defined in Amazonka.EMR.GetManagedScalingPolicy rnf :: GetManagedScalingPolicyResponse -> () # | |
type Rep GetManagedScalingPolicyResponse Source # | |
Defined in Amazonka.EMR.GetManagedScalingPolicy type Rep GetManagedScalingPolicyResponse = D1 ('MetaData "GetManagedScalingPolicyResponse" "Amazonka.EMR.GetManagedScalingPolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "GetManagedScalingPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "managedScalingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedScalingPolicy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetManagedScalingPolicyResponse Source #
Create a value of GetManagedScalingPolicyResponse
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:managedScalingPolicy:GetManagedScalingPolicyResponse'
, getManagedScalingPolicyResponse_managedScalingPolicy
- Specifies the managed scaling policy that is attached to an Amazon EMR
cluster.
$sel:httpStatus:GetManagedScalingPolicyResponse'
, getManagedScalingPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getManagedScalingPolicyResponse_managedScalingPolicy :: Lens' GetManagedScalingPolicyResponse (Maybe ManagedScalingPolicy) Source #
Specifies the managed scaling policy that is attached to an Amazon EMR cluster.
getManagedScalingPolicyResponse_httpStatus :: Lens' GetManagedScalingPolicyResponse Int Source #
The response's http status code.