Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deregisters a scalable target that was previously registered. If you are no longer using a scalable target, you can delete it with this operation. When you deregister a scalable target, all of the scaling policies that are associated with that scalable target are deleted.
To create a new scalable target or update an existing one, see RegisterScalableTarget.
- deregisterScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> DeregisterScalableTarget
- data DeregisterScalableTarget
- derServiceNamespace :: Lens' DeregisterScalableTarget ServiceNamespace
- derResourceId :: Lens' DeregisterScalableTarget Text
- derScalableDimension :: Lens' DeregisterScalableTarget ScalableDimension
- deregisterScalableTargetResponse :: Int -> DeregisterScalableTargetResponse
- data DeregisterScalableTargetResponse
- dstrsResponseStatus :: Lens' DeregisterScalableTargetResponse Int
Creating a Request
deregisterScalableTarget Source #
Creates a value of DeregisterScalableTarget
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeregisterScalableTarget Source #
See: deregisterScalableTarget
smart constructor.
Request Lenses
derServiceNamespace :: Lens' DeregisterScalableTarget ServiceNamespace Source #
The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
derResourceId :: Lens' DeregisterScalableTarget Text Source #
The unique identifier string for the resource associated with the scalable target. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as 'service\/default\/sample-webapp'.
derScalableDimension :: Lens' DeregisterScalableTarget ScalableDimension Source #
The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as 'ecs:service:DesiredCount' for the desired task count of an Amazon ECS service.
Destructuring the Response
deregisterScalableTargetResponse Source #
Creates a value of DeregisterScalableTargetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeregisterScalableTargetResponse Source #
See: deregisterScalableTargetResponse
smart constructor.
Response Lenses
dstrsResponseStatus :: Lens' DeregisterScalableTargetResponse Int Source #
The response status code.