Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.EMR.RemoveAutoScalingPolicy
Description
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
Arguments
:: Text | |
-> Text | |
-> RemoveAutoScalingPolicy |
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 #
See: removeAutoScalingPolicy
smart constructor.
Instances
Request Lenses
raspClusterId :: Lens' RemoveAutoScalingPolicy Text #
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 #
Specifies the ID of the instance group to which the scaling policy is applied.
Destructuring the Response
removeAutoScalingPolicyResponse #
Arguments
:: Int | |
-> RemoveAutoScalingPolicyResponse |
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 #
See: removeAutoScalingPolicyResponse
smart constructor.
Response Lenses
rasprsResponseStatus :: Lens' RemoveAutoScalingPolicyResponse Int #
- - | The response status code.