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.GetManagedScalingPolicy
Description
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.
Constructors
GetManagedScalingPolicy' | |
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.
Constructors
GetManagedScalingPolicyResponse' | |
Fields
|
Instances
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.