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

Amazonka.GameLift.DeleteScalingPolicy

Description

Deletes a fleet scaling policy. Once deleted, the policy is no longer in force and GameLift removes all record of it. To delete a scaling policy, specify both the scaling policy name and the fleet ID it is associated with.

To temporarily suspend scaling policies, call StopFleetActions. This operation suspends all policies for the fleet.

Related actions

DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions | StartFleetActions | All APIs by task

Synopsis

Creating a Request

data DeleteScalingPolicy Source #

Represents the input for a request operation.

See: newDeleteScalingPolicy smart constructor.

Constructors

DeleteScalingPolicy' 

Fields

  • name :: Text

    A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.

  • fleetId :: Text

    A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.

Instances

Instances details
Eq DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Read DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Show DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Generic DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Associated Types

type Rep DeleteScalingPolicy :: Type -> Type #

NFData DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Methods

rnf :: DeleteScalingPolicy -> () #

Hashable DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

ToJSON DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

AWSRequest DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Associated Types

type AWSResponse DeleteScalingPolicy #

ToHeaders DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

ToPath DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

ToQuery DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

type Rep DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

type Rep DeleteScalingPolicy = D1 ('MetaData "DeleteScalingPolicy" "Amazonka.GameLift.DeleteScalingPolicy" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "DeleteScalingPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteScalingPolicy Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

newDeleteScalingPolicy Source #

Create a value of DeleteScalingPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:DeleteScalingPolicy', deleteScalingPolicy_name - A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.

$sel:fleetId:DeleteScalingPolicy', deleteScalingPolicy_fleetId - A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.

Request Lenses

deleteScalingPolicy_name :: Lens' DeleteScalingPolicy Text Source #

A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.

deleteScalingPolicy_fleetId :: Lens' DeleteScalingPolicy Text Source #

A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.

Destructuring the Response

data DeleteScalingPolicyResponse Source #

See: newDeleteScalingPolicyResponse smart constructor.

Instances

Instances details
Eq DeleteScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Read DeleteScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Show DeleteScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Generic DeleteScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

Associated Types

type Rep DeleteScalingPolicyResponse :: Type -> Type #

NFData DeleteScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

type Rep DeleteScalingPolicyResponse Source # 
Instance details

Defined in Amazonka.GameLift.DeleteScalingPolicy

type Rep DeleteScalingPolicyResponse = D1 ('MetaData "DeleteScalingPolicyResponse" "Amazonka.GameLift.DeleteScalingPolicy" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "DeleteScalingPolicyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteScalingPolicyResponse :: DeleteScalingPolicyResponse Source #

Create a value of DeleteScalingPolicyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.