| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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.