Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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, use StopFleetActions. This operation suspends all policies for the fleet.
Synopsis
- data DeleteScalingPolicy = DeleteScalingPolicy' {}
- newDeleteScalingPolicy :: Text -> Text -> DeleteScalingPolicy
- deleteScalingPolicy_name :: Lens' DeleteScalingPolicy Text
- deleteScalingPolicy_fleetId :: Lens' DeleteScalingPolicy Text
- data DeleteScalingPolicyResponse = DeleteScalingPolicyResponse' {
- newDeleteScalingPolicyResponse :: DeleteScalingPolicyResponse
Creating a Request
data DeleteScalingPolicy Source #
See: newDeleteScalingPolicy
smart constructor.
Instances
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:
DeleteScalingPolicy
, deleteScalingPolicy_name
- A descriptive label that is associated with a fleet's scaling policy.
Policy names do not need to be unique.
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
newDeleteScalingPolicyResponse :: DeleteScalingPolicyResponse Source #
Create a value of DeleteScalingPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.