amazonka-emr-1.5.0: Amazon Elastic MapReduce SDK.

Copyright(c) 2013-2017 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 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.

Instances

Eq RemoveAutoScalingPolicy Source # 
Data RemoveAutoScalingPolicy Source # 

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 Source # 
Show RemoveAutoScalingPolicy Source # 
Generic RemoveAutoScalingPolicy Source # 
Hashable RemoveAutoScalingPolicy Source # 
ToJSON RemoveAutoScalingPolicy Source # 
NFData RemoveAutoScalingPolicy Source # 

Methods

rnf :: RemoveAutoScalingPolicy -> () #

AWSRequest RemoveAutoScalingPolicy Source # 
ToQuery RemoveAutoScalingPolicy Source # 
ToPath RemoveAutoScalingPolicy Source # 
ToHeaders RemoveAutoScalingPolicy Source # 
type Rep RemoveAutoScalingPolicy Source # 
type Rep RemoveAutoScalingPolicy = D1 (MetaData "RemoveAutoScalingPolicy" "Network.AWS.EMR.RemoveAutoScalingPolicy" "amazonka-emr-1.5.0-C1GqpVtJ9PJGrzHDjJdK61" 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 Source # 

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:

data RemoveAutoScalingPolicyResponse Source #

See: removeAutoScalingPolicyResponse smart constructor.

Instances

Eq RemoveAutoScalingPolicyResponse Source # 
Data RemoveAutoScalingPolicyResponse Source # 

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 Source # 
Show RemoveAutoScalingPolicyResponse Source # 
Generic RemoveAutoScalingPolicyResponse Source # 
NFData RemoveAutoScalingPolicyResponse Source # 
type Rep RemoveAutoScalingPolicyResponse Source # 
type Rep RemoveAutoScalingPolicyResponse = D1 (MetaData "RemoveAutoScalingPolicyResponse" "Network.AWS.EMR.RemoveAutoScalingPolicy" "amazonka-emr-1.5.0-C1GqpVtJ9PJGrzHDjJdK61" True) (C1 (MetaCons "RemoveAutoScalingPolicyResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_rasprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses