Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Removes an automatic scaling policy from a specified instance group within an EMR cluster.
- removeAutoScalingPolicy :: Text -> Text -> RemoveAutoScalingPolicy
- data RemoveAutoScalingPolicy
- raspClusterId :: Lens' RemoveAutoScalingPolicy Text
- raspInstanceGroupId :: Lens' RemoveAutoScalingPolicy Text
- removeAutoScalingPolicyResponse :: Int -> RemoveAutoScalingPolicyResponse
- data RemoveAutoScalingPolicyResponse
- rasprsResponseStatus :: Lens' RemoveAutoScalingPolicyResponse Int
Creating a Request
removeAutoScalingPolicy Source #
Creates a value of RemoveAutoScalingPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
raspClusterId
- Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.raspInstanceGroupId
- Specifies the ID of the instance group to which the scaling policy is applied.
data RemoveAutoScalingPolicy Source #
See: removeAutoScalingPolicy
smart constructor.
Request Lenses
raspClusterId :: 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.
raspInstanceGroupId :: Lens' RemoveAutoScalingPolicy Text Source #
Specifies the ID of the instance group to which the scaling policy is applied.
Destructuring the Response
removeAutoScalingPolicyResponse Source #
Creates a value of RemoveAutoScalingPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rasprsResponseStatus
- -- | The response status code.
data RemoveAutoScalingPolicyResponse Source #
See: removeAutoScalingPolicyResponse
smart constructor.
Response Lenses
rasprsResponseStatus :: Lens' RemoveAutoScalingPolicyResponse Int Source #
- - | The response status code.