amazonka-gamelift-1.5.0: Amazon GameLift 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.GameLift.DeleteScalingPolicy

Contents

Description

Deletes a fleet scaling policy. This action means that the policy is no longer in force and removes all record of it. To delete a scaling policy, specify both the scaling policy name and the fleet ID it is associated with.

Fleet-related operations include:

  • CreateFleet
  • ListFleets
  • Describe fleets:
  • DescribeFleetAttributes
  • DescribeFleetPortSettings
  • DescribeFleetUtilization
  • DescribeRuntimeConfiguration
  • DescribeFleetEvents
  • Update fleets:
  • UpdateFleetAttributes
  • UpdateFleetCapacity
  • UpdateFleetPortSettings
  • UpdateRuntimeConfiguration
  • Manage fleet capacity:
  • DescribeFleetCapacity
  • UpdateFleetCapacity
  • PutScalingPolicy (automatic scaling)
  • DescribeScalingPolicies (automatic scaling)
  • DeleteScalingPolicy (automatic scaling)
  • DescribeEC2InstanceLimits
  • DeleteFleet

Synopsis

Creating a Request

deleteScalingPolicy Source #

Creates a value of DeleteScalingPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dspName - Descriptive label that is associated with a scaling policy. Policy names do not need to be unique.
  • dspFleetId - Unique identifier for a fleet to be deleted.

data DeleteScalingPolicy Source #

Represents the input for a request action.

See: deleteScalingPolicy smart constructor.

Instances

Eq DeleteScalingPolicy Source # 
Data DeleteScalingPolicy Source # 

Methods

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

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

toConstr :: DeleteScalingPolicy -> Constr #

dataTypeOf :: DeleteScalingPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteScalingPolicy Source # 
Show DeleteScalingPolicy Source # 
Generic DeleteScalingPolicy Source # 
Hashable DeleteScalingPolicy Source # 
ToJSON DeleteScalingPolicy Source # 
NFData DeleteScalingPolicy Source # 

Methods

rnf :: DeleteScalingPolicy -> () #

AWSRequest DeleteScalingPolicy Source # 
ToQuery DeleteScalingPolicy Source # 
ToPath DeleteScalingPolicy Source # 
ToHeaders DeleteScalingPolicy Source # 
type Rep DeleteScalingPolicy Source # 
type Rep DeleteScalingPolicy = D1 (MetaData "DeleteScalingPolicy" "Network.AWS.GameLift.DeleteScalingPolicy" "amazonka-gamelift-1.5.0-LWFsf2alHztGD91U7ab8u0" False) (C1 (MetaCons "DeleteScalingPolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dspName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dspFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteScalingPolicy Source # 

Request Lenses

dspName :: Lens' DeleteScalingPolicy Text Source #

Descriptive label that is associated with a scaling policy. Policy names do not need to be unique.

dspFleetId :: Lens' DeleteScalingPolicy Text Source #

Unique identifier for a fleet to be deleted.

Destructuring the Response

deleteScalingPolicyResponse :: DeleteScalingPolicyResponse Source #

Creates a value of DeleteScalingPolicyResponse with the minimum fields required to make a request.

data DeleteScalingPolicyResponse Source #

See: deleteScalingPolicyResponse smart constructor.

Instances

Eq DeleteScalingPolicyResponse Source # 
Data DeleteScalingPolicyResponse Source # 

Methods

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

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

toConstr :: DeleteScalingPolicyResponse -> Constr #

dataTypeOf :: DeleteScalingPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteScalingPolicyResponse Source # 
Show DeleteScalingPolicyResponse Source # 
Generic DeleteScalingPolicyResponse Source # 
NFData DeleteScalingPolicyResponse Source # 
type Rep DeleteScalingPolicyResponse Source # 
type Rep DeleteScalingPolicyResponse = D1 (MetaData "DeleteScalingPolicyResponse" "Network.AWS.GameLift.DeleteScalingPolicy" "amazonka-gamelift-1.5.0-LWFsf2alHztGD91U7ab8u0" False) (C1 (MetaCons "DeleteScalingPolicyResponse'" PrefixI False) U1)