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 |
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.
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.
RemoveManagedScalingPolicyResponse' | |
|
Instances
Eq RemoveManagedScalingPolicyResponse Source # | |
Read RemoveManagedScalingPolicyResponse Source # | |
Show RemoveManagedScalingPolicyResponse Source # | |
Generic RemoveManagedScalingPolicyResponse Source # | |
NFData RemoveManagedScalingPolicyResponse Source # | |
Defined in Amazonka.EMR.RemoveManagedScalingPolicy rnf :: RemoveManagedScalingPolicyResponse -> () # | |
type Rep RemoveManagedScalingPolicyResponse Source # | |
Defined in Amazonka.EMR.RemoveManagedScalingPolicy type Rep RemoveManagedScalingPolicyResponse = D1 ('MetaData "RemoveManagedScalingPolicyResponse" "Amazonka.EMR.RemoveManagedScalingPolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "RemoveManagedScalingPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRemoveManagedScalingPolicyResponse Source #
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.