Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Waiters
- Operations
- Types
- AdjustmentType
- MetricAggregationType
- MetricStatistic
- MetricType
- PolicyType
- ScalableDimension
- ScalingActivityStatusCode
- ServiceNamespace
- Alarm
- CustomizedMetricSpecification
- MetricDimension
- PredefinedMetricSpecification
- ScalableTarget
- ScalableTargetAction
- ScalingActivity
- ScalingPolicy
- ScheduledAction
- StepAdjustment
- StepScalingPolicyConfiguration
- SuspendedState
- TargetTrackingScalingPolicyConfiguration
Derived from API version 2016-02-06
of the AWS service descriptions, licensed under Apache 2.0.
With Application Auto Scaling, you can configure automatic scaling for the following resources:
- Amazon AppStream 2.0 fleets
- Amazon Aurora Replicas
- Amazon Comprehend document classification and entity recognizer endpoints
- Amazon DynamoDB tables and global secondary indexes throughput capacity
- Amazon ECS services
- Amazon ElastiCache for Redis clusters (replication groups)
- Amazon EMR clusters
- Amazon Keyspaces (for Apache Cassandra) tables
- Lambda function provisioned concurrency
- Amazon Managed Streaming for Apache Kafka broker storage
- Amazon Neptune clusters
- Amazon SageMaker endpoint variants
- Spot Fleets (Amazon EC2)
- Custom resources provided by your own applications or services
API Summary
The Application Auto Scaling service API includes three key sets of actions:
- Register and manage scalable targets - Register Amazon Web Services or custom resources as scalable targets (a resource that Application Auto Scaling can scale), set minimum and maximum capacity limits, and retrieve information on existing scalable targets.
- Configure and manage automatic scaling - Define scaling policies to dynamically scale your resources in response to CloudWatch alarms, schedule one-time or recurring scaling actions, and retrieve your recent scaling activity history.
- Suspend and resume scaling - Temporarily suspend and later resume automatic scaling by calling the RegisterScalableTarget API action for any Application Auto Scaling scalable target. You can suspend and resume (individually or in combination) scale-out activities that are triggered by a scaling policy, scale-in activities that are triggered by a scaling policy, and scheduled scaling.
To learn more about Application Auto Scaling, including information about granting IAM users required permissions for Application Auto Scaling actions, see the Application Auto Scaling User Guide.
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _FailedResourceAccessException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConcurrentUpdateException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- data DeleteScalingPolicy = DeleteScalingPolicy' Text ServiceNamespace Text ScalableDimension
- newDeleteScalingPolicy :: Text -> ServiceNamespace -> Text -> ScalableDimension -> DeleteScalingPolicy
- data DeleteScalingPolicyResponse = DeleteScalingPolicyResponse' Int
- newDeleteScalingPolicyResponse :: Int -> DeleteScalingPolicyResponse
- data PutScalingPolicy = PutScalingPolicy' (Maybe PolicyType) (Maybe TargetTrackingScalingPolicyConfiguration) (Maybe StepScalingPolicyConfiguration) Text ServiceNamespace Text ScalableDimension
- newPutScalingPolicy :: Text -> ServiceNamespace -> Text -> ScalableDimension -> PutScalingPolicy
- data PutScalingPolicyResponse = PutScalingPolicyResponse' (Maybe [Alarm]) Int Text
- newPutScalingPolicyResponse :: Int -> Text -> PutScalingPolicyResponse
- data RegisterScalableTarget = RegisterScalableTarget' (Maybe SuspendedState) (Maybe Int) (Maybe Int) (Maybe Text) ServiceNamespace Text ScalableDimension
- newRegisterScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> RegisterScalableTarget
- data RegisterScalableTargetResponse = RegisterScalableTargetResponse' Int
- newRegisterScalableTargetResponse :: Int -> RegisterScalableTargetResponse
- data DescribeScalingPolicies = DescribeScalingPolicies' (Maybe [Text]) (Maybe ScalableDimension) (Maybe Text) (Maybe Text) (Maybe Int) ServiceNamespace
- newDescribeScalingPolicies :: ServiceNamespace -> DescribeScalingPolicies
- data DescribeScalingPoliciesResponse = DescribeScalingPoliciesResponse' (Maybe Text) (Maybe [ScalingPolicy]) Int
- newDescribeScalingPoliciesResponse :: Int -> DescribeScalingPoliciesResponse
- data PutScheduledAction = PutScheduledAction' (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe ScalableTargetAction) (Maybe Text) ServiceNamespace Text Text ScalableDimension
- newPutScheduledAction :: ServiceNamespace -> Text -> Text -> ScalableDimension -> PutScheduledAction
- data PutScheduledActionResponse = PutScheduledActionResponse' Int
- newPutScheduledActionResponse :: Int -> PutScheduledActionResponse
- data DeleteScheduledAction = DeleteScheduledAction' ServiceNamespace Text Text ScalableDimension
- newDeleteScheduledAction :: ServiceNamespace -> Text -> Text -> ScalableDimension -> DeleteScheduledAction
- data DeleteScheduledActionResponse = DeleteScheduledActionResponse' Int
- newDeleteScheduledActionResponse :: Int -> DeleteScheduledActionResponse
- data DescribeScheduledActions = DescribeScheduledActions' (Maybe ScalableDimension) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Int) ServiceNamespace
- newDescribeScheduledActions :: ServiceNamespace -> DescribeScheduledActions
- data DescribeScheduledActionsResponse = DescribeScheduledActionsResponse' (Maybe Text) (Maybe [ScheduledAction]) Int
- newDescribeScheduledActionsResponse :: Int -> DescribeScheduledActionsResponse
- data DescribeScalableTargets = DescribeScalableTargets' (Maybe [Text]) (Maybe ScalableDimension) (Maybe Text) (Maybe Int) ServiceNamespace
- newDescribeScalableTargets :: ServiceNamespace -> DescribeScalableTargets
- data DescribeScalableTargetsResponse = DescribeScalableTargetsResponse' (Maybe Text) (Maybe [ScalableTarget]) Int
- newDescribeScalableTargetsResponse :: Int -> DescribeScalableTargetsResponse
- data DescribeScalingActivities = DescribeScalingActivities' (Maybe ScalableDimension) (Maybe Text) (Maybe Text) (Maybe Int) ServiceNamespace
- newDescribeScalingActivities :: ServiceNamespace -> DescribeScalingActivities
- data DescribeScalingActivitiesResponse = DescribeScalingActivitiesResponse' (Maybe [ScalingActivity]) (Maybe Text) Int
- newDescribeScalingActivitiesResponse :: Int -> DescribeScalingActivitiesResponse
- data DeregisterScalableTarget = DeregisterScalableTarget' ServiceNamespace Text ScalableDimension
- newDeregisterScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> DeregisterScalableTarget
- data DeregisterScalableTargetResponse = DeregisterScalableTargetResponse' Int
- newDeregisterScalableTargetResponse :: Int -> DeregisterScalableTargetResponse
- newtype AdjustmentType where
- AdjustmentType' { }
- pattern AdjustmentType_ChangeInCapacity :: AdjustmentType
- pattern AdjustmentType_ExactCapacity :: AdjustmentType
- pattern AdjustmentType_PercentChangeInCapacity :: AdjustmentType
- newtype MetricAggregationType where
- newtype MetricStatistic where
- MetricStatistic' { }
- pattern MetricStatistic_Average :: MetricStatistic
- pattern MetricStatistic_Maximum :: MetricStatistic
- pattern MetricStatistic_Minimum :: MetricStatistic
- pattern MetricStatistic_SampleCount :: MetricStatistic
- pattern MetricStatistic_Sum :: MetricStatistic
- newtype MetricType where
- MetricType' { }
- pattern MetricType_ALBRequestCountPerTarget :: MetricType
- pattern MetricType_AppStreamAverageCapacityUtilization :: MetricType
- pattern MetricType_CassandraReadCapacityUtilization :: MetricType
- pattern MetricType_CassandraWriteCapacityUtilization :: MetricType
- pattern MetricType_ComprehendInferenceUtilization :: MetricType
- pattern MetricType_DynamoDBReadCapacityUtilization :: MetricType
- pattern MetricType_DynamoDBWriteCapacityUtilization :: MetricType
- pattern MetricType_EC2SpotFleetRequestAverageCPUUtilization :: MetricType
- pattern MetricType_EC2SpotFleetRequestAverageNetworkIn :: MetricType
- pattern MetricType_EC2SpotFleetRequestAverageNetworkOut :: MetricType
- pattern MetricType_ECSServiceAverageCPUUtilization :: MetricType
- pattern MetricType_ECSServiceAverageMemoryUtilization :: MetricType
- pattern MetricType_ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage :: MetricType
- pattern MetricType_ElastiCachePrimaryEngineCPUUtilization :: MetricType
- pattern MetricType_ElastiCacheReplicaEngineCPUUtilization :: MetricType
- pattern MetricType_KafkaBrokerStorageUtilization :: MetricType
- pattern MetricType_LambdaProvisionedConcurrencyUtilization :: MetricType
- pattern MetricType_NeptuneReaderAverageCPUUtilization :: MetricType
- pattern MetricType_RDSReaderAverageCPUUtilization :: MetricType
- pattern MetricType_RDSReaderAverageDatabaseConnections :: MetricType
- pattern MetricType_SageMakerVariantInvocationsPerInstance :: MetricType
- newtype PolicyType where
- PolicyType' { }
- pattern PolicyType_StepScaling :: PolicyType
- pattern PolicyType_TargetTrackingScaling :: PolicyType
- newtype ScalableDimension where
- ScalableDimension' { }
- pattern ScalableDimension_Appstream_fleet_DesiredCapacity :: ScalableDimension
- pattern ScalableDimension_Cassandra_table_ReadCapacityUnits :: ScalableDimension
- pattern ScalableDimension_Cassandra_table_WriteCapacityUnits :: ScalableDimension
- pattern ScalableDimension_Comprehend_document_classifier_endpoint_DesiredInferenceUnits :: ScalableDimension
- pattern ScalableDimension_Comprehend_entity_recognizer_endpoint_DesiredInferenceUnits :: ScalableDimension
- pattern ScalableDimension_Custom_resource_ResourceType_Property :: ScalableDimension
- pattern ScalableDimension_Dynamodb_index_ReadCapacityUnits :: ScalableDimension
- pattern ScalableDimension_Dynamodb_index_WriteCapacityUnits :: ScalableDimension
- pattern ScalableDimension_Dynamodb_table_ReadCapacityUnits :: ScalableDimension
- pattern ScalableDimension_Dynamodb_table_WriteCapacityUnits :: ScalableDimension
- pattern ScalableDimension_Ec2_spot_fleet_request_TargetCapacity :: ScalableDimension
- pattern ScalableDimension_Ecs_service_DesiredCount :: ScalableDimension
- pattern ScalableDimension_Elasticache_replication_group_NodeGroups :: ScalableDimension
- pattern ScalableDimension_Elasticache_replication_group_Replicas :: ScalableDimension
- pattern ScalableDimension_Elasticmapreduce_instancegroup_InstanceCount :: ScalableDimension
- pattern ScalableDimension_Kafka_broker_storage_VolumeSize :: ScalableDimension
- pattern ScalableDimension_Lambda_function_ProvisionedConcurrency :: ScalableDimension
- pattern ScalableDimension_Neptune_cluster_ReadReplicaCount :: ScalableDimension
- pattern ScalableDimension_Rds_cluster_ReadReplicaCount :: ScalableDimension
- pattern ScalableDimension_Sagemaker_variant_DesiredInstanceCount :: ScalableDimension
- newtype ScalingActivityStatusCode where
- ScalingActivityStatusCode' { }
- pattern ScalingActivityStatusCode_Failed :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_InProgress :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_Overridden :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_Pending :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_Successful :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_Unfulfilled :: ScalingActivityStatusCode
- newtype ServiceNamespace where
- ServiceNamespace' { }
- pattern ServiceNamespace_Appstream :: ServiceNamespace
- pattern ServiceNamespace_Cassandra :: ServiceNamespace
- pattern ServiceNamespace_Comprehend :: ServiceNamespace
- pattern ServiceNamespace_Custom_resource :: ServiceNamespace
- pattern ServiceNamespace_Dynamodb :: ServiceNamespace
- pattern ServiceNamespace_Ec2 :: ServiceNamespace
- pattern ServiceNamespace_Ecs :: ServiceNamespace
- pattern ServiceNamespace_Elasticache :: ServiceNamespace
- pattern ServiceNamespace_Elasticmapreduce :: ServiceNamespace
- pattern ServiceNamespace_Kafka :: ServiceNamespace
- pattern ServiceNamespace_Lambda :: ServiceNamespace
- pattern ServiceNamespace_Neptune :: ServiceNamespace
- pattern ServiceNamespace_Rds :: ServiceNamespace
- pattern ServiceNamespace_Sagemaker :: ServiceNamespace
- data Alarm = Alarm' Text Text
- newAlarm :: Text -> Text -> Alarm
- data CustomizedMetricSpecification = CustomizedMetricSpecification' (Maybe [MetricDimension]) (Maybe Text) Text Text MetricStatistic
- newCustomizedMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
- data MetricDimension = MetricDimension' Text Text
- newMetricDimension :: Text -> Text -> MetricDimension
- data PredefinedMetricSpecification = PredefinedMetricSpecification' (Maybe Text) MetricType
- newPredefinedMetricSpecification :: MetricType -> PredefinedMetricSpecification
- data ScalableTarget = ScalableTarget' (Maybe SuspendedState) ServiceNamespace Text ScalableDimension Int Int Text POSIX
- newScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> Text -> UTCTime -> ScalableTarget
- data ScalableTargetAction = ScalableTargetAction' (Maybe Int) (Maybe Int)
- newScalableTargetAction :: ScalableTargetAction
- data ScalingActivity = ScalingActivity' (Maybe Text) (Maybe POSIX) (Maybe Text) Text ServiceNamespace Text ScalableDimension Text Text POSIX ScalingActivityStatusCode
- newScalingActivity :: Text -> ServiceNamespace -> Text -> ScalableDimension -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> ScalingActivity
- data ScalingPolicy = ScalingPolicy' (Maybe TargetTrackingScalingPolicyConfiguration) (Maybe StepScalingPolicyConfiguration) (Maybe [Alarm]) Text Text ServiceNamespace Text ScalableDimension PolicyType POSIX
- newScalingPolicy :: Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PolicyType -> UTCTime -> ScalingPolicy
- data ScheduledAction = ScheduledAction' (Maybe ScalableDimension) (Maybe POSIX) (Maybe POSIX) (Maybe ScalableTargetAction) (Maybe Text) Text Text ServiceNamespace Text Text POSIX
- newScheduledAction :: Text -> Text -> ServiceNamespace -> Text -> Text -> UTCTime -> ScheduledAction
- data StepAdjustment = StepAdjustment' (Maybe Double) (Maybe Double) Int
- newStepAdjustment :: Int -> StepAdjustment
- data StepScalingPolicyConfiguration = StepScalingPolicyConfiguration' (Maybe [StepAdjustment]) (Maybe AdjustmentType) (Maybe Int) (Maybe MetricAggregationType) (Maybe Int)
- newStepScalingPolicyConfiguration :: StepScalingPolicyConfiguration
- data SuspendedState = SuspendedState' (Maybe Bool) (Maybe Bool) (Maybe Bool)
- newSuspendedState :: SuspendedState
- data TargetTrackingScalingPolicyConfiguration = TargetTrackingScalingPolicyConfiguration' (Maybe PredefinedMetricSpecification) (Maybe Int) (Maybe CustomizedMetricSpecification) (Maybe Bool) (Maybe Int) Double
- newTargetTrackingScalingPolicyConfiguration :: Double -> TargetTrackingScalingPolicyConfiguration
Service Configuration
defaultService :: Service Source #
API version 2016-02-06
of the Amazon Application Auto Scaling SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by ApplicationAutoScaling
.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An exception was thrown for a validation issue. Review the available parameters for the API request.
FailedResourceAccessException
_FailedResourceAccessException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling is unable to retrieve the alarms associated with a scaling policy due to a client error, for example, if the role ARN specified for a scalable target does not have permission to call the CloudWatch DescribeAlarms on your behalf.
InvalidNextTokenException
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The next token supplied was invalid.
ConcurrentUpdateException
_ConcurrentUpdateException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Concurrent updates caused an exception, for example, if you request an update to an Application Auto Scaling resource that already has a pending update.
InternalServiceException
_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The service encountered an internal error.
ObjectNotFoundException
_ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified object could not be found. For any operation that depends on the existence of a scalable target, this exception is thrown if the scalable target with the specified service namespace, resource ID, and scalable dimension does not exist. For any operation that deletes or deregisters a resource, this exception is thrown if the resource cannot be found.
LimitExceededException
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A per-account resource limit is exceeded. For more information, see Application Auto Scaling service quotas.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
DeleteScalingPolicy
data DeleteScalingPolicy Source #
See: newDeleteScalingPolicy
smart constructor.
Instances
newDeleteScalingPolicy Source #
:: Text | |
-> ServiceNamespace | |
-> Text | |
-> ScalableDimension | |
-> DeleteScalingPolicy |
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:policyName:DeleteScalingPolicy'
, deleteScalingPolicy_policyName
- The name of the scaling policy.
$sel:serviceNamespace:DeleteScalingPolicy'
, deleteScalingPolicy_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
$sel:resourceId:DeleteScalingPolicy'
, deleteScalingPolicy_resourceId
- The identifier of the resource associated with the scalable target. 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:DeleteScalingPolicy'
, deleteScalingPolicy_scalableDimension
- 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.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
data DeleteScalingPolicyResponse Source #
See: newDeleteScalingPolicyResponse
smart constructor.
Instances
newDeleteScalingPolicyResponse Source #
Create a value of DeleteScalingPolicyResponse
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:httpStatus:DeleteScalingPolicyResponse'
, deleteScalingPolicyResponse_httpStatus
- The response's http status code.
PutScalingPolicy
data PutScalingPolicy Source #
See: newPutScalingPolicy
smart constructor.
PutScalingPolicy' (Maybe PolicyType) (Maybe TargetTrackingScalingPolicyConfiguration) (Maybe StepScalingPolicyConfiguration) Text ServiceNamespace Text ScalableDimension |
Instances
:: Text | |
-> ServiceNamespace | |
-> Text | |
-> ScalableDimension | |
-> PutScalingPolicy |
Create a value of PutScalingPolicy
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:policyType:PutScalingPolicy'
, putScalingPolicy_policyType
- The policy type. This parameter is required if you are creating a
scaling policy.
The following policy types are supported:
TargetTrackingScaling
—Not supported for Amazon EMR
StepScaling
—Not supported for DynamoDB, Amazon Comprehend, Lambda,
Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
For more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide.
$sel:targetTrackingScalingPolicyConfiguration:PutScalingPolicy'
, putScalingPolicy_targetTrackingScalingPolicyConfiguration
- A target tracking scaling policy. Includes support for predefined or
customized metrics.
This parameter is required if you are creating a policy and the policy
type is TargetTrackingScaling
.
$sel:stepScalingPolicyConfiguration:PutScalingPolicy'
, putScalingPolicy_stepScalingPolicyConfiguration
- A step scaling policy.
This parameter is required if you are creating a policy and the policy
type is StepScaling
.
$sel:policyName:PutScalingPolicy'
, putScalingPolicy_policyName
- The name of the scaling policy.
$sel:serviceNamespace:PutScalingPolicy'
, putScalingPolicy_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
$sel:resourceId:PutScalingPolicy'
, putScalingPolicy_resourceId
- The identifier of the resource associated with the scaling policy. 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:PutScalingPolicy'
, putScalingPolicy_scalableDimension
- 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.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
data PutScalingPolicyResponse Source #
See: newPutScalingPolicyResponse
smart constructor.
Instances
newPutScalingPolicyResponse Source #
:: Int | |
-> Text | |
-> PutScalingPolicyResponse |
Create a value of PutScalingPolicyResponse
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:alarms:PutScalingPolicyResponse'
, putScalingPolicyResponse_alarms
- The CloudWatch alarms created for the target tracking scaling policy.
$sel:httpStatus:PutScalingPolicyResponse'
, putScalingPolicyResponse_httpStatus
- The response's http status code.
$sel:policyARN:PutScalingPolicyResponse'
, putScalingPolicyResponse_policyARN
- The Amazon Resource Name (ARN) of the resulting scaling policy.
RegisterScalableTarget
data RegisterScalableTarget Source #
See: newRegisterScalableTarget
smart constructor.
RegisterScalableTarget' (Maybe SuspendedState) (Maybe Int) (Maybe Int) (Maybe Text) ServiceNamespace Text ScalableDimension |
Instances
newRegisterScalableTarget Source #
Create a value of RegisterScalableTarget
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:suspendedState:RegisterScalableTarget'
, registerScalableTarget_suspendedState
- An embedded object that contains attributes and attribute values that
are used to suspend and resume automatic scaling. Setting the value of
an attribute to true
suspends the specified scaling activities.
Setting it to false
(default) resumes the specified scaling
activities.
Suspension Outcomes
- For
DynamicScalingInSuspended
, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended. - For
DynamicScalingOutSuspended
, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended. - For
ScheduledScalingSuspended
, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
For more information, see Suspending and resuming scaling in the Application Auto Scaling User Guide.
$sel:maxCapacity:RegisterScalableTarget'
, registerScalableTarget_maxCapacity
- The maximum value that you plan to scale out to. When a scaling policy
is in effect, Application Auto Scaling can scale out (expand) as needed
to the maximum capacity limit in response to changing demand. This
property is required when registering a new scalable target.
Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service Endpoints and Quotas in the Amazon Web Services General Reference.
$sel:minCapacity:RegisterScalableTarget'
, registerScalableTarget_minCapacity
- The minimum value that you plan to scale in to. When a scaling policy is
in effect, Application Auto Scaling can scale in (contract) as needed to
the minimum capacity limit in response to changing demand. This property
is required when registering a new scalable target.
For certain resources, the minimum value allowed is 0. This includes Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB clusters, EMR clusters, and custom resources. For all other resources, the minimum value allowed is 1.
$sel:roleARN:RegisterScalableTarget'
, registerScalableTarget_roleARN
- This parameter is required for services that do not support
service-linked roles (such as Amazon EMR), and it must specify the ARN
of an IAM role that allows Application Auto Scaling to modify the
scalable target on your behalf.
If the service supports service-linked roles, Application Auto Scaling uses a service-linked role, which it creates if it does not yet exist. For more information, see Application Auto Scaling IAM roles.
$sel:serviceNamespace:RegisterScalableTarget'
, registerScalableTarget_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
$sel:resourceId:RegisterScalableTarget'
, registerScalableTarget_resourceId
- The identifier of the resource that is associated with the scalable
target. 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:RegisterScalableTarget'
, registerScalableTarget_scalableDimension
- The scalable dimension associated with the scalable target. This string
consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
data RegisterScalableTargetResponse Source #
See: newRegisterScalableTargetResponse
smart constructor.
Instances
Eq RegisterScalableTargetResponse Source # | |
Read RegisterScalableTargetResponse Source # | |
Show RegisterScalableTargetResponse Source # | |
Generic RegisterScalableTargetResponse Source # | |
NFData RegisterScalableTargetResponse Source # | |
Defined in Amazonka.ApplicationAutoScaling.RegisterScalableTarget rnf :: RegisterScalableTargetResponse -> () # | |
type Rep RegisterScalableTargetResponse Source # | |
Defined in Amazonka.ApplicationAutoScaling.RegisterScalableTarget type Rep RegisterScalableTargetResponse = D1 ('MetaData "RegisterScalableTargetResponse" "Amazonka.ApplicationAutoScaling.RegisterScalableTarget" "libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling" 'False) (C1 ('MetaCons "RegisterScalableTargetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRegisterScalableTargetResponse Source #
Create a value of RegisterScalableTargetResponse
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:httpStatus:RegisterScalableTargetResponse'
, registerScalableTargetResponse_httpStatus
- The response's http status code.
DescribeScalingPolicies (Paginated)
data DescribeScalingPolicies Source #
See: newDescribeScalingPolicies
smart constructor.
DescribeScalingPolicies' (Maybe [Text]) (Maybe ScalableDimension) (Maybe Text) (Maybe Text) (Maybe Int) ServiceNamespace |
Instances
newDescribeScalingPolicies Source #
Create a value of DescribeScalingPolicies
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:policyNames:DescribeScalingPolicies'
, describeScalingPolicies_policyNames
- The names of the scaling policies to describe.
$sel:scalableDimension:DescribeScalingPolicies'
, describeScalingPolicies_scalableDimension
- The scalable dimension. This string consists of the service namespace,
resource type, and scaling property. If you specify a scalable
dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The desired task count of an ECS service.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
$sel:resourceId:DescribeScalingPolicies'
, describeScalingPolicies_resourceId
- The identifier of the resource associated with the scaling policy. 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:nextToken:DescribeScalingPolicies'
, describeScalingPolicies_nextToken
- The token for the next set of results.
$sel:maxResults:DescribeScalingPolicies'
, describeScalingPolicies_maxResults
- The maximum number of scalable targets. This value can be between 1 and
10. The default value is 10.
If this parameter is used, the operation returns up to MaxResults
results at a time, along with a NextToken
value. To get the next set
of results, include the NextToken
value in a subsequent call. If this
parameter is not used, the operation returns up to 10 results and a
NextToken
value, if applicable.
$sel:serviceNamespace:DescribeScalingPolicies'
, describeScalingPolicies_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
data DescribeScalingPoliciesResponse Source #
See: newDescribeScalingPoliciesResponse
smart constructor.
Instances
newDescribeScalingPoliciesResponse Source #
Create a value of DescribeScalingPoliciesResponse
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:nextToken:DescribeScalingPolicies'
, describeScalingPoliciesResponse_nextToken
- The token required to get the next set of results. This value is null
if there are no more results to return.
$sel:scalingPolicies:DescribeScalingPoliciesResponse'
, describeScalingPoliciesResponse_scalingPolicies
- Information about the scaling policies.
$sel:httpStatus:DescribeScalingPoliciesResponse'
, describeScalingPoliciesResponse_httpStatus
- The response's http status code.
PutScheduledAction
data PutScheduledAction Source #
See: newPutScheduledAction
smart constructor.
PutScheduledAction' (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe ScalableTargetAction) (Maybe Text) ServiceNamespace Text Text ScalableDimension |
Instances
newPutScheduledAction Source #
:: ServiceNamespace | |
-> Text | |
-> Text | |
-> ScalableDimension | |
-> PutScheduledAction |
Create a value of PutScheduledAction
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:startTime:PutScheduledAction'
, putScheduledAction_startTime
- The date and time for this scheduled action to start, in UTC.
$sel:schedule:PutScheduledAction'
, putScheduledAction_schedule
- The schedule for this action. The following formats are supported:
- At expressions - "
at(yyyy-mm-ddThh:mm:ss)
" - Rate expressions - "
rate(value unit)
" - Cron expressions - "
cron(fields)
"
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
At and cron expressions use Universal Coordinated Time (UTC) by default.
The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
For rate expressions, value is a positive integer and unit is
minute
| minutes
| hour
| hours
| day
| days
.
For more information and examples, see Example scheduled actions for Application Auto Scaling in the Application Auto Scaling User Guide.
$sel:endTime:PutScheduledAction'
, putScheduledAction_endTime
- The date and time for the recurring schedule to end, in UTC.
$sel:scalableTargetAction:PutScheduledAction'
, putScheduledAction_scalableTargetAction
- The new minimum and maximum capacity. You can set both values or just
one. At the scheduled time, if the current capacity is below the minimum
capacity, Application Auto Scaling scales out to the minimum capacity.
If the current capacity is above the maximum capacity, Application Auto
Scaling scales in to the maximum capacity.
$sel:timezone:PutScheduledAction'
, putScheduledAction_timezone
- Specifies the time zone used when setting a scheduled action by using an
at or cron expression. If a time zone is not provided, UTC is used by
default.
Valid values are the canonical names of the IANA time zones supported by
Joda-Time (such as Etc/GMT+9
or Pacific/Tahiti
). For more
information, see https://www.joda.org/joda-time/timezones.html.
$sel:serviceNamespace:PutScheduledAction'
, putScheduledAction_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
$sel:scheduledActionName:PutScheduledAction'
, putScheduledAction_scheduledActionName
- The name of the scheduled action. This name must be unique among all
other scheduled actions on the specified scalable target.
$sel:resourceId:PutScheduledAction'
, putScheduledAction_resourceId
- 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:PutScheduledAction'
, putScheduledAction_scalableDimension
- 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.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
data PutScheduledActionResponse Source #
See: newPutScheduledActionResponse
smart constructor.
Instances
newPutScheduledActionResponse Source #
Create a value of PutScheduledActionResponse
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:httpStatus:PutScheduledActionResponse'
, putScheduledActionResponse_httpStatus
- The response's http status code.
DeleteScheduledAction
data DeleteScheduledAction Source #
See: newDeleteScheduledAction
smart constructor.
Instances
newDeleteScheduledAction Source #
Create a value of DeleteScheduledAction
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:serviceNamespace:DeleteScheduledAction'
, deleteScheduledAction_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
$sel:scheduledActionName:DeleteScheduledAction'
, deleteScheduledAction_scheduledActionName
- The name of the scheduled action.
$sel:resourceId:DeleteScheduledAction'
, deleteScheduledAction_resourceId
- 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:DeleteScheduledAction'
, deleteScheduledAction_scalableDimension
- 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.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
data DeleteScheduledActionResponse Source #
See: newDeleteScheduledActionResponse
smart constructor.
Instances
Eq DeleteScheduledActionResponse Source # | |
Read DeleteScheduledActionResponse Source # | |
Show DeleteScheduledActionResponse Source # | |
Generic DeleteScheduledActionResponse Source # | |
NFData DeleteScheduledActionResponse Source # | |
Defined in Amazonka.ApplicationAutoScaling.DeleteScheduledAction rnf :: DeleteScheduledActionResponse -> () # | |
type Rep DeleteScheduledActionResponse Source # | |
Defined in Amazonka.ApplicationAutoScaling.DeleteScheduledAction type Rep DeleteScheduledActionResponse = D1 ('MetaData "DeleteScheduledActionResponse" "Amazonka.ApplicationAutoScaling.DeleteScheduledAction" "libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling" 'False) (C1 ('MetaCons "DeleteScheduledActionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteScheduledActionResponse Source #
Create a value of DeleteScheduledActionResponse
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:httpStatus:DeleteScheduledActionResponse'
, deleteScheduledActionResponse_httpStatus
- The response's http status code.
DescribeScheduledActions (Paginated)
data DescribeScheduledActions Source #
See: newDescribeScheduledActions
smart constructor.
DescribeScheduledActions' (Maybe ScalableDimension) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Int) ServiceNamespace |
Instances
newDescribeScheduledActions Source #
Create a value of DescribeScheduledActions
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:scalableDimension:DescribeScheduledActions'
, describeScheduledActions_scalableDimension
- The scalable dimension. This string consists of the service namespace,
resource type, and scaling property. If you specify a scalable
dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The desired task count of an ECS service.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
$sel:resourceId:DescribeScheduledActions'
, describeScheduledActions_resourceId
- 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:nextToken:DescribeScheduledActions'
, describeScheduledActions_nextToken
- The token for the next set of results.
$sel:scheduledActionNames:DescribeScheduledActions'
, describeScheduledActions_scheduledActionNames
- The names of the scheduled actions to describe.
$sel:maxResults:DescribeScheduledActions'
, describeScheduledActions_maxResults
- The maximum number of scheduled action results. This value can be
between 1 and 50. The default value is 50.
If this parameter is used, the operation returns up to MaxResults
results at a time, along with a NextToken
value. To get the next set
of results, include the NextToken
value in a subsequent call. If this
parameter is not used, the operation returns up to 50 results and a
NextToken
value, if applicable.
$sel:serviceNamespace:DescribeScheduledActions'
, describeScheduledActions_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
data DescribeScheduledActionsResponse Source #
See: newDescribeScheduledActionsResponse
smart constructor.
Instances
newDescribeScheduledActionsResponse Source #
Create a value of DescribeScheduledActionsResponse
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:nextToken:DescribeScheduledActions'
, describeScheduledActionsResponse_nextToken
- The token required to get the next set of results. This value is null
if there are no more results to return.
$sel:scheduledActions:DescribeScheduledActionsResponse'
, describeScheduledActionsResponse_scheduledActions
- Information about the scheduled actions.
$sel:httpStatus:DescribeScheduledActionsResponse'
, describeScheduledActionsResponse_httpStatus
- The response's http status code.
DescribeScalableTargets (Paginated)
data DescribeScalableTargets Source #
See: newDescribeScalableTargets
smart constructor.
DescribeScalableTargets' (Maybe [Text]) (Maybe ScalableDimension) (Maybe Text) (Maybe Int) ServiceNamespace |
Instances
newDescribeScalableTargets Source #
Create a value of DescribeScalableTargets
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:resourceIds:DescribeScalableTargets'
, describeScalableTargets_resourceIds
- The identifier of the resource associated with the scalable target. 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:DescribeScalableTargets'
, describeScalableTargets_scalableDimension
- The scalable dimension associated with the scalable target. This string
consists of the service namespace, resource type, and scaling property.
If you specify a scalable dimension, you must also specify a resource
ID.
ecs:service:DesiredCount
- The desired task count of an ECS service.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
$sel:nextToken:DescribeScalableTargets'
, describeScalableTargets_nextToken
- The token for the next set of results.
$sel:maxResults:DescribeScalableTargets'
, describeScalableTargets_maxResults
- The maximum number of scalable targets. This value can be between 1 and
50. The default value is 50.
If this parameter is used, the operation returns up to MaxResults
results at a time, along with a NextToken
value. To get the next set
of results, include the NextToken
value in a subsequent call. If this
parameter is not used, the operation returns up to 50 results and a
NextToken
value, if applicable.
$sel:serviceNamespace:DescribeScalableTargets'
, describeScalableTargets_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
data DescribeScalableTargetsResponse Source #
See: newDescribeScalableTargetsResponse
smart constructor.
Instances
newDescribeScalableTargetsResponse Source #
Create a value of DescribeScalableTargetsResponse
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:nextToken:DescribeScalableTargets'
, describeScalableTargetsResponse_nextToken
- The token required to get the next set of results. This value is null
if there are no more results to return.
$sel:scalableTargets:DescribeScalableTargetsResponse'
, describeScalableTargetsResponse_scalableTargets
- The scalable targets that match the request parameters.
$sel:httpStatus:DescribeScalableTargetsResponse'
, describeScalableTargetsResponse_httpStatus
- The response's http status code.
DescribeScalingActivities (Paginated)
data DescribeScalingActivities Source #
See: newDescribeScalingActivities
smart constructor.
DescribeScalingActivities' (Maybe ScalableDimension) (Maybe Text) (Maybe Text) (Maybe Int) ServiceNamespace |
Instances
newDescribeScalingActivities Source #
Create a value of DescribeScalingActivities
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:scalableDimension:DescribeScalingActivities'
, describeScalingActivities_scalableDimension
- The scalable dimension. This string consists of the service namespace,
resource type, and scaling property. If you specify a scalable
dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The desired task count of an ECS service.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
$sel:resourceId:DescribeScalingActivities'
, describeScalingActivities_resourceId
- The identifier of the resource associated with the scaling activity.
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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:nextToken:DescribeScalingActivities'
, describeScalingActivities_nextToken
- The token for the next set of results.
$sel:maxResults:DescribeScalingActivities'
, describeScalingActivities_maxResults
- The maximum number of scalable targets. This value can be between 1 and
50. The default value is 50.
If this parameter is used, the operation returns up to MaxResults
results at a time, along with a NextToken
value. To get the next set
of results, include the NextToken
value in a subsequent call. If this
parameter is not used, the operation returns up to 50 results and a
NextToken
value, if applicable.
$sel:serviceNamespace:DescribeScalingActivities'
, describeScalingActivities_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
data DescribeScalingActivitiesResponse Source #
See: newDescribeScalingActivitiesResponse
smart constructor.
Instances
newDescribeScalingActivitiesResponse Source #
Create a value of DescribeScalingActivitiesResponse
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:scalingActivities:DescribeScalingActivitiesResponse'
, describeScalingActivitiesResponse_scalingActivities
- A list of scaling activity objects.
$sel:nextToken:DescribeScalingActivities'
, describeScalingActivitiesResponse_nextToken
- The token required to get the next set of results. This value is null
if there are no more results to return.
$sel:httpStatus:DescribeScalingActivitiesResponse'
, describeScalingActivitiesResponse_httpStatus
- The response's http status code.
DeregisterScalableTarget
data DeregisterScalableTarget Source #
See: newDeregisterScalableTarget
smart constructor.
Instances
newDeregisterScalableTarget Source #
Create a value of DeregisterScalableTarget
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:serviceNamespace:DeregisterScalableTarget'
, deregisterScalableTarget_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use custom-resource
instead.
$sel:resourceId:DeregisterScalableTarget'
, deregisterScalableTarget_resourceId
- The identifier of the resource associated with the scalable target. 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:DeregisterScalableTarget'
, deregisterScalableTarget_scalableDimension
- The scalable dimension associated with the scalable target. This string
consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
data DeregisterScalableTargetResponse Source #
See: newDeregisterScalableTargetResponse
smart constructor.
Instances
Eq DeregisterScalableTargetResponse Source # | |
Read DeregisterScalableTargetResponse Source # | |
Show DeregisterScalableTargetResponse Source # | |
Generic DeregisterScalableTargetResponse Source # | |
NFData DeregisterScalableTargetResponse Source # | |
Defined in Amazonka.ApplicationAutoScaling.DeregisterScalableTarget rnf :: DeregisterScalableTargetResponse -> () # | |
type Rep DeregisterScalableTargetResponse Source # | |
Defined in Amazonka.ApplicationAutoScaling.DeregisterScalableTarget type Rep DeregisterScalableTargetResponse = D1 ('MetaData "DeregisterScalableTargetResponse" "Amazonka.ApplicationAutoScaling.DeregisterScalableTarget" "libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling" 'False) (C1 ('MetaCons "DeregisterScalableTargetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeregisterScalableTargetResponse Source #
Create a value of DeregisterScalableTargetResponse
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:httpStatus:DeregisterScalableTargetResponse'
, deregisterScalableTargetResponse_httpStatus
- The response's http status code.
Types
AdjustmentType
newtype AdjustmentType Source #
pattern AdjustmentType_ChangeInCapacity :: AdjustmentType | |
pattern AdjustmentType_ExactCapacity :: AdjustmentType | |
pattern AdjustmentType_PercentChangeInCapacity :: AdjustmentType |
Instances
MetricAggregationType
newtype MetricAggregationType Source #
pattern MetricAggregationType_Average :: MetricAggregationType | |
pattern MetricAggregationType_Maximum :: MetricAggregationType | |
pattern MetricAggregationType_Minimum :: MetricAggregationType |
Instances
MetricStatistic
newtype MetricStatistic Source #
pattern MetricStatistic_Average :: MetricStatistic | |
pattern MetricStatistic_Maximum :: MetricStatistic | |
pattern MetricStatistic_Minimum :: MetricStatistic | |
pattern MetricStatistic_SampleCount :: MetricStatistic | |
pattern MetricStatistic_Sum :: MetricStatistic |
Instances
MetricType
newtype MetricType Source #
Instances
PolicyType
newtype PolicyType Source #
pattern PolicyType_StepScaling :: PolicyType | |
pattern PolicyType_TargetTrackingScaling :: PolicyType |
Instances
ScalableDimension
newtype ScalableDimension Source #
Instances
ScalingActivityStatusCode
newtype ScalingActivityStatusCode Source #
Instances
ServiceNamespace
newtype ServiceNamespace Source #
pattern ServiceNamespace_Appstream :: ServiceNamespace | |
pattern ServiceNamespace_Cassandra :: ServiceNamespace | |
pattern ServiceNamespace_Comprehend :: ServiceNamespace | |
pattern ServiceNamespace_Custom_resource :: ServiceNamespace | |
pattern ServiceNamespace_Dynamodb :: ServiceNamespace | |
pattern ServiceNamespace_Ec2 :: ServiceNamespace | |
pattern ServiceNamespace_Ecs :: ServiceNamespace | |
pattern ServiceNamespace_Elasticache :: ServiceNamespace | |
pattern ServiceNamespace_Elasticmapreduce :: ServiceNamespace | |
pattern ServiceNamespace_Kafka :: ServiceNamespace | |
pattern ServiceNamespace_Lambda :: ServiceNamespace | |
pattern ServiceNamespace_Neptune :: ServiceNamespace | |
pattern ServiceNamespace_Rds :: ServiceNamespace | |
pattern ServiceNamespace_Sagemaker :: ServiceNamespace |
Instances
Alarm
Represents a CloudWatch alarm associated with a scaling policy.
See: newAlarm
smart constructor.
Instances
Eq Alarm Source # | |
Read Alarm Source # | |
Show Alarm Source # | |
Generic Alarm Source # | |
NFData Alarm Source # | |
Defined in Amazonka.ApplicationAutoScaling.Types.Alarm | |
Hashable Alarm Source # | |
Defined in Amazonka.ApplicationAutoScaling.Types.Alarm | |
FromJSON Alarm Source # | |
type Rep Alarm Source # | |
Defined in Amazonka.ApplicationAutoScaling.Types.Alarm type Rep Alarm = D1 ('MetaData "Alarm" "Amazonka.ApplicationAutoScaling.Types.Alarm" "libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling" 'False) (C1 ('MetaCons "Alarm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alarmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "alarmARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Alarm
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:alarmName:Alarm'
, alarm_alarmName
- The name of the alarm.
$sel:alarmARN:Alarm'
, alarm_alarmARN
- The Amazon Resource Name (ARN) of the alarm.
CustomizedMetricSpecification
data CustomizedMetricSpecification Source #
Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Application Auto Scaling.
For information about the available metrics for a service, see Amazon Web Services Services That Publish CloudWatch Metrics in the Amazon CloudWatch User Guide.
To create your customized metric specification:
- Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see Publish Custom Metrics in the Amazon CloudWatch User Guide.
- Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases, and increase when capacity decreases.
For more information about CloudWatch, see Amazon CloudWatch Concepts.
See: newCustomizedMetricSpecification
smart constructor.
Instances
newCustomizedMetricSpecification Source #
Create a value of CustomizedMetricSpecification
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:dimensions:CustomizedMetricSpecification'
, customizedMetricSpecification_dimensions
- The dimensions of the metric.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
$sel:unit:CustomizedMetricSpecification'
, customizedMetricSpecification_unit
- The unit of the metric.
$sel:metricName:CustomizedMetricSpecification'
, customizedMetricSpecification_metricName
- The name of the metric.
$sel:namespace:CustomizedMetricSpecification'
, customizedMetricSpecification_namespace
- The namespace of the metric.
$sel:statistic:CustomizedMetricSpecification'
, customizedMetricSpecification_statistic
- The statistic of the metric.
MetricDimension
data MetricDimension Source #
Describes the dimension names and values associated with a metric.
See: newMetricDimension
smart constructor.
Instances
Create a value of MetricDimension
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:MetricDimension'
, metricDimension_name
- The name of the dimension.
$sel:value:MetricDimension'
, metricDimension_value
- The value of the dimension.
PredefinedMetricSpecification
data PredefinedMetricSpecification Source #
Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling.
Only the Amazon Web Services that you're using send metrics to Amazon CloudWatch. To determine whether a desired metric already exists by looking up its namespace and dimension using the CloudWatch metrics dashboard in the console, follow the procedure in Building dashboards with CloudWatch in the Application Auto Scaling User Guide.
See: newPredefinedMetricSpecification
smart constructor.
Instances
newPredefinedMetricSpecification Source #
Create a value of PredefinedMetricSpecification
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:resourceLabel:PredefinedMetricSpecification'
, predefinedMetricSpecification_resourceLabel
- Identifies the resource associated with the metric type. You can't
specify a resource label unless the metric type is
ALBRequestCountPerTarget
and there is a target group attached to the
Spot Fleet request or ECS service.
You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff
.
Where:
- app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
- targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.
To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.
$sel:predefinedMetricType:PredefinedMetricSpecification'
, predefinedMetricSpecification_predefinedMetricType
- The metric type. The ALBRequestCountPerTarget
metric type applies only
to Spot Fleet requests and ECS services.
ScalableTarget
data ScalableTarget Source #
Represents a scalable target.
See: newScalableTarget
smart constructor.
Instances
:: ServiceNamespace | |
-> Text | |
-> ScalableDimension | |
-> Int | |
-> Int | |
-> Text | |
-> UTCTime | |
-> ScalableTarget |
Create a value of ScalableTarget
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:suspendedState:ScalableTarget'
, scalableTarget_suspendedState
- Undocumented member.
$sel:serviceNamespace:ScalableTarget'
, scalableTarget_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource, or a custom-resource
.
$sel:resourceId:ScalableTarget'
, scalableTarget_resourceId
- The identifier of the resource associated with the scalable target. 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:ScalableTarget'
, scalableTarget_scalableDimension
- The scalable dimension associated with the scalable target. This string
consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
$sel:minCapacity:ScalableTarget'
, scalableTarget_minCapacity
- The minimum value to scale to in response to a scale-in activity.
$sel:maxCapacity:ScalableTarget'
, scalableTarget_maxCapacity
- The maximum value to scale to in response to a scale-out activity.
$sel:roleARN:ScalableTarget'
, scalableTarget_roleARN
- The ARN of an IAM role that allows Application Auto Scaling to modify
the scalable target on your behalf.
$sel:creationTime:ScalableTarget'
, scalableTarget_creationTime
- The Unix timestamp for when the scalable target was created.
ScalableTargetAction
data ScalableTargetAction Source #
Represents the minimum and maximum capacity for a scheduled action.
See: newScalableTargetAction
smart constructor.
Instances
newScalableTargetAction :: ScalableTargetAction Source #
Create a value of ScalableTargetAction
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:maxCapacity:ScalableTargetAction'
, scalableTargetAction_maxCapacity
- The maximum capacity.
Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service Endpoints and Quotas in the Amazon Web Services General Reference.
$sel:minCapacity:ScalableTargetAction'
, scalableTargetAction_minCapacity
- The minimum capacity.
For certain resources, the minimum value allowed is 0. This includes Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB clusters, EMR clusters, and custom resources. For all other resources, the minimum value allowed is 1.
ScalingActivity
data ScalingActivity Source #
Represents a scaling activity.
See: newScalingActivity
smart constructor.
ScalingActivity' (Maybe Text) (Maybe POSIX) (Maybe Text) Text ServiceNamespace Text ScalableDimension Text Text POSIX ScalingActivityStatusCode |
Instances
:: Text | |
-> ServiceNamespace | |
-> Text | |
-> ScalableDimension | |
-> Text | |
-> Text | |
-> UTCTime | |
-> ScalingActivityStatusCode | |
-> ScalingActivity |
Create a value of ScalingActivity
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:statusMessage:ScalingActivity'
, scalingActivity_statusMessage
- A simple message about the current status of the scaling activity.
$sel:endTime:ScalingActivity'
, scalingActivity_endTime
- The Unix timestamp for when the scaling activity ended.
$sel:details:ScalingActivity'
, scalingActivity_details
- The details about the scaling activity.
$sel:activityId:ScalingActivity'
, scalingActivity_activityId
- The unique identifier of the scaling activity.
$sel:serviceNamespace:ScalingActivity'
, scalingActivity_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource, or a custom-resource
.
$sel:resourceId:ScalingActivity'
, scalingActivity_resourceId
- The identifier of the resource associated with the scaling activity.
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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:ScalingActivity'
, scalingActivity_scalableDimension
- 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.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
$sel:description:ScalingActivity'
, scalingActivity_description
- A simple description of what action the scaling activity intends to
accomplish.
$sel:cause:ScalingActivity'
, scalingActivity_cause
- A simple description of what caused the scaling activity to happen.
$sel:startTime:ScalingActivity'
, scalingActivity_startTime
- The Unix timestamp for when the scaling activity began.
$sel:statusCode:ScalingActivity'
, scalingActivity_statusCode
- Indicates the status of the scaling activity.
ScalingPolicy
data ScalingPolicy Source #
Represents a scaling policy to use with Application Auto Scaling.
For more information about configuring scaling policies for a specific service, see Getting started with Application Auto Scaling in the Application Auto Scaling User Guide.
See: newScalingPolicy
smart constructor.
ScalingPolicy' (Maybe TargetTrackingScalingPolicyConfiguration) (Maybe StepScalingPolicyConfiguration) (Maybe [Alarm]) Text Text ServiceNamespace Text ScalableDimension PolicyType POSIX |
Instances
:: Text | |
-> Text | |
-> ServiceNamespace | |
-> Text | |
-> ScalableDimension | |
-> PolicyType | |
-> UTCTime | |
-> ScalingPolicy |
Create a value of ScalingPolicy
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:targetTrackingScalingPolicyConfiguration:ScalingPolicy'
, scalingPolicy_targetTrackingScalingPolicyConfiguration
- A target tracking scaling policy.
$sel:stepScalingPolicyConfiguration:ScalingPolicy'
, scalingPolicy_stepScalingPolicyConfiguration
- A step scaling policy.
$sel:alarms:ScalingPolicy'
, scalingPolicy_alarms
- The CloudWatch alarms associated with the scaling policy.
$sel:policyARN:ScalingPolicy'
, scalingPolicy_policyARN
- The Amazon Resource Name (ARN) of the scaling policy.
$sel:policyName:ScalingPolicy'
, scalingPolicy_policyName
- The name of the scaling policy.
$sel:serviceNamespace:ScalingPolicy'
, scalingPolicy_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource, or a custom-resource
.
$sel:resourceId:ScalingPolicy'
, scalingPolicy_resourceId
- The identifier of the resource associated with the scaling policy. 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:scalableDimension:ScalingPolicy'
, scalingPolicy_scalableDimension
- 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.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
$sel:policyType:ScalingPolicy'
, scalingPolicy_policyType
- The scaling policy type.
$sel:creationTime:ScalingPolicy'
, scalingPolicy_creationTime
- The Unix timestamp for when the scaling policy was created.
ScheduledAction
data ScheduledAction Source #
Represents a scheduled action.
See: newScheduledAction
smart constructor.
ScheduledAction' (Maybe ScalableDimension) (Maybe POSIX) (Maybe POSIX) (Maybe ScalableTargetAction) (Maybe Text) Text Text ServiceNamespace Text Text POSIX |
Instances
:: Text | |
-> Text | |
-> ServiceNamespace | |
-> Text | |
-> Text | |
-> UTCTime | |
-> ScheduledAction |
Create a value of ScheduledAction
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:scalableDimension:ScheduledAction'
, scheduledAction_scalableDimension
- 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.elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.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.rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for an SageMaker model endpoint variant.custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
$sel:startTime:ScheduledAction'
, scheduledAction_startTime
- The date and time that the action is scheduled to begin, in UTC.
$sel:endTime:ScheduledAction'
, scheduledAction_endTime
- The date and time that the action is scheduled to end, in UTC.
$sel:scalableTargetAction:ScheduledAction'
, scheduledAction_scalableTargetAction
- The new minimum and maximum capacity. You can set both values or just
one. At the scheduled time, if the current capacity is below the minimum
capacity, Application Auto Scaling scales out to the minimum capacity.
If the current capacity is above the maximum capacity, Application Auto
Scaling scales in to the maximum capacity.
$sel:timezone:ScheduledAction'
, scheduledAction_timezone
- The time zone used when referring to the date and time of a scheduled
action, when the scheduled action uses an at or cron expression.
$sel:scheduledActionName:ScheduledAction'
, scheduledAction_scheduledActionName
- The name of the scheduled action.
$sel:scheduledActionARN:ScheduledAction'
, scheduledAction_scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.
$sel:serviceNamespace:ScheduledAction'
, scheduledAction_serviceNamespace
- The namespace of the Amazon Web Services service that provides the
resource, or a custom-resource
.
$sel:schedule:ScheduledAction'
, scheduledAction_schedule
- The schedule for this action. The following formats are supported:
- At expressions - "
at(yyyy-mm-ddThh:mm:ss)
" - Rate expressions - "
rate(value unit)
" - Cron expressions - "
cron(fields)
"
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
At and cron expressions use Universal Coordinated Time (UTC) by default.
The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
For rate expressions, value is a positive integer and unit is
minute
| minutes
| hour
| hours
| day
| days
.
For more information and examples, see Example scheduled actions for Application Auto Scaling in the Application Auto Scaling User Guide.
$sel:resourceId:ScheduledAction'
, scheduledAction_resourceId
- The identifier of the resource associated with the scaling policy. 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:service/default/sample-webapp
. - Spot Fleet - 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:instancegroup/j-2EEZNYKUA1NTV/ig-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 table name. Example:table/my-table
. - DynamoDB global secondary index - The resource type is
index
and the unique identifier is the index name. Example:table/my-table/index/my-table-index
. - Aurora DB cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:my-db-cluster
. - SageMaker endpoint variant - The resource type is
variant
and the unique identifier is the resource ID. Example:endpoint/my-end-point/variant/KMeansClustering
. - Custom resources are not supported with a resource type. This
parameter must specify the
OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository. - Amazon Comprehend document classification endpoint - The resource
type and unique identifier are specified using the endpoint ARN.
Example:
arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
. - Amazon Comprehend entity recognizer endpoint - The resource type and
unique identifier are specified using the endpoint ARN. Example:
arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
. - Lambda provisioned concurrency - The resource type is
function
and the unique identifier is the function name with a function version or alias name suffix that is not$LATEST
. Example:function:my-function:prod
orfunction:my-function:1
. - Amazon Keyspaces table - The resource type is
table
and the unique identifier is the table name. Example:keyspace/mykeyspace/table/mytable
. - Amazon MSK cluster - The resource type and unique identifier are
specified using the cluster ARN. Example:
arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
. - Amazon ElastiCache replication group - The resource type is
replication-group
and the unique identifier is the replication group name. Example:replication-group/mycluster
. - Neptune cluster - The resource type is
cluster
and the unique identifier is the cluster name. Example:cluster:mycluster
.
$sel:creationTime:ScheduledAction'
, scheduledAction_creationTime
- The date and time that the scheduled action was created.
StepAdjustment
data StepAdjustment Source #
Represents a step adjustment for a StepScalingPolicyConfiguration. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.
For the following examples, suppose that you have an alarm with a breach threshold of 50:
- To trigger the adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
- To trigger the adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.
There are a few rules for the step adjustments for your step policy:
- The ranges of your step adjustments can't overlap or have a gap.
- At most one step adjustment can have a null lower bound. If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound.
- At most one step adjustment can have a null upper bound. If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound.
- The upper and lower bound can't be null in the same step adjustment.
See: newStepAdjustment
smart constructor.
Instances
Create a value of StepAdjustment
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:metricIntervalLowerBound:StepAdjustment'
, stepAdjustment_metricIntervalLowerBound
- The lower bound for the difference between the alarm threshold and the
CloudWatch metric. If the metric value is above the breach threshold,
the lower bound is inclusive (the metric must be greater than or equal
to the threshold plus the lower bound). Otherwise, it is exclusive (the
metric must be greater than the threshold plus the lower bound). A null
value indicates negative infinity.
$sel:metricIntervalUpperBound:StepAdjustment'
, stepAdjustment_metricIntervalUpperBound
- The upper bound for the difference between the alarm threshold and the
CloudWatch metric. If the metric value is above the breach threshold,
the upper bound is exclusive (the metric must be less than the threshold
plus the upper bound). Otherwise, it is inclusive (the metric must be
less than or equal to the threshold plus the upper bound). A null value
indicates positive infinity.
The upper bound must be greater than the lower bound.
$sel:scalingAdjustment:StepAdjustment'
, stepAdjustment_scalingAdjustment
- The amount by which to scale, based on the specified adjustment type. A
positive value adds to the current capacity while a negative number
removes from the current capacity. For exact capacity, you must specify
a positive value.
StepScalingPolicyConfiguration
data StepScalingPolicyConfiguration Source #
Represents a step scaling policy configuration to use with Application Auto Scaling.
See: newStepScalingPolicyConfiguration
smart constructor.
StepScalingPolicyConfiguration' (Maybe [StepAdjustment]) (Maybe AdjustmentType) (Maybe Int) (Maybe MetricAggregationType) (Maybe Int) |
Instances
newStepScalingPolicyConfiguration :: StepScalingPolicyConfiguration Source #
Create a value of StepScalingPolicyConfiguration
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:stepAdjustments:StepScalingPolicyConfiguration'
, stepScalingPolicyConfiguration_stepAdjustments
- A set of adjustments that enable you to scale based on the size of the
alarm breach.
At least one step adjustment is required if you are adding a new step scaling policy configuration.
$sel:adjustmentType:StepScalingPolicyConfiguration'
, stepScalingPolicyConfiguration_adjustmentType
- Specifies how the ScalingAdjustment
value in a
StepAdjustment
is interpreted (for example, an absolute number or a percentage). The
valid values are ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
AdjustmentType
is required if you are adding a new step scaling policy
configuration.
$sel:cooldown:StepScalingPolicyConfiguration'
, stepScalingPolicyConfiguration_cooldown
- The amount of time, in seconds, to wait for a previous scaling activity
to take effect.
With scale-out policies, the intention is to continuously (but not excessively) scale out. After Application Auto Scaling successfully scales out using a step scaling policy, it starts to calculate the cooldown time. The scaling policy won't increase the desired capacity again unless either a larger scale out is triggered or the cooldown period ends. While the cooldown period is in effect, capacity added by the initiating scale-out activity is calculated as part of the desired capacity for the next scale-out activity. For example, when an alarm triggers a step scaling policy to increase the capacity by 2, the scaling activity completes successfully, and a cooldown period starts. If the alarm triggers again during the cooldown period but at a more aggressive step adjustment of 3, the previous increase of 2 is considered part of the current capacity. Therefore, only 1 is added to the capacity.
With scale-in policies, the intention is to scale in conservatively to protect your application’s availability, so scale-in activities are blocked until the cooldown period has expired. However, if another alarm triggers a scale-out activity during the cooldown period after a scale-in activity, Application Auto Scaling scales out the target immediately. In this case, the cooldown period for the scale-in activity stops and doesn't complete.
Application Auto Scaling provides a default value of 600 for Amazon ElastiCache replication groups and a default value of 300 for the following scalable targets:
- AppStream 2.0 fleets
- Aurora DB clusters
- ECS services
- EMR clusters
- Neptune clusters
- SageMaker endpoint variants
- Spot Fleets
- Custom resources
For all other scalable targets, the default value is 0:
- Amazon Comprehend document classification and entity recognizer endpoints
- DynamoDB tables and global secondary indexes
- Amazon Keyspaces tables
- Lambda provisioned concurrency
- Amazon MSK broker storage
$sel:metricAggregationType:StepScalingPolicyConfiguration'
, stepScalingPolicyConfiguration_metricAggregationType
- The aggregation type for the CloudWatch metrics. Valid values are
Minimum
, Maximum
, and Average
. If the aggregation type is null,
the value is treated as Average
.
$sel:minAdjustmentMagnitude:StepScalingPolicyConfiguration'
, stepScalingPolicyConfiguration_minAdjustmentMagnitude
- The minimum value to scale by when the adjustment type is
PercentChangeInCapacity
. For example, suppose that you create a step
scaling policy to scale out an Amazon ECS service by 25 percent and you
specify a MinAdjustmentMagnitude
of 2. If the service has 4 tasks and
the scaling policy is performed, 25 percent of 4 is 1. However, because
you specified a MinAdjustmentMagnitude
of 2, Application Auto Scaling
scales out the service by 2 tasks.
SuspendedState
data SuspendedState Source #
Specifies whether the scaling activities for a scalable target are in a suspended state.
See: newSuspendedState
smart constructor.
Instances
newSuspendedState :: SuspendedState Source #
Create a value of SuspendedState
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:dynamicScalingInSuspended:SuspendedState'
, suspendedState_dynamicScalingInSuspended
- Whether scale in by a target tracking scaling policy or a step scaling
policy is suspended. Set the value to true
if you don't want
Application Auto Scaling to remove capacity when a scaling policy is
triggered. The default is false
.
$sel:scheduledScalingSuspended:SuspendedState'
, suspendedState_scheduledScalingSuspended
- Whether scheduled scaling is suspended. Set the value to true
if you
don't want Application Auto Scaling to add or remove capacity by
initiating scheduled actions. The default is false
.
$sel:dynamicScalingOutSuspended:SuspendedState'
, suspendedState_dynamicScalingOutSuspended
- Whether scale out by a target tracking scaling policy or a step scaling
policy is suspended. Set the value to true
if you don't want
Application Auto Scaling to add capacity when a scaling policy is
triggered. The default is false
.
TargetTrackingScalingPolicyConfiguration
data TargetTrackingScalingPolicyConfiguration Source #
Represents a target tracking scaling policy configuration to use with Application Auto Scaling.
See: newTargetTrackingScalingPolicyConfiguration
smart constructor.
TargetTrackingScalingPolicyConfiguration' (Maybe PredefinedMetricSpecification) (Maybe Int) (Maybe CustomizedMetricSpecification) (Maybe Bool) (Maybe Int) Double |
Instances
newTargetTrackingScalingPolicyConfiguration Source #
Create a value of TargetTrackingScalingPolicyConfiguration
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:predefinedMetricSpecification:TargetTrackingScalingPolicyConfiguration'
, targetTrackingScalingPolicyConfiguration_predefinedMetricSpecification
- A predefined metric. You can specify either a predefined metric or a
customized metric.
$sel:scaleInCooldown:TargetTrackingScalingPolicyConfiguration'
, targetTrackingScalingPolicyConfiguration_scaleInCooldown
- The amount of time, in seconds, after a scale-in activity completes
before another scale-in activity can start.
With the scale-in cooldown period, the intention is to scale in conservatively to protect your application’s availability, so scale-in activities are blocked until the cooldown period has expired. However, if another alarm triggers a scale-out activity during the scale-in cooldown period, Application Auto Scaling scales out the target immediately. In this case, the scale-in cooldown period stops and doesn't complete.
Application Auto Scaling provides a default value of 600 for Amazon ElastiCache replication groups and a default value of 300 for the following scalable targets:
- AppStream 2.0 fleets
- Aurora DB clusters
- ECS services
- EMR clusters
- Neptune clusters
- SageMaker endpoint variants
- Spot Fleets
- Custom resources
For all other scalable targets, the default value is 0:
- Amazon Comprehend document classification and entity recognizer endpoints
- DynamoDB tables and global secondary indexes
- Amazon Keyspaces tables
- Lambda provisioned concurrency
- Amazon MSK broker storage
$sel:customizedMetricSpecification:TargetTrackingScalingPolicyConfiguration'
, targetTrackingScalingPolicyConfiguration_customizedMetricSpecification
- A customized metric. You can specify either a predefined metric or a
customized metric.
$sel:disableScaleIn:TargetTrackingScalingPolicyConfiguration'
, targetTrackingScalingPolicyConfiguration_disableScaleIn
- Indicates whether scale in by the target tracking scaling policy is
disabled. If the value is true
, scale in is disabled and the target
tracking scaling policy won't remove capacity from the scalable target.
Otherwise, scale in is enabled and the target tracking scaling policy
can remove capacity from the scalable target. The default value is
false
.
$sel:scaleOutCooldown:TargetTrackingScalingPolicyConfiguration'
, targetTrackingScalingPolicyConfiguration_scaleOutCooldown
- The amount of time, in seconds, to wait for a previous scale-out
activity to take effect.
With the scale-out cooldown period, the intention is to continuously (but not excessively) scale out. After Application Auto Scaling successfully scales out using a target tracking scaling policy, it starts to calculate the cooldown time. The scaling policy won't increase the desired capacity again unless either a larger scale out is triggered or the cooldown period ends. While the cooldown period is in effect, the capacity added by the initiating scale-out activity is calculated as part of the desired capacity for the next scale-out activity.
Application Auto Scaling provides a default value of 600 for Amazon ElastiCache replication groups and a default value of 300 for the following scalable targets:
- AppStream 2.0 fleets
- Aurora DB clusters
- ECS services
- EMR clusters
- Neptune clusters
- SageMaker endpoint variants
- Spot Fleets
- Custom resources
For all other scalable targets, the default value is 0:
- Amazon Comprehend document classification and entity recognizer endpoints
- DynamoDB tables and global secondary indexes
- Amazon Keyspaces tables
- Lambda provisioned concurrency
- Amazon MSK broker storage
$sel:targetValue:TargetTrackingScalingPolicyConfiguration'
, targetTrackingScalingPolicyConfiguration_targetValue
- The target value for the metric. Although this property accepts numbers
of type Double, it won't accept values that are either too small or too
large. Values must be in the range of -2^360 to 2^360. The value must be
a valid number based on the choice of metric. For example, if the metric
is CPU utilization, then the target value is a percent value that
represents how much of the CPU can be used before scaling out.