amazonka-emr-1.6.0: Amazon Elastic MapReduce SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EMR.RemoveAutoScalingPolicy

Contents

Description

Removes an automatic scaling policy from a specified instance group within an EMR cluster.

Synopsis

Creating a Request

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

Eq RemoveAutoScalingPolicy # 
Data RemoveAutoScalingPolicy # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RemoveAutoScalingPolicy -> c RemoveAutoScalingPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RemoveAutoScalingPolicy #

toConstr :: RemoveAutoScalingPolicy -> Constr #

dataTypeOf :: RemoveAutoScalingPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RemoveAutoScalingPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RemoveAutoScalingPolicy) #

gmapT :: (forall b. Data b => b -> b) -> RemoveAutoScalingPolicy -> RemoveAutoScalingPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RemoveAutoScalingPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RemoveAutoScalingPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> RemoveAutoScalingPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RemoveAutoScalingPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RemoveAutoScalingPolicy -> m RemoveAutoScalingPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RemoveAutoScalingPolicy -> m RemoveAutoScalingPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RemoveAutoScalingPolicy -> m RemoveAutoScalingPolicy #

Read RemoveAutoScalingPolicy # 
Show RemoveAutoScalingPolicy # 
Generic RemoveAutoScalingPolicy # 
Hashable RemoveAutoScalingPolicy # 
ToJSON RemoveAutoScalingPolicy # 
NFData RemoveAutoScalingPolicy # 

Methods

rnf :: RemoveAutoScalingPolicy -> () #

AWSRequest RemoveAutoScalingPolicy # 
ToHeaders RemoveAutoScalingPolicy # 
ToPath RemoveAutoScalingPolicy # 
ToQuery RemoveAutoScalingPolicy # 
type Rep RemoveAutoScalingPolicy # 
type Rep RemoveAutoScalingPolicy = D1 * (MetaData "RemoveAutoScalingPolicy" "Network.AWS.EMR.RemoveAutoScalingPolicy" "amazonka-emr-1.6.0-IfkEnk2mHfrL7lT8VCMwMx" False) (C1 * (MetaCons "RemoveAutoScalingPolicy'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_raspClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_raspInstanceGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs RemoveAutoScalingPolicy # 

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 #

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:

data RemoveAutoScalingPolicyResponse #

See: removeAutoScalingPolicyResponse smart constructor.

Instances

Eq RemoveAutoScalingPolicyResponse # 
Data RemoveAutoScalingPolicyResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RemoveAutoScalingPolicyResponse -> c RemoveAutoScalingPolicyResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RemoveAutoScalingPolicyResponse #

toConstr :: RemoveAutoScalingPolicyResponse -> Constr #

dataTypeOf :: RemoveAutoScalingPolicyResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RemoveAutoScalingPolicyResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RemoveAutoScalingPolicyResponse) #

gmapT :: (forall b. Data b => b -> b) -> RemoveAutoScalingPolicyResponse -> RemoveAutoScalingPolicyResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RemoveAutoScalingPolicyResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RemoveAutoScalingPolicyResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RemoveAutoScalingPolicyResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RemoveAutoScalingPolicyResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RemoveAutoScalingPolicyResponse -> m RemoveAutoScalingPolicyResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RemoveAutoScalingPolicyResponse -> m RemoveAutoScalingPolicyResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RemoveAutoScalingPolicyResponse -> m RemoveAutoScalingPolicyResponse #

Read RemoveAutoScalingPolicyResponse # 
Show RemoveAutoScalingPolicyResponse # 
Generic RemoveAutoScalingPolicyResponse # 
NFData RemoveAutoScalingPolicyResponse # 
type Rep RemoveAutoScalingPolicyResponse # 
type Rep RemoveAutoScalingPolicyResponse = D1 * (MetaData "RemoveAutoScalingPolicyResponse" "Network.AWS.EMR.RemoveAutoScalingPolicy" "amazonka-emr-1.6.0-IfkEnk2mHfrL7lT8VCMwMx" True) (C1 * (MetaCons "RemoveAutoScalingPolicyResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_rasprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses