| 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.RemoveManagedScalingPolicy
Description
Removes a managed scaling policy from a specified EMR cluster.
Synopsis
- data RemoveManagedScalingPolicy = RemoveManagedScalingPolicy' {}
- newRemoveManagedScalingPolicy :: Text -> RemoveManagedScalingPolicy
- removeManagedScalingPolicy_clusterId :: Lens' RemoveManagedScalingPolicy Text
- data RemoveManagedScalingPolicyResponse = RemoveManagedScalingPolicyResponse' {
- httpStatus :: Int
- newRemoveManagedScalingPolicyResponse :: Int -> RemoveManagedScalingPolicyResponse
- removeManagedScalingPolicyResponse_httpStatus :: Lens' RemoveManagedScalingPolicyResponse Int
Creating a Request
data RemoveManagedScalingPolicy Source #
See: newRemoveManagedScalingPolicy smart constructor.
Constructors
| RemoveManagedScalingPolicy' | |
Instances
newRemoveManagedScalingPolicy Source #
Create a value of RemoveManagedScalingPolicy 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:RemoveManagedScalingPolicy', removeManagedScalingPolicy_clusterId - Specifies the ID of the cluster from which the managed scaling policy
will be removed.
Request Lenses
removeManagedScalingPolicy_clusterId :: Lens' RemoveManagedScalingPolicy Text Source #
Specifies the ID of the cluster from which the managed scaling policy will be removed.
Destructuring the Response
data RemoveManagedScalingPolicyResponse Source #
See: newRemoveManagedScalingPolicyResponse smart constructor.
Constructors
| RemoveManagedScalingPolicyResponse' | |
Fields
| |
Instances
newRemoveManagedScalingPolicyResponse Source #
Arguments
| :: Int | |
| -> RemoveManagedScalingPolicyResponse |
Create a value of RemoveManagedScalingPolicyResponse 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:httpStatus:RemoveManagedScalingPolicyResponse', removeManagedScalingPolicyResponse_httpStatus - The response's http status code.
Response Lenses
removeManagedScalingPolicyResponse_httpStatus :: Lens' RemoveManagedScalingPolicyResponse Int Source #
The response's http status code.