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.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.