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 an automatic scaling policy from a specified instance group within an EMR cluster.
Synopsis
- data RemoveAutoScalingPolicy = RemoveAutoScalingPolicy' {
- clusterId :: Text
- instanceGroupId :: Text
- newRemoveAutoScalingPolicy :: Text -> Text -> RemoveAutoScalingPolicy
- removeAutoScalingPolicy_clusterId :: Lens' RemoveAutoScalingPolicy Text
- removeAutoScalingPolicy_instanceGroupId :: Lens' RemoveAutoScalingPolicy Text
- data RemoveAutoScalingPolicyResponse = RemoveAutoScalingPolicyResponse' {
- httpStatus :: Int
- newRemoveAutoScalingPolicyResponse :: Int -> RemoveAutoScalingPolicyResponse
- removeAutoScalingPolicyResponse_httpStatus :: Lens' RemoveAutoScalingPolicyResponse Int
Creating a Request
data RemoveAutoScalingPolicy Source #
See: newRemoveAutoScalingPolicy
smart constructor.
RemoveAutoScalingPolicy' | |
|
Instances
newRemoveAutoScalingPolicy Source #
:: Text | |
-> Text | |
-> RemoveAutoScalingPolicy |
Create a value of RemoveAutoScalingPolicy
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:RemoveAutoScalingPolicy'
, removeAutoScalingPolicy_clusterId
- Specifies the ID of a cluster. The instance group to which the automatic
scaling policy is applied is within this cluster.
$sel:instanceGroupId:RemoveAutoScalingPolicy'
, removeAutoScalingPolicy_instanceGroupId
- Specifies the ID of the instance group to which the scaling policy is
applied.
Request Lenses
removeAutoScalingPolicy_clusterId :: Lens' RemoveAutoScalingPolicy Text Source #
Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
removeAutoScalingPolicy_instanceGroupId :: Lens' RemoveAutoScalingPolicy Text Source #
Specifies the ID of the instance group to which the scaling policy is applied.
Destructuring the Response
data RemoveAutoScalingPolicyResponse Source #
See: newRemoveAutoScalingPolicyResponse
smart constructor.
RemoveAutoScalingPolicyResponse' | |
|
Instances
Eq RemoveAutoScalingPolicyResponse Source # | |
Read RemoveAutoScalingPolicyResponse Source # | |
Show RemoveAutoScalingPolicyResponse Source # | |
Defined in Amazonka.EMR.RemoveAutoScalingPolicy | |
Generic RemoveAutoScalingPolicyResponse Source # | |
NFData RemoveAutoScalingPolicyResponse Source # | |
Defined in Amazonka.EMR.RemoveAutoScalingPolicy rnf :: RemoveAutoScalingPolicyResponse -> () # | |
type Rep RemoveAutoScalingPolicyResponse Source # | |
Defined in Amazonka.EMR.RemoveAutoScalingPolicy type Rep RemoveAutoScalingPolicyResponse = D1 ('MetaData "RemoveAutoScalingPolicyResponse" "Amazonka.EMR.RemoveAutoScalingPolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "RemoveAutoScalingPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRemoveAutoScalingPolicyResponse Source #
Create a value of RemoveAutoScalingPolicyResponse
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:RemoveAutoScalingPolicyResponse'
, removeAutoScalingPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
removeAutoScalingPolicyResponse_httpStatus :: Lens' RemoveAutoScalingPolicyResponse Int Source #
The response's http status code.