amazonka-application-autoscaling-1.5.0: Amazon Application Auto Scaling 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.ApplicationAutoScaling.DeleteScheduledAction

Contents

Description

Deletes the specified Application Auto Scaling scheduled action.

Synopsis

Creating a Request

deleteScheduledAction Source #

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

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

  • dsaScalableDimension - The scalable dimension. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. * dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. * dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index.
  • dsaServiceNamespace - The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .
  • dsaScheduledActionName - The name of the scheduled action.
  • dsaResourceId - The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier. * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: servicedefaultsample-webapp . * Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table . * DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: tablemy-tableindex/my-table-index .

data DeleteScheduledAction Source #

See: deleteScheduledAction smart constructor.

Instances

Eq DeleteScheduledAction Source # 
Data DeleteScheduledAction Source # 

Methods

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

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

toConstr :: DeleteScheduledAction -> Constr #

dataTypeOf :: DeleteScheduledAction -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteScheduledAction -> () #

AWSRequest DeleteScheduledAction Source # 
ToQuery DeleteScheduledAction Source # 
ToPath DeleteScheduledAction Source # 
ToHeaders DeleteScheduledAction Source # 
type Rep DeleteScheduledAction Source # 
type Rep DeleteScheduledAction = D1 (MetaData "DeleteScheduledAction" "Network.AWS.ApplicationAutoScaling.DeleteScheduledAction" "amazonka-application-autoscaling-1.5.0-5iC3R6sr9ynHfFcA2WGqDZ" False) (C1 (MetaCons "DeleteScheduledAction'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsaScalableDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ScalableDimension))) (S1 (MetaSel (Just Symbol "_dsaServiceNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServiceNamespace))) ((:*:) (S1 (MetaSel (Just Symbol "_dsaScheduledActionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsaResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DeleteScheduledAction Source # 

Request Lenses

dsaScalableDimension :: Lens' DeleteScheduledAction (Maybe ScalableDimension) Source #

The scalable dimension. This string consists of the service namespace, resource type, and scaling property. * ecs:service:DesiredCount - The desired task count of an ECS service. * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot fleet request. * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. * dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table. * dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index. * dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index.

dsaServiceNamespace :: Lens' DeleteScheduledAction ServiceNamespace Source #

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference .

dsaScheduledActionName :: Lens' DeleteScheduledAction Text Source #

The name of the scheduled action.

dsaResourceId :: Lens' DeleteScheduledAction Text Source #

The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier. * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: servicedefaultsample-webapp . * Spot fleet request - The resource type is spot-fleet-request and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE . * EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroupj-2EEZNYKUA1NTVig-1791Y4E1L8YI0 . * AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet . * DynamoDB table - The resource type is table and the unique identifier is the resource ID. Example: table/my-table . * DynamoDB global secondary index - The resource type is index and the unique identifier is the resource ID. Example: tablemy-tableindex/my-table-index .

Destructuring the Response

deleteScheduledActionResponse Source #

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

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

data DeleteScheduledActionResponse Source #

See: deleteScheduledActionResponse smart constructor.

Instances

Eq DeleteScheduledActionResponse Source # 
Data DeleteScheduledActionResponse Source # 

Methods

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

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

toConstr :: DeleteScheduledActionResponse -> Constr #

dataTypeOf :: DeleteScheduledActionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteScheduledActionResponse Source # 
Show DeleteScheduledActionResponse Source # 
Generic DeleteScheduledActionResponse Source # 
NFData DeleteScheduledActionResponse Source # 
type Rep DeleteScheduledActionResponse Source # 
type Rep DeleteScheduledActionResponse = D1 (MetaData "DeleteScheduledActionResponse" "Network.AWS.ApplicationAutoScaling.DeleteScheduledAction" "amazonka-application-autoscaling-1.5.0-5iC3R6sr9ynHfFcA2WGqDZ" True) (C1 (MetaCons "DeleteScheduledActionResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_delrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses