| 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.RemoveAutoScalingPolicy
Description
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.
Constructors
| RemoveAutoScalingPolicy' | |
Fields
| |
Instances
newRemoveAutoScalingPolicy Source #
Arguments
| :: 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.
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.
Constructors
| RemoveAutoScalingPolicyResponse' | |
Fields
| |
Instances
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.