packages feed

amazonka-application-autoscaling 1.6.1 → 2.0

raw patch · 71 files changed

+13990/−4291 lines, 71 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok

version bump matches the API change (PVP)

Dependencies added: case-insensitive

Dependency ranges changed: amazonka-core, amazonka-test, base

API changes (from Hackage documentation)

- Network.AWS.ApplicationAutoScaling: ALBRequestCountPerTarget :: MetricType
- Network.AWS.ApplicationAutoScaling: Appstream :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling: AppstreamFleetDesiredCapacity :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: Average :: MetricStatistic
- Network.AWS.ApplicationAutoScaling: ChangeInCapacity :: AdjustmentType
- Network.AWS.ApplicationAutoScaling: DynamoDBReadCapacityUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling: DynamoDBWriteCapacityUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling: Dynamodb :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling: DynamodbIndexReadCapacityUnits :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: DynamodbIndexWriteCapacityUnits :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: DynamodbTableReadCapacityUnits :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: DynamodbTableWriteCapacityUnits :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: EC2 :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling: EC2SpotFleetRequestAverageCPUUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling: EC2SpotFleetRequestAverageNetworkIn :: MetricType
- Network.AWS.ApplicationAutoScaling: EC2SpotFleetRequestAverageNetworkOut :: MetricType
- Network.AWS.ApplicationAutoScaling: EC2SpotFleetRequestTargetCapacity :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: ECSServiceAverageCPUUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling: ECSServiceAverageMemoryUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling: Ecs :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling: EcsServiceDesiredCount :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: Elasticmapreduce :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling: ElasticmapreduceInstancegroupInstanceCount :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: ExactCapacity :: AdjustmentType
- Network.AWS.ApplicationAutoScaling: Failed :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling: InProgress :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling: MATAverage :: MetricAggregationType
- Network.AWS.ApplicationAutoScaling: MATMaximum :: MetricAggregationType
- Network.AWS.ApplicationAutoScaling: MATMinimum :: MetricAggregationType
- Network.AWS.ApplicationAutoScaling: Maximum :: MetricStatistic
- Network.AWS.ApplicationAutoScaling: Minimum :: MetricStatistic
- Network.AWS.ApplicationAutoScaling: Overridden :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling: Pending :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling: PercentChangeInCapacity :: AdjustmentType
- Network.AWS.ApplicationAutoScaling: RDS :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling: RDSClusterReadReplicaCount :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: RDSReaderAverageCPUUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling: RDSReaderAverageDatabaseConnections :: MetricType
- Network.AWS.ApplicationAutoScaling: SageMakerVariantInvocationsPerInstance :: MetricType
- Network.AWS.ApplicationAutoScaling: Sagemaker :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling: SagemakerVariantDesiredInstanceCount :: ScalableDimension
- Network.AWS.ApplicationAutoScaling: SampleCount :: MetricStatistic
- Network.AWS.ApplicationAutoScaling: StepScaling :: PolicyType
- Network.AWS.ApplicationAutoScaling: Successful :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling: Sum :: MetricStatistic
- Network.AWS.ApplicationAutoScaling: TargetTrackingScaling :: PolicyType
- Network.AWS.ApplicationAutoScaling: Unfulfilled :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling: _ConcurrentUpdateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling: _FailedResourceAccessException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling: _InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling: _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling: _ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling: _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling: aAlarmARN :: Lens' Alarm Text
- Network.AWS.ApplicationAutoScaling: aAlarmName :: Lens' Alarm Text
- Network.AWS.ApplicationAutoScaling: alarm :: Text -> Text -> Alarm
- Network.AWS.ApplicationAutoScaling: applicationAutoScaling :: Service
- Network.AWS.ApplicationAutoScaling: cmsDimensions :: Lens' CustomizedMetricSpecification [MetricDimension]
- Network.AWS.ApplicationAutoScaling: cmsMetricName :: Lens' CustomizedMetricSpecification Text
- Network.AWS.ApplicationAutoScaling: cmsNamespace :: Lens' CustomizedMetricSpecification Text
- Network.AWS.ApplicationAutoScaling: cmsStatistic :: Lens' CustomizedMetricSpecification MetricStatistic
- Network.AWS.ApplicationAutoScaling: cmsUnit :: Lens' CustomizedMetricSpecification (Maybe Text)
- Network.AWS.ApplicationAutoScaling: customizedMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
- Network.AWS.ApplicationAutoScaling: data AdjustmentType
- Network.AWS.ApplicationAutoScaling: data Alarm
- Network.AWS.ApplicationAutoScaling: data CustomizedMetricSpecification
- Network.AWS.ApplicationAutoScaling: data MetricAggregationType
- Network.AWS.ApplicationAutoScaling: data MetricDimension
- Network.AWS.ApplicationAutoScaling: data MetricStatistic
- Network.AWS.ApplicationAutoScaling: data MetricType
- Network.AWS.ApplicationAutoScaling: data PolicyType
- Network.AWS.ApplicationAutoScaling: data PredefinedMetricSpecification
- Network.AWS.ApplicationAutoScaling: data ScalableDimension
- Network.AWS.ApplicationAutoScaling: data ScalableTarget
- Network.AWS.ApplicationAutoScaling: data ScalableTargetAction
- Network.AWS.ApplicationAutoScaling: data ScalingActivity
- Network.AWS.ApplicationAutoScaling: data ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling: data ScalingPolicy
- Network.AWS.ApplicationAutoScaling: data ScheduledAction
- Network.AWS.ApplicationAutoScaling: data ServiceNamespace
- Network.AWS.ApplicationAutoScaling: data StepAdjustment
- Network.AWS.ApplicationAutoScaling: data StepScalingPolicyConfiguration
- Network.AWS.ApplicationAutoScaling: data TargetTrackingScalingPolicyConfiguration
- Network.AWS.ApplicationAutoScaling: mdName :: Lens' MetricDimension Text
- Network.AWS.ApplicationAutoScaling: mdValue :: Lens' MetricDimension Text
- Network.AWS.ApplicationAutoScaling: metricDimension :: Text -> Text -> MetricDimension
- Network.AWS.ApplicationAutoScaling: pmsPredefinedMetricType :: Lens' PredefinedMetricSpecification MetricType
- Network.AWS.ApplicationAutoScaling: pmsResourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text)
- Network.AWS.ApplicationAutoScaling: predefinedMetricSpecification :: MetricType -> PredefinedMetricSpecification
- Network.AWS.ApplicationAutoScaling: sActivityId :: Lens' ScalingActivity Text
- Network.AWS.ApplicationAutoScaling: sCause :: Lens' ScalingActivity Text
- Network.AWS.ApplicationAutoScaling: sDescription :: Lens' ScalingActivity Text
- Network.AWS.ApplicationAutoScaling: sDetails :: Lens' ScalingActivity (Maybe Text)
- Network.AWS.ApplicationAutoScaling: sEndTime :: Lens' ScalingActivity (Maybe UTCTime)
- Network.AWS.ApplicationAutoScaling: sResourceId :: Lens' ScalingActivity Text
- Network.AWS.ApplicationAutoScaling: sScalableDimension :: Lens' ScalingActivity ScalableDimension
- Network.AWS.ApplicationAutoScaling: sServiceNamespace :: Lens' ScalingActivity ServiceNamespace
- Network.AWS.ApplicationAutoScaling: sStartTime :: Lens' ScalingActivity UTCTime
- Network.AWS.ApplicationAutoScaling: sStatusCode :: Lens' ScalingActivity ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling: sStatusMessage :: Lens' ScalingActivity (Maybe Text)
- Network.AWS.ApplicationAutoScaling: saCreationTime :: Lens' ScheduledAction UTCTime
- Network.AWS.ApplicationAutoScaling: saEndTime :: Lens' ScheduledAction (Maybe UTCTime)
- Network.AWS.ApplicationAutoScaling: saMetricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double)
- Network.AWS.ApplicationAutoScaling: saMetricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double)
- Network.AWS.ApplicationAutoScaling: saResourceId :: Lens' ScheduledAction Text
- Network.AWS.ApplicationAutoScaling: saScalableDimension :: Lens' ScheduledAction (Maybe ScalableDimension)
- Network.AWS.ApplicationAutoScaling: saScalableTargetAction :: Lens' ScheduledAction (Maybe ScalableTargetAction)
- Network.AWS.ApplicationAutoScaling: saScalingAdjustment :: Lens' StepAdjustment Int
- Network.AWS.ApplicationAutoScaling: saSchedule :: Lens' ScheduledAction Text
- Network.AWS.ApplicationAutoScaling: saScheduledActionARN :: Lens' ScheduledAction Text
- Network.AWS.ApplicationAutoScaling: saScheduledActionName :: Lens' ScheduledAction Text
- Network.AWS.ApplicationAutoScaling: saServiceNamespace :: Lens' ScheduledAction ServiceNamespace
- Network.AWS.ApplicationAutoScaling: saStartTime :: Lens' ScheduledAction (Maybe UTCTime)
- Network.AWS.ApplicationAutoScaling: scalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> Text -> UTCTime -> ScalableTarget
- Network.AWS.ApplicationAutoScaling: scalableTargetAction :: ScalableTargetAction
- Network.AWS.ApplicationAutoScaling: scalingActivity :: Text -> ServiceNamespace -> Text -> ScalableDimension -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> ScalingActivity
- Network.AWS.ApplicationAutoScaling: scalingPolicy :: Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PolicyType -> UTCTime -> ScalingPolicy
- Network.AWS.ApplicationAutoScaling: scheduledAction :: Text -> Text -> ServiceNamespace -> Text -> Text -> UTCTime -> ScheduledAction
- Network.AWS.ApplicationAutoScaling: spAlarms :: Lens' ScalingPolicy [Alarm]
- Network.AWS.ApplicationAutoScaling: spCreationTime :: Lens' ScalingPolicy UTCTime
- Network.AWS.ApplicationAutoScaling: spPolicyARN :: Lens' ScalingPolicy Text
- Network.AWS.ApplicationAutoScaling: spPolicyName :: Lens' ScalingPolicy Text
- Network.AWS.ApplicationAutoScaling: spPolicyType :: Lens' ScalingPolicy PolicyType
- Network.AWS.ApplicationAutoScaling: spResourceId :: Lens' ScalingPolicy Text
- Network.AWS.ApplicationAutoScaling: spScalableDimension :: Lens' ScalingPolicy ScalableDimension
- Network.AWS.ApplicationAutoScaling: spServiceNamespace :: Lens' ScalingPolicy ServiceNamespace
- Network.AWS.ApplicationAutoScaling: spStepScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe StepScalingPolicyConfiguration)
- Network.AWS.ApplicationAutoScaling: spTargetTrackingScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)
- Network.AWS.ApplicationAutoScaling: sspcAdjustmentType :: Lens' StepScalingPolicyConfiguration (Maybe AdjustmentType)
- Network.AWS.ApplicationAutoScaling: sspcCooldown :: Lens' StepScalingPolicyConfiguration (Maybe Int)
- Network.AWS.ApplicationAutoScaling: sspcMetricAggregationType :: Lens' StepScalingPolicyConfiguration (Maybe MetricAggregationType)
- Network.AWS.ApplicationAutoScaling: sspcMinAdjustmentMagnitude :: Lens' StepScalingPolicyConfiguration (Maybe Int)
- Network.AWS.ApplicationAutoScaling: sspcStepAdjustments :: Lens' StepScalingPolicyConfiguration [StepAdjustment]
- Network.AWS.ApplicationAutoScaling: stCreationTime :: Lens' ScalableTarget UTCTime
- Network.AWS.ApplicationAutoScaling: stMaxCapacity :: Lens' ScalableTarget Int
- Network.AWS.ApplicationAutoScaling: stMinCapacity :: Lens' ScalableTarget Int
- Network.AWS.ApplicationAutoScaling: stResourceId :: Lens' ScalableTarget Text
- Network.AWS.ApplicationAutoScaling: stRoleARN :: Lens' ScalableTarget Text
- Network.AWS.ApplicationAutoScaling: stScalableDimension :: Lens' ScalableTarget ScalableDimension
- Network.AWS.ApplicationAutoScaling: stServiceNamespace :: Lens' ScalableTarget ServiceNamespace
- Network.AWS.ApplicationAutoScaling: staMaxCapacity :: Lens' ScalableTargetAction (Maybe Int)
- Network.AWS.ApplicationAutoScaling: staMinCapacity :: Lens' ScalableTargetAction (Maybe Int)
- Network.AWS.ApplicationAutoScaling: stepAdjustment :: Int -> StepAdjustment
- Network.AWS.ApplicationAutoScaling: stepScalingPolicyConfiguration :: StepScalingPolicyConfiguration
- Network.AWS.ApplicationAutoScaling: targetTrackingScalingPolicyConfiguration :: Double -> TargetTrackingScalingPolicyConfiguration
- Network.AWS.ApplicationAutoScaling: ttspcCustomizedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe CustomizedMetricSpecification)
- Network.AWS.ApplicationAutoScaling: ttspcDisableScaleIn :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Bool)
- Network.AWS.ApplicationAutoScaling: ttspcPredefinedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe PredefinedMetricSpecification)
- Network.AWS.ApplicationAutoScaling: ttspcScaleInCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
- Network.AWS.ApplicationAutoScaling: ttspcScaleOutCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
- Network.AWS.ApplicationAutoScaling: ttspcTargetValue :: Lens' TargetTrackingScalingPolicyConfiguration Double
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: data DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: data DeleteScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: deleteScalingPolicy :: Text -> ServiceNamespace -> Text -> ScalableDimension -> DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: deleteScalingPolicyResponse :: Int -> DeleteScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: dspPolicyName :: Lens' DeleteScalingPolicy Text
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: dspResourceId :: Lens' DeleteScalingPolicy Text
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: dspScalableDimension :: Lens' DeleteScalingPolicy ScalableDimension
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: dspServiceNamespace :: Lens' DeleteScalingPolicy ServiceNamespace
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: dsprsResponseStatus :: Lens' DeleteScalingPolicyResponse Int
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: data DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: data DeleteScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: deleteScheduledAction :: ServiceNamespace -> Text -> Text -> DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: deleteScheduledActionResponse :: Int -> DeleteScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: delrsResponseStatus :: Lens' DeleteScheduledActionResponse Int
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: dsaResourceId :: Lens' DeleteScheduledAction Text
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: dsaScalableDimension :: Lens' DeleteScheduledAction (Maybe ScalableDimension)
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: dsaScheduledActionName :: Lens' DeleteScheduledAction Text
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: dsaServiceNamespace :: Lens' DeleteScheduledAction ServiceNamespace
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeleteScheduledAction: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: data DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: data DeregisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: derResourceId :: Lens' DeregisterScalableTarget Text
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: derScalableDimension :: Lens' DeregisterScalableTarget ScalableDimension
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: derServiceNamespace :: Lens' DeregisterScalableTarget ServiceNamespace
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: deregisterScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: deregisterScalableTargetResponse :: Int -> DeregisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: dstrsResponseStatus :: Lens' DeregisterScalableTargetResponse Int
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: data DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: data DescribeScalableTargetsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargets :: ServiceNamespace -> DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargetsResponse :: Int -> DescribeScalableTargetsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: dstMaxResults :: Lens' DescribeScalableTargets (Maybe Int)
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: dstNextToken :: Lens' DescribeScalableTargets (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: dstResourceIds :: Lens' DescribeScalableTargets [Text]
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: dstScalableDimension :: Lens' DescribeScalableTargets (Maybe ScalableDimension)
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: dstServiceNamespace :: Lens' DescribeScalableTargets ServiceNamespace
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: dstsrsNextToken :: Lens' DescribeScalableTargetsResponse (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: dstsrsResponseStatus :: Lens' DescribeScalableTargetsResponse Int
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: dstsrsScalableTargets :: Lens' DescribeScalableTargetsResponse [ScalableTarget]
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Network.AWS.Pager.AWSPager Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalableTargets: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: data DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: data DescribeScalingActivitiesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: desMaxResults :: Lens' DescribeScalingActivities (Maybe Int)
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: desNextToken :: Lens' DescribeScalingActivities (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: desResourceId :: Lens' DescribeScalingActivities (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: desScalableDimension :: Lens' DescribeScalingActivities (Maybe ScalableDimension)
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: desServiceNamespace :: Lens' DescribeScalingActivities ServiceNamespace
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivities :: ServiceNamespace -> DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivitiesResponse :: Int -> DescribeScalingActivitiesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: dsasrsNextToken :: Lens' DescribeScalingActivitiesResponse (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: dsasrsResponseStatus :: Lens' DescribeScalingActivitiesResponse Int
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: dsasrsScalingActivities :: Lens' DescribeScalingActivitiesResponse [ScalingActivity]
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Network.AWS.Pager.AWSPager Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingActivities: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: dMaxResults :: Lens' DescribeScalingPolicies (Maybe Int)
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: dNextToken :: Lens' DescribeScalingPolicies (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: dPolicyNames :: Lens' DescribeScalingPolicies [Text]
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: dResourceId :: Lens' DescribeScalingPolicies (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: dScalableDimension :: Lens' DescribeScalingPolicies (Maybe ScalableDimension)
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: dServiceNamespace :: Lens' DescribeScalingPolicies ServiceNamespace
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: data DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: data DescribeScalingPoliciesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPolicies :: ServiceNamespace -> DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPoliciesResponse :: Int -> DescribeScalingPoliciesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: drsNextToken :: Lens' DescribeScalingPoliciesResponse (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: drsResponseStatus :: Lens' DescribeScalingPoliciesResponse Int
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: drsScalingPolicies :: Lens' DescribeScalingPoliciesResponse [ScalingPolicy]
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Network.AWS.Pager.AWSPager Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: data DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: data DescribeScheduledActionsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActions :: ServiceNamespace -> DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActionsResponse :: Int -> DescribeScheduledActionsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: dsarsNextToken :: Lens' DescribeScheduledActionsResponse (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: dsarsResponseStatus :: Lens' DescribeScheduledActionsResponse Int
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: dsarsScheduledActions :: Lens' DescribeScheduledActionsResponse [ScheduledAction]
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: dsasMaxResults :: Lens' DescribeScheduledActions (Maybe Int)
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: dsasNextToken :: Lens' DescribeScheduledActions (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: dsasResourceId :: Lens' DescribeScheduledActions (Maybe Text)
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: dsasScalableDimension :: Lens' DescribeScheduledActions (Maybe ScalableDimension)
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: dsasScheduledActionNames :: Lens' DescribeScheduledActions [Text]
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: dsasServiceNamespace :: Lens' DescribeScheduledActions ServiceNamespace
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.DescribeScheduledActions: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: data PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: data PutScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: pspPolicyName :: Lens' PutScalingPolicy Text
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: pspPolicyType :: Lens' PutScalingPolicy (Maybe PolicyType)
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: pspResourceId :: Lens' PutScalingPolicy Text
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: pspScalableDimension :: Lens' PutScalingPolicy ScalableDimension
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: pspServiceNamespace :: Lens' PutScalingPolicy ServiceNamespace
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: pspStepScalingPolicyConfiguration :: Lens' PutScalingPolicy (Maybe StepScalingPolicyConfiguration)
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: pspTargetTrackingScalingPolicyConfiguration :: Lens' PutScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: psprsAlarms :: Lens' PutScalingPolicyResponse [Alarm]
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: psprsPolicyARN :: Lens' PutScalingPolicyResponse Text
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: psprsResponseStatus :: Lens' PutScalingPolicyResponse Int
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicy :: Text -> ServiceNamespace -> Text -> ScalableDimension -> PutScalingPolicy
- Network.AWS.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicyResponse :: Int -> Text -> PutScalingPolicyResponse
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: data PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: data PutScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: psaEndTime :: Lens' PutScheduledAction (Maybe UTCTime)
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: psaResourceId :: Lens' PutScheduledAction Text
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: psaScalableDimension :: Lens' PutScheduledAction (Maybe ScalableDimension)
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: psaScalableTargetAction :: Lens' PutScheduledAction (Maybe ScalableTargetAction)
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: psaSchedule :: Lens' PutScheduledAction (Maybe Text)
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: psaScheduledActionName :: Lens' PutScheduledAction Text
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: psaServiceNamespace :: Lens' PutScheduledAction ServiceNamespace
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: psaStartTime :: Lens' PutScheduledAction (Maybe UTCTime)
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: psarsResponseStatus :: Lens' PutScheduledActionResponse Int
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: putScheduledAction :: ServiceNamespace -> Text -> Text -> PutScheduledAction
- Network.AWS.ApplicationAutoScaling.PutScheduledAction: putScheduledActionResponse :: Int -> PutScheduledActionResponse
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: data RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: data RegisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Control.DeepSeq.NFData Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Data.Data.Data Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Data.Hashable.Class.Hashable Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Classes.Eq Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Generics.Generic Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Read.Read Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Show.Show Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Network.AWS.Data.Path.ToPath Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Network.AWS.Data.Query.ToQuery Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: instance Network.AWS.Types.AWSRequest Network.AWS.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> RegisterScalableTarget
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTargetResponse :: Int -> RegisterScalableTargetResponse
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: rstMaxCapacity :: Lens' RegisterScalableTarget (Maybe Int)
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: rstMinCapacity :: Lens' RegisterScalableTarget (Maybe Int)
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: rstResourceId :: Lens' RegisterScalableTarget Text
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: rstRoleARN :: Lens' RegisterScalableTarget (Maybe Text)
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: rstScalableDimension :: Lens' RegisterScalableTarget ScalableDimension
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: rstServiceNamespace :: Lens' RegisterScalableTarget ServiceNamespace
- Network.AWS.ApplicationAutoScaling.RegisterScalableTarget: rstrsResponseStatus :: Lens' RegisterScalableTargetResponse Int
- Network.AWS.ApplicationAutoScaling.Types: ALBRequestCountPerTarget :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: Appstream :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: AppstreamFleetDesiredCapacity :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: Average :: MetricStatistic
- Network.AWS.ApplicationAutoScaling.Types: ChangeInCapacity :: AdjustmentType
- Network.AWS.ApplicationAutoScaling.Types: DynamoDBReadCapacityUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: DynamoDBWriteCapacityUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: Dynamodb :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: DynamodbIndexReadCapacityUnits :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: DynamodbIndexWriteCapacityUnits :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: DynamodbTableReadCapacityUnits :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: DynamodbTableWriteCapacityUnits :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: EC2 :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: EC2SpotFleetRequestAverageCPUUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: EC2SpotFleetRequestAverageNetworkIn :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: EC2SpotFleetRequestAverageNetworkOut :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: EC2SpotFleetRequestTargetCapacity :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: ECSServiceAverageCPUUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: ECSServiceAverageMemoryUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: Ecs :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: EcsServiceDesiredCount :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: Elasticmapreduce :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: ElasticmapreduceInstancegroupInstanceCount :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: ExactCapacity :: AdjustmentType
- Network.AWS.ApplicationAutoScaling.Types: Failed :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling.Types: InProgress :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling.Types: MATAverage :: MetricAggregationType
- Network.AWS.ApplicationAutoScaling.Types: MATMaximum :: MetricAggregationType
- Network.AWS.ApplicationAutoScaling.Types: MATMinimum :: MetricAggregationType
- Network.AWS.ApplicationAutoScaling.Types: Maximum :: MetricStatistic
- Network.AWS.ApplicationAutoScaling.Types: Minimum :: MetricStatistic
- Network.AWS.ApplicationAutoScaling.Types: Overridden :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling.Types: Pending :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling.Types: PercentChangeInCapacity :: AdjustmentType
- Network.AWS.ApplicationAutoScaling.Types: RDS :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: RDSClusterReadReplicaCount :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: RDSReaderAverageCPUUtilization :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: RDSReaderAverageDatabaseConnections :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: SageMakerVariantInvocationsPerInstance :: MetricType
- Network.AWS.ApplicationAutoScaling.Types: Sagemaker :: ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: SagemakerVariantDesiredInstanceCount :: ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: SampleCount :: MetricStatistic
- Network.AWS.ApplicationAutoScaling.Types: StepScaling :: PolicyType
- Network.AWS.ApplicationAutoScaling.Types: Successful :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling.Types: Sum :: MetricStatistic
- Network.AWS.ApplicationAutoScaling.Types: TargetTrackingScaling :: PolicyType
- Network.AWS.ApplicationAutoScaling.Types: Unfulfilled :: ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling.Types: _ConcurrentUpdateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling.Types: _FailedResourceAccessException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling.Types: _InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling.Types: _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling.Types: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling.Types: _ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling.Types: _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ApplicationAutoScaling.Types: aAlarmARN :: Lens' Alarm Text
- Network.AWS.ApplicationAutoScaling.Types: aAlarmName :: Lens' Alarm Text
- Network.AWS.ApplicationAutoScaling.Types: alarm :: Text -> Text -> Alarm
- Network.AWS.ApplicationAutoScaling.Types: applicationAutoScaling :: Service
- Network.AWS.ApplicationAutoScaling.Types: cmsDimensions :: Lens' CustomizedMetricSpecification [MetricDimension]
- Network.AWS.ApplicationAutoScaling.Types: cmsMetricName :: Lens' CustomizedMetricSpecification Text
- Network.AWS.ApplicationAutoScaling.Types: cmsNamespace :: Lens' CustomizedMetricSpecification Text
- Network.AWS.ApplicationAutoScaling.Types: cmsStatistic :: Lens' CustomizedMetricSpecification MetricStatistic
- Network.AWS.ApplicationAutoScaling.Types: cmsUnit :: Lens' CustomizedMetricSpecification (Maybe Text)
- Network.AWS.ApplicationAutoScaling.Types: customizedMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
- Network.AWS.ApplicationAutoScaling.Types: data AdjustmentType
- Network.AWS.ApplicationAutoScaling.Types: data Alarm
- Network.AWS.ApplicationAutoScaling.Types: data CustomizedMetricSpecification
- Network.AWS.ApplicationAutoScaling.Types: data MetricAggregationType
- Network.AWS.ApplicationAutoScaling.Types: data MetricDimension
- Network.AWS.ApplicationAutoScaling.Types: data MetricStatistic
- Network.AWS.ApplicationAutoScaling.Types: data MetricType
- Network.AWS.ApplicationAutoScaling.Types: data PolicyType
- Network.AWS.ApplicationAutoScaling.Types: data PredefinedMetricSpecification
- Network.AWS.ApplicationAutoScaling.Types: data ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: data ScalableTarget
- Network.AWS.ApplicationAutoScaling.Types: data ScalableTargetAction
- Network.AWS.ApplicationAutoScaling.Types: data ScalingActivity
- Network.AWS.ApplicationAutoScaling.Types: data ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling.Types: data ScalingPolicy
- Network.AWS.ApplicationAutoScaling.Types: data ScheduledAction
- Network.AWS.ApplicationAutoScaling.Types: data ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: data StepAdjustment
- Network.AWS.ApplicationAutoScaling.Types: data StepScalingPolicyConfiguration
- Network.AWS.ApplicationAutoScaling.Types: data TargetTrackingScalingPolicyConfiguration
- Network.AWS.ApplicationAutoScaling.Types: mdName :: Lens' MetricDimension Text
- Network.AWS.ApplicationAutoScaling.Types: mdValue :: Lens' MetricDimension Text
- Network.AWS.ApplicationAutoScaling.Types: metricDimension :: Text -> Text -> MetricDimension
- Network.AWS.ApplicationAutoScaling.Types: pmsPredefinedMetricType :: Lens' PredefinedMetricSpecification MetricType
- Network.AWS.ApplicationAutoScaling.Types: pmsResourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text)
- Network.AWS.ApplicationAutoScaling.Types: predefinedMetricSpecification :: MetricType -> PredefinedMetricSpecification
- Network.AWS.ApplicationAutoScaling.Types: sActivityId :: Lens' ScalingActivity Text
- Network.AWS.ApplicationAutoScaling.Types: sCause :: Lens' ScalingActivity Text
- Network.AWS.ApplicationAutoScaling.Types: sDescription :: Lens' ScalingActivity Text
- Network.AWS.ApplicationAutoScaling.Types: sDetails :: Lens' ScalingActivity (Maybe Text)
- Network.AWS.ApplicationAutoScaling.Types: sEndTime :: Lens' ScalingActivity (Maybe UTCTime)
- Network.AWS.ApplicationAutoScaling.Types: sResourceId :: Lens' ScalingActivity Text
- Network.AWS.ApplicationAutoScaling.Types: sScalableDimension :: Lens' ScalingActivity ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: sServiceNamespace :: Lens' ScalingActivity ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: sStartTime :: Lens' ScalingActivity UTCTime
- Network.AWS.ApplicationAutoScaling.Types: sStatusCode :: Lens' ScalingActivity ScalingActivityStatusCode
- Network.AWS.ApplicationAutoScaling.Types: sStatusMessage :: Lens' ScalingActivity (Maybe Text)
- Network.AWS.ApplicationAutoScaling.Types: saCreationTime :: Lens' ScheduledAction UTCTime
- Network.AWS.ApplicationAutoScaling.Types: saEndTime :: Lens' ScheduledAction (Maybe UTCTime)
- Network.AWS.ApplicationAutoScaling.Types: saMetricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double)
- Network.AWS.ApplicationAutoScaling.Types: saMetricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double)
- Network.AWS.ApplicationAutoScaling.Types: saResourceId :: Lens' ScheduledAction Text
- Network.AWS.ApplicationAutoScaling.Types: saScalableDimension :: Lens' ScheduledAction (Maybe ScalableDimension)
- Network.AWS.ApplicationAutoScaling.Types: saScalableTargetAction :: Lens' ScheduledAction (Maybe ScalableTargetAction)
- Network.AWS.ApplicationAutoScaling.Types: saScalingAdjustment :: Lens' StepAdjustment Int
- Network.AWS.ApplicationAutoScaling.Types: saSchedule :: Lens' ScheduledAction Text
- Network.AWS.ApplicationAutoScaling.Types: saScheduledActionARN :: Lens' ScheduledAction Text
- Network.AWS.ApplicationAutoScaling.Types: saScheduledActionName :: Lens' ScheduledAction Text
- Network.AWS.ApplicationAutoScaling.Types: saServiceNamespace :: Lens' ScheduledAction ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: saStartTime :: Lens' ScheduledAction (Maybe UTCTime)
- Network.AWS.ApplicationAutoScaling.Types: scalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> Text -> UTCTime -> ScalableTarget
- Network.AWS.ApplicationAutoScaling.Types: scalableTargetAction :: ScalableTargetAction
- Network.AWS.ApplicationAutoScaling.Types: scalingActivity :: Text -> ServiceNamespace -> Text -> ScalableDimension -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> ScalingActivity
- Network.AWS.ApplicationAutoScaling.Types: scalingPolicy :: Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PolicyType -> UTCTime -> ScalingPolicy
- Network.AWS.ApplicationAutoScaling.Types: scheduledAction :: Text -> Text -> ServiceNamespace -> Text -> Text -> UTCTime -> ScheduledAction
- Network.AWS.ApplicationAutoScaling.Types: spAlarms :: Lens' ScalingPolicy [Alarm]
- Network.AWS.ApplicationAutoScaling.Types: spCreationTime :: Lens' ScalingPolicy UTCTime
- Network.AWS.ApplicationAutoScaling.Types: spPolicyARN :: Lens' ScalingPolicy Text
- Network.AWS.ApplicationAutoScaling.Types: spPolicyName :: Lens' ScalingPolicy Text
- Network.AWS.ApplicationAutoScaling.Types: spPolicyType :: Lens' ScalingPolicy PolicyType
- Network.AWS.ApplicationAutoScaling.Types: spResourceId :: Lens' ScalingPolicy Text
- Network.AWS.ApplicationAutoScaling.Types: spScalableDimension :: Lens' ScalingPolicy ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: spServiceNamespace :: Lens' ScalingPolicy ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: spStepScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe StepScalingPolicyConfiguration)
- Network.AWS.ApplicationAutoScaling.Types: spTargetTrackingScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)
- Network.AWS.ApplicationAutoScaling.Types: sspcAdjustmentType :: Lens' StepScalingPolicyConfiguration (Maybe AdjustmentType)
- Network.AWS.ApplicationAutoScaling.Types: sspcCooldown :: Lens' StepScalingPolicyConfiguration (Maybe Int)
- Network.AWS.ApplicationAutoScaling.Types: sspcMetricAggregationType :: Lens' StepScalingPolicyConfiguration (Maybe MetricAggregationType)
- Network.AWS.ApplicationAutoScaling.Types: sspcMinAdjustmentMagnitude :: Lens' StepScalingPolicyConfiguration (Maybe Int)
- Network.AWS.ApplicationAutoScaling.Types: sspcStepAdjustments :: Lens' StepScalingPolicyConfiguration [StepAdjustment]
- Network.AWS.ApplicationAutoScaling.Types: stCreationTime :: Lens' ScalableTarget UTCTime
- Network.AWS.ApplicationAutoScaling.Types: stMaxCapacity :: Lens' ScalableTarget Int
- Network.AWS.ApplicationAutoScaling.Types: stMinCapacity :: Lens' ScalableTarget Int
- Network.AWS.ApplicationAutoScaling.Types: stResourceId :: Lens' ScalableTarget Text
- Network.AWS.ApplicationAutoScaling.Types: stRoleARN :: Lens' ScalableTarget Text
- Network.AWS.ApplicationAutoScaling.Types: stScalableDimension :: Lens' ScalableTarget ScalableDimension
- Network.AWS.ApplicationAutoScaling.Types: stServiceNamespace :: Lens' ScalableTarget ServiceNamespace
- Network.AWS.ApplicationAutoScaling.Types: staMaxCapacity :: Lens' ScalableTargetAction (Maybe Int)
- Network.AWS.ApplicationAutoScaling.Types: staMinCapacity :: Lens' ScalableTargetAction (Maybe Int)
- Network.AWS.ApplicationAutoScaling.Types: stepAdjustment :: Int -> StepAdjustment
- Network.AWS.ApplicationAutoScaling.Types: stepScalingPolicyConfiguration :: StepScalingPolicyConfiguration
- Network.AWS.ApplicationAutoScaling.Types: targetTrackingScalingPolicyConfiguration :: Double -> TargetTrackingScalingPolicyConfiguration
- Network.AWS.ApplicationAutoScaling.Types: ttspcCustomizedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe CustomizedMetricSpecification)
- Network.AWS.ApplicationAutoScaling.Types: ttspcDisableScaleIn :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Bool)
- Network.AWS.ApplicationAutoScaling.Types: ttspcPredefinedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe PredefinedMetricSpecification)
- Network.AWS.ApplicationAutoScaling.Types: ttspcScaleInCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
- Network.AWS.ApplicationAutoScaling.Types: ttspcScaleOutCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
- Network.AWS.ApplicationAutoScaling.Types: ttspcTargetValue :: Lens' TargetTrackingScalingPolicyConfiguration Double
+ Amazonka.ApplicationAutoScaling: AdjustmentType' :: Text -> AdjustmentType
+ Amazonka.ApplicationAutoScaling: Alarm' :: Text -> Text -> Alarm
+ Amazonka.ApplicationAutoScaling: CustomizedMetricSpecification' :: Maybe [MetricDimension] -> Maybe Text -> Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling: DeleteScalingPolicy' :: Text -> ServiceNamespace -> Text -> ScalableDimension -> DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling: DeleteScalingPolicyResponse' :: Int -> DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling: DeleteScheduledAction' :: ServiceNamespace -> Text -> Text -> ScalableDimension -> DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling: DeleteScheduledActionResponse' :: Int -> DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling: DeregisterScalableTarget' :: ServiceNamespace -> Text -> ScalableDimension -> DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling: DeregisterScalableTargetResponse' :: Int -> DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling: DescribeScalableTargets' :: Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe ScalableDimension -> ServiceNamespace -> DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling: DescribeScalableTargetsResponse' :: Maybe Text -> Maybe [ScalableTarget] -> Int -> DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling: DescribeScalingActivities' :: Maybe Bool -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ScalableDimension -> ServiceNamespace -> DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling: DescribeScalingActivitiesResponse' :: Maybe Text -> Maybe [ScalingActivity] -> Int -> DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling: DescribeScalingPolicies' :: Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe ScalableDimension -> ServiceNamespace -> DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling: DescribeScalingPoliciesResponse' :: Maybe Text -> Maybe [ScalingPolicy] -> Int -> DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling: DescribeScheduledActions' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe ScalableDimension -> Maybe [Text] -> ServiceNamespace -> DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling: DescribeScheduledActionsResponse' :: Maybe Text -> Maybe [ScheduledAction] -> Int -> DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling: MetricAggregationType' :: Text -> MetricAggregationType
+ Amazonka.ApplicationAutoScaling: MetricDimension' :: Text -> Text -> MetricDimension
+ Amazonka.ApplicationAutoScaling: MetricStatistic' :: Text -> MetricStatistic
+ Amazonka.ApplicationAutoScaling: MetricType' :: Text -> MetricType
+ Amazonka.ApplicationAutoScaling: NotScaledReason' :: Maybe Int -> Maybe Int -> Maybe Int -> Text -> NotScaledReason
+ Amazonka.ApplicationAutoScaling: PolicyType' :: Text -> PolicyType
+ Amazonka.ApplicationAutoScaling: PredefinedMetricSpecification' :: Maybe Text -> MetricType -> PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling: PutScalingPolicy' :: Maybe PolicyType -> Maybe StepScalingPolicyConfiguration -> Maybe TargetTrackingScalingPolicyConfiguration -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PutScalingPolicy
+ Amazonka.ApplicationAutoScaling: PutScalingPolicyResponse' :: Maybe [Alarm] -> Int -> Text -> PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling: PutScheduledAction' :: Maybe POSIX -> Maybe ScalableTargetAction -> Maybe Text -> Maybe POSIX -> Maybe Text -> ServiceNamespace -> Text -> Text -> ScalableDimension -> PutScheduledAction
+ Amazonka.ApplicationAutoScaling: PutScheduledActionResponse' :: Int -> PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling: RegisterScalableTarget' :: Maybe Int -> Maybe Int -> Maybe Text -> Maybe SuspendedState -> ServiceNamespace -> Text -> ScalableDimension -> RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling: RegisterScalableTargetResponse' :: Int -> RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling: ScalableDimension' :: Text -> ScalableDimension
+ Amazonka.ApplicationAutoScaling: ScalableTarget' :: Maybe SuspendedState -> ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> Text -> POSIX -> ScalableTarget
+ Amazonka.ApplicationAutoScaling: ScalableTargetAction' :: Maybe Int -> Maybe Int -> ScalableTargetAction
+ Amazonka.ApplicationAutoScaling: ScalingActivity' :: Maybe Text -> Maybe POSIX -> Maybe [NotScaledReason] -> Maybe Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> Text -> Text -> POSIX -> ScalingActivityStatusCode -> ScalingActivity
+ Amazonka.ApplicationAutoScaling: ScalingActivityStatusCode' :: Text -> ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling: ScalingPolicy' :: Maybe [Alarm] -> Maybe StepScalingPolicyConfiguration -> Maybe TargetTrackingScalingPolicyConfiguration -> Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PolicyType -> POSIX -> ScalingPolicy
+ Amazonka.ApplicationAutoScaling: ScheduledAction' :: Maybe POSIX -> Maybe ScalableDimension -> Maybe ScalableTargetAction -> Maybe POSIX -> Maybe Text -> Text -> Text -> ServiceNamespace -> Text -> Text -> POSIX -> ScheduledAction
+ Amazonka.ApplicationAutoScaling: ServiceNamespace' :: Text -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling: StepAdjustment' :: Maybe Double -> Maybe Double -> Int -> StepAdjustment
+ Amazonka.ApplicationAutoScaling: StepScalingPolicyConfiguration' :: Maybe AdjustmentType -> Maybe Int -> Maybe MetricAggregationType -> Maybe Int -> Maybe [StepAdjustment] -> StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling: SuspendedState' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> SuspendedState
+ Amazonka.ApplicationAutoScaling: TargetTrackingScalingPolicyConfiguration' :: Maybe CustomizedMetricSpecification -> Maybe Bool -> Maybe PredefinedMetricSpecification -> Maybe Int -> Maybe Int -> Double -> TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling: [fromAdjustmentType] :: AdjustmentType -> Text
+ Amazonka.ApplicationAutoScaling: [fromMetricAggregationType] :: MetricAggregationType -> Text
+ Amazonka.ApplicationAutoScaling: [fromMetricStatistic] :: MetricStatistic -> Text
+ Amazonka.ApplicationAutoScaling: [fromMetricType] :: MetricType -> Text
+ Amazonka.ApplicationAutoScaling: [fromPolicyType] :: PolicyType -> Text
+ Amazonka.ApplicationAutoScaling: [fromScalableDimension] :: ScalableDimension -> Text
+ Amazonka.ApplicationAutoScaling: [fromScalingActivityStatusCode] :: ScalingActivityStatusCode -> Text
+ Amazonka.ApplicationAutoScaling: [fromServiceNamespace] :: ServiceNamespace -> Text
+ Amazonka.ApplicationAutoScaling: _ConcurrentUpdateException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling: _FailedResourceAccessException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling: _InternalServiceException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling: _InvalidNextTokenException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling: _ObjectNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling: _ValidationException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling: data Alarm
+ Amazonka.ApplicationAutoScaling: data CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling: data DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling: data DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling: data DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling: data DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling: data DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling: data DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling: data DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling: data DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling: data DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling: data DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling: data DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling: data DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling: data DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling: data DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling: data MetricDimension
+ Amazonka.ApplicationAutoScaling: data NotScaledReason
+ Amazonka.ApplicationAutoScaling: data PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling: data PutScalingPolicy
+ Amazonka.ApplicationAutoScaling: data PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling: data PutScheduledAction
+ Amazonka.ApplicationAutoScaling: data PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling: data RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling: data RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling: data ScalableTarget
+ Amazonka.ApplicationAutoScaling: data ScalableTargetAction
+ Amazonka.ApplicationAutoScaling: data ScalingActivity
+ Amazonka.ApplicationAutoScaling: data ScalingPolicy
+ Amazonka.ApplicationAutoScaling: data ScheduledAction
+ Amazonka.ApplicationAutoScaling: data StepAdjustment
+ Amazonka.ApplicationAutoScaling: data StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling: data SuspendedState
+ Amazonka.ApplicationAutoScaling: data TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling: defaultService :: Service
+ Amazonka.ApplicationAutoScaling: newAlarm :: Text -> Text -> Alarm
+ Amazonka.ApplicationAutoScaling: newCustomizedMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling: newDeleteScalingPolicy :: Text -> ServiceNamespace -> Text -> ScalableDimension -> DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling: newDeleteScalingPolicyResponse :: Int -> DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling: newDeleteScheduledAction :: ServiceNamespace -> Text -> Text -> ScalableDimension -> DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling: newDeleteScheduledActionResponse :: Int -> DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling: newDeregisterScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling: newDeregisterScalableTargetResponse :: Int -> DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling: newDescribeScalableTargets :: ServiceNamespace -> DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling: newDescribeScalableTargetsResponse :: Int -> DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling: newDescribeScalingActivities :: ServiceNamespace -> DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling: newDescribeScalingActivitiesResponse :: Int -> DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling: newDescribeScalingPolicies :: ServiceNamespace -> DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling: newDescribeScalingPoliciesResponse :: Int -> DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling: newDescribeScheduledActions :: ServiceNamespace -> DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling: newDescribeScheduledActionsResponse :: Int -> DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling: newMetricDimension :: Text -> Text -> MetricDimension
+ Amazonka.ApplicationAutoScaling: newNotScaledReason :: Text -> NotScaledReason
+ Amazonka.ApplicationAutoScaling: newPredefinedMetricSpecification :: MetricType -> PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling: newPutScalingPolicy :: Text -> ServiceNamespace -> Text -> ScalableDimension -> PutScalingPolicy
+ Amazonka.ApplicationAutoScaling: newPutScalingPolicyResponse :: Int -> Text -> PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling: newPutScheduledAction :: ServiceNamespace -> Text -> Text -> ScalableDimension -> PutScheduledAction
+ Amazonka.ApplicationAutoScaling: newPutScheduledActionResponse :: Int -> PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling: newRegisterScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling: newRegisterScalableTargetResponse :: Int -> RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling: newScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> Text -> UTCTime -> ScalableTarget
+ Amazonka.ApplicationAutoScaling: newScalableTargetAction :: ScalableTargetAction
+ Amazonka.ApplicationAutoScaling: newScalingActivity :: Text -> ServiceNamespace -> Text -> ScalableDimension -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> ScalingActivity
+ Amazonka.ApplicationAutoScaling: newScalingPolicy :: Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PolicyType -> UTCTime -> ScalingPolicy
+ Amazonka.ApplicationAutoScaling: newScheduledAction :: Text -> Text -> ServiceNamespace -> Text -> Text -> UTCTime -> ScheduledAction
+ Amazonka.ApplicationAutoScaling: newStepAdjustment :: Int -> StepAdjustment
+ Amazonka.ApplicationAutoScaling: newStepScalingPolicyConfiguration :: StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling: newSuspendedState :: SuspendedState
+ Amazonka.ApplicationAutoScaling: newTargetTrackingScalingPolicyConfiguration :: Double -> TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling: newtype AdjustmentType
+ Amazonka.ApplicationAutoScaling: newtype MetricAggregationType
+ Amazonka.ApplicationAutoScaling: newtype MetricStatistic
+ Amazonka.ApplicationAutoScaling: newtype MetricType
+ Amazonka.ApplicationAutoScaling: newtype PolicyType
+ Amazonka.ApplicationAutoScaling: newtype ScalableDimension
+ Amazonka.ApplicationAutoScaling: newtype ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling: newtype ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern AdjustmentType_ChangeInCapacity :: AdjustmentType
+ Amazonka.ApplicationAutoScaling: pattern AdjustmentType_ExactCapacity :: AdjustmentType
+ Amazonka.ApplicationAutoScaling: pattern AdjustmentType_PercentChangeInCapacity :: AdjustmentType
+ Amazonka.ApplicationAutoScaling: pattern MetricAggregationType_Average :: MetricAggregationType
+ Amazonka.ApplicationAutoScaling: pattern MetricAggregationType_Maximum :: MetricAggregationType
+ Amazonka.ApplicationAutoScaling: pattern MetricAggregationType_Minimum :: MetricAggregationType
+ Amazonka.ApplicationAutoScaling: pattern MetricStatistic_Average :: MetricStatistic
+ Amazonka.ApplicationAutoScaling: pattern MetricStatistic_Maximum :: MetricStatistic
+ Amazonka.ApplicationAutoScaling: pattern MetricStatistic_Minimum :: MetricStatistic
+ Amazonka.ApplicationAutoScaling: pattern MetricStatistic_SampleCount :: MetricStatistic
+ Amazonka.ApplicationAutoScaling: pattern MetricStatistic_Sum :: MetricStatistic
+ Amazonka.ApplicationAutoScaling: pattern MetricType_ALBRequestCountPerTarget :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_AppStreamAverageCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_CassandraReadCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_CassandraWriteCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_ComprehendInferenceUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_DynamoDBReadCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_DynamoDBWriteCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_EC2SpotFleetRequestAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_EC2SpotFleetRequestAverageNetworkIn :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_EC2SpotFleetRequestAverageNetworkOut :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_ECSServiceAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_ECSServiceAverageMemoryUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_ElastiCachePrimaryEngineCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_ElastiCacheReplicaEngineCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_KafkaBrokerStorageUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_LambdaProvisionedConcurrencyUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_NeptuneReaderAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_RDSReaderAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_RDSReaderAverageDatabaseConnections :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern MetricType_SageMakerVariantInvocationsPerInstance :: MetricType
+ Amazonka.ApplicationAutoScaling: pattern PolicyType_StepScaling :: PolicyType
+ Amazonka.ApplicationAutoScaling: pattern PolicyType_TargetTrackingScaling :: PolicyType
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Appstream_fleet_DesiredCapacity :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Cassandra_table_ReadCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Cassandra_table_WriteCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Comprehend_document_classifier_endpoint_DesiredInferenceUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Comprehend_entity_recognizer_endpoint_DesiredInferenceUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Custom_resource_ResourceType_Property :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Dynamodb_index_ReadCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Dynamodb_index_WriteCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Dynamodb_table_ReadCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Dynamodb_table_WriteCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Ec2_spot_fleet_request_TargetCapacity :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Ecs_service_DesiredCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Elasticache_replication_group_NodeGroups :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Elasticache_replication_group_Replicas :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Elasticmapreduce_instancegroup_InstanceCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Kafka_broker_storage_VolumeSize :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Lambda_function_ProvisionedConcurrency :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Neptune_cluster_ReadReplicaCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Rds_cluster_ReadReplicaCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalableDimension_Sagemaker_variant_DesiredInstanceCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling: pattern ScalingActivityStatusCode_Failed :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling: pattern ScalingActivityStatusCode_InProgress :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling: pattern ScalingActivityStatusCode_Overridden :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling: pattern ScalingActivityStatusCode_Pending :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling: pattern ScalingActivityStatusCode_Successful :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling: pattern ScalingActivityStatusCode_Unfulfilled :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Appstream :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Cassandra :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Comprehend :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Custom_resource :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Dynamodb :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Ec2 :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Ecs :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Elasticache :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Elasticmapreduce :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Kafka :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Lambda :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Neptune :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Rds :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling: pattern ServiceNamespace_Sagemaker :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: DeleteScalingPolicy' :: Text -> ServiceNamespace -> Text -> ScalableDimension -> DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: DeleteScalingPolicyResponse' :: Int -> DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: [$sel:httpStatus:DeleteScalingPolicyResponse'] :: DeleteScalingPolicyResponse -> Int
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: [$sel:policyName:DeleteScalingPolicy'] :: DeleteScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: [$sel:resourceId:DeleteScalingPolicy'] :: DeleteScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: [$sel:scalableDimension:DeleteScalingPolicy'] :: DeleteScalingPolicy -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: [$sel:serviceNamespace:DeleteScalingPolicy'] :: DeleteScalingPolicy -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: data DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: data DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: deleteScalingPolicyResponse_httpStatus :: Lens' DeleteScalingPolicyResponse Int
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: deleteScalingPolicy_policyName :: Lens' DeleteScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: deleteScalingPolicy_resourceId :: Lens' DeleteScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: deleteScalingPolicy_scalableDimension :: Lens' DeleteScalingPolicy ScalableDimension
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: deleteScalingPolicy_serviceNamespace :: Lens' DeleteScalingPolicy ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DeleteScalingPolicy.DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: newDeleteScalingPolicy :: Text -> ServiceNamespace -> Text -> ScalableDimension -> DeleteScalingPolicy
+ Amazonka.ApplicationAutoScaling.DeleteScalingPolicy: newDeleteScalingPolicyResponse :: Int -> DeleteScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: DeleteScheduledAction' :: ServiceNamespace -> Text -> Text -> ScalableDimension -> DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: DeleteScheduledActionResponse' :: Int -> DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: [$sel:httpStatus:DeleteScheduledActionResponse'] :: DeleteScheduledActionResponse -> Int
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: [$sel:resourceId:DeleteScheduledAction'] :: DeleteScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: [$sel:scalableDimension:DeleteScheduledAction'] :: DeleteScheduledAction -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: [$sel:scheduledActionName:DeleteScheduledAction'] :: DeleteScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: [$sel:serviceNamespace:DeleteScheduledAction'] :: DeleteScheduledAction -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: data DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: data DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: deleteScheduledActionResponse_httpStatus :: Lens' DeleteScheduledActionResponse Int
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: deleteScheduledAction_resourceId :: Lens' DeleteScheduledAction Text
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: deleteScheduledAction_scalableDimension :: Lens' DeleteScheduledAction ScalableDimension
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: deleteScheduledAction_scheduledActionName :: Lens' DeleteScheduledAction Text
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: deleteScheduledAction_serviceNamespace :: Lens' DeleteScheduledAction ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DeleteScheduledAction.DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: newDeleteScheduledAction :: ServiceNamespace -> Text -> Text -> ScalableDimension -> DeleteScheduledAction
+ Amazonka.ApplicationAutoScaling.DeleteScheduledAction: newDeleteScheduledActionResponse :: Int -> DeleteScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: DeregisterScalableTarget' :: ServiceNamespace -> Text -> ScalableDimension -> DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: DeregisterScalableTargetResponse' :: Int -> DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: [$sel:httpStatus:DeregisterScalableTargetResponse'] :: DeregisterScalableTargetResponse -> Int
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: [$sel:resourceId:DeregisterScalableTarget'] :: DeregisterScalableTarget -> Text
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: [$sel:scalableDimension:DeregisterScalableTarget'] :: DeregisterScalableTarget -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: [$sel:serviceNamespace:DeregisterScalableTarget'] :: DeregisterScalableTarget -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: data DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: data DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: deregisterScalableTargetResponse_httpStatus :: Lens' DeregisterScalableTargetResponse Int
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: deregisterScalableTarget_resourceId :: Lens' DeregisterScalableTarget Text
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: deregisterScalableTarget_scalableDimension :: Lens' DeregisterScalableTarget ScalableDimension
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: deregisterScalableTarget_serviceNamespace :: Lens' DeregisterScalableTarget ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DeregisterScalableTarget.DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: newDeregisterScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> DeregisterScalableTarget
+ Amazonka.ApplicationAutoScaling.DeregisterScalableTarget: newDeregisterScalableTargetResponse :: Int -> DeregisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: DescribeScalableTargets' :: Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe ScalableDimension -> ServiceNamespace -> DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: DescribeScalableTargetsResponse' :: Maybe Text -> Maybe [ScalableTarget] -> Int -> DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: [$sel:httpStatus:DescribeScalableTargetsResponse'] :: DescribeScalableTargetsResponse -> Int
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: [$sel:maxResults:DescribeScalableTargets'] :: DescribeScalableTargets -> Maybe Int
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: [$sel:nextToken:DescribeScalableTargets'] :: DescribeScalableTargets -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: [$sel:nextToken:DescribeScalableTargetsResponse'] :: DescribeScalableTargetsResponse -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: [$sel:resourceIds:DescribeScalableTargets'] :: DescribeScalableTargets -> Maybe [Text]
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: [$sel:scalableDimension:DescribeScalableTargets'] :: DescribeScalableTargets -> Maybe ScalableDimension
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: [$sel:scalableTargets:DescribeScalableTargetsResponse'] :: DescribeScalableTargetsResponse -> Maybe [ScalableTarget]
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: [$sel:serviceNamespace:DescribeScalableTargets'] :: DescribeScalableTargets -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: data DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: data DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargetsResponse_httpStatus :: Lens' DescribeScalableTargetsResponse Int
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargetsResponse_nextToken :: Lens' DescribeScalableTargetsResponse (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargetsResponse_scalableTargets :: Lens' DescribeScalableTargetsResponse (Maybe [ScalableTarget])
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargets_maxResults :: Lens' DescribeScalableTargets (Maybe Int)
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargets_nextToken :: Lens' DescribeScalableTargets (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargets_resourceIds :: Lens' DescribeScalableTargets (Maybe [Text])
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargets_scalableDimension :: Lens' DescribeScalableTargets (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: describeScalableTargets_serviceNamespace :: Lens' DescribeScalableTargets ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance Amazonka.Pager.AWSPager Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DescribeScalableTargets.DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: newDescribeScalableTargets :: ServiceNamespace -> DescribeScalableTargets
+ Amazonka.ApplicationAutoScaling.DescribeScalableTargets: newDescribeScalableTargetsResponse :: Int -> DescribeScalableTargetsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: DescribeScalingActivities' :: Maybe Bool -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ScalableDimension -> ServiceNamespace -> DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: DescribeScalingActivitiesResponse' :: Maybe Text -> Maybe [ScalingActivity] -> Int -> DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: [$sel:httpStatus:DescribeScalingActivitiesResponse'] :: DescribeScalingActivitiesResponse -> Int
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: [$sel:includeNotScaledActivities:DescribeScalingActivities'] :: DescribeScalingActivities -> Maybe Bool
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: [$sel:maxResults:DescribeScalingActivities'] :: DescribeScalingActivities -> Maybe Int
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: [$sel:nextToken:DescribeScalingActivities'] :: DescribeScalingActivities -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: [$sel:nextToken:DescribeScalingActivitiesResponse'] :: DescribeScalingActivitiesResponse -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: [$sel:resourceId:DescribeScalingActivities'] :: DescribeScalingActivities -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: [$sel:scalableDimension:DescribeScalingActivities'] :: DescribeScalingActivities -> Maybe ScalableDimension
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: [$sel:scalingActivities:DescribeScalingActivitiesResponse'] :: DescribeScalingActivitiesResponse -> Maybe [ScalingActivity]
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: [$sel:serviceNamespace:DescribeScalingActivities'] :: DescribeScalingActivities -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: data DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: data DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivitiesResponse_httpStatus :: Lens' DescribeScalingActivitiesResponse Int
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivitiesResponse_nextToken :: Lens' DescribeScalingActivitiesResponse (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivitiesResponse_scalingActivities :: Lens' DescribeScalingActivitiesResponse (Maybe [ScalingActivity])
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivities_includeNotScaledActivities :: Lens' DescribeScalingActivities (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivities_maxResults :: Lens' DescribeScalingActivities (Maybe Int)
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivities_nextToken :: Lens' DescribeScalingActivities (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivities_resourceId :: Lens' DescribeScalingActivities (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivities_scalableDimension :: Lens' DescribeScalingActivities (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: describeScalingActivities_serviceNamespace :: Lens' DescribeScalingActivities ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance Amazonka.Pager.AWSPager Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DescribeScalingActivities.DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: newDescribeScalingActivities :: ServiceNamespace -> DescribeScalingActivities
+ Amazonka.ApplicationAutoScaling.DescribeScalingActivities: newDescribeScalingActivitiesResponse :: Int -> DescribeScalingActivitiesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: DescribeScalingPolicies' :: Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe ScalableDimension -> ServiceNamespace -> DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: DescribeScalingPoliciesResponse' :: Maybe Text -> Maybe [ScalingPolicy] -> Int -> DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: [$sel:httpStatus:DescribeScalingPoliciesResponse'] :: DescribeScalingPoliciesResponse -> Int
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: [$sel:maxResults:DescribeScalingPolicies'] :: DescribeScalingPolicies -> Maybe Int
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: [$sel:nextToken:DescribeScalingPolicies'] :: DescribeScalingPolicies -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: [$sel:nextToken:DescribeScalingPoliciesResponse'] :: DescribeScalingPoliciesResponse -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: [$sel:policyNames:DescribeScalingPolicies'] :: DescribeScalingPolicies -> Maybe [Text]
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: [$sel:resourceId:DescribeScalingPolicies'] :: DescribeScalingPolicies -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: [$sel:scalableDimension:DescribeScalingPolicies'] :: DescribeScalingPolicies -> Maybe ScalableDimension
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: [$sel:scalingPolicies:DescribeScalingPoliciesResponse'] :: DescribeScalingPoliciesResponse -> Maybe [ScalingPolicy]
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: [$sel:serviceNamespace:DescribeScalingPolicies'] :: DescribeScalingPolicies -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: data DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: data DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPoliciesResponse_httpStatus :: Lens' DescribeScalingPoliciesResponse Int
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPoliciesResponse_nextToken :: Lens' DescribeScalingPoliciesResponse (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPoliciesResponse_scalingPolicies :: Lens' DescribeScalingPoliciesResponse (Maybe [ScalingPolicy])
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPolicies_maxResults :: Lens' DescribeScalingPolicies (Maybe Int)
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPolicies_nextToken :: Lens' DescribeScalingPolicies (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPolicies_policyNames :: Lens' DescribeScalingPolicies (Maybe [Text])
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPolicies_resourceId :: Lens' DescribeScalingPolicies (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPolicies_scalableDimension :: Lens' DescribeScalingPolicies (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: describeScalingPolicies_serviceNamespace :: Lens' DescribeScalingPolicies ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance Amazonka.Pager.AWSPager Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DescribeScalingPolicies.DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: newDescribeScalingPolicies :: ServiceNamespace -> DescribeScalingPolicies
+ Amazonka.ApplicationAutoScaling.DescribeScalingPolicies: newDescribeScalingPoliciesResponse :: Int -> DescribeScalingPoliciesResponse
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: DescribeScheduledActions' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe ScalableDimension -> Maybe [Text] -> ServiceNamespace -> DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: DescribeScheduledActionsResponse' :: Maybe Text -> Maybe [ScheduledAction] -> Int -> DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: [$sel:httpStatus:DescribeScheduledActionsResponse'] :: DescribeScheduledActionsResponse -> Int
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: [$sel:maxResults:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe Int
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: [$sel:nextToken:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: [$sel:nextToken:DescribeScheduledActionsResponse'] :: DescribeScheduledActionsResponse -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: [$sel:resourceId:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe Text
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: [$sel:scalableDimension:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe ScalableDimension
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: [$sel:scheduledActionNames:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe [Text]
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: [$sel:scheduledActions:DescribeScheduledActionsResponse'] :: DescribeScheduledActionsResponse -> Maybe [ScheduledAction]
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: [$sel:serviceNamespace:DescribeScheduledActions'] :: DescribeScheduledActions -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: data DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: data DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActionsResponse_httpStatus :: Lens' DescribeScheduledActionsResponse Int
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActionsResponse_nextToken :: Lens' DescribeScheduledActionsResponse (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActionsResponse_scheduledActions :: Lens' DescribeScheduledActionsResponse (Maybe [ScheduledAction])
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActions_maxResults :: Lens' DescribeScheduledActions (Maybe Int)
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActions_nextToken :: Lens' DescribeScheduledActions (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActions_resourceId :: Lens' DescribeScheduledActions (Maybe Text)
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActions_scalableDimension :: Lens' DescribeScheduledActions (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActions_scheduledActionNames :: Lens' DescribeScheduledActions (Maybe [Text])
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: describeScheduledActions_serviceNamespace :: Lens' DescribeScheduledActions ServiceNamespace
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance Amazonka.Pager.AWSPager Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.DescribeScheduledActions.DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: newDescribeScheduledActions :: ServiceNamespace -> DescribeScheduledActions
+ Amazonka.ApplicationAutoScaling.DescribeScheduledActions: newDescribeScheduledActionsResponse :: Int -> DescribeScheduledActionsResponse
+ Amazonka.ApplicationAutoScaling.Lens: alarm_alarmARN :: Lens' Alarm Text
+ Amazonka.ApplicationAutoScaling.Lens: alarm_alarmName :: Lens' Alarm Text
+ Amazonka.ApplicationAutoScaling.Lens: customizedMetricSpecification_dimensions :: Lens' CustomizedMetricSpecification (Maybe [MetricDimension])
+ Amazonka.ApplicationAutoScaling.Lens: customizedMetricSpecification_metricName :: Lens' CustomizedMetricSpecification Text
+ Amazonka.ApplicationAutoScaling.Lens: customizedMetricSpecification_namespace :: Lens' CustomizedMetricSpecification Text
+ Amazonka.ApplicationAutoScaling.Lens: customizedMetricSpecification_statistic :: Lens' CustomizedMetricSpecification MetricStatistic
+ Amazonka.ApplicationAutoScaling.Lens: customizedMetricSpecification_unit :: Lens' CustomizedMetricSpecification (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: deleteScalingPolicyResponse_httpStatus :: Lens' DeleteScalingPolicyResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: deleteScalingPolicy_policyName :: Lens' DeleteScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Lens: deleteScalingPolicy_resourceId :: Lens' DeleteScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Lens: deleteScalingPolicy_scalableDimension :: Lens' DeleteScalingPolicy ScalableDimension
+ Amazonka.ApplicationAutoScaling.Lens: deleteScalingPolicy_serviceNamespace :: Lens' DeleteScalingPolicy ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: deleteScheduledActionResponse_httpStatus :: Lens' DeleteScheduledActionResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: deleteScheduledAction_resourceId :: Lens' DeleteScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Lens: deleteScheduledAction_scalableDimension :: Lens' DeleteScheduledAction ScalableDimension
+ Amazonka.ApplicationAutoScaling.Lens: deleteScheduledAction_scheduledActionName :: Lens' DeleteScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Lens: deleteScheduledAction_serviceNamespace :: Lens' DeleteScheduledAction ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: deregisterScalableTargetResponse_httpStatus :: Lens' DeregisterScalableTargetResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: deregisterScalableTarget_resourceId :: Lens' DeregisterScalableTarget Text
+ Amazonka.ApplicationAutoScaling.Lens: deregisterScalableTarget_scalableDimension :: Lens' DeregisterScalableTarget ScalableDimension
+ Amazonka.ApplicationAutoScaling.Lens: deregisterScalableTarget_serviceNamespace :: Lens' DeregisterScalableTarget ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: describeScalableTargetsResponse_httpStatus :: Lens' DescribeScalableTargetsResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: describeScalableTargetsResponse_nextToken :: Lens' DescribeScalableTargetsResponse (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalableTargetsResponse_scalableTargets :: Lens' DescribeScalableTargetsResponse (Maybe [ScalableTarget])
+ Amazonka.ApplicationAutoScaling.Lens: describeScalableTargets_maxResults :: Lens' DescribeScalableTargets (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalableTargets_nextToken :: Lens' DescribeScalableTargets (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalableTargets_resourceIds :: Lens' DescribeScalableTargets (Maybe [Text])
+ Amazonka.ApplicationAutoScaling.Lens: describeScalableTargets_scalableDimension :: Lens' DescribeScalableTargets (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalableTargets_serviceNamespace :: Lens' DescribeScalableTargets ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingActivitiesResponse_httpStatus :: Lens' DescribeScalingActivitiesResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingActivitiesResponse_nextToken :: Lens' DescribeScalingActivitiesResponse (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingActivitiesResponse_scalingActivities :: Lens' DescribeScalingActivitiesResponse (Maybe [ScalingActivity])
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingActivities_includeNotScaledActivities :: Lens' DescribeScalingActivities (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingActivities_maxResults :: Lens' DescribeScalingActivities (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingActivities_nextToken :: Lens' DescribeScalingActivities (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingActivities_resourceId :: Lens' DescribeScalingActivities (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingActivities_scalableDimension :: Lens' DescribeScalingActivities (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingActivities_serviceNamespace :: Lens' DescribeScalingActivities ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingPoliciesResponse_httpStatus :: Lens' DescribeScalingPoliciesResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingPoliciesResponse_nextToken :: Lens' DescribeScalingPoliciesResponse (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingPoliciesResponse_scalingPolicies :: Lens' DescribeScalingPoliciesResponse (Maybe [ScalingPolicy])
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingPolicies_maxResults :: Lens' DescribeScalingPolicies (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingPolicies_nextToken :: Lens' DescribeScalingPolicies (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingPolicies_policyNames :: Lens' DescribeScalingPolicies (Maybe [Text])
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingPolicies_resourceId :: Lens' DescribeScalingPolicies (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingPolicies_scalableDimension :: Lens' DescribeScalingPolicies (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.Lens: describeScalingPolicies_serviceNamespace :: Lens' DescribeScalingPolicies ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: describeScheduledActionsResponse_httpStatus :: Lens' DescribeScheduledActionsResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: describeScheduledActionsResponse_nextToken :: Lens' DescribeScheduledActionsResponse (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScheduledActionsResponse_scheduledActions :: Lens' DescribeScheduledActionsResponse (Maybe [ScheduledAction])
+ Amazonka.ApplicationAutoScaling.Lens: describeScheduledActions_maxResults :: Lens' DescribeScheduledActions (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: describeScheduledActions_nextToken :: Lens' DescribeScheduledActions (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScheduledActions_resourceId :: Lens' DescribeScheduledActions (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: describeScheduledActions_scalableDimension :: Lens' DescribeScheduledActions (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.Lens: describeScheduledActions_scheduledActionNames :: Lens' DescribeScheduledActions (Maybe [Text])
+ Amazonka.ApplicationAutoScaling.Lens: describeScheduledActions_serviceNamespace :: Lens' DescribeScheduledActions ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: metricDimension_name :: Lens' MetricDimension Text
+ Amazonka.ApplicationAutoScaling.Lens: metricDimension_value :: Lens' MetricDimension Text
+ Amazonka.ApplicationAutoScaling.Lens: notScaledReason_code :: Lens' NotScaledReason Text
+ Amazonka.ApplicationAutoScaling.Lens: notScaledReason_currentCapacity :: Lens' NotScaledReason (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: notScaledReason_maxCapacity :: Lens' NotScaledReason (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: notScaledReason_minCapacity :: Lens' NotScaledReason (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: predefinedMetricSpecification_predefinedMetricType :: Lens' PredefinedMetricSpecification MetricType
+ Amazonka.ApplicationAutoScaling.Lens: predefinedMetricSpecification_resourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicyResponse_alarms :: Lens' PutScalingPolicyResponse (Maybe [Alarm])
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicyResponse_httpStatus :: Lens' PutScalingPolicyResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicyResponse_policyARN :: Lens' PutScalingPolicyResponse Text
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicy_policyName :: Lens' PutScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicy_policyType :: Lens' PutScalingPolicy (Maybe PolicyType)
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicy_resourceId :: Lens' PutScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicy_scalableDimension :: Lens' PutScalingPolicy ScalableDimension
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicy_serviceNamespace :: Lens' PutScalingPolicy ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicy_stepScalingPolicyConfiguration :: Lens' PutScalingPolicy (Maybe StepScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.Lens: putScalingPolicy_targetTrackingScalingPolicyConfiguration :: Lens' PutScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledActionResponse_httpStatus :: Lens' PutScheduledActionResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledAction_endTime :: Lens' PutScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledAction_resourceId :: Lens' PutScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledAction_scalableDimension :: Lens' PutScheduledAction ScalableDimension
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledAction_scalableTargetAction :: Lens' PutScheduledAction (Maybe ScalableTargetAction)
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledAction_schedule :: Lens' PutScheduledAction (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledAction_scheduledActionName :: Lens' PutScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledAction_serviceNamespace :: Lens' PutScheduledAction ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledAction_startTime :: Lens' PutScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Lens: putScheduledAction_timezone :: Lens' PutScheduledAction (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: registerScalableTargetResponse_httpStatus :: Lens' RegisterScalableTargetResponse Int
+ Amazonka.ApplicationAutoScaling.Lens: registerScalableTarget_maxCapacity :: Lens' RegisterScalableTarget (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: registerScalableTarget_minCapacity :: Lens' RegisterScalableTarget (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: registerScalableTarget_resourceId :: Lens' RegisterScalableTarget Text
+ Amazonka.ApplicationAutoScaling.Lens: registerScalableTarget_roleARN :: Lens' RegisterScalableTarget (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: registerScalableTarget_scalableDimension :: Lens' RegisterScalableTarget ScalableDimension
+ Amazonka.ApplicationAutoScaling.Lens: registerScalableTarget_serviceNamespace :: Lens' RegisterScalableTarget ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: registerScalableTarget_suspendedState :: Lens' RegisterScalableTarget (Maybe SuspendedState)
+ Amazonka.ApplicationAutoScaling.Lens: scalableTargetAction_maxCapacity :: Lens' ScalableTargetAction (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: scalableTargetAction_minCapacity :: Lens' ScalableTargetAction (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: scalableTarget_creationTime :: Lens' ScalableTarget UTCTime
+ Amazonka.ApplicationAutoScaling.Lens: scalableTarget_maxCapacity :: Lens' ScalableTarget Int
+ Amazonka.ApplicationAutoScaling.Lens: scalableTarget_minCapacity :: Lens' ScalableTarget Int
+ Amazonka.ApplicationAutoScaling.Lens: scalableTarget_resourceId :: Lens' ScalableTarget Text
+ Amazonka.ApplicationAutoScaling.Lens: scalableTarget_roleARN :: Lens' ScalableTarget Text
+ Amazonka.ApplicationAutoScaling.Lens: scalableTarget_scalableDimension :: Lens' ScalableTarget ScalableDimension
+ Amazonka.ApplicationAutoScaling.Lens: scalableTarget_serviceNamespace :: Lens' ScalableTarget ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: scalableTarget_suspendedState :: Lens' ScalableTarget (Maybe SuspendedState)
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_activityId :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_cause :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_description :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_details :: Lens' ScalingActivity (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_endTime :: Lens' ScalingActivity (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_notScaledReasons :: Lens' ScalingActivity (Maybe [NotScaledReason])
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_resourceId :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_scalableDimension :: Lens' ScalingActivity ScalableDimension
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_serviceNamespace :: Lens' ScalingActivity ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_startTime :: Lens' ScalingActivity UTCTime
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_statusCode :: Lens' ScalingActivity ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Lens: scalingActivity_statusMessage :: Lens' ScalingActivity (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_alarms :: Lens' ScalingPolicy (Maybe [Alarm])
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_creationTime :: Lens' ScalingPolicy UTCTime
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_policyARN :: Lens' ScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_policyName :: Lens' ScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_policyType :: Lens' ScalingPolicy PolicyType
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_resourceId :: Lens' ScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_scalableDimension :: Lens' ScalingPolicy ScalableDimension
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_serviceNamespace :: Lens' ScalingPolicy ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_stepScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe StepScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.Lens: scalingPolicy_targetTrackingScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_creationTime :: Lens' ScheduledAction UTCTime
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_resourceId :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_scalableDimension :: Lens' ScheduledAction (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_scalableTargetAction :: Lens' ScheduledAction (Maybe ScalableTargetAction)
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_schedule :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_scheduledActionARN :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_scheduledActionName :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_serviceNamespace :: Lens' ScheduledAction ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Lens: scheduledAction_timezone :: Lens' ScheduledAction (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Lens: stepAdjustment_metricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double)
+ Amazonka.ApplicationAutoScaling.Lens: stepAdjustment_metricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double)
+ Amazonka.ApplicationAutoScaling.Lens: stepAdjustment_scalingAdjustment :: Lens' StepAdjustment Int
+ Amazonka.ApplicationAutoScaling.Lens: stepScalingPolicyConfiguration_adjustmentType :: Lens' StepScalingPolicyConfiguration (Maybe AdjustmentType)
+ Amazonka.ApplicationAutoScaling.Lens: stepScalingPolicyConfiguration_cooldown :: Lens' StepScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: stepScalingPolicyConfiguration_metricAggregationType :: Lens' StepScalingPolicyConfiguration (Maybe MetricAggregationType)
+ Amazonka.ApplicationAutoScaling.Lens: stepScalingPolicyConfiguration_minAdjustmentMagnitude :: Lens' StepScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: stepScalingPolicyConfiguration_stepAdjustments :: Lens' StepScalingPolicyConfiguration (Maybe [StepAdjustment])
+ Amazonka.ApplicationAutoScaling.Lens: suspendedState_dynamicScalingInSuspended :: Lens' SuspendedState (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Lens: suspendedState_dynamicScalingOutSuspended :: Lens' SuspendedState (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Lens: suspendedState_scheduledScalingSuspended :: Lens' SuspendedState (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Lens: targetTrackingScalingPolicyConfiguration_customizedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe CustomizedMetricSpecification)
+ Amazonka.ApplicationAutoScaling.Lens: targetTrackingScalingPolicyConfiguration_disableScaleIn :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Lens: targetTrackingScalingPolicyConfiguration_predefinedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe PredefinedMetricSpecification)
+ Amazonka.ApplicationAutoScaling.Lens: targetTrackingScalingPolicyConfiguration_scaleInCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: targetTrackingScalingPolicyConfiguration_scaleOutCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Lens: targetTrackingScalingPolicyConfiguration_targetValue :: Lens' TargetTrackingScalingPolicyConfiguration Double
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: PutScalingPolicy' :: Maybe PolicyType -> Maybe StepScalingPolicyConfiguration -> Maybe TargetTrackingScalingPolicyConfiguration -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: PutScalingPolicyResponse' :: Maybe [Alarm] -> Int -> Text -> PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:alarms:PutScalingPolicyResponse'] :: PutScalingPolicyResponse -> Maybe [Alarm]
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:httpStatus:PutScalingPolicyResponse'] :: PutScalingPolicyResponse -> Int
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:policyARN:PutScalingPolicyResponse'] :: PutScalingPolicyResponse -> Text
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:policyName:PutScalingPolicy'] :: PutScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:policyType:PutScalingPolicy'] :: PutScalingPolicy -> Maybe PolicyType
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:resourceId:PutScalingPolicy'] :: PutScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:scalableDimension:PutScalingPolicy'] :: PutScalingPolicy -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:serviceNamespace:PutScalingPolicy'] :: PutScalingPolicy -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:stepScalingPolicyConfiguration:PutScalingPolicy'] :: PutScalingPolicy -> Maybe StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: [$sel:targetTrackingScalingPolicyConfiguration:PutScalingPolicy'] :: PutScalingPolicy -> Maybe TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: data PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: data PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.PutScalingPolicy.PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: newPutScalingPolicy :: Text -> ServiceNamespace -> Text -> ScalableDimension -> PutScalingPolicy
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: newPutScalingPolicyResponse :: Int -> Text -> PutScalingPolicyResponse
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicyResponse_alarms :: Lens' PutScalingPolicyResponse (Maybe [Alarm])
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicyResponse_httpStatus :: Lens' PutScalingPolicyResponse Int
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicyResponse_policyARN :: Lens' PutScalingPolicyResponse Text
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicy_policyName :: Lens' PutScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicy_policyType :: Lens' PutScalingPolicy (Maybe PolicyType)
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicy_resourceId :: Lens' PutScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicy_scalableDimension :: Lens' PutScalingPolicy ScalableDimension
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicy_serviceNamespace :: Lens' PutScalingPolicy ServiceNamespace
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicy_stepScalingPolicyConfiguration :: Lens' PutScalingPolicy (Maybe StepScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.PutScalingPolicy: putScalingPolicy_targetTrackingScalingPolicyConfiguration :: Lens' PutScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: PutScheduledAction' :: Maybe POSIX -> Maybe ScalableTargetAction -> Maybe Text -> Maybe POSIX -> Maybe Text -> ServiceNamespace -> Text -> Text -> ScalableDimension -> PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: PutScheduledActionResponse' :: Int -> PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:endTime:PutScheduledAction'] :: PutScheduledAction -> Maybe POSIX
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:httpStatus:PutScheduledActionResponse'] :: PutScheduledActionResponse -> Int
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:resourceId:PutScheduledAction'] :: PutScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:scalableDimension:PutScheduledAction'] :: PutScheduledAction -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:scalableTargetAction:PutScheduledAction'] :: PutScheduledAction -> Maybe ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:schedule:PutScheduledAction'] :: PutScheduledAction -> Maybe Text
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:scheduledActionName:PutScheduledAction'] :: PutScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:serviceNamespace:PutScheduledAction'] :: PutScheduledAction -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:startTime:PutScheduledAction'] :: PutScheduledAction -> Maybe POSIX
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: [$sel:timezone:PutScheduledAction'] :: PutScheduledAction -> Maybe Text
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: data PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: data PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.PutScheduledAction.PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: newPutScheduledAction :: ServiceNamespace -> Text -> Text -> ScalableDimension -> PutScheduledAction
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: newPutScheduledActionResponse :: Int -> PutScheduledActionResponse
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledActionResponse_httpStatus :: Lens' PutScheduledActionResponse Int
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledAction_endTime :: Lens' PutScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledAction_resourceId :: Lens' PutScheduledAction Text
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledAction_scalableDimension :: Lens' PutScheduledAction ScalableDimension
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledAction_scalableTargetAction :: Lens' PutScheduledAction (Maybe ScalableTargetAction)
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledAction_schedule :: Lens' PutScheduledAction (Maybe Text)
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledAction_scheduledActionName :: Lens' PutScheduledAction Text
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledAction_serviceNamespace :: Lens' PutScheduledAction ServiceNamespace
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledAction_startTime :: Lens' PutScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.PutScheduledAction: putScheduledAction_timezone :: Lens' PutScheduledAction (Maybe Text)
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: RegisterScalableTarget' :: Maybe Int -> Maybe Int -> Maybe Text -> Maybe SuspendedState -> ServiceNamespace -> Text -> ScalableDimension -> RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: RegisterScalableTargetResponse' :: Int -> RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: [$sel:httpStatus:RegisterScalableTargetResponse'] :: RegisterScalableTargetResponse -> Int
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: [$sel:maxCapacity:RegisterScalableTarget'] :: RegisterScalableTarget -> Maybe Int
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: [$sel:minCapacity:RegisterScalableTarget'] :: RegisterScalableTarget -> Maybe Int
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: [$sel:resourceId:RegisterScalableTarget'] :: RegisterScalableTarget -> Text
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: [$sel:roleARN:RegisterScalableTarget'] :: RegisterScalableTarget -> Maybe Text
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: [$sel:scalableDimension:RegisterScalableTarget'] :: RegisterScalableTarget -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: [$sel:serviceNamespace:RegisterScalableTarget'] :: RegisterScalableTarget -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: [$sel:suspendedState:RegisterScalableTarget'] :: RegisterScalableTarget -> Maybe SuspendedState
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: data RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: data RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance Amazonka.Data.Headers.ToHeaders Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance Amazonka.Data.Path.ToPath Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance Amazonka.Types.AWSRequest Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.RegisterScalableTarget.RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: newRegisterScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> RegisterScalableTarget
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: newRegisterScalableTargetResponse :: Int -> RegisterScalableTargetResponse
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTargetResponse_httpStatus :: Lens' RegisterScalableTargetResponse Int
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTarget_maxCapacity :: Lens' RegisterScalableTarget (Maybe Int)
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTarget_minCapacity :: Lens' RegisterScalableTarget (Maybe Int)
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTarget_resourceId :: Lens' RegisterScalableTarget Text
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTarget_roleARN :: Lens' RegisterScalableTarget (Maybe Text)
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTarget_scalableDimension :: Lens' RegisterScalableTarget ScalableDimension
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTarget_serviceNamespace :: Lens' RegisterScalableTarget ServiceNamespace
+ Amazonka.ApplicationAutoScaling.RegisterScalableTarget: registerScalableTarget_suspendedState :: Lens' RegisterScalableTarget (Maybe SuspendedState)
+ Amazonka.ApplicationAutoScaling.Types: AdjustmentType' :: Text -> AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types: Alarm' :: Text -> Text -> Alarm
+ Amazonka.ApplicationAutoScaling.Types: CustomizedMetricSpecification' :: Maybe [MetricDimension] -> Maybe Text -> Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types: MetricAggregationType' :: Text -> MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types: MetricDimension' :: Text -> Text -> MetricDimension
+ Amazonka.ApplicationAutoScaling.Types: MetricStatistic' :: Text -> MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types: MetricType' :: Text -> MetricType
+ Amazonka.ApplicationAutoScaling.Types: NotScaledReason' :: Maybe Int -> Maybe Int -> Maybe Int -> Text -> NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types: PolicyType' :: Text -> PolicyType
+ Amazonka.ApplicationAutoScaling.Types: PredefinedMetricSpecification' :: Maybe Text -> MetricType -> PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types: ScalableDimension' :: Text -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: ScalableTarget' :: Maybe SuspendedState -> ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> Text -> POSIX -> ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types: ScalableTargetAction' :: Maybe Int -> Maybe Int -> ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types: ScalingActivity' :: Maybe Text -> Maybe POSIX -> Maybe [NotScaledReason] -> Maybe Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> Text -> Text -> POSIX -> ScalingActivityStatusCode -> ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types: ScalingActivityStatusCode' :: Text -> ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: ScalingPolicy' :: Maybe [Alarm] -> Maybe StepScalingPolicyConfiguration -> Maybe TargetTrackingScalingPolicyConfiguration -> Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PolicyType -> POSIX -> ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types: ScheduledAction' :: Maybe POSIX -> Maybe ScalableDimension -> Maybe ScalableTargetAction -> Maybe POSIX -> Maybe Text -> Text -> Text -> ServiceNamespace -> Text -> Text -> POSIX -> ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types: ServiceNamespace' :: Text -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: StepAdjustment' :: Maybe Double -> Maybe Double -> Int -> StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types: StepScalingPolicyConfiguration' :: Maybe AdjustmentType -> Maybe Int -> Maybe MetricAggregationType -> Maybe Int -> Maybe [StepAdjustment] -> StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types: SuspendedState' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> SuspendedState
+ Amazonka.ApplicationAutoScaling.Types: TargetTrackingScalingPolicyConfiguration' :: Maybe CustomizedMetricSpecification -> Maybe Bool -> Maybe PredefinedMetricSpecification -> Maybe Int -> Maybe Int -> Double -> TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types: [$sel:activityId:ScalingActivity'] :: ScalingActivity -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:adjustmentType:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types: [$sel:alarmARN:Alarm'] :: Alarm -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:alarmName:Alarm'] :: Alarm -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:alarms:ScalingPolicy'] :: ScalingPolicy -> Maybe [Alarm]
+ Amazonka.ApplicationAutoScaling.Types: [$sel:cause:ScalingActivity'] :: ScalingActivity -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:code:NotScaledReason'] :: NotScaledReason -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:cooldown:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:creationTime:ScalableTarget'] :: ScalableTarget -> POSIX
+ Amazonka.ApplicationAutoScaling.Types: [$sel:creationTime:ScalingPolicy'] :: ScalingPolicy -> POSIX
+ Amazonka.ApplicationAutoScaling.Types: [$sel:creationTime:ScheduledAction'] :: ScheduledAction -> POSIX
+ Amazonka.ApplicationAutoScaling.Types: [$sel:currentCapacity:NotScaledReason'] :: NotScaledReason -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:customizedMetricSpecification:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types: [$sel:description:ScalingActivity'] :: ScalingActivity -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:details:ScalingActivity'] :: ScalingActivity -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:dimensions:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> Maybe [MetricDimension]
+ Amazonka.ApplicationAutoScaling.Types: [$sel:disableScaleIn:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe Bool
+ Amazonka.ApplicationAutoScaling.Types: [$sel:dynamicScalingInSuspended:SuspendedState'] :: SuspendedState -> Maybe Bool
+ Amazonka.ApplicationAutoScaling.Types: [$sel:dynamicScalingOutSuspended:SuspendedState'] :: SuspendedState -> Maybe Bool
+ Amazonka.ApplicationAutoScaling.Types: [$sel:endTime:ScalingActivity'] :: ScalingActivity -> Maybe POSIX
+ Amazonka.ApplicationAutoScaling.Types: [$sel:endTime:ScheduledAction'] :: ScheduledAction -> Maybe POSIX
+ Amazonka.ApplicationAutoScaling.Types: [$sel:maxCapacity:NotScaledReason'] :: NotScaledReason -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:maxCapacity:ScalableTarget'] :: ScalableTarget -> Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:maxCapacity:ScalableTargetAction'] :: ScalableTargetAction -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:metricAggregationType:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types: [$sel:metricIntervalLowerBound:StepAdjustment'] :: StepAdjustment -> Maybe Double
+ Amazonka.ApplicationAutoScaling.Types: [$sel:metricIntervalUpperBound:StepAdjustment'] :: StepAdjustment -> Maybe Double
+ Amazonka.ApplicationAutoScaling.Types: [$sel:metricName:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:minAdjustmentMagnitude:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:minCapacity:NotScaledReason'] :: NotScaledReason -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:minCapacity:ScalableTarget'] :: ScalableTarget -> Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:minCapacity:ScalableTargetAction'] :: ScalableTargetAction -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:name:MetricDimension'] :: MetricDimension -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:namespace:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:notScaledReasons:ScalingActivity'] :: ScalingActivity -> Maybe [NotScaledReason]
+ Amazonka.ApplicationAutoScaling.Types: [$sel:policyARN:ScalingPolicy'] :: ScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:policyName:ScalingPolicy'] :: ScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:policyType:ScalingPolicy'] :: ScalingPolicy -> PolicyType
+ Amazonka.ApplicationAutoScaling.Types: [$sel:predefinedMetricSpecification:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types: [$sel:predefinedMetricType:PredefinedMetricSpecification'] :: PredefinedMetricSpecification -> MetricType
+ Amazonka.ApplicationAutoScaling.Types: [$sel:resourceId:ScalableTarget'] :: ScalableTarget -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:resourceId:ScalingActivity'] :: ScalingActivity -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:resourceId:ScalingPolicy'] :: ScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:resourceId:ScheduledAction'] :: ScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:resourceLabel:PredefinedMetricSpecification'] :: PredefinedMetricSpecification -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:roleARN:ScalableTarget'] :: ScalableTarget -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scalableDimension:ScalableTarget'] :: ScalableTarget -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scalableDimension:ScalingActivity'] :: ScalingActivity -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scalableDimension:ScalingPolicy'] :: ScalingPolicy -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scalableDimension:ScheduledAction'] :: ScheduledAction -> Maybe ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scalableTargetAction:ScheduledAction'] :: ScheduledAction -> Maybe ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scaleInCooldown:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scaleOutCooldown:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scalingAdjustment:StepAdjustment'] :: StepAdjustment -> Int
+ Amazonka.ApplicationAutoScaling.Types: [$sel:schedule:ScheduledAction'] :: ScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scheduledActionARN:ScheduledAction'] :: ScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scheduledActionName:ScheduledAction'] :: ScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:scheduledScalingSuspended:SuspendedState'] :: SuspendedState -> Maybe Bool
+ Amazonka.ApplicationAutoScaling.Types: [$sel:serviceNamespace:ScalableTarget'] :: ScalableTarget -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: [$sel:serviceNamespace:ScalingActivity'] :: ScalingActivity -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: [$sel:serviceNamespace:ScalingPolicy'] :: ScalingPolicy -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: [$sel:serviceNamespace:ScheduledAction'] :: ScheduledAction -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: [$sel:startTime:ScalingActivity'] :: ScalingActivity -> POSIX
+ Amazonka.ApplicationAutoScaling.Types: [$sel:startTime:ScheduledAction'] :: ScheduledAction -> Maybe POSIX
+ Amazonka.ApplicationAutoScaling.Types: [$sel:statistic:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types: [$sel:statusCode:ScalingActivity'] :: ScalingActivity -> ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: [$sel:statusMessage:ScalingActivity'] :: ScalingActivity -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:stepAdjustments:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe [StepAdjustment]
+ Amazonka.ApplicationAutoScaling.Types: [$sel:stepScalingPolicyConfiguration:ScalingPolicy'] :: ScalingPolicy -> Maybe StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types: [$sel:suspendedState:ScalableTarget'] :: ScalableTarget -> Maybe SuspendedState
+ Amazonka.ApplicationAutoScaling.Types: [$sel:targetTrackingScalingPolicyConfiguration:ScalingPolicy'] :: ScalingPolicy -> Maybe TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types: [$sel:targetValue:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Double
+ Amazonka.ApplicationAutoScaling.Types: [$sel:timezone:ScheduledAction'] :: ScheduledAction -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:unit:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types: [$sel:value:MetricDimension'] :: MetricDimension -> Text
+ Amazonka.ApplicationAutoScaling.Types: [fromAdjustmentType] :: AdjustmentType -> Text
+ Amazonka.ApplicationAutoScaling.Types: [fromMetricAggregationType] :: MetricAggregationType -> Text
+ Amazonka.ApplicationAutoScaling.Types: [fromMetricStatistic] :: MetricStatistic -> Text
+ Amazonka.ApplicationAutoScaling.Types: [fromMetricType] :: MetricType -> Text
+ Amazonka.ApplicationAutoScaling.Types: [fromPolicyType] :: PolicyType -> Text
+ Amazonka.ApplicationAutoScaling.Types: [fromScalableDimension] :: ScalableDimension -> Text
+ Amazonka.ApplicationAutoScaling.Types: [fromScalingActivityStatusCode] :: ScalingActivityStatusCode -> Text
+ Amazonka.ApplicationAutoScaling.Types: [fromServiceNamespace] :: ServiceNamespace -> Text
+ Amazonka.ApplicationAutoScaling.Types: _ConcurrentUpdateException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling.Types: _FailedResourceAccessException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling.Types: _InternalServiceException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling.Types: _InvalidNextTokenException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling.Types: _ObjectNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling.Types: _ValidationException :: AsError a => Fold a ServiceError
+ Amazonka.ApplicationAutoScaling.Types: alarm_alarmARN :: Lens' Alarm Text
+ Amazonka.ApplicationAutoScaling.Types: alarm_alarmName :: Lens' Alarm Text
+ Amazonka.ApplicationAutoScaling.Types: customizedMetricSpecification_dimensions :: Lens' CustomizedMetricSpecification (Maybe [MetricDimension])
+ Amazonka.ApplicationAutoScaling.Types: customizedMetricSpecification_metricName :: Lens' CustomizedMetricSpecification Text
+ Amazonka.ApplicationAutoScaling.Types: customizedMetricSpecification_namespace :: Lens' CustomizedMetricSpecification Text
+ Amazonka.ApplicationAutoScaling.Types: customizedMetricSpecification_statistic :: Lens' CustomizedMetricSpecification MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types: customizedMetricSpecification_unit :: Lens' CustomizedMetricSpecification (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types: data Alarm
+ Amazonka.ApplicationAutoScaling.Types: data CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types: data MetricDimension
+ Amazonka.ApplicationAutoScaling.Types: data NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types: data PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types: data ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types: data ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types: data ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types: data ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types: data ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types: data StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types: data StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types: data SuspendedState
+ Amazonka.ApplicationAutoScaling.Types: data TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types: defaultService :: Service
+ Amazonka.ApplicationAutoScaling.Types: metricDimension_name :: Lens' MetricDimension Text
+ Amazonka.ApplicationAutoScaling.Types: metricDimension_value :: Lens' MetricDimension Text
+ Amazonka.ApplicationAutoScaling.Types: newAlarm :: Text -> Text -> Alarm
+ Amazonka.ApplicationAutoScaling.Types: newCustomizedMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types: newMetricDimension :: Text -> Text -> MetricDimension
+ Amazonka.ApplicationAutoScaling.Types: newNotScaledReason :: Text -> NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types: newPredefinedMetricSpecification :: MetricType -> PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types: newScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> Text -> UTCTime -> ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types: newScalableTargetAction :: ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types: newScalingActivity :: Text -> ServiceNamespace -> Text -> ScalableDimension -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types: newScalingPolicy :: Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PolicyType -> UTCTime -> ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types: newScheduledAction :: Text -> Text -> ServiceNamespace -> Text -> Text -> UTCTime -> ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types: newStepAdjustment :: Int -> StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types: newStepScalingPolicyConfiguration :: StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types: newSuspendedState :: SuspendedState
+ Amazonka.ApplicationAutoScaling.Types: newTargetTrackingScalingPolicyConfiguration :: Double -> TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types: newtype AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types: newtype MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types: newtype MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types: newtype MetricType
+ Amazonka.ApplicationAutoScaling.Types: newtype PolicyType
+ Amazonka.ApplicationAutoScaling.Types: newtype ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: newtype ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: newtype ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: notScaledReason_code :: Lens' NotScaledReason Text
+ Amazonka.ApplicationAutoScaling.Types: notScaledReason_currentCapacity :: Lens' NotScaledReason (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types: notScaledReason_maxCapacity :: Lens' NotScaledReason (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types: notScaledReason_minCapacity :: Lens' NotScaledReason (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types: pattern AdjustmentType_ChangeInCapacity :: AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types: pattern AdjustmentType_ExactCapacity :: AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types: pattern AdjustmentType_PercentChangeInCapacity :: AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricAggregationType_Average :: MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricAggregationType_Maximum :: MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricAggregationType_Minimum :: MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricStatistic_Average :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricStatistic_Maximum :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricStatistic_Minimum :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricStatistic_SampleCount :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricStatistic_Sum :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_ALBRequestCountPerTarget :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_AppStreamAverageCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_CassandraReadCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_CassandraWriteCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_ComprehendInferenceUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_DynamoDBReadCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_DynamoDBWriteCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_EC2SpotFleetRequestAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_EC2SpotFleetRequestAverageNetworkIn :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_EC2SpotFleetRequestAverageNetworkOut :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_ECSServiceAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_ECSServiceAverageMemoryUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_ElastiCachePrimaryEngineCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_ElastiCacheReplicaEngineCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_KafkaBrokerStorageUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_LambdaProvisionedConcurrencyUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_NeptuneReaderAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_RDSReaderAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_RDSReaderAverageDatabaseConnections :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern MetricType_SageMakerVariantInvocationsPerInstance :: MetricType
+ Amazonka.ApplicationAutoScaling.Types: pattern PolicyType_StepScaling :: PolicyType
+ Amazonka.ApplicationAutoScaling.Types: pattern PolicyType_TargetTrackingScaling :: PolicyType
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Appstream_fleet_DesiredCapacity :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Cassandra_table_ReadCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Cassandra_table_WriteCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Comprehend_document_classifier_endpoint_DesiredInferenceUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Comprehend_entity_recognizer_endpoint_DesiredInferenceUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Custom_resource_ResourceType_Property :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Dynamodb_index_ReadCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Dynamodb_index_WriteCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Dynamodb_table_ReadCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Dynamodb_table_WriteCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Ec2_spot_fleet_request_TargetCapacity :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Ecs_service_DesiredCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Elasticache_replication_group_NodeGroups :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Elasticache_replication_group_Replicas :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Elasticmapreduce_instancegroup_InstanceCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Kafka_broker_storage_VolumeSize :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Lambda_function_ProvisionedConcurrency :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Neptune_cluster_ReadReplicaCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Rds_cluster_ReadReplicaCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalableDimension_Sagemaker_variant_DesiredInstanceCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalingActivityStatusCode_Failed :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalingActivityStatusCode_InProgress :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalingActivityStatusCode_Overridden :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalingActivityStatusCode_Pending :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalingActivityStatusCode_Successful :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: pattern ScalingActivityStatusCode_Unfulfilled :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Appstream :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Cassandra :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Comprehend :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Custom_resource :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Dynamodb :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Ec2 :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Ecs :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Elasticache :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Elasticmapreduce :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Kafka :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Lambda :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Neptune :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Rds :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: pattern ServiceNamespace_Sagemaker :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: predefinedMetricSpecification_predefinedMetricType :: Lens' PredefinedMetricSpecification MetricType
+ Amazonka.ApplicationAutoScaling.Types: predefinedMetricSpecification_resourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types: scalableTargetAction_maxCapacity :: Lens' ScalableTargetAction (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types: scalableTargetAction_minCapacity :: Lens' ScalableTargetAction (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types: scalableTarget_creationTime :: Lens' ScalableTarget UTCTime
+ Amazonka.ApplicationAutoScaling.Types: scalableTarget_maxCapacity :: Lens' ScalableTarget Int
+ Amazonka.ApplicationAutoScaling.Types: scalableTarget_minCapacity :: Lens' ScalableTarget Int
+ Amazonka.ApplicationAutoScaling.Types: scalableTarget_resourceId :: Lens' ScalableTarget Text
+ Amazonka.ApplicationAutoScaling.Types: scalableTarget_roleARN :: Lens' ScalableTarget Text
+ Amazonka.ApplicationAutoScaling.Types: scalableTarget_scalableDimension :: Lens' ScalableTarget ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: scalableTarget_serviceNamespace :: Lens' ScalableTarget ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: scalableTarget_suspendedState :: Lens' ScalableTarget (Maybe SuspendedState)
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_activityId :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_cause :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_description :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_details :: Lens' ScalingActivity (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_endTime :: Lens' ScalingActivity (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_notScaledReasons :: Lens' ScalingActivity (Maybe [NotScaledReason])
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_resourceId :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_scalableDimension :: Lens' ScalingActivity ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_serviceNamespace :: Lens' ScalingActivity ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_startTime :: Lens' ScalingActivity UTCTime
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_statusCode :: Lens' ScalingActivity ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types: scalingActivity_statusMessage :: Lens' ScalingActivity (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_alarms :: Lens' ScalingPolicy (Maybe [Alarm])
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_creationTime :: Lens' ScalingPolicy UTCTime
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_policyARN :: Lens' ScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_policyName :: Lens' ScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_policyType :: Lens' ScalingPolicy PolicyType
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_resourceId :: Lens' ScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_scalableDimension :: Lens' ScalingPolicy ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_serviceNamespace :: Lens' ScalingPolicy ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_stepScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe StepScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.Types: scalingPolicy_targetTrackingScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_creationTime :: Lens' ScheduledAction UTCTime
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_resourceId :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_scalableDimension :: Lens' ScheduledAction (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_scalableTargetAction :: Lens' ScheduledAction (Maybe ScalableTargetAction)
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_schedule :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_scheduledActionARN :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_scheduledActionName :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_serviceNamespace :: Lens' ScheduledAction ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Types: scheduledAction_timezone :: Lens' ScheduledAction (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types: stepAdjustment_metricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double)
+ Amazonka.ApplicationAutoScaling.Types: stepAdjustment_metricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double)
+ Amazonka.ApplicationAutoScaling.Types: stepAdjustment_scalingAdjustment :: Lens' StepAdjustment Int
+ Amazonka.ApplicationAutoScaling.Types: stepScalingPolicyConfiguration_adjustmentType :: Lens' StepScalingPolicyConfiguration (Maybe AdjustmentType)
+ Amazonka.ApplicationAutoScaling.Types: stepScalingPolicyConfiguration_cooldown :: Lens' StepScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types: stepScalingPolicyConfiguration_metricAggregationType :: Lens' StepScalingPolicyConfiguration (Maybe MetricAggregationType)
+ Amazonka.ApplicationAutoScaling.Types: stepScalingPolicyConfiguration_minAdjustmentMagnitude :: Lens' StepScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types: stepScalingPolicyConfiguration_stepAdjustments :: Lens' StepScalingPolicyConfiguration (Maybe [StepAdjustment])
+ Amazonka.ApplicationAutoScaling.Types: suspendedState_dynamicScalingInSuspended :: Lens' SuspendedState (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Types: suspendedState_dynamicScalingOutSuspended :: Lens' SuspendedState (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Types: suspendedState_scheduledScalingSuspended :: Lens' SuspendedState (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Types: targetTrackingScalingPolicyConfiguration_customizedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe CustomizedMetricSpecification)
+ Amazonka.ApplicationAutoScaling.Types: targetTrackingScalingPolicyConfiguration_disableScaleIn :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Types: targetTrackingScalingPolicyConfiguration_predefinedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe PredefinedMetricSpecification)
+ Amazonka.ApplicationAutoScaling.Types: targetTrackingScalingPolicyConfiguration_scaleInCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types: targetTrackingScalingPolicyConfiguration_scaleOutCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types: targetTrackingScalingPolicyConfiguration_targetValue :: Lens' TargetTrackingScalingPolicyConfiguration Double
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: AdjustmentType' :: Text -> AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: [fromAdjustmentType] :: AdjustmentType -> Text
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Amazonka.Data.Headers.ToHeader Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Amazonka.Data.Log.ToLog Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Amazonka.Data.Text.FromText Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Amazonka.Data.Text.ToText Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Amazonka.Data.XML.FromXML Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Amazonka.Data.XML.ToXML Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance GHC.Classes.Ord Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.AdjustmentType.AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: newtype AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: pattern AdjustmentType_ChangeInCapacity :: AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: pattern AdjustmentType_ExactCapacity :: AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.AdjustmentType: pattern AdjustmentType_PercentChangeInCapacity :: AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.Alarm: Alarm' :: Text -> Text -> Alarm
+ Amazonka.ApplicationAutoScaling.Types.Alarm: [$sel:alarmARN:Alarm'] :: Alarm -> Text
+ Amazonka.ApplicationAutoScaling.Types.Alarm: [$sel:alarmName:Alarm'] :: Alarm -> Text
+ Amazonka.ApplicationAutoScaling.Types.Alarm: alarm_alarmARN :: Lens' Alarm Text
+ Amazonka.ApplicationAutoScaling.Types.Alarm: alarm_alarmName :: Lens' Alarm Text
+ Amazonka.ApplicationAutoScaling.Types.Alarm: data Alarm
+ Amazonka.ApplicationAutoScaling.Types.Alarm: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.Alarm.Alarm
+ Amazonka.ApplicationAutoScaling.Types.Alarm: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.Alarm.Alarm
+ Amazonka.ApplicationAutoScaling.Types.Alarm: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.Alarm.Alarm
+ Amazonka.ApplicationAutoScaling.Types.Alarm: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.Alarm.Alarm
+ Amazonka.ApplicationAutoScaling.Types.Alarm: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.Alarm.Alarm
+ Amazonka.ApplicationAutoScaling.Types.Alarm: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.Alarm.Alarm
+ Amazonka.ApplicationAutoScaling.Types.Alarm: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.Alarm.Alarm
+ Amazonka.ApplicationAutoScaling.Types.Alarm: newAlarm :: Text -> Text -> Alarm
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: CustomizedMetricSpecification' :: Maybe [MetricDimension] -> Maybe Text -> Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: [$sel:dimensions:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> Maybe [MetricDimension]
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: [$sel:metricName:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> Text
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: [$sel:namespace:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> Text
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: [$sel:statistic:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: [$sel:unit:CustomizedMetricSpecification'] :: CustomizedMetricSpecification -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: customizedMetricSpecification_dimensions :: Lens' CustomizedMetricSpecification (Maybe [MetricDimension])
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: customizedMetricSpecification_metricName :: Lens' CustomizedMetricSpecification Text
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: customizedMetricSpecification_namespace :: Lens' CustomizedMetricSpecification Text
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: customizedMetricSpecification_statistic :: Lens' CustomizedMetricSpecification MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: customizedMetricSpecification_unit :: Lens' CustomizedMetricSpecification (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: data CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification.CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification.CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification.CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification.CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification.CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification.CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification.CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification.CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification: newCustomizedMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: MetricAggregationType' :: Text -> MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: [fromMetricAggregationType] :: MetricAggregationType -> Text
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Amazonka.Data.Headers.ToHeader Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Amazonka.Data.Log.ToLog Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Amazonka.Data.Text.FromText Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Amazonka.Data.Text.ToText Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Amazonka.Data.XML.FromXML Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Amazonka.Data.XML.ToXML Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance GHC.Classes.Ord Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.MetricAggregationType.MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: newtype MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: pattern MetricAggregationType_Average :: MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: pattern MetricAggregationType_Maximum :: MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricAggregationType: pattern MetricAggregationType_Minimum :: MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: MetricDimension' :: Text -> Text -> MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: [$sel:name:MetricDimension'] :: MetricDimension -> Text
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: [$sel:value:MetricDimension'] :: MetricDimension -> Text
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: data MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.MetricDimension.MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.MetricDimension.MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.MetricDimension.MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.MetricDimension.MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.MetricDimension.MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.MetricDimension.MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.MetricDimension.MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.MetricDimension.MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: metricDimension_name :: Lens' MetricDimension Text
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: metricDimension_value :: Lens' MetricDimension Text
+ Amazonka.ApplicationAutoScaling.Types.MetricDimension: newMetricDimension :: Text -> Text -> MetricDimension
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: MetricStatistic' :: Text -> MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: [fromMetricStatistic] :: MetricStatistic -> Text
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Amazonka.Data.ByteString.ToByteString Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Amazonka.Data.Headers.ToHeader Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Amazonka.Data.Log.ToLog Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Amazonka.Data.Text.FromText Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Amazonka.Data.Text.ToText Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Amazonka.Data.XML.FromXML Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Amazonka.Data.XML.ToXML Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance GHC.Classes.Ord Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.MetricStatistic.MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: newtype MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: pattern MetricStatistic_Average :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: pattern MetricStatistic_Maximum :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: pattern MetricStatistic_Minimum :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: pattern MetricStatistic_SampleCount :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricStatistic: pattern MetricStatistic_Sum :: MetricStatistic
+ Amazonka.ApplicationAutoScaling.Types.MetricType: MetricType' :: Text -> MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: [fromMetricType] :: MetricType -> Text
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Amazonka.Data.Headers.ToHeader Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Amazonka.Data.Log.ToLog Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Amazonka.Data.Text.FromText Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Amazonka.Data.Text.ToText Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Amazonka.Data.XML.FromXML Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Amazonka.Data.XML.ToXML Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance GHC.Classes.Ord Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.MetricType.MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: newtype MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_ALBRequestCountPerTarget :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_AppStreamAverageCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_CassandraReadCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_CassandraWriteCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_ComprehendInferenceUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_DynamoDBReadCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_DynamoDBWriteCapacityUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_EC2SpotFleetRequestAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_EC2SpotFleetRequestAverageNetworkIn :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_EC2SpotFleetRequestAverageNetworkOut :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_ECSServiceAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_ECSServiceAverageMemoryUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_ElastiCachePrimaryEngineCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_ElastiCacheReplicaEngineCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_KafkaBrokerStorageUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_LambdaProvisionedConcurrencyUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_NeptuneReaderAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_RDSReaderAverageCPUUtilization :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_RDSReaderAverageDatabaseConnections :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.MetricType: pattern MetricType_SageMakerVariantInvocationsPerInstance :: MetricType
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: NotScaledReason' :: Maybe Int -> Maybe Int -> Maybe Int -> Text -> NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: [$sel:code:NotScaledReason'] :: NotScaledReason -> Text
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: [$sel:currentCapacity:NotScaledReason'] :: NotScaledReason -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: [$sel:maxCapacity:NotScaledReason'] :: NotScaledReason -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: [$sel:minCapacity:NotScaledReason'] :: NotScaledReason -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: data NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.NotScaledReason.NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.NotScaledReason.NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.NotScaledReason.NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.NotScaledReason.NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.NotScaledReason.NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.NotScaledReason.NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.NotScaledReason.NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: newNotScaledReason :: Text -> NotScaledReason
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: notScaledReason_code :: Lens' NotScaledReason Text
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: notScaledReason_currentCapacity :: Lens' NotScaledReason (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: notScaledReason_maxCapacity :: Lens' NotScaledReason (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types.NotScaledReason: notScaledReason_minCapacity :: Lens' NotScaledReason (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: PolicyType' :: Text -> PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: [fromPolicyType] :: PolicyType -> Text
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Amazonka.Data.Headers.ToHeader Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Amazonka.Data.Log.ToLog Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Amazonka.Data.Text.FromText Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Amazonka.Data.Text.ToText Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Amazonka.Data.XML.FromXML Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Amazonka.Data.XML.ToXML Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance GHC.Classes.Ord Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.PolicyType.PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: newtype PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: pattern PolicyType_StepScaling :: PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PolicyType: pattern PolicyType_TargetTrackingScaling :: PolicyType
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: PredefinedMetricSpecification' :: Maybe Text -> MetricType -> PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: [$sel:predefinedMetricType:PredefinedMetricSpecification'] :: PredefinedMetricSpecification -> MetricType
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: [$sel:resourceLabel:PredefinedMetricSpecification'] :: PredefinedMetricSpecification -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: data PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification.PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification.PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification.PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification.PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification.PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification.PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification.PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification.PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: newPredefinedMetricSpecification :: MetricType -> PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: predefinedMetricSpecification_predefinedMetricType :: Lens' PredefinedMetricSpecification MetricType
+ Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification: predefinedMetricSpecification_resourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: ScalableDimension' :: Text -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: [fromScalableDimension] :: ScalableDimension -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Amazonka.Data.ByteString.ToByteString Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Amazonka.Data.Headers.ToHeader Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Amazonka.Data.Log.ToLog Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Amazonka.Data.Text.FromText Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Amazonka.Data.Text.ToText Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Amazonka.Data.XML.FromXML Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Amazonka.Data.XML.ToXML Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance GHC.Classes.Ord Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.ScalableDimension.ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: newtype ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Appstream_fleet_DesiredCapacity :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Cassandra_table_ReadCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Cassandra_table_WriteCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Comprehend_document_classifier_endpoint_DesiredInferenceUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Comprehend_entity_recognizer_endpoint_DesiredInferenceUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Custom_resource_ResourceType_Property :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Dynamodb_index_ReadCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Dynamodb_index_WriteCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Dynamodb_table_ReadCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Dynamodb_table_WriteCapacityUnits :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Ec2_spot_fleet_request_TargetCapacity :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Ecs_service_DesiredCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Elasticache_replication_group_NodeGroups :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Elasticache_replication_group_Replicas :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Elasticmapreduce_instancegroup_InstanceCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Kafka_broker_storage_VolumeSize :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Lambda_function_ProvisionedConcurrency :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Neptune_cluster_ReadReplicaCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Rds_cluster_ReadReplicaCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableDimension: pattern ScalableDimension_Sagemaker_variant_DesiredInstanceCount :: ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: ScalableTarget' :: Maybe SuspendedState -> ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> Text -> POSIX -> ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: [$sel:creationTime:ScalableTarget'] :: ScalableTarget -> POSIX
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: [$sel:maxCapacity:ScalableTarget'] :: ScalableTarget -> Int
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: [$sel:minCapacity:ScalableTarget'] :: ScalableTarget -> Int
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: [$sel:resourceId:ScalableTarget'] :: ScalableTarget -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: [$sel:roleARN:ScalableTarget'] :: ScalableTarget -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: [$sel:scalableDimension:ScalableTarget'] :: ScalableTarget -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: [$sel:serviceNamespace:ScalableTarget'] :: ScalableTarget -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: [$sel:suspendedState:ScalableTarget'] :: ScalableTarget -> Maybe SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: data ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.ScalableTarget.ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.ScalableTarget.ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.ScalableTarget.ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.ScalableTarget.ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.ScalableTarget.ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.ScalableTarget.ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.ScalableTarget.ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: newScalableTarget :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> Text -> UTCTime -> ScalableTarget
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: scalableTarget_creationTime :: Lens' ScalableTarget UTCTime
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: scalableTarget_maxCapacity :: Lens' ScalableTarget Int
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: scalableTarget_minCapacity :: Lens' ScalableTarget Int
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: scalableTarget_resourceId :: Lens' ScalableTarget Text
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: scalableTarget_roleARN :: Lens' ScalableTarget Text
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: scalableTarget_scalableDimension :: Lens' ScalableTarget ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: scalableTarget_serviceNamespace :: Lens' ScalableTarget ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ScalableTarget: scalableTarget_suspendedState :: Lens' ScalableTarget (Maybe SuspendedState)
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: ScalableTargetAction' :: Maybe Int -> Maybe Int -> ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: [$sel:maxCapacity:ScalableTargetAction'] :: ScalableTargetAction -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: [$sel:minCapacity:ScalableTargetAction'] :: ScalableTargetAction -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: data ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction.ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction.ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction.ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction.ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction.ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction.ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction.ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction.ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: newScalableTargetAction :: ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: scalableTargetAction_maxCapacity :: Lens' ScalableTargetAction (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction: scalableTargetAction_minCapacity :: Lens' ScalableTargetAction (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: ScalingActivity' :: Maybe Text -> Maybe POSIX -> Maybe [NotScaledReason] -> Maybe Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> Text -> Text -> POSIX -> ScalingActivityStatusCode -> ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:activityId:ScalingActivity'] :: ScalingActivity -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:cause:ScalingActivity'] :: ScalingActivity -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:description:ScalingActivity'] :: ScalingActivity -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:details:ScalingActivity'] :: ScalingActivity -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:endTime:ScalingActivity'] :: ScalingActivity -> Maybe POSIX
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:notScaledReasons:ScalingActivity'] :: ScalingActivity -> Maybe [NotScaledReason]
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:resourceId:ScalingActivity'] :: ScalingActivity -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:scalableDimension:ScalingActivity'] :: ScalingActivity -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:serviceNamespace:ScalingActivity'] :: ScalingActivity -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:startTime:ScalingActivity'] :: ScalingActivity -> POSIX
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:statusCode:ScalingActivity'] :: ScalingActivity -> ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: [$sel:statusMessage:ScalingActivity'] :: ScalingActivity -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: data ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.ScalingActivity.ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.ScalingActivity.ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.ScalingActivity.ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.ScalingActivity.ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.ScalingActivity.ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.ScalingActivity.ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.ScalingActivity.ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: newScalingActivity :: Text -> ServiceNamespace -> Text -> ScalableDimension -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> ScalingActivity
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_activityId :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_cause :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_description :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_details :: Lens' ScalingActivity (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_endTime :: Lens' ScalingActivity (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_notScaledReasons :: Lens' ScalingActivity (Maybe [NotScaledReason])
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_resourceId :: Lens' ScalingActivity Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_scalableDimension :: Lens' ScalingActivity ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_serviceNamespace :: Lens' ScalingActivity ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_startTime :: Lens' ScalingActivity UTCTime
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_statusCode :: Lens' ScalingActivity ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivity: scalingActivity_statusMessage :: Lens' ScalingActivity (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: ScalingActivityStatusCode' :: Text -> ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: [fromScalingActivityStatusCode] :: ScalingActivityStatusCode -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Amazonka.Data.Headers.ToHeader Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Amazonka.Data.Log.ToLog Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Amazonka.Data.Text.FromText Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Amazonka.Data.Text.ToText Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Amazonka.Data.XML.FromXML Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Amazonka.Data.XML.ToXML Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance GHC.Classes.Ord Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode.ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: newtype ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: pattern ScalingActivityStatusCode_Failed :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: pattern ScalingActivityStatusCode_InProgress :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: pattern ScalingActivityStatusCode_Overridden :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: pattern ScalingActivityStatusCode_Pending :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: pattern ScalingActivityStatusCode_Successful :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode: pattern ScalingActivityStatusCode_Unfulfilled :: ScalingActivityStatusCode
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: ScalingPolicy' :: Maybe [Alarm] -> Maybe StepScalingPolicyConfiguration -> Maybe TargetTrackingScalingPolicyConfiguration -> Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PolicyType -> POSIX -> ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:alarms:ScalingPolicy'] :: ScalingPolicy -> Maybe [Alarm]
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:creationTime:ScalingPolicy'] :: ScalingPolicy -> POSIX
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:policyARN:ScalingPolicy'] :: ScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:policyName:ScalingPolicy'] :: ScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:policyType:ScalingPolicy'] :: ScalingPolicy -> PolicyType
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:resourceId:ScalingPolicy'] :: ScalingPolicy -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:scalableDimension:ScalingPolicy'] :: ScalingPolicy -> ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:serviceNamespace:ScalingPolicy'] :: ScalingPolicy -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:stepScalingPolicyConfiguration:ScalingPolicy'] :: ScalingPolicy -> Maybe StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: [$sel:targetTrackingScalingPolicyConfiguration:ScalingPolicy'] :: ScalingPolicy -> Maybe TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: data ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: newScalingPolicy :: Text -> Text -> ServiceNamespace -> Text -> ScalableDimension -> PolicyType -> UTCTime -> ScalingPolicy
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_alarms :: Lens' ScalingPolicy (Maybe [Alarm])
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_creationTime :: Lens' ScalingPolicy UTCTime
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_policyARN :: Lens' ScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_policyName :: Lens' ScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_policyType :: Lens' ScalingPolicy PolicyType
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_resourceId :: Lens' ScalingPolicy Text
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_scalableDimension :: Lens' ScalingPolicy ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_serviceNamespace :: Lens' ScalingPolicy ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_stepScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe StepScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.Types.ScalingPolicy: scalingPolicy_targetTrackingScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: ScheduledAction' :: Maybe POSIX -> Maybe ScalableDimension -> Maybe ScalableTargetAction -> Maybe POSIX -> Maybe Text -> Text -> Text -> ServiceNamespace -> Text -> Text -> POSIX -> ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:creationTime:ScheduledAction'] :: ScheduledAction -> POSIX
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:endTime:ScheduledAction'] :: ScheduledAction -> Maybe POSIX
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:resourceId:ScheduledAction'] :: ScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:scalableDimension:ScheduledAction'] :: ScheduledAction -> Maybe ScalableDimension
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:scalableTargetAction:ScheduledAction'] :: ScheduledAction -> Maybe ScalableTargetAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:schedule:ScheduledAction'] :: ScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:scheduledActionARN:ScheduledAction'] :: ScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:scheduledActionName:ScheduledAction'] :: ScheduledAction -> Text
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:serviceNamespace:ScheduledAction'] :: ScheduledAction -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:startTime:ScheduledAction'] :: ScheduledAction -> Maybe POSIX
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: [$sel:timezone:ScheduledAction'] :: ScheduledAction -> Maybe Text
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: data ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.ScheduledAction.ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.ScheduledAction.ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.ScheduledAction.ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.ScheduledAction.ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.ScheduledAction.ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.ScheduledAction.ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.ScheduledAction.ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: newScheduledAction :: Text -> Text -> ServiceNamespace -> Text -> Text -> UTCTime -> ScheduledAction
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_creationTime :: Lens' ScheduledAction UTCTime
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_resourceId :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_scalableDimension :: Lens' ScheduledAction (Maybe ScalableDimension)
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_scalableTargetAction :: Lens' ScheduledAction (Maybe ScalableTargetAction)
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_schedule :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_scheduledActionARN :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_scheduledActionName :: Lens' ScheduledAction Text
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_serviceNamespace :: Lens' ScheduledAction ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
+ Amazonka.ApplicationAutoScaling.Types.ScheduledAction: scheduledAction_timezone :: Lens' ScheduledAction (Maybe Text)
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: ServiceNamespace' :: Text -> ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: [fromServiceNamespace] :: ServiceNamespace -> Text
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Amazonka.Data.ByteString.ToByteString Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Amazonka.Data.Headers.ToHeader Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Amazonka.Data.Log.ToLog Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Amazonka.Data.Query.ToQuery Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Amazonka.Data.Text.FromText Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Amazonka.Data.Text.ToText Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Amazonka.Data.XML.FromXML Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Amazonka.Data.XML.ToXML Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance GHC.Classes.Ord Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: newtype ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Appstream :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Cassandra :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Comprehend :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Custom_resource :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Dynamodb :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Ec2 :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Ecs :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Elasticache :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Elasticmapreduce :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Kafka :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Lambda :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Neptune :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Rds :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.ServiceNamespace: pattern ServiceNamespace_Sagemaker :: ServiceNamespace
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: StepAdjustment' :: Maybe Double -> Maybe Double -> Int -> StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: [$sel:metricIntervalLowerBound:StepAdjustment'] :: StepAdjustment -> Maybe Double
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: [$sel:metricIntervalUpperBound:StepAdjustment'] :: StepAdjustment -> Maybe Double
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: [$sel:scalingAdjustment:StepAdjustment'] :: StepAdjustment -> Int
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: data StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.StepAdjustment.StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.StepAdjustment.StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.StepAdjustment.StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.StepAdjustment.StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.StepAdjustment.StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.StepAdjustment.StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.StepAdjustment.StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.StepAdjustment.StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: newStepAdjustment :: Int -> StepAdjustment
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: stepAdjustment_metricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double)
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: stepAdjustment_metricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double)
+ Amazonka.ApplicationAutoScaling.Types.StepAdjustment: stepAdjustment_scalingAdjustment :: Lens' StepAdjustment Int
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: StepScalingPolicyConfiguration' :: Maybe AdjustmentType -> Maybe Int -> Maybe MetricAggregationType -> Maybe Int -> Maybe [StepAdjustment] -> StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: [$sel:adjustmentType:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe AdjustmentType
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: [$sel:cooldown:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: [$sel:metricAggregationType:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe MetricAggregationType
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: [$sel:minAdjustmentMagnitude:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: [$sel:stepAdjustments:StepScalingPolicyConfiguration'] :: StepScalingPolicyConfiguration -> Maybe [StepAdjustment]
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: data StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration.StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration.StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration.StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration.StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration.StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration.StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration.StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration.StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: newStepScalingPolicyConfiguration :: StepScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: stepScalingPolicyConfiguration_adjustmentType :: Lens' StepScalingPolicyConfiguration (Maybe AdjustmentType)
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: stepScalingPolicyConfiguration_cooldown :: Lens' StepScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: stepScalingPolicyConfiguration_metricAggregationType :: Lens' StepScalingPolicyConfiguration (Maybe MetricAggregationType)
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: stepScalingPolicyConfiguration_minAdjustmentMagnitude :: Lens' StepScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration: stepScalingPolicyConfiguration_stepAdjustments :: Lens' StepScalingPolicyConfiguration (Maybe [StepAdjustment])
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: SuspendedState' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: [$sel:dynamicScalingInSuspended:SuspendedState'] :: SuspendedState -> Maybe Bool
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: [$sel:dynamicScalingOutSuspended:SuspendedState'] :: SuspendedState -> Maybe Bool
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: [$sel:scheduledScalingSuspended:SuspendedState'] :: SuspendedState -> Maybe Bool
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: data SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.SuspendedState.SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.SuspendedState.SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.SuspendedState.SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.SuspendedState.SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.SuspendedState.SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.SuspendedState.SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.SuspendedState.SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.SuspendedState.SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: newSuspendedState :: SuspendedState
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: suspendedState_dynamicScalingInSuspended :: Lens' SuspendedState (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: suspendedState_dynamicScalingOutSuspended :: Lens' SuspendedState (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Types.SuspendedState: suspendedState_scheduledScalingSuspended :: Lens' SuspendedState (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: TargetTrackingScalingPolicyConfiguration' :: Maybe CustomizedMetricSpecification -> Maybe Bool -> Maybe PredefinedMetricSpecification -> Maybe Int -> Maybe Int -> Double -> TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: [$sel:customizedMetricSpecification:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe CustomizedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: [$sel:disableScaleIn:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe Bool
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: [$sel:predefinedMetricSpecification:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe PredefinedMetricSpecification
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: [$sel:scaleInCooldown:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: [$sel:scaleOutCooldown:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Maybe Int
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: [$sel:targetValue:TargetTrackingScalingPolicyConfiguration'] :: TargetTrackingScalingPolicyConfiguration -> Double
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: data TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: instance Control.DeepSeq.NFData Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration.TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration.TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration.TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration.TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: instance GHC.Classes.Eq Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration.TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: instance GHC.Generics.Generic Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration.TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: instance GHC.Read.Read Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration.TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: instance GHC.Show.Show Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration.TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: newTargetTrackingScalingPolicyConfiguration :: Double -> TargetTrackingScalingPolicyConfiguration
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: targetTrackingScalingPolicyConfiguration_customizedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe CustomizedMetricSpecification)
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: targetTrackingScalingPolicyConfiguration_disableScaleIn :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Bool)
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: targetTrackingScalingPolicyConfiguration_predefinedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe PredefinedMetricSpecification)
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: targetTrackingScalingPolicyConfiguration_scaleInCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: targetTrackingScalingPolicyConfiguration_scaleOutCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)
+ Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration: targetTrackingScalingPolicyConfiguration_targetValue :: Lens' TargetTrackingScalingPolicyConfiguration Double

Files

README.md view
@@ -7,9 +7,8 @@   ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2016-02-06@ of the AWS service descriptions, licensed under Apache 2.0.  ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.ApplicationAutoScaling](http://hackage.haskell.org/package/amazonka-application-autoscaling/docs/Network-AWS-ApplicationAutoScaling.html)+See [Amazonka.ApplicationAutoScaling](http://hackage.haskell.org/package/amazonka-application-autoscaling/docs/Amazonka-ApplicationAutoScaling.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.  
− Setup.hs
@@ -1,2 +0,0 @@-import           Distribution.Simple-main = defaultMain
amazonka-application-autoscaling.cabal view
@@ -1,95 +1,115 @@-name:                  amazonka-application-autoscaling-version:               1.6.1-synopsis:              Amazon Application Auto Scaling SDK.-homepage:              https://github.com/brendanhay/amazonka-bug-reports:           https://github.com/brendanhay/amazonka/issues-license:               MPL-2.0-license-file:          LICENSE-author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright:             Copyright (c) 2013-2018 Brendan Hay-category:              Network, AWS, Cloud, Distributed Computing-build-type:            Simple-cabal-version:         >= 1.10-extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version:      2.2+name:               amazonka-application-autoscaling+version:            2.0+synopsis:           Amazon Application Auto Scaling SDK.+homepage:           https://github.com/brendanhay/amazonka+bug-reports:        https://github.com/brendanhay/amazonka/issues+license:            MPL-2.0+license-file:       LICENSE+author:             Brendan Hay+maintainer:+  Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright:          Copyright (c) 2013-2023 Brendan Hay+category:           AWS+build-type:         Simple+extra-source-files:+  fixture/*.proto+  fixture/*.yaml+  README.md+  src/.gitkeep+ description:-    The types from this library are intended to be used with-    <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information, sending requests,-    and receiving responses.-    .-    Lenses are used for constructing and manipulating types,-    due to the depth of nesting of AWS types and transparency regarding-    de/serialisation into more palatable Haskell values.-    The provided lenses should be compatible with any of the major lens libraries-    such as <http://hackage.haskell.org/package/lens lens> or-    <http://hackage.haskell.org/package/lens-family-core lens-family-core>.-    .-    See "Network.AWS.ApplicationAutoScaling" or <https://aws.amazon.com/documentation/ the AWS documentation>-    to get started.+  Derived from API version @2016-02-06@ of the AWS service descriptions, licensed under Apache 2.0.+  .+  The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+  which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+  .+  It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+  .+  Generated lenses can be found in "Amazonka.ApplicationAutoScaling.Lens" and are+  suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+  .+  See "Amazonka.ApplicationAutoScaling" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started.  source-repository head-    type:              git-    location:          git://github.com/brendanhay/amazonka.git-    subdir:            amazonka-application-autoscaling+  type:     git+  location: git://github.com/brendanhay/amazonka.git+  subdir:   amazonka-application-autoscaling  library-    default-language:  Haskell2010-    hs-source-dirs:    src gen--    ghc-options:-        -Wall-        -fwarn-incomplete-uni-patterns-        -fwarn-incomplete-record-updates-        -funbox-strict-fields--    exposed-modules:-          Network.AWS.ApplicationAutoScaling-        , Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy-        , Network.AWS.ApplicationAutoScaling.DeleteScheduledAction-        , Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget-        , Network.AWS.ApplicationAutoScaling.DescribeScalableTargets-        , Network.AWS.ApplicationAutoScaling.DescribeScalingActivities-        , Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies-        , Network.AWS.ApplicationAutoScaling.DescribeScheduledActions-        , Network.AWS.ApplicationAutoScaling.PutScalingPolicy-        , Network.AWS.ApplicationAutoScaling.PutScheduledAction-        , Network.AWS.ApplicationAutoScaling.RegisterScalableTarget-        , Network.AWS.ApplicationAutoScaling.Types-        , Network.AWS.ApplicationAutoScaling.Waiters+  default-language: Haskell2010+  hs-source-dirs:   src gen+  ghc-options:+    -Wall -fwarn-incomplete-uni-patterns+    -fwarn-incomplete-record-updates -funbox-strict-fields -    other-modules:-          Network.AWS.ApplicationAutoScaling.Types.Product-        , Network.AWS.ApplicationAutoScaling.Types.Sum+  exposed-modules:+    Amazonka.ApplicationAutoScaling+    Amazonka.ApplicationAutoScaling.DeleteScalingPolicy+    Amazonka.ApplicationAutoScaling.DeleteScheduledAction+    Amazonka.ApplicationAutoScaling.DeregisterScalableTarget+    Amazonka.ApplicationAutoScaling.DescribeScalableTargets+    Amazonka.ApplicationAutoScaling.DescribeScalingActivities+    Amazonka.ApplicationAutoScaling.DescribeScalingPolicies+    Amazonka.ApplicationAutoScaling.DescribeScheduledActions+    Amazonka.ApplicationAutoScaling.Lens+    Amazonka.ApplicationAutoScaling.PutScalingPolicy+    Amazonka.ApplicationAutoScaling.PutScheduledAction+    Amazonka.ApplicationAutoScaling.RegisterScalableTarget+    Amazonka.ApplicationAutoScaling.Types+    Amazonka.ApplicationAutoScaling.Types.AdjustmentType+    Amazonka.ApplicationAutoScaling.Types.Alarm+    Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification+    Amazonka.ApplicationAutoScaling.Types.MetricAggregationType+    Amazonka.ApplicationAutoScaling.Types.MetricDimension+    Amazonka.ApplicationAutoScaling.Types.MetricStatistic+    Amazonka.ApplicationAutoScaling.Types.MetricType+    Amazonka.ApplicationAutoScaling.Types.NotScaledReason+    Amazonka.ApplicationAutoScaling.Types.PolicyType+    Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification+    Amazonka.ApplicationAutoScaling.Types.ScalableDimension+    Amazonka.ApplicationAutoScaling.Types.ScalableTarget+    Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction+    Amazonka.ApplicationAutoScaling.Types.ScalingActivity+    Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode+    Amazonka.ApplicationAutoScaling.Types.ScalingPolicy+    Amazonka.ApplicationAutoScaling.Types.ScheduledAction+    Amazonka.ApplicationAutoScaling.Types.ServiceNamespace+    Amazonka.ApplicationAutoScaling.Types.StepAdjustment+    Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration+    Amazonka.ApplicationAutoScaling.Types.SuspendedState+    Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration+    Amazonka.ApplicationAutoScaling.Waiters -    build-depends:-          amazonka-core == 1.6.1.*-        , base          >= 4.7     && < 5+  build-depends:+    , amazonka-core  >=2.0  && <2.1+    , base           >=4.12 && <5  test-suite amazonka-application-autoscaling-test-    type:              exitcode-stdio-1.0-    default-language:  Haskell2010-    hs-source-dirs:    test-    main-is:           Main.hs--    ghc-options:       -Wall -threaded+  type:             exitcode-stdio-1.0+  default-language: Haskell2010+  hs-source-dirs:   test+  main-is:          Main.hs+  ghc-options:      -Wall -threaded -    -- This section is encoded by the template and any modules added by-    -- hand outside these namespaces will not correctly be added to the-    -- distribution package.-    other-modules:-          Test.AWS.ApplicationAutoScaling-        , Test.AWS.Gen.ApplicationAutoScaling-        , Test.AWS.ApplicationAutoScaling.Internal+  -- This section is encoded by the template and any modules added by+  -- hand outside these namespaces will not correctly be added to the+  -- distribution package.+  other-modules:+    Test.Amazonka.ApplicationAutoScaling+    Test.Amazonka.ApplicationAutoScaling.Internal+    Test.Amazonka.Gen.ApplicationAutoScaling -    build-depends:-          amazonka-core == 1.6.1.*-        , amazonka-test == 1.6.1.*-        , amazonka-application-autoscaling-        , base-        , bytestring-        , tasty-        , tasty-hunit-        , text-        , time-        , unordered-containers+  build-depends:+    , amazonka-application-autoscaling+    , amazonka-core                     >=2.0 && <2.1+    , amazonka-test                     >=2.0 && <2.1+    , base+    , bytestring+    , case-insensitive+    , tasty+    , tasty-hunit+    , text+    , time+    , unordered-containers
fixture/DeleteScalingPolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/DeleteScheduledAction.yaml view
@@ -1,8 +1,8 @@ --- method: POST headers:-  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?-  Host:                  autoscaling.us-east-1.amazonaws.com+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com   Content-Type:          application/x-www-form-urlencoded; charset=utf-8   X-Amz-Content-SHA256:  abcdef   X-Amz-Date:            20091028T223200Z
fixture/DeregisterScalableTarget.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/DescribeScalableTargets.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/DescribeScalingActivities.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/DescribeScalingPolicies.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/DescribeScheduledActions.yaml view
@@ -1,8 +1,8 @@ --- method: POST headers:-  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?-  Host:                  autoscaling.us-east-1.amazonaws.com+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com   Content-Type:          application/x-www-form-urlencoded; charset=utf-8   X-Amz-Content-SHA256:  abcdef   X-Amz-Date:            20091028T223200Z
fixture/PutScalingPolicy.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
fixture/PutScheduledAction.yaml view
@@ -1,8 +1,8 @@ --- method: POST headers:-  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?-  Host:                  autoscaling.us-east-1.amazonaws.com+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com   Content-Type:          application/x-www-form-urlencoded; charset=utf-8   X-Amz-Content-SHA256:  abcdef   X-Amz-Date:            20091028T223200Z
fixture/RegisterScalableTarget.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/application-autoscaling/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  application-autoscaling.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ gen/Amazonka/ApplicationAutoScaling.hs view
@@ -0,0 +1,292 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module      : Amazonka.ApplicationAutoScaling+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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+--     <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html 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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html Application Auto Scaling User Guide>.+module Amazonka.ApplicationAutoScaling+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    -- $errors++    -- ** ConcurrentUpdateException+    _ConcurrentUpdateException,++    -- ** FailedResourceAccessException+    _FailedResourceAccessException,++    -- ** InternalServiceException+    _InternalServiceException,++    -- ** InvalidNextTokenException+    _InvalidNextTokenException,++    -- ** LimitExceededException+    _LimitExceededException,++    -- ** ObjectNotFoundException+    _ObjectNotFoundException,++    -- ** ValidationException+    _ValidationException,++    -- * Waiters+    -- $waiters++    -- * Operations+    -- $operations++    -- ** DeleteScalingPolicy+    DeleteScalingPolicy (DeleteScalingPolicy'),+    newDeleteScalingPolicy,+    DeleteScalingPolicyResponse (DeleteScalingPolicyResponse'),+    newDeleteScalingPolicyResponse,++    -- ** DeleteScheduledAction+    DeleteScheduledAction (DeleteScheduledAction'),+    newDeleteScheduledAction,+    DeleteScheduledActionResponse (DeleteScheduledActionResponse'),+    newDeleteScheduledActionResponse,++    -- ** DeregisterScalableTarget+    DeregisterScalableTarget (DeregisterScalableTarget'),+    newDeregisterScalableTarget,+    DeregisterScalableTargetResponse (DeregisterScalableTargetResponse'),+    newDeregisterScalableTargetResponse,++    -- ** DescribeScalableTargets (Paginated)+    DescribeScalableTargets (DescribeScalableTargets'),+    newDescribeScalableTargets,+    DescribeScalableTargetsResponse (DescribeScalableTargetsResponse'),+    newDescribeScalableTargetsResponse,++    -- ** DescribeScalingActivities (Paginated)+    DescribeScalingActivities (DescribeScalingActivities'),+    newDescribeScalingActivities,+    DescribeScalingActivitiesResponse (DescribeScalingActivitiesResponse'),+    newDescribeScalingActivitiesResponse,++    -- ** DescribeScalingPolicies (Paginated)+    DescribeScalingPolicies (DescribeScalingPolicies'),+    newDescribeScalingPolicies,+    DescribeScalingPoliciesResponse (DescribeScalingPoliciesResponse'),+    newDescribeScalingPoliciesResponse,++    -- ** DescribeScheduledActions (Paginated)+    DescribeScheduledActions (DescribeScheduledActions'),+    newDescribeScheduledActions,+    DescribeScheduledActionsResponse (DescribeScheduledActionsResponse'),+    newDescribeScheduledActionsResponse,++    -- ** PutScalingPolicy+    PutScalingPolicy (PutScalingPolicy'),+    newPutScalingPolicy,+    PutScalingPolicyResponse (PutScalingPolicyResponse'),+    newPutScalingPolicyResponse,++    -- ** PutScheduledAction+    PutScheduledAction (PutScheduledAction'),+    newPutScheduledAction,+    PutScheduledActionResponse (PutScheduledActionResponse'),+    newPutScheduledActionResponse,++    -- ** RegisterScalableTarget+    RegisterScalableTarget (RegisterScalableTarget'),+    newRegisterScalableTarget,+    RegisterScalableTargetResponse (RegisterScalableTargetResponse'),+    newRegisterScalableTargetResponse,++    -- * Types++    -- ** AdjustmentType+    AdjustmentType (..),++    -- ** MetricAggregationType+    MetricAggregationType (..),++    -- ** MetricStatistic+    MetricStatistic (..),++    -- ** MetricType+    MetricType (..),++    -- ** PolicyType+    PolicyType (..),++    -- ** ScalableDimension+    ScalableDimension (..),++    -- ** ScalingActivityStatusCode+    ScalingActivityStatusCode (..),++    -- ** ServiceNamespace+    ServiceNamespace (..),++    -- ** Alarm+    Alarm (Alarm'),+    newAlarm,++    -- ** CustomizedMetricSpecification+    CustomizedMetricSpecification (CustomizedMetricSpecification'),+    newCustomizedMetricSpecification,++    -- ** MetricDimension+    MetricDimension (MetricDimension'),+    newMetricDimension,++    -- ** NotScaledReason+    NotScaledReason (NotScaledReason'),+    newNotScaledReason,++    -- ** PredefinedMetricSpecification+    PredefinedMetricSpecification (PredefinedMetricSpecification'),+    newPredefinedMetricSpecification,++    -- ** ScalableTarget+    ScalableTarget (ScalableTarget'),+    newScalableTarget,++    -- ** ScalableTargetAction+    ScalableTargetAction (ScalableTargetAction'),+    newScalableTargetAction,++    -- ** ScalingActivity+    ScalingActivity (ScalingActivity'),+    newScalingActivity,++    -- ** ScalingPolicy+    ScalingPolicy (ScalingPolicy'),+    newScalingPolicy,++    -- ** ScheduledAction+    ScheduledAction (ScheduledAction'),+    newScheduledAction,++    -- ** StepAdjustment+    StepAdjustment (StepAdjustment'),+    newStepAdjustment,++    -- ** StepScalingPolicyConfiguration+    StepScalingPolicyConfiguration (StepScalingPolicyConfiguration'),+    newStepScalingPolicyConfiguration,++    -- ** SuspendedState+    SuspendedState (SuspendedState'),+    newSuspendedState,++    -- ** TargetTrackingScalingPolicyConfiguration+    TargetTrackingScalingPolicyConfiguration (TargetTrackingScalingPolicyConfiguration'),+    newTargetTrackingScalingPolicyConfiguration,+  )+where++import Amazonka.ApplicationAutoScaling.DeleteScalingPolicy+import Amazonka.ApplicationAutoScaling.DeleteScheduledAction+import Amazonka.ApplicationAutoScaling.DeregisterScalableTarget+import Amazonka.ApplicationAutoScaling.DescribeScalableTargets+import Amazonka.ApplicationAutoScaling.DescribeScalingActivities+import Amazonka.ApplicationAutoScaling.DescribeScalingPolicies+import Amazonka.ApplicationAutoScaling.DescribeScheduledActions+import Amazonka.ApplicationAutoScaling.Lens+import Amazonka.ApplicationAutoScaling.PutScalingPolicy+import Amazonka.ApplicationAutoScaling.PutScheduledAction+import Amazonka.ApplicationAutoScaling.RegisterScalableTarget+import Amazonka.ApplicationAutoScaling.Types+import Amazonka.ApplicationAutoScaling.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'ApplicationAutoScaling'.++-- $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.++-- $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.
+ gen/Amazonka/ApplicationAutoScaling/DeleteScalingPolicy.hs view
@@ -0,0 +1,619 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.DeleteScalingPolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified scaling policy for an Application Auto Scaling+-- scalable target.+--+-- Deleting a step scaling policy deletes the underlying alarm action, but+-- does not delete the CloudWatch alarm associated with the scaling policy,+-- even if it no longer has an associated action.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#delete-step-scaling-policy Delete a step scaling policy>+-- and+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html#delete-target-tracking-policy Delete a target tracking scaling policy>+-- in the /Application Auto Scaling User Guide/.+module Amazonka.ApplicationAutoScaling.DeleteScalingPolicy+  ( -- * Creating a Request+    DeleteScalingPolicy (..),+    newDeleteScalingPolicy,++    -- * Request Lenses+    deleteScalingPolicy_policyName,+    deleteScalingPolicy_serviceNamespace,+    deleteScalingPolicy_resourceId,+    deleteScalingPolicy_scalableDimension,++    -- * Destructuring the Response+    DeleteScalingPolicyResponse (..),+    newDeleteScalingPolicyResponse,++    -- * Response Lenses+    deleteScalingPolicyResponse_httpStatus,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteScalingPolicy' smart constructor.+data DeleteScalingPolicy = DeleteScalingPolicy'+  { -- | The name of the scaling policy.+    policyName :: Prelude.Text,+    -- | 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.+    serviceNamespace :: ServiceNamespace,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: ScalableDimension+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteScalingPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'policyName', 'deleteScalingPolicy_policyName' - The name of the scaling policy.+--+-- 'serviceNamespace', '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.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+newDeleteScalingPolicy ::+  -- | 'policyName'+  Prelude.Text ->+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  DeleteScalingPolicy+newDeleteScalingPolicy+  pPolicyName_+  pServiceNamespace_+  pResourceId_+  pScalableDimension_ =+    DeleteScalingPolicy'+      { policyName = pPolicyName_,+        serviceNamespace = pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_+      }++-- | The name of the scaling policy.+deleteScalingPolicy_policyName :: Lens.Lens' DeleteScalingPolicy Prelude.Text+deleteScalingPolicy_policyName = Lens.lens (\DeleteScalingPolicy' {policyName} -> policyName) (\s@DeleteScalingPolicy' {} a -> s {policyName = a} :: DeleteScalingPolicy)++-- | 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.+deleteScalingPolicy_serviceNamespace :: Lens.Lens' DeleteScalingPolicy ServiceNamespace+deleteScalingPolicy_serviceNamespace = Lens.lens (\DeleteScalingPolicy' {serviceNamespace} -> serviceNamespace) (\s@DeleteScalingPolicy' {} a -> s {serviceNamespace = a} :: DeleteScalingPolicy)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+deleteScalingPolicy_resourceId :: Lens.Lens' DeleteScalingPolicy Prelude.Text+deleteScalingPolicy_resourceId = Lens.lens (\DeleteScalingPolicy' {resourceId} -> resourceId) (\s@DeleteScalingPolicy' {} a -> s {resourceId = a} :: DeleteScalingPolicy)++-- | 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 a 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.+deleteScalingPolicy_scalableDimension :: Lens.Lens' DeleteScalingPolicy ScalableDimension+deleteScalingPolicy_scalableDimension = Lens.lens (\DeleteScalingPolicy' {scalableDimension} -> scalableDimension) (\s@DeleteScalingPolicy' {} a -> s {scalableDimension = a} :: DeleteScalingPolicy)++instance Core.AWSRequest DeleteScalingPolicy where+  type+    AWSResponse DeleteScalingPolicy =+      DeleteScalingPolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          DeleteScalingPolicyResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeleteScalingPolicy where+  hashWithSalt _salt DeleteScalingPolicy' {..} =+    _salt+      `Prelude.hashWithSalt` policyName+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension++instance Prelude.NFData DeleteScalingPolicy where+  rnf DeleteScalingPolicy' {..} =+    Prelude.rnf policyName+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension++instance Data.ToHeaders DeleteScalingPolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.DeleteScalingPolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteScalingPolicy where+  toJSON DeleteScalingPolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("PolicyName" Data..= policyName),+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace),+            Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just+              ("ScalableDimension" Data..= scalableDimension)+          ]+      )++instance Data.ToPath DeleteScalingPolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteScalingPolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteScalingPolicyResponse' smart constructor.+data DeleteScalingPolicyResponse = DeleteScalingPolicyResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteScalingPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteScalingPolicyResponse_httpStatus' - The response's http status code.+newDeleteScalingPolicyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeleteScalingPolicyResponse+newDeleteScalingPolicyResponse pHttpStatus_ =+  DeleteScalingPolicyResponse'+    { httpStatus =+        pHttpStatus_+    }++-- | The response's http status code.+deleteScalingPolicyResponse_httpStatus :: Lens.Lens' DeleteScalingPolicyResponse Prelude.Int+deleteScalingPolicyResponse_httpStatus = Lens.lens (\DeleteScalingPolicyResponse' {httpStatus} -> httpStatus) (\s@DeleteScalingPolicyResponse' {} a -> s {httpStatus = a} :: DeleteScalingPolicyResponse)++instance Prelude.NFData DeleteScalingPolicyResponse where+  rnf DeleteScalingPolicyResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/ApplicationAutoScaling/DeleteScheduledAction.hs view
@@ -0,0 +1,615 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.DeleteScheduledAction+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified scheduled action for an Application Auto Scaling+-- scalable target.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html#delete-scheduled-action Delete a scheduled action>+-- in the /Application Auto Scaling User Guide/.+module Amazonka.ApplicationAutoScaling.DeleteScheduledAction+  ( -- * Creating a Request+    DeleteScheduledAction (..),+    newDeleteScheduledAction,++    -- * Request Lenses+    deleteScheduledAction_serviceNamespace,+    deleteScheduledAction_scheduledActionName,+    deleteScheduledAction_resourceId,+    deleteScheduledAction_scalableDimension,++    -- * Destructuring the Response+    DeleteScheduledActionResponse (..),+    newDeleteScheduledActionResponse,++    -- * Response Lenses+    deleteScheduledActionResponse_httpStatus,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteScheduledAction' smart constructor.+data DeleteScheduledAction = DeleteScheduledAction'+  { -- | 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.+    serviceNamespace :: ServiceNamespace,+    -- | The name of the scheduled action.+    scheduledActionName :: Prelude.Text,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: ScalableDimension+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteScheduledAction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'serviceNamespace', '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.+--+-- 'scheduledActionName', 'deleteScheduledAction_scheduledActionName' - The name of the scheduled action.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+newDeleteScheduledAction ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'scheduledActionName'+  Prelude.Text ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  DeleteScheduledAction+newDeleteScheduledAction+  pServiceNamespace_+  pScheduledActionName_+  pResourceId_+  pScalableDimension_ =+    DeleteScheduledAction'+      { serviceNamespace =+          pServiceNamespace_,+        scheduledActionName = pScheduledActionName_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_+      }++-- | 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.+deleteScheduledAction_serviceNamespace :: Lens.Lens' DeleteScheduledAction ServiceNamespace+deleteScheduledAction_serviceNamespace = Lens.lens (\DeleteScheduledAction' {serviceNamespace} -> serviceNamespace) (\s@DeleteScheduledAction' {} a -> s {serviceNamespace = a} :: DeleteScheduledAction)++-- | The name of the scheduled action.+deleteScheduledAction_scheduledActionName :: Lens.Lens' DeleteScheduledAction Prelude.Text+deleteScheduledAction_scheduledActionName = Lens.lens (\DeleteScheduledAction' {scheduledActionName} -> scheduledActionName) (\s@DeleteScheduledAction' {} a -> s {scheduledActionName = a} :: DeleteScheduledAction)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+deleteScheduledAction_resourceId :: Lens.Lens' DeleteScheduledAction Prelude.Text+deleteScheduledAction_resourceId = Lens.lens (\DeleteScheduledAction' {resourceId} -> resourceId) (\s@DeleteScheduledAction' {} a -> s {resourceId = a} :: DeleteScheduledAction)++-- | 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 a 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.+deleteScheduledAction_scalableDimension :: Lens.Lens' DeleteScheduledAction ScalableDimension+deleteScheduledAction_scalableDimension = Lens.lens (\DeleteScheduledAction' {scalableDimension} -> scalableDimension) (\s@DeleteScheduledAction' {} a -> s {scalableDimension = a} :: DeleteScheduledAction)++instance Core.AWSRequest DeleteScheduledAction where+  type+    AWSResponse DeleteScheduledAction =+      DeleteScheduledActionResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          DeleteScheduledActionResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeleteScheduledAction where+  hashWithSalt _salt DeleteScheduledAction' {..} =+    _salt+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` scheduledActionName+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension++instance Prelude.NFData DeleteScheduledAction where+  rnf DeleteScheduledAction' {..} =+    Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf scheduledActionName+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension++instance Data.ToHeaders DeleteScheduledAction where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.DeleteScheduledAction" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteScheduledAction where+  toJSON DeleteScheduledAction' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace),+            Prelude.Just+              ("ScheduledActionName" Data..= scheduledActionName),+            Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just+              ("ScalableDimension" Data..= scalableDimension)+          ]+      )++instance Data.ToPath DeleteScheduledAction where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteScheduledAction where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteScheduledActionResponse' smart constructor.+data DeleteScheduledActionResponse = DeleteScheduledActionResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteScheduledActionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteScheduledActionResponse_httpStatus' - The response's http status code.+newDeleteScheduledActionResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeleteScheduledActionResponse+newDeleteScheduledActionResponse pHttpStatus_ =+  DeleteScheduledActionResponse'+    { httpStatus =+        pHttpStatus_+    }++-- | The response's http status code.+deleteScheduledActionResponse_httpStatus :: Lens.Lens' DeleteScheduledActionResponse Prelude.Int+deleteScheduledActionResponse_httpStatus = Lens.lens (\DeleteScheduledActionResponse' {httpStatus} -> httpStatus) (\s@DeleteScheduledActionResponse' {} a -> s {httpStatus = a} :: DeleteScheduledActionResponse)++instance Prelude.NFData DeleteScheduledActionResponse where+  rnf DeleteScheduledActionResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/ApplicationAutoScaling/DeregisterScalableTarget.hs view
@@ -0,0 +1,601 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.DeregisterScalableTarget+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deregisters an Application Auto Scaling scalable target when you have+-- finished using it. To see which resources have been registered, use+-- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html DescribeScalableTargets>.+--+-- Deregistering a scalable target deletes the scaling policies and the+-- scheduled actions that are associated with it.+module Amazonka.ApplicationAutoScaling.DeregisterScalableTarget+  ( -- * Creating a Request+    DeregisterScalableTarget (..),+    newDeregisterScalableTarget,++    -- * Request Lenses+    deregisterScalableTarget_serviceNamespace,+    deregisterScalableTarget_resourceId,+    deregisterScalableTarget_scalableDimension,++    -- * Destructuring the Response+    DeregisterScalableTargetResponse (..),+    newDeregisterScalableTargetResponse,++    -- * Response Lenses+    deregisterScalableTargetResponse_httpStatus,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeregisterScalableTarget' smart constructor.+data DeregisterScalableTarget = DeregisterScalableTarget'+  { -- | 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.+    serviceNamespace :: ServiceNamespace,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: ScalableDimension+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterScalableTarget' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'serviceNamespace', '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.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+newDeregisterScalableTarget ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  DeregisterScalableTarget+newDeregisterScalableTarget+  pServiceNamespace_+  pResourceId_+  pScalableDimension_ =+    DeregisterScalableTarget'+      { serviceNamespace =+          pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_+      }++-- | 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.+deregisterScalableTarget_serviceNamespace :: Lens.Lens' DeregisterScalableTarget ServiceNamespace+deregisterScalableTarget_serviceNamespace = Lens.lens (\DeregisterScalableTarget' {serviceNamespace} -> serviceNamespace) (\s@DeregisterScalableTarget' {} a -> s {serviceNamespace = a} :: DeregisterScalableTarget)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+deregisterScalableTarget_resourceId :: Lens.Lens' DeregisterScalableTarget Prelude.Text+deregisterScalableTarget_resourceId = Lens.lens (\DeregisterScalableTarget' {resourceId} -> resourceId) (\s@DeregisterScalableTarget' {} a -> s {resourceId = a} :: DeregisterScalableTarget)++-- | 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 a 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.+deregisterScalableTarget_scalableDimension :: Lens.Lens' DeregisterScalableTarget ScalableDimension+deregisterScalableTarget_scalableDimension = Lens.lens (\DeregisterScalableTarget' {scalableDimension} -> scalableDimension) (\s@DeregisterScalableTarget' {} a -> s {scalableDimension = a} :: DeregisterScalableTarget)++instance Core.AWSRequest DeregisterScalableTarget where+  type+    AWSResponse DeregisterScalableTarget =+      DeregisterScalableTargetResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          DeregisterScalableTargetResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeregisterScalableTarget where+  hashWithSalt _salt DeregisterScalableTarget' {..} =+    _salt+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension++instance Prelude.NFData DeregisterScalableTarget where+  rnf DeregisterScalableTarget' {..} =+    Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension++instance Data.ToHeaders DeregisterScalableTarget where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.DeregisterScalableTarget" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeregisterScalableTarget where+  toJSON DeregisterScalableTarget' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace),+            Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just+              ("ScalableDimension" Data..= scalableDimension)+          ]+      )++instance Data.ToPath DeregisterScalableTarget where+  toPath = Prelude.const "/"++instance Data.ToQuery DeregisterScalableTarget where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeregisterScalableTargetResponse' smart constructor.+data DeregisterScalableTargetResponse = DeregisterScalableTargetResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeregisterScalableTargetResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deregisterScalableTargetResponse_httpStatus' - The response's http status code.+newDeregisterScalableTargetResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeregisterScalableTargetResponse+newDeregisterScalableTargetResponse pHttpStatus_ =+  DeregisterScalableTargetResponse'+    { httpStatus =+        pHttpStatus_+    }++-- | The response's http status code.+deregisterScalableTargetResponse_httpStatus :: Lens.Lens' DeregisterScalableTargetResponse Prelude.Int+deregisterScalableTargetResponse_httpStatus = Lens.lens (\DeregisterScalableTargetResponse' {httpStatus} -> httpStatus) (\s@DeregisterScalableTargetResponse' {} a -> s {httpStatus = a} :: DeregisterScalableTargetResponse)++instance+  Prelude.NFData+    DeregisterScalableTargetResponse+  where+  rnf DeregisterScalableTargetResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/ApplicationAutoScaling/DescribeScalableTargets.hs view
@@ -0,0 +1,698 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.DescribeScalableTargets+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets information about the scalable targets in the specified namespace.+--+-- You can filter the results using @ResourceIds@ and @ScalableDimension@.+--+-- This operation returns paginated results.+module Amazonka.ApplicationAutoScaling.DescribeScalableTargets+  ( -- * Creating a Request+    DescribeScalableTargets (..),+    newDescribeScalableTargets,++    -- * Request Lenses+    describeScalableTargets_maxResults,+    describeScalableTargets_nextToken,+    describeScalableTargets_resourceIds,+    describeScalableTargets_scalableDimension,+    describeScalableTargets_serviceNamespace,++    -- * Destructuring the Response+    DescribeScalableTargetsResponse (..),+    newDescribeScalableTargetsResponse,++    -- * Response Lenses+    describeScalableTargetsResponse_nextToken,+    describeScalableTargetsResponse_scalableTargets,+    describeScalableTargetsResponse_httpStatus,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeScalableTargets' smart constructor.+data DescribeScalableTargets = DescribeScalableTargets'+  { -- | 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.+    maxResults :: Prelude.Maybe Prelude.Int,+    -- | The token for the next set of results.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceIds :: Prelude.Maybe [Prelude.Text],+    -- | 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 a 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.+    scalableDimension :: Prelude.Maybe ScalableDimension,+    -- | 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.+    serviceNamespace :: ServiceNamespace+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalableTargets' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', '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.+--+-- 'nextToken', 'describeScalableTargets_nextToken' - The token for the next set of results.+--+-- 'resourceIds', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+--+-- 'serviceNamespace', '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.+newDescribeScalableTargets ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  DescribeScalableTargets+newDescribeScalableTargets pServiceNamespace_ =+  DescribeScalableTargets'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      resourceIds = Prelude.Nothing,+      scalableDimension = Prelude.Nothing,+      serviceNamespace = pServiceNamespace_+    }++-- | 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.+describeScalableTargets_maxResults :: Lens.Lens' DescribeScalableTargets (Prelude.Maybe Prelude.Int)+describeScalableTargets_maxResults = Lens.lens (\DescribeScalableTargets' {maxResults} -> maxResults) (\s@DescribeScalableTargets' {} a -> s {maxResults = a} :: DescribeScalableTargets)++-- | The token for the next set of results.+describeScalableTargets_nextToken :: Lens.Lens' DescribeScalableTargets (Prelude.Maybe Prelude.Text)+describeScalableTargets_nextToken = Lens.lens (\DescribeScalableTargets' {nextToken} -> nextToken) (\s@DescribeScalableTargets' {} a -> s {nextToken = a} :: DescribeScalableTargets)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+describeScalableTargets_resourceIds :: Lens.Lens' DescribeScalableTargets (Prelude.Maybe [Prelude.Text])+describeScalableTargets_resourceIds = Lens.lens (\DescribeScalableTargets' {resourceIds} -> resourceIds) (\s@DescribeScalableTargets' {} a -> s {resourceIds = a} :: DescribeScalableTargets) Prelude.. Lens.mapping Lens.coerced++-- | 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 a 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.+describeScalableTargets_scalableDimension :: Lens.Lens' DescribeScalableTargets (Prelude.Maybe ScalableDimension)+describeScalableTargets_scalableDimension = Lens.lens (\DescribeScalableTargets' {scalableDimension} -> scalableDimension) (\s@DescribeScalableTargets' {} a -> s {scalableDimension = a} :: DescribeScalableTargets)++-- | 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.+describeScalableTargets_serviceNamespace :: Lens.Lens' DescribeScalableTargets ServiceNamespace+describeScalableTargets_serviceNamespace = Lens.lens (\DescribeScalableTargets' {serviceNamespace} -> serviceNamespace) (\s@DescribeScalableTargets' {} a -> s {serviceNamespace = a} :: DescribeScalableTargets)++instance Core.AWSPager DescribeScalableTargets where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeScalableTargetsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeScalableTargetsResponse_scalableTargets+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeScalableTargets_nextToken+          Lens..~ rs+          Lens.^? describeScalableTargetsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeScalableTargets where+  type+    AWSResponse DescribeScalableTargets =+      DescribeScalableTargetsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeScalableTargetsResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> ( x+                            Data..?> "ScalableTargets"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeScalableTargets where+  hashWithSalt _salt DescribeScalableTargets' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` resourceIds+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` serviceNamespace++instance Prelude.NFData DescribeScalableTargets where+  rnf DescribeScalableTargets' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf resourceIds+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf serviceNamespace++instance Data.ToHeaders DescribeScalableTargets where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.DescribeScalableTargets" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeScalableTargets where+  toJSON DescribeScalableTargets' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            ("ResourceIds" Data..=) Prelude.<$> resourceIds,+            ("ScalableDimension" Data..=)+              Prelude.<$> scalableDimension,+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace)+          ]+      )++instance Data.ToPath DescribeScalableTargets where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeScalableTargets where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeScalableTargetsResponse' smart constructor.+data DescribeScalableTargetsResponse = DescribeScalableTargetsResponse'+  { -- | The token required to get the next set of results. This value is @null@+    -- if there are no more results to return.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The scalable targets that match the request parameters.+    scalableTargets :: Prelude.Maybe [ScalableTarget],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalableTargetsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeScalableTargetsResponse_nextToken' - The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+--+-- 'scalableTargets', 'describeScalableTargetsResponse_scalableTargets' - The scalable targets that match the request parameters.+--+-- 'httpStatus', 'describeScalableTargetsResponse_httpStatus' - The response's http status code.+newDescribeScalableTargetsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeScalableTargetsResponse+newDescribeScalableTargetsResponse pHttpStatus_ =+  DescribeScalableTargetsResponse'+    { nextToken =+        Prelude.Nothing,+      scalableTargets = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+describeScalableTargetsResponse_nextToken :: Lens.Lens' DescribeScalableTargetsResponse (Prelude.Maybe Prelude.Text)+describeScalableTargetsResponse_nextToken = Lens.lens (\DescribeScalableTargetsResponse' {nextToken} -> nextToken) (\s@DescribeScalableTargetsResponse' {} a -> s {nextToken = a} :: DescribeScalableTargetsResponse)++-- | The scalable targets that match the request parameters.+describeScalableTargetsResponse_scalableTargets :: Lens.Lens' DescribeScalableTargetsResponse (Prelude.Maybe [ScalableTarget])+describeScalableTargetsResponse_scalableTargets = Lens.lens (\DescribeScalableTargetsResponse' {scalableTargets} -> scalableTargets) (\s@DescribeScalableTargetsResponse' {} a -> s {scalableTargets = a} :: DescribeScalableTargetsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeScalableTargetsResponse_httpStatus :: Lens.Lens' DescribeScalableTargetsResponse Prelude.Int+describeScalableTargetsResponse_httpStatus = Lens.lens (\DescribeScalableTargetsResponse' {httpStatus} -> httpStatus) (\s@DescribeScalableTargetsResponse' {} a -> s {httpStatus = a} :: DescribeScalableTargetsResponse)++instance+  Prelude.NFData+    DescribeScalableTargetsResponse+  where+  rnf DescribeScalableTargetsResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf scalableTargets+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ApplicationAutoScaling/DescribeScalingActivities.hs view
@@ -0,0 +1,729 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.DescribeScalingActivities+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides descriptive information about the scaling activities in the+-- specified namespace from the previous six weeks.+--+-- You can filter the results using @ResourceId@ and @ScalableDimension@.+--+-- For information about viewing scaling activities using the Amazon Web+-- Services CLI, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html Scaling activities for Application Auto Scaling>.+--+-- This operation returns paginated results.+module Amazonka.ApplicationAutoScaling.DescribeScalingActivities+  ( -- * Creating a Request+    DescribeScalingActivities (..),+    newDescribeScalingActivities,++    -- * Request Lenses+    describeScalingActivities_includeNotScaledActivities,+    describeScalingActivities_maxResults,+    describeScalingActivities_nextToken,+    describeScalingActivities_resourceId,+    describeScalingActivities_scalableDimension,+    describeScalingActivities_serviceNamespace,++    -- * Destructuring the Response+    DescribeScalingActivitiesResponse (..),+    newDescribeScalingActivitiesResponse,++    -- * Response Lenses+    describeScalingActivitiesResponse_nextToken,+    describeScalingActivitiesResponse_scalingActivities,+    describeScalingActivitiesResponse_httpStatus,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeScalingActivities' smart constructor.+data DescribeScalingActivities = DescribeScalingActivities'+  { -- | Specifies whether to include activities that aren\'t scaled (/not scaled+    -- activities/) in the response. Not scaled activities are activities that+    -- aren\'t completed or started for various reasons, such as preventing+    -- infinite scaling loops. For help interpreting the not scaled reason+    -- details in the response, see+    -- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html Scaling activities for Application Auto Scaling>.+    includeNotScaledActivities :: Prelude.Maybe Prelude.Bool,+    -- | 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.+    maxResults :: Prelude.Maybe Prelude.Int,+    -- | The token for the next set of results.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Maybe Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: Prelude.Maybe ScalableDimension,+    -- | 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.+    serviceNamespace :: ServiceNamespace+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalingActivities' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'includeNotScaledActivities', 'describeScalingActivities_includeNotScaledActivities' - Specifies whether to include activities that aren\'t scaled (/not scaled+-- activities/) in the response. Not scaled activities are activities that+-- aren\'t completed or started for various reasons, such as preventing+-- infinite scaling loops. For help interpreting the not scaled reason+-- details in the response, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html Scaling activities for Application Auto Scaling>.+--+-- 'maxResults', '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.+--+-- 'nextToken', 'describeScalingActivities_nextToken' - The token for the next set of results.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+--+-- 'serviceNamespace', '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.+newDescribeScalingActivities ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  DescribeScalingActivities+newDescribeScalingActivities pServiceNamespace_ =+  DescribeScalingActivities'+    { includeNotScaledActivities =+        Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      resourceId = Prelude.Nothing,+      scalableDimension = Prelude.Nothing,+      serviceNamespace = pServiceNamespace_+    }++-- | Specifies whether to include activities that aren\'t scaled (/not scaled+-- activities/) in the response. Not scaled activities are activities that+-- aren\'t completed or started for various reasons, such as preventing+-- infinite scaling loops. For help interpreting the not scaled reason+-- details in the response, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html Scaling activities for Application Auto Scaling>.+describeScalingActivities_includeNotScaledActivities :: Lens.Lens' DescribeScalingActivities (Prelude.Maybe Prelude.Bool)+describeScalingActivities_includeNotScaledActivities = Lens.lens (\DescribeScalingActivities' {includeNotScaledActivities} -> includeNotScaledActivities) (\s@DescribeScalingActivities' {} a -> s {includeNotScaledActivities = a} :: DescribeScalingActivities)++-- | 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.+describeScalingActivities_maxResults :: Lens.Lens' DescribeScalingActivities (Prelude.Maybe Prelude.Int)+describeScalingActivities_maxResults = Lens.lens (\DescribeScalingActivities' {maxResults} -> maxResults) (\s@DescribeScalingActivities' {} a -> s {maxResults = a} :: DescribeScalingActivities)++-- | The token for the next set of results.+describeScalingActivities_nextToken :: Lens.Lens' DescribeScalingActivities (Prelude.Maybe Prelude.Text)+describeScalingActivities_nextToken = Lens.lens (\DescribeScalingActivities' {nextToken} -> nextToken) (\s@DescribeScalingActivities' {} a -> s {nextToken = a} :: DescribeScalingActivities)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+describeScalingActivities_resourceId :: Lens.Lens' DescribeScalingActivities (Prelude.Maybe Prelude.Text)+describeScalingActivities_resourceId = Lens.lens (\DescribeScalingActivities' {resourceId} -> resourceId) (\s@DescribeScalingActivities' {} a -> s {resourceId = a} :: DescribeScalingActivities)++-- | 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 a 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.+describeScalingActivities_scalableDimension :: Lens.Lens' DescribeScalingActivities (Prelude.Maybe ScalableDimension)+describeScalingActivities_scalableDimension = Lens.lens (\DescribeScalingActivities' {scalableDimension} -> scalableDimension) (\s@DescribeScalingActivities' {} a -> s {scalableDimension = a} :: DescribeScalingActivities)++-- | 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.+describeScalingActivities_serviceNamespace :: Lens.Lens' DescribeScalingActivities ServiceNamespace+describeScalingActivities_serviceNamespace = Lens.lens (\DescribeScalingActivities' {serviceNamespace} -> serviceNamespace) (\s@DescribeScalingActivities' {} a -> s {serviceNamespace = a} :: DescribeScalingActivities)++instance Core.AWSPager DescribeScalingActivities where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeScalingActivitiesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeScalingActivitiesResponse_scalingActivities+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeScalingActivities_nextToken+          Lens..~ rs+          Lens.^? describeScalingActivitiesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeScalingActivities where+  type+    AWSResponse DescribeScalingActivities =+      DescribeScalingActivitiesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeScalingActivitiesResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> ( x+                            Data..?> "ScalingActivities"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeScalingActivities where+  hashWithSalt _salt DescribeScalingActivities' {..} =+    _salt+      `Prelude.hashWithSalt` includeNotScaledActivities+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` serviceNamespace++instance Prelude.NFData DescribeScalingActivities where+  rnf DescribeScalingActivities' {..} =+    Prelude.rnf includeNotScaledActivities+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf serviceNamespace++instance Data.ToHeaders DescribeScalingActivities where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.DescribeScalingActivities" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeScalingActivities where+  toJSON DescribeScalingActivities' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("IncludeNotScaledActivities" Data..=)+              Prelude.<$> includeNotScaledActivities,+            ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            ("ResourceId" Data..=) Prelude.<$> resourceId,+            ("ScalableDimension" Data..=)+              Prelude.<$> scalableDimension,+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace)+          ]+      )++instance Data.ToPath DescribeScalingActivities where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeScalingActivities where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeScalingActivitiesResponse' smart constructor.+data DescribeScalingActivitiesResponse = DescribeScalingActivitiesResponse'+  { -- | The token required to get the next set of results. This value is @null@+    -- if there are no more results to return.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A list of scaling activity objects.+    scalingActivities :: Prelude.Maybe [ScalingActivity],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalingActivitiesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeScalingActivitiesResponse_nextToken' - The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+--+-- 'scalingActivities', 'describeScalingActivitiesResponse_scalingActivities' - A list of scaling activity objects.+--+-- 'httpStatus', 'describeScalingActivitiesResponse_httpStatus' - The response's http status code.+newDescribeScalingActivitiesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeScalingActivitiesResponse+newDescribeScalingActivitiesResponse pHttpStatus_ =+  DescribeScalingActivitiesResponse'+    { nextToken =+        Prelude.Nothing,+      scalingActivities = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+describeScalingActivitiesResponse_nextToken :: Lens.Lens' DescribeScalingActivitiesResponse (Prelude.Maybe Prelude.Text)+describeScalingActivitiesResponse_nextToken = Lens.lens (\DescribeScalingActivitiesResponse' {nextToken} -> nextToken) (\s@DescribeScalingActivitiesResponse' {} a -> s {nextToken = a} :: DescribeScalingActivitiesResponse)++-- | A list of scaling activity objects.+describeScalingActivitiesResponse_scalingActivities :: Lens.Lens' DescribeScalingActivitiesResponse (Prelude.Maybe [ScalingActivity])+describeScalingActivitiesResponse_scalingActivities = Lens.lens (\DescribeScalingActivitiesResponse' {scalingActivities} -> scalingActivities) (\s@DescribeScalingActivitiesResponse' {} a -> s {scalingActivities = a} :: DescribeScalingActivitiesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeScalingActivitiesResponse_httpStatus :: Lens.Lens' DescribeScalingActivitiesResponse Prelude.Int+describeScalingActivitiesResponse_httpStatus = Lens.lens (\DescribeScalingActivitiesResponse' {httpStatus} -> httpStatus) (\s@DescribeScalingActivitiesResponse' {} a -> s {httpStatus = a} :: DescribeScalingActivitiesResponse)++instance+  Prelude.NFData+    DescribeScalingActivitiesResponse+  where+  rnf DescribeScalingActivitiesResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf scalingActivities+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ApplicationAutoScaling/DescribeScalingPolicies.hs view
@@ -0,0 +1,716 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.DescribeScalingPolicies+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes the Application Auto Scaling scaling policies for the+-- specified service namespace.+--+-- You can filter the results using @ResourceId@, @ScalableDimension@, and+-- @PolicyNames@.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html Target tracking scaling policies>+-- and+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html Step scaling policies>+-- in the /Application Auto Scaling User Guide/.+--+-- This operation returns paginated results.+module Amazonka.ApplicationAutoScaling.DescribeScalingPolicies+  ( -- * Creating a Request+    DescribeScalingPolicies (..),+    newDescribeScalingPolicies,++    -- * Request Lenses+    describeScalingPolicies_maxResults,+    describeScalingPolicies_nextToken,+    describeScalingPolicies_policyNames,+    describeScalingPolicies_resourceId,+    describeScalingPolicies_scalableDimension,+    describeScalingPolicies_serviceNamespace,++    -- * Destructuring the Response+    DescribeScalingPoliciesResponse (..),+    newDescribeScalingPoliciesResponse,++    -- * Response Lenses+    describeScalingPoliciesResponse_nextToken,+    describeScalingPoliciesResponse_scalingPolicies,+    describeScalingPoliciesResponse_httpStatus,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeScalingPolicies' smart constructor.+data DescribeScalingPolicies = DescribeScalingPolicies'+  { -- | 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.+    maxResults :: Prelude.Maybe Prelude.Int,+    -- | The token for the next set of results.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The names of the scaling policies to describe.+    policyNames :: Prelude.Maybe [Prelude.Text],+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Maybe Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: Prelude.Maybe ScalableDimension,+    -- | 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.+    serviceNamespace :: ServiceNamespace+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalingPolicies' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', '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.+--+-- 'nextToken', 'describeScalingPolicies_nextToken' - The token for the next set of results.+--+-- 'policyNames', 'describeScalingPolicies_policyNames' - The names of the scaling policies to describe.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+--+-- 'serviceNamespace', '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.+newDescribeScalingPolicies ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  DescribeScalingPolicies+newDescribeScalingPolicies pServiceNamespace_ =+  DescribeScalingPolicies'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      policyNames = Prelude.Nothing,+      resourceId = Prelude.Nothing,+      scalableDimension = Prelude.Nothing,+      serviceNamespace = pServiceNamespace_+    }++-- | 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.+describeScalingPolicies_maxResults :: Lens.Lens' DescribeScalingPolicies (Prelude.Maybe Prelude.Int)+describeScalingPolicies_maxResults = Lens.lens (\DescribeScalingPolicies' {maxResults} -> maxResults) (\s@DescribeScalingPolicies' {} a -> s {maxResults = a} :: DescribeScalingPolicies)++-- | The token for the next set of results.+describeScalingPolicies_nextToken :: Lens.Lens' DescribeScalingPolicies (Prelude.Maybe Prelude.Text)+describeScalingPolicies_nextToken = Lens.lens (\DescribeScalingPolicies' {nextToken} -> nextToken) (\s@DescribeScalingPolicies' {} a -> s {nextToken = a} :: DescribeScalingPolicies)++-- | The names of the scaling policies to describe.+describeScalingPolicies_policyNames :: Lens.Lens' DescribeScalingPolicies (Prelude.Maybe [Prelude.Text])+describeScalingPolicies_policyNames = Lens.lens (\DescribeScalingPolicies' {policyNames} -> policyNames) (\s@DescribeScalingPolicies' {} a -> s {policyNames = a} :: DescribeScalingPolicies) Prelude.. Lens.mapping Lens.coerced++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+describeScalingPolicies_resourceId :: Lens.Lens' DescribeScalingPolicies (Prelude.Maybe Prelude.Text)+describeScalingPolicies_resourceId = Lens.lens (\DescribeScalingPolicies' {resourceId} -> resourceId) (\s@DescribeScalingPolicies' {} a -> s {resourceId = a} :: DescribeScalingPolicies)++-- | 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 a 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.+describeScalingPolicies_scalableDimension :: Lens.Lens' DescribeScalingPolicies (Prelude.Maybe ScalableDimension)+describeScalingPolicies_scalableDimension = Lens.lens (\DescribeScalingPolicies' {scalableDimension} -> scalableDimension) (\s@DescribeScalingPolicies' {} a -> s {scalableDimension = a} :: DescribeScalingPolicies)++-- | 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.+describeScalingPolicies_serviceNamespace :: Lens.Lens' DescribeScalingPolicies ServiceNamespace+describeScalingPolicies_serviceNamespace = Lens.lens (\DescribeScalingPolicies' {serviceNamespace} -> serviceNamespace) (\s@DescribeScalingPolicies' {} a -> s {serviceNamespace = a} :: DescribeScalingPolicies)++instance Core.AWSPager DescribeScalingPolicies where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeScalingPoliciesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeScalingPoliciesResponse_scalingPolicies+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeScalingPolicies_nextToken+          Lens..~ rs+          Lens.^? describeScalingPoliciesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeScalingPolicies where+  type+    AWSResponse DescribeScalingPolicies =+      DescribeScalingPoliciesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeScalingPoliciesResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> ( x+                            Data..?> "ScalingPolicies"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeScalingPolicies where+  hashWithSalt _salt DescribeScalingPolicies' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` policyNames+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` serviceNamespace++instance Prelude.NFData DescribeScalingPolicies where+  rnf DescribeScalingPolicies' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf policyNames+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf serviceNamespace++instance Data.ToHeaders DescribeScalingPolicies where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.DescribeScalingPolicies" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeScalingPolicies where+  toJSON DescribeScalingPolicies' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            ("PolicyNames" Data..=) Prelude.<$> policyNames,+            ("ResourceId" Data..=) Prelude.<$> resourceId,+            ("ScalableDimension" Data..=)+              Prelude.<$> scalableDimension,+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace)+          ]+      )++instance Data.ToPath DescribeScalingPolicies where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeScalingPolicies where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeScalingPoliciesResponse' smart constructor.+data DescribeScalingPoliciesResponse = DescribeScalingPoliciesResponse'+  { -- | The token required to get the next set of results. This value is @null@+    -- if there are no more results to return.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | Information about the scaling policies.+    scalingPolicies :: Prelude.Maybe [ScalingPolicy],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalingPoliciesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeScalingPoliciesResponse_nextToken' - The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+--+-- 'scalingPolicies', 'describeScalingPoliciesResponse_scalingPolicies' - Information about the scaling policies.+--+-- 'httpStatus', 'describeScalingPoliciesResponse_httpStatus' - The response's http status code.+newDescribeScalingPoliciesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeScalingPoliciesResponse+newDescribeScalingPoliciesResponse pHttpStatus_ =+  DescribeScalingPoliciesResponse'+    { nextToken =+        Prelude.Nothing,+      scalingPolicies = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+describeScalingPoliciesResponse_nextToken :: Lens.Lens' DescribeScalingPoliciesResponse (Prelude.Maybe Prelude.Text)+describeScalingPoliciesResponse_nextToken = Lens.lens (\DescribeScalingPoliciesResponse' {nextToken} -> nextToken) (\s@DescribeScalingPoliciesResponse' {} a -> s {nextToken = a} :: DescribeScalingPoliciesResponse)++-- | Information about the scaling policies.+describeScalingPoliciesResponse_scalingPolicies :: Lens.Lens' DescribeScalingPoliciesResponse (Prelude.Maybe [ScalingPolicy])+describeScalingPoliciesResponse_scalingPolicies = Lens.lens (\DescribeScalingPoliciesResponse' {scalingPolicies} -> scalingPolicies) (\s@DescribeScalingPoliciesResponse' {} a -> s {scalingPolicies = a} :: DescribeScalingPoliciesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeScalingPoliciesResponse_httpStatus :: Lens.Lens' DescribeScalingPoliciesResponse Prelude.Int+describeScalingPoliciesResponse_httpStatus = Lens.lens (\DescribeScalingPoliciesResponse' {httpStatus} -> httpStatus) (\s@DescribeScalingPoliciesResponse' {} a -> s {httpStatus = a} :: DescribeScalingPoliciesResponse)++instance+  Prelude.NFData+    DescribeScalingPoliciesResponse+  where+  rnf DescribeScalingPoliciesResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf scalingPolicies+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ApplicationAutoScaling/DescribeScheduledActions.hs view
@@ -0,0 +1,717 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.DescribeScheduledActions+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes the Application Auto Scaling scheduled actions for the+-- specified service namespace.+--+-- You can filter the results using the @ResourceId@, @ScalableDimension@,+-- and @ScheduledActionNames@ parameters.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html Scheduled scaling>+-- and+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html Managing scheduled scaling>+-- in the /Application Auto Scaling User Guide/.+--+-- This operation returns paginated results.+module Amazonka.ApplicationAutoScaling.DescribeScheduledActions+  ( -- * Creating a Request+    DescribeScheduledActions (..),+    newDescribeScheduledActions,++    -- * Request Lenses+    describeScheduledActions_maxResults,+    describeScheduledActions_nextToken,+    describeScheduledActions_resourceId,+    describeScheduledActions_scalableDimension,+    describeScheduledActions_scheduledActionNames,+    describeScheduledActions_serviceNamespace,++    -- * Destructuring the Response+    DescribeScheduledActionsResponse (..),+    newDescribeScheduledActionsResponse,++    -- * Response Lenses+    describeScheduledActionsResponse_nextToken,+    describeScheduledActionsResponse_scheduledActions,+    describeScheduledActionsResponse_httpStatus,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeScheduledActions' smart constructor.+data DescribeScheduledActions = DescribeScheduledActions'+  { -- | 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.+    maxResults :: Prelude.Maybe Prelude.Int,+    -- | The token for the next set of results.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Maybe Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: Prelude.Maybe ScalableDimension,+    -- | The names of the scheduled actions to describe.+    scheduledActionNames :: Prelude.Maybe [Prelude.Text],+    -- | 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.+    serviceNamespace :: ServiceNamespace+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScheduledActions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', '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.+--+-- 'nextToken', 'describeScheduledActions_nextToken' - The token for the next set of results.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+--+-- 'scheduledActionNames', 'describeScheduledActions_scheduledActionNames' - The names of the scheduled actions to describe.+--+-- 'serviceNamespace', '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.+newDescribeScheduledActions ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  DescribeScheduledActions+newDescribeScheduledActions pServiceNamespace_ =+  DescribeScheduledActions'+    { maxResults =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      resourceId = Prelude.Nothing,+      scalableDimension = Prelude.Nothing,+      scheduledActionNames = Prelude.Nothing,+      serviceNamespace = pServiceNamespace_+    }++-- | 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.+describeScheduledActions_maxResults :: Lens.Lens' DescribeScheduledActions (Prelude.Maybe Prelude.Int)+describeScheduledActions_maxResults = Lens.lens (\DescribeScheduledActions' {maxResults} -> maxResults) (\s@DescribeScheduledActions' {} a -> s {maxResults = a} :: DescribeScheduledActions)++-- | The token for the next set of results.+describeScheduledActions_nextToken :: Lens.Lens' DescribeScheduledActions (Prelude.Maybe Prelude.Text)+describeScheduledActions_nextToken = Lens.lens (\DescribeScheduledActions' {nextToken} -> nextToken) (\s@DescribeScheduledActions' {} a -> s {nextToken = a} :: DescribeScheduledActions)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+describeScheduledActions_resourceId :: Lens.Lens' DescribeScheduledActions (Prelude.Maybe Prelude.Text)+describeScheduledActions_resourceId = Lens.lens (\DescribeScheduledActions' {resourceId} -> resourceId) (\s@DescribeScheduledActions' {} a -> s {resourceId = a} :: DescribeScheduledActions)++-- | 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 a 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.+describeScheduledActions_scalableDimension :: Lens.Lens' DescribeScheduledActions (Prelude.Maybe ScalableDimension)+describeScheduledActions_scalableDimension = Lens.lens (\DescribeScheduledActions' {scalableDimension} -> scalableDimension) (\s@DescribeScheduledActions' {} a -> s {scalableDimension = a} :: DescribeScheduledActions)++-- | The names of the scheduled actions to describe.+describeScheduledActions_scheduledActionNames :: Lens.Lens' DescribeScheduledActions (Prelude.Maybe [Prelude.Text])+describeScheduledActions_scheduledActionNames = Lens.lens (\DescribeScheduledActions' {scheduledActionNames} -> scheduledActionNames) (\s@DescribeScheduledActions' {} a -> s {scheduledActionNames = a} :: DescribeScheduledActions) Prelude.. Lens.mapping Lens.coerced++-- | 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.+describeScheduledActions_serviceNamespace :: Lens.Lens' DescribeScheduledActions ServiceNamespace+describeScheduledActions_serviceNamespace = Lens.lens (\DescribeScheduledActions' {serviceNamespace} -> serviceNamespace) (\s@DescribeScheduledActions' {} a -> s {serviceNamespace = a} :: DescribeScheduledActions)++instance Core.AWSPager DescribeScheduledActions where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeScheduledActionsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeScheduledActionsResponse_scheduledActions+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeScheduledActions_nextToken+          Lens..~ rs+          Lens.^? describeScheduledActionsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeScheduledActions where+  type+    AWSResponse DescribeScheduledActions =+      DescribeScheduledActionsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeScheduledActionsResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> ( x+                            Data..?> "ScheduledActions"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeScheduledActions where+  hashWithSalt _salt DescribeScheduledActions' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` scheduledActionNames+      `Prelude.hashWithSalt` serviceNamespace++instance Prelude.NFData DescribeScheduledActions where+  rnf DescribeScheduledActions' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf scheduledActionNames+      `Prelude.seq` Prelude.rnf serviceNamespace++instance Data.ToHeaders DescribeScheduledActions where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.DescribeScheduledActions" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeScheduledActions where+  toJSON DescribeScheduledActions' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            ("ResourceId" Data..=) Prelude.<$> resourceId,+            ("ScalableDimension" Data..=)+              Prelude.<$> scalableDimension,+            ("ScheduledActionNames" Data..=)+              Prelude.<$> scheduledActionNames,+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace)+          ]+      )++instance Data.ToPath DescribeScheduledActions where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeScheduledActions where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeScheduledActionsResponse' smart constructor.+data DescribeScheduledActionsResponse = DescribeScheduledActionsResponse'+  { -- | The token required to get the next set of results. This value is @null@+    -- if there are no more results to return.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | Information about the scheduled actions.+    scheduledActions :: Prelude.Maybe [ScheduledAction],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScheduledActionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeScheduledActionsResponse_nextToken' - The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+--+-- 'scheduledActions', 'describeScheduledActionsResponse_scheduledActions' - Information about the scheduled actions.+--+-- 'httpStatus', 'describeScheduledActionsResponse_httpStatus' - The response's http status code.+newDescribeScheduledActionsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeScheduledActionsResponse+newDescribeScheduledActionsResponse pHttpStatus_ =+  DescribeScheduledActionsResponse'+    { nextToken =+        Prelude.Nothing,+      scheduledActions = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+describeScheduledActionsResponse_nextToken :: Lens.Lens' DescribeScheduledActionsResponse (Prelude.Maybe Prelude.Text)+describeScheduledActionsResponse_nextToken = Lens.lens (\DescribeScheduledActionsResponse' {nextToken} -> nextToken) (\s@DescribeScheduledActionsResponse' {} a -> s {nextToken = a} :: DescribeScheduledActionsResponse)++-- | Information about the scheduled actions.+describeScheduledActionsResponse_scheduledActions :: Lens.Lens' DescribeScheduledActionsResponse (Prelude.Maybe [ScheduledAction])+describeScheduledActionsResponse_scheduledActions = Lens.lens (\DescribeScheduledActionsResponse' {scheduledActions} -> scheduledActions) (\s@DescribeScheduledActionsResponse' {} a -> s {scheduledActions = a} :: DescribeScheduledActionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeScheduledActionsResponse_httpStatus :: Lens.Lens' DescribeScheduledActionsResponse Prelude.Int+describeScheduledActionsResponse_httpStatus = Lens.lens (\DescribeScheduledActionsResponse' {httpStatus} -> httpStatus) (\s@DescribeScheduledActionsResponse' {} a -> s {httpStatus = a} :: DescribeScheduledActionsResponse)++instance+  Prelude.NFData+    DescribeScheduledActionsResponse+  where+  rnf DescribeScheduledActionsResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf scheduledActions+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ApplicationAutoScaling/Lens.hs view
@@ -0,0 +1,244 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Lens+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Lens+  ( -- * Operations++    -- ** DeleteScalingPolicy+    deleteScalingPolicy_policyName,+    deleteScalingPolicy_serviceNamespace,+    deleteScalingPolicy_resourceId,+    deleteScalingPolicy_scalableDimension,+    deleteScalingPolicyResponse_httpStatus,++    -- ** DeleteScheduledAction+    deleteScheduledAction_serviceNamespace,+    deleteScheduledAction_scheduledActionName,+    deleteScheduledAction_resourceId,+    deleteScheduledAction_scalableDimension,+    deleteScheduledActionResponse_httpStatus,++    -- ** DeregisterScalableTarget+    deregisterScalableTarget_serviceNamespace,+    deregisterScalableTarget_resourceId,+    deregisterScalableTarget_scalableDimension,+    deregisterScalableTargetResponse_httpStatus,++    -- ** DescribeScalableTargets+    describeScalableTargets_maxResults,+    describeScalableTargets_nextToken,+    describeScalableTargets_resourceIds,+    describeScalableTargets_scalableDimension,+    describeScalableTargets_serviceNamespace,+    describeScalableTargetsResponse_nextToken,+    describeScalableTargetsResponse_scalableTargets,+    describeScalableTargetsResponse_httpStatus,++    -- ** DescribeScalingActivities+    describeScalingActivities_includeNotScaledActivities,+    describeScalingActivities_maxResults,+    describeScalingActivities_nextToken,+    describeScalingActivities_resourceId,+    describeScalingActivities_scalableDimension,+    describeScalingActivities_serviceNamespace,+    describeScalingActivitiesResponse_nextToken,+    describeScalingActivitiesResponse_scalingActivities,+    describeScalingActivitiesResponse_httpStatus,++    -- ** DescribeScalingPolicies+    describeScalingPolicies_maxResults,+    describeScalingPolicies_nextToken,+    describeScalingPolicies_policyNames,+    describeScalingPolicies_resourceId,+    describeScalingPolicies_scalableDimension,+    describeScalingPolicies_serviceNamespace,+    describeScalingPoliciesResponse_nextToken,+    describeScalingPoliciesResponse_scalingPolicies,+    describeScalingPoliciesResponse_httpStatus,++    -- ** DescribeScheduledActions+    describeScheduledActions_maxResults,+    describeScheduledActions_nextToken,+    describeScheduledActions_resourceId,+    describeScheduledActions_scalableDimension,+    describeScheduledActions_scheduledActionNames,+    describeScheduledActions_serviceNamespace,+    describeScheduledActionsResponse_nextToken,+    describeScheduledActionsResponse_scheduledActions,+    describeScheduledActionsResponse_httpStatus,++    -- ** PutScalingPolicy+    putScalingPolicy_policyType,+    putScalingPolicy_stepScalingPolicyConfiguration,+    putScalingPolicy_targetTrackingScalingPolicyConfiguration,+    putScalingPolicy_policyName,+    putScalingPolicy_serviceNamespace,+    putScalingPolicy_resourceId,+    putScalingPolicy_scalableDimension,+    putScalingPolicyResponse_alarms,+    putScalingPolicyResponse_httpStatus,+    putScalingPolicyResponse_policyARN,++    -- ** PutScheduledAction+    putScheduledAction_endTime,+    putScheduledAction_scalableTargetAction,+    putScheduledAction_schedule,+    putScheduledAction_startTime,+    putScheduledAction_timezone,+    putScheduledAction_serviceNamespace,+    putScheduledAction_scheduledActionName,+    putScheduledAction_resourceId,+    putScheduledAction_scalableDimension,+    putScheduledActionResponse_httpStatus,++    -- ** RegisterScalableTarget+    registerScalableTarget_maxCapacity,+    registerScalableTarget_minCapacity,+    registerScalableTarget_roleARN,+    registerScalableTarget_suspendedState,+    registerScalableTarget_serviceNamespace,+    registerScalableTarget_resourceId,+    registerScalableTarget_scalableDimension,+    registerScalableTargetResponse_httpStatus,++    -- * Types++    -- ** Alarm+    alarm_alarmName,+    alarm_alarmARN,++    -- ** CustomizedMetricSpecification+    customizedMetricSpecification_dimensions,+    customizedMetricSpecification_unit,+    customizedMetricSpecification_metricName,+    customizedMetricSpecification_namespace,+    customizedMetricSpecification_statistic,++    -- ** MetricDimension+    metricDimension_name,+    metricDimension_value,++    -- ** NotScaledReason+    notScaledReason_currentCapacity,+    notScaledReason_maxCapacity,+    notScaledReason_minCapacity,+    notScaledReason_code,++    -- ** PredefinedMetricSpecification+    predefinedMetricSpecification_resourceLabel,+    predefinedMetricSpecification_predefinedMetricType,++    -- ** ScalableTarget+    scalableTarget_suspendedState,+    scalableTarget_serviceNamespace,+    scalableTarget_resourceId,+    scalableTarget_scalableDimension,+    scalableTarget_minCapacity,+    scalableTarget_maxCapacity,+    scalableTarget_roleARN,+    scalableTarget_creationTime,++    -- ** ScalableTargetAction+    scalableTargetAction_maxCapacity,+    scalableTargetAction_minCapacity,++    -- ** ScalingActivity+    scalingActivity_details,+    scalingActivity_endTime,+    scalingActivity_notScaledReasons,+    scalingActivity_statusMessage,+    scalingActivity_activityId,+    scalingActivity_serviceNamespace,+    scalingActivity_resourceId,+    scalingActivity_scalableDimension,+    scalingActivity_description,+    scalingActivity_cause,+    scalingActivity_startTime,+    scalingActivity_statusCode,++    -- ** ScalingPolicy+    scalingPolicy_alarms,+    scalingPolicy_stepScalingPolicyConfiguration,+    scalingPolicy_targetTrackingScalingPolicyConfiguration,+    scalingPolicy_policyARN,+    scalingPolicy_policyName,+    scalingPolicy_serviceNamespace,+    scalingPolicy_resourceId,+    scalingPolicy_scalableDimension,+    scalingPolicy_policyType,+    scalingPolicy_creationTime,++    -- ** ScheduledAction+    scheduledAction_endTime,+    scheduledAction_scalableDimension,+    scheduledAction_scalableTargetAction,+    scheduledAction_startTime,+    scheduledAction_timezone,+    scheduledAction_scheduledActionName,+    scheduledAction_scheduledActionARN,+    scheduledAction_serviceNamespace,+    scheduledAction_schedule,+    scheduledAction_resourceId,+    scheduledAction_creationTime,++    -- ** StepAdjustment+    stepAdjustment_metricIntervalLowerBound,+    stepAdjustment_metricIntervalUpperBound,+    stepAdjustment_scalingAdjustment,++    -- ** StepScalingPolicyConfiguration+    stepScalingPolicyConfiguration_adjustmentType,+    stepScalingPolicyConfiguration_cooldown,+    stepScalingPolicyConfiguration_metricAggregationType,+    stepScalingPolicyConfiguration_minAdjustmentMagnitude,+    stepScalingPolicyConfiguration_stepAdjustments,++    -- ** SuspendedState+    suspendedState_dynamicScalingInSuspended,+    suspendedState_dynamicScalingOutSuspended,+    suspendedState_scheduledScalingSuspended,++    -- ** TargetTrackingScalingPolicyConfiguration+    targetTrackingScalingPolicyConfiguration_customizedMetricSpecification,+    targetTrackingScalingPolicyConfiguration_disableScaleIn,+    targetTrackingScalingPolicyConfiguration_predefinedMetricSpecification,+    targetTrackingScalingPolicyConfiguration_scaleInCooldown,+    targetTrackingScalingPolicyConfiguration_scaleOutCooldown,+    targetTrackingScalingPolicyConfiguration_targetValue,+  )+where++import Amazonka.ApplicationAutoScaling.DeleteScalingPolicy+import Amazonka.ApplicationAutoScaling.DeleteScheduledAction+import Amazonka.ApplicationAutoScaling.DeregisterScalableTarget+import Amazonka.ApplicationAutoScaling.DescribeScalableTargets+import Amazonka.ApplicationAutoScaling.DescribeScalingActivities+import Amazonka.ApplicationAutoScaling.DescribeScalingPolicies+import Amazonka.ApplicationAutoScaling.DescribeScheduledActions+import Amazonka.ApplicationAutoScaling.PutScalingPolicy+import Amazonka.ApplicationAutoScaling.PutScheduledAction+import Amazonka.ApplicationAutoScaling.RegisterScalableTarget+import Amazonka.ApplicationAutoScaling.Types.Alarm+import Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification+import Amazonka.ApplicationAutoScaling.Types.MetricDimension+import Amazonka.ApplicationAutoScaling.Types.NotScaledReason+import Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification+import Amazonka.ApplicationAutoScaling.Types.ScalableTarget+import Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction+import Amazonka.ApplicationAutoScaling.Types.ScalingActivity+import Amazonka.ApplicationAutoScaling.Types.ScalingPolicy+import Amazonka.ApplicationAutoScaling.Types.ScheduledAction+import Amazonka.ApplicationAutoScaling.Types.StepAdjustment+import Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration+import Amazonka.ApplicationAutoScaling.Types.SuspendedState+import Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration
+ gen/Amazonka/ApplicationAutoScaling/PutScalingPolicy.hs view
@@ -0,0 +1,785 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.PutScalingPolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates or updates a scaling policy for an Application Auto Scaling+-- scalable target.+--+-- Each scalable target is identified by a service namespace, resource ID,+-- and scalable dimension. A scaling policy applies to the scalable target+-- identified by those three attributes. You cannot create a scaling policy+-- until you have registered the resource as a scalable target.+--+-- Multiple scaling policies can be in force at the same time for the same+-- scalable target. You can have one or more target tracking scaling+-- policies, one or more step scaling policies, or both. However, there is+-- a chance that multiple policies could conflict, instructing the scalable+-- target to scale out or in at the same time. Application Auto Scaling+-- gives precedence to the policy that provides the largest capacity for+-- both scale out and scale in. For example, if one policy increases+-- capacity by 3, another policy increases capacity by 200 percent, and the+-- current capacity is 10, Application Auto Scaling uses the policy with+-- the highest calculated capacity (200% of 10 = 20) and scales out to 30.+--+-- We recommend caution, however, when using target tracking scaling+-- policies with step scaling policies because conflicts between these+-- policies can cause undesirable behavior. For example, if the step+-- scaling policy initiates a scale-in activity before the target tracking+-- policy is ready to scale in, the scale-in activity will not be blocked.+-- After the scale-in activity completes, the target tracking policy could+-- instruct the scalable target to scale out again.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html Target tracking scaling policies>+-- and+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html Step scaling policies>+-- in the /Application Auto Scaling User Guide/.+--+-- If a scalable target is deregistered, the scalable target is no longer+-- available to execute scaling policies. Any scaling policies that were+-- specified for the scalable target are deleted.+module Amazonka.ApplicationAutoScaling.PutScalingPolicy+  ( -- * Creating a Request+    PutScalingPolicy (..),+    newPutScalingPolicy,++    -- * Request Lenses+    putScalingPolicy_policyType,+    putScalingPolicy_stepScalingPolicyConfiguration,+    putScalingPolicy_targetTrackingScalingPolicyConfiguration,+    putScalingPolicy_policyName,+    putScalingPolicy_serviceNamespace,+    putScalingPolicy_resourceId,+    putScalingPolicy_scalableDimension,++    -- * Destructuring the Response+    PutScalingPolicyResponse (..),+    newPutScalingPolicyResponse,++    -- * Response Lenses+    putScalingPolicyResponse_alarms,+    putScalingPolicyResponse_httpStatus,+    putScalingPolicyResponse_policyARN,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutScalingPolicy' smart constructor.+data PutScalingPolicy = PutScalingPolicy'+  { -- | The scaling 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+    -- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html Target tracking scaling policies>+    -- and+    -- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html Step scaling policies>+    -- in the /Application Auto Scaling User Guide/.+    policyType :: Prelude.Maybe PolicyType,+    -- | A step scaling policy.+    --+    -- This parameter is required if you are creating a policy and the policy+    -- type is @StepScaling@.+    stepScalingPolicyConfiguration :: Prelude.Maybe StepScalingPolicyConfiguration,+    -- | 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@.+    targetTrackingScalingPolicyConfiguration :: Prelude.Maybe TargetTrackingScalingPolicyConfiguration,+    -- | The name of the scaling policy.+    --+    -- You cannot change the name of a scaling policy, but you can delete the+    -- original scaling policy and create a new scaling policy with the same+    -- settings and a different name.+    policyName :: Prelude.Text,+    -- | 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.+    serviceNamespace :: ServiceNamespace,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: ScalableDimension+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutScalingPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'policyType', 'putScalingPolicy_policyType' - The scaling 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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html Target tracking scaling policies>+-- and+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html Step scaling policies>+-- in the /Application Auto Scaling User Guide/.+--+-- 'stepScalingPolicyConfiguration', 'putScalingPolicy_stepScalingPolicyConfiguration' - A step scaling policy.+--+-- This parameter is required if you are creating a policy and the policy+-- type is @StepScaling@.+--+-- 'targetTrackingScalingPolicyConfiguration', '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@.+--+-- 'policyName', 'putScalingPolicy_policyName' - The name of the scaling policy.+--+-- You cannot change the name of a scaling policy, but you can delete the+-- original scaling policy and create a new scaling policy with the same+-- settings and a different name.+--+-- 'serviceNamespace', '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.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+newPutScalingPolicy ::+  -- | 'policyName'+  Prelude.Text ->+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  PutScalingPolicy+newPutScalingPolicy+  pPolicyName_+  pServiceNamespace_+  pResourceId_+  pScalableDimension_ =+    PutScalingPolicy'+      { policyType = Prelude.Nothing,+        stepScalingPolicyConfiguration = Prelude.Nothing,+        targetTrackingScalingPolicyConfiguration =+          Prelude.Nothing,+        policyName = pPolicyName_,+        serviceNamespace = pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_+      }++-- | The scaling 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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html Target tracking scaling policies>+-- and+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html Step scaling policies>+-- in the /Application Auto Scaling User Guide/.+putScalingPolicy_policyType :: Lens.Lens' PutScalingPolicy (Prelude.Maybe PolicyType)+putScalingPolicy_policyType = Lens.lens (\PutScalingPolicy' {policyType} -> policyType) (\s@PutScalingPolicy' {} a -> s {policyType = a} :: PutScalingPolicy)++-- | A step scaling policy.+--+-- This parameter is required if you are creating a policy and the policy+-- type is @StepScaling@.+putScalingPolicy_stepScalingPolicyConfiguration :: Lens.Lens' PutScalingPolicy (Prelude.Maybe StepScalingPolicyConfiguration)+putScalingPolicy_stepScalingPolicyConfiguration = Lens.lens (\PutScalingPolicy' {stepScalingPolicyConfiguration} -> stepScalingPolicyConfiguration) (\s@PutScalingPolicy' {} a -> s {stepScalingPolicyConfiguration = a} :: PutScalingPolicy)++-- | 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@.+putScalingPolicy_targetTrackingScalingPolicyConfiguration :: Lens.Lens' PutScalingPolicy (Prelude.Maybe TargetTrackingScalingPolicyConfiguration)+putScalingPolicy_targetTrackingScalingPolicyConfiguration = Lens.lens (\PutScalingPolicy' {targetTrackingScalingPolicyConfiguration} -> targetTrackingScalingPolicyConfiguration) (\s@PutScalingPolicy' {} a -> s {targetTrackingScalingPolicyConfiguration = a} :: PutScalingPolicy)++-- | The name of the scaling policy.+--+-- You cannot change the name of a scaling policy, but you can delete the+-- original scaling policy and create a new scaling policy with the same+-- settings and a different name.+putScalingPolicy_policyName :: Lens.Lens' PutScalingPolicy Prelude.Text+putScalingPolicy_policyName = Lens.lens (\PutScalingPolicy' {policyName} -> policyName) (\s@PutScalingPolicy' {} a -> s {policyName = a} :: PutScalingPolicy)++-- | 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.+putScalingPolicy_serviceNamespace :: Lens.Lens' PutScalingPolicy ServiceNamespace+putScalingPolicy_serviceNamespace = Lens.lens (\PutScalingPolicy' {serviceNamespace} -> serviceNamespace) (\s@PutScalingPolicy' {} a -> s {serviceNamespace = a} :: PutScalingPolicy)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+putScalingPolicy_resourceId :: Lens.Lens' PutScalingPolicy Prelude.Text+putScalingPolicy_resourceId = Lens.lens (\PutScalingPolicy' {resourceId} -> resourceId) (\s@PutScalingPolicy' {} a -> s {resourceId = a} :: PutScalingPolicy)++-- | 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 a 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.+putScalingPolicy_scalableDimension :: Lens.Lens' PutScalingPolicy ScalableDimension+putScalingPolicy_scalableDimension = Lens.lens (\PutScalingPolicy' {scalableDimension} -> scalableDimension) (\s@PutScalingPolicy' {} a -> s {scalableDimension = a} :: PutScalingPolicy)++instance Core.AWSRequest PutScalingPolicy where+  type+    AWSResponse PutScalingPolicy =+      PutScalingPolicyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          PutScalingPolicyResponse'+            Prelude.<$> (x Data..?> "Alarms" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> (x Data..:> "PolicyARN")+      )++instance Prelude.Hashable PutScalingPolicy where+  hashWithSalt _salt PutScalingPolicy' {..} =+    _salt+      `Prelude.hashWithSalt` policyType+      `Prelude.hashWithSalt` stepScalingPolicyConfiguration+      `Prelude.hashWithSalt` targetTrackingScalingPolicyConfiguration+      `Prelude.hashWithSalt` policyName+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension++instance Prelude.NFData PutScalingPolicy where+  rnf PutScalingPolicy' {..} =+    Prelude.rnf policyType+      `Prelude.seq` Prelude.rnf stepScalingPolicyConfiguration+      `Prelude.seq` Prelude.rnf targetTrackingScalingPolicyConfiguration+      `Prelude.seq` Prelude.rnf policyName+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension++instance Data.ToHeaders PutScalingPolicy where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.PutScalingPolicy" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON PutScalingPolicy where+  toJSON PutScalingPolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("PolicyType" Data..=) Prelude.<$> policyType,+            ("StepScalingPolicyConfiguration" Data..=)+              Prelude.<$> stepScalingPolicyConfiguration,+            ("TargetTrackingScalingPolicyConfiguration" Data..=)+              Prelude.<$> targetTrackingScalingPolicyConfiguration,+            Prelude.Just ("PolicyName" Data..= policyName),+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace),+            Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just+              ("ScalableDimension" Data..= scalableDimension)+          ]+      )++instance Data.ToPath PutScalingPolicy where+  toPath = Prelude.const "/"++instance Data.ToQuery PutScalingPolicy where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutScalingPolicyResponse' smart constructor.+data PutScalingPolicyResponse = PutScalingPolicyResponse'+  { -- | The CloudWatch alarms created for the target tracking scaling policy.+    alarms :: Prelude.Maybe [Alarm],+    -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | The Amazon Resource Name (ARN) of the resulting scaling policy.+    policyARN :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutScalingPolicyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'alarms', 'putScalingPolicyResponse_alarms' - The CloudWatch alarms created for the target tracking scaling policy.+--+-- 'httpStatus', 'putScalingPolicyResponse_httpStatus' - The response's http status code.+--+-- 'policyARN', 'putScalingPolicyResponse_policyARN' - The Amazon Resource Name (ARN) of the resulting scaling policy.+newPutScalingPolicyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  -- | 'policyARN'+  Prelude.Text ->+  PutScalingPolicyResponse+newPutScalingPolicyResponse pHttpStatus_ pPolicyARN_ =+  PutScalingPolicyResponse'+    { alarms = Prelude.Nothing,+      httpStatus = pHttpStatus_,+      policyARN = pPolicyARN_+    }++-- | The CloudWatch alarms created for the target tracking scaling policy.+putScalingPolicyResponse_alarms :: Lens.Lens' PutScalingPolicyResponse (Prelude.Maybe [Alarm])+putScalingPolicyResponse_alarms = Lens.lens (\PutScalingPolicyResponse' {alarms} -> alarms) (\s@PutScalingPolicyResponse' {} a -> s {alarms = a} :: PutScalingPolicyResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+putScalingPolicyResponse_httpStatus :: Lens.Lens' PutScalingPolicyResponse Prelude.Int+putScalingPolicyResponse_httpStatus = Lens.lens (\PutScalingPolicyResponse' {httpStatus} -> httpStatus) (\s@PutScalingPolicyResponse' {} a -> s {httpStatus = a} :: PutScalingPolicyResponse)++-- | The Amazon Resource Name (ARN) of the resulting scaling policy.+putScalingPolicyResponse_policyARN :: Lens.Lens' PutScalingPolicyResponse Prelude.Text+putScalingPolicyResponse_policyARN = Lens.lens (\PutScalingPolicyResponse' {policyARN} -> policyARN) (\s@PutScalingPolicyResponse' {} a -> s {policyARN = a} :: PutScalingPolicyResponse)++instance Prelude.NFData PutScalingPolicyResponse where+  rnf PutScalingPolicyResponse' {..} =+    Prelude.rnf alarms+      `Prelude.seq` Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf policyARN
+ gen/Amazonka/ApplicationAutoScaling/PutScheduledAction.hs view
@@ -0,0 +1,803 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.PutScheduledAction+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates or updates a scheduled action for an Application Auto Scaling+-- scalable target.+--+-- Each scalable target is identified by a service namespace, resource ID,+-- and scalable dimension. A scheduled action applies to the scalable+-- target identified by those three attributes. You cannot create a+-- scheduled action until you have registered the resource as a scalable+-- target.+--+-- When start and end times are specified with a recurring schedule using a+-- cron expression or rates, they form the boundaries for when the+-- recurring action starts and stops.+--+-- To update a scheduled action, specify the parameters that you want to+-- change. If you don\'t specify start and end times, the old values are+-- deleted.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html Scheduled scaling>+-- in the /Application Auto Scaling User Guide/.+--+-- If a scalable target is deregistered, the scalable target is no longer+-- available to run scheduled actions. Any scheduled actions that were+-- specified for the scalable target are deleted.+module Amazonka.ApplicationAutoScaling.PutScheduledAction+  ( -- * Creating a Request+    PutScheduledAction (..),+    newPutScheduledAction,++    -- * Request Lenses+    putScheduledAction_endTime,+    putScheduledAction_scalableTargetAction,+    putScheduledAction_schedule,+    putScheduledAction_startTime,+    putScheduledAction_timezone,+    putScheduledAction_serviceNamespace,+    putScheduledAction_scheduledActionName,+    putScheduledAction_resourceId,+    putScheduledAction_scalableDimension,++    -- * Destructuring the Response+    PutScheduledActionResponse (..),+    newPutScheduledActionResponse,++    -- * Response Lenses+    putScheduledActionResponse_httpStatus,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutScheduledAction' smart constructor.+data PutScheduledAction = PutScheduledAction'+  { -- | The date and time for the recurring schedule to end, in UTC.+    endTime :: Prelude.Maybe Data.POSIX,+    -- | 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.+    scalableTargetAction :: Prelude.Maybe ScalableTargetAction,+    -- | The schedule for this action. The following formats are supported:+    --+    -- -   At expressions -+    --     \"@at(@/@yyyy@/@-@/@mm@/@-@/@dd@/@T@/@hh@/@:@/@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+    -- <https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html Example scheduled actions for Application Auto Scaling>+    -- in the /Application Auto Scaling User Guide/.+    schedule :: Prelude.Maybe Prelude.Text,+    -- | The date and time for this scheduled action to start, in UTC.+    startTime :: Prelude.Maybe Data.POSIX,+    -- | 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>.+    timezone :: Prelude.Maybe Prelude.Text,+    -- | 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.+    serviceNamespace :: ServiceNamespace,+    -- | The name of the scheduled action. This name must be unique among all+    -- other scheduled actions on the specified scalable target.+    scheduledActionName :: Prelude.Text,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: ScalableDimension+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutScheduledAction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'endTime', 'putScheduledAction_endTime' - The date and time for the recurring schedule to end, in UTC.+--+-- 'scalableTargetAction', '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.+--+-- 'schedule', 'putScheduledAction_schedule' - The schedule for this action. The following formats are supported:+--+-- -   At expressions -+--     \"@at(@/@yyyy@/@-@/@mm@/@-@/@dd@/@T@/@hh@/@:@/@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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html Example scheduled actions for Application Auto Scaling>+-- in the /Application Auto Scaling User Guide/.+--+-- 'startTime', 'putScheduledAction_startTime' - The date and time for this scheduled action to start, in UTC.+--+-- 'timezone', '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>.+--+-- 'serviceNamespace', '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.+--+-- 'scheduledActionName', 'putScheduledAction_scheduledActionName' - The name of the scheduled action. This name must be unique among all+-- other scheduled actions on the specified scalable target.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+newPutScheduledAction ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'scheduledActionName'+  Prelude.Text ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  PutScheduledAction+newPutScheduledAction+  pServiceNamespace_+  pScheduledActionName_+  pResourceId_+  pScalableDimension_ =+    PutScheduledAction'+      { endTime = Prelude.Nothing,+        scalableTargetAction = Prelude.Nothing,+        schedule = Prelude.Nothing,+        startTime = Prelude.Nothing,+        timezone = Prelude.Nothing,+        serviceNamespace = pServiceNamespace_,+        scheduledActionName = pScheduledActionName_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_+      }++-- | The date and time for the recurring schedule to end, in UTC.+putScheduledAction_endTime :: Lens.Lens' PutScheduledAction (Prelude.Maybe Prelude.UTCTime)+putScheduledAction_endTime = Lens.lens (\PutScheduledAction' {endTime} -> endTime) (\s@PutScheduledAction' {} a -> s {endTime = a} :: PutScheduledAction) Prelude.. Lens.mapping Data._Time++-- | 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.+putScheduledAction_scalableTargetAction :: Lens.Lens' PutScheduledAction (Prelude.Maybe ScalableTargetAction)+putScheduledAction_scalableTargetAction = Lens.lens (\PutScheduledAction' {scalableTargetAction} -> scalableTargetAction) (\s@PutScheduledAction' {} a -> s {scalableTargetAction = a} :: PutScheduledAction)++-- | The schedule for this action. The following formats are supported:+--+-- -   At expressions -+--     \"@at(@/@yyyy@/@-@/@mm@/@-@/@dd@/@T@/@hh@/@:@/@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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html Example scheduled actions for Application Auto Scaling>+-- in the /Application Auto Scaling User Guide/.+putScheduledAction_schedule :: Lens.Lens' PutScheduledAction (Prelude.Maybe Prelude.Text)+putScheduledAction_schedule = Lens.lens (\PutScheduledAction' {schedule} -> schedule) (\s@PutScheduledAction' {} a -> s {schedule = a} :: PutScheduledAction)++-- | The date and time for this scheduled action to start, in UTC.+putScheduledAction_startTime :: Lens.Lens' PutScheduledAction (Prelude.Maybe Prelude.UTCTime)+putScheduledAction_startTime = Lens.lens (\PutScheduledAction' {startTime} -> startTime) (\s@PutScheduledAction' {} a -> s {startTime = a} :: PutScheduledAction) Prelude.. Lens.mapping Data._Time++-- | 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>.+putScheduledAction_timezone :: Lens.Lens' PutScheduledAction (Prelude.Maybe Prelude.Text)+putScheduledAction_timezone = Lens.lens (\PutScheduledAction' {timezone} -> timezone) (\s@PutScheduledAction' {} a -> s {timezone = a} :: PutScheduledAction)++-- | 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.+putScheduledAction_serviceNamespace :: Lens.Lens' PutScheduledAction ServiceNamespace+putScheduledAction_serviceNamespace = Lens.lens (\PutScheduledAction' {serviceNamespace} -> serviceNamespace) (\s@PutScheduledAction' {} a -> s {serviceNamespace = a} :: PutScheduledAction)++-- | The name of the scheduled action. This name must be unique among all+-- other scheduled actions on the specified scalable target.+putScheduledAction_scheduledActionName :: Lens.Lens' PutScheduledAction Prelude.Text+putScheduledAction_scheduledActionName = Lens.lens (\PutScheduledAction' {scheduledActionName} -> scheduledActionName) (\s@PutScheduledAction' {} a -> s {scheduledActionName = a} :: PutScheduledAction)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+putScheduledAction_resourceId :: Lens.Lens' PutScheduledAction Prelude.Text+putScheduledAction_resourceId = Lens.lens (\PutScheduledAction' {resourceId} -> resourceId) (\s@PutScheduledAction' {} a -> s {resourceId = a} :: PutScheduledAction)++-- | 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 a 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.+putScheduledAction_scalableDimension :: Lens.Lens' PutScheduledAction ScalableDimension+putScheduledAction_scalableDimension = Lens.lens (\PutScheduledAction' {scalableDimension} -> scalableDimension) (\s@PutScheduledAction' {} a -> s {scalableDimension = a} :: PutScheduledAction)++instance Core.AWSRequest PutScheduledAction where+  type+    AWSResponse PutScheduledAction =+      PutScheduledActionResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          PutScheduledActionResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable PutScheduledAction where+  hashWithSalt _salt PutScheduledAction' {..} =+    _salt+      `Prelude.hashWithSalt` endTime+      `Prelude.hashWithSalt` scalableTargetAction+      `Prelude.hashWithSalt` schedule+      `Prelude.hashWithSalt` startTime+      `Prelude.hashWithSalt` timezone+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` scheduledActionName+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension++instance Prelude.NFData PutScheduledAction where+  rnf PutScheduledAction' {..} =+    Prelude.rnf endTime+      `Prelude.seq` Prelude.rnf scalableTargetAction+      `Prelude.seq` Prelude.rnf schedule+      `Prelude.seq` Prelude.rnf startTime+      `Prelude.seq` Prelude.rnf timezone+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf scheduledActionName+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension++instance Data.ToHeaders PutScheduledAction where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.PutScheduledAction" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON PutScheduledAction where+  toJSON PutScheduledAction' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("EndTime" Data..=) Prelude.<$> endTime,+            ("ScalableTargetAction" Data..=)+              Prelude.<$> scalableTargetAction,+            ("Schedule" Data..=) Prelude.<$> schedule,+            ("StartTime" Data..=) Prelude.<$> startTime,+            ("Timezone" Data..=) Prelude.<$> timezone,+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace),+            Prelude.Just+              ("ScheduledActionName" Data..= scheduledActionName),+            Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just+              ("ScalableDimension" Data..= scalableDimension)+          ]+      )++instance Data.ToPath PutScheduledAction where+  toPath = Prelude.const "/"++instance Data.ToQuery PutScheduledAction where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutScheduledActionResponse' smart constructor.+data PutScheduledActionResponse = PutScheduledActionResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutScheduledActionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'putScheduledActionResponse_httpStatus' - The response's http status code.+newPutScheduledActionResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  PutScheduledActionResponse+newPutScheduledActionResponse pHttpStatus_ =+  PutScheduledActionResponse'+    { httpStatus =+        pHttpStatus_+    }++-- | The response's http status code.+putScheduledActionResponse_httpStatus :: Lens.Lens' PutScheduledActionResponse Prelude.Int+putScheduledActionResponse_httpStatus = Lens.lens (\PutScheduledActionResponse' {httpStatus} -> httpStatus) (\s@PutScheduledActionResponse' {} a -> s {httpStatus = a} :: PutScheduledActionResponse)++instance Prelude.NFData PutScheduledActionResponse where+  rnf PutScheduledActionResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/ApplicationAutoScaling/RegisterScalableTarget.hs view
@@ -0,0 +1,905 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.RegisterScalableTarget+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Registers or updates a scalable target, the resource that you want to+-- scale.+--+-- Scalable targets are uniquely identified by the combination of resource+-- ID, scalable dimension, and namespace, which represents some capacity+-- dimension of the underlying service.+--+-- When you register a new scalable target, you must specify values for the+-- minimum and maximum capacity. If the specified resource is not active in+-- the target service, this operation does not change the resource\'s+-- current capacity. Otherwise, it changes the resource\'s current capacity+-- to a value that is inside of this range.+--+-- If you choose to add a scaling policy, current capacity is adjustable+-- within the specified range when scaling starts. Application Auto Scaling+-- scaling policies will not scale capacity to values that are outside of+-- the minimum and maximum range.+--+-- After you register a scalable target, you do not need to register it+-- again to use other Application Auto Scaling operations. To see which+-- resources have been registered, use+-- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html DescribeScalableTargets>.+-- You can also view the scaling policies for a service namespace by using+-- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalableTargets.html DescribeScalableTargets>.+-- If you no longer need a scalable target, you can deregister it by using+-- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DeregisterScalableTarget.html DeregisterScalableTarget>.+--+-- To update a scalable target, specify the parameters that you want to+-- change. Include the parameters that identify the scalable target:+-- resource ID, scalable dimension, and namespace. Any parameters that you+-- don\'t specify are not changed by this update request.+--+-- If you call the @RegisterScalableTarget@ API to update an existing+-- scalable target, Application Auto Scaling retrieves the current capacity+-- of the resource. If it is below the minimum capacity or above the+-- maximum capacity, Application Auto Scaling adjusts the capacity of the+-- scalable target to place it within these bounds, even if you don\'t+-- include the @MinCapacity@ or @MaxCapacity@ request parameters.+module Amazonka.ApplicationAutoScaling.RegisterScalableTarget+  ( -- * Creating a Request+    RegisterScalableTarget (..),+    newRegisterScalableTarget,++    -- * Request Lenses+    registerScalableTarget_maxCapacity,+    registerScalableTarget_minCapacity,+    registerScalableTarget_roleARN,+    registerScalableTarget_suspendedState,+    registerScalableTarget_serviceNamespace,+    registerScalableTarget_resourceId,+    registerScalableTarget_scalableDimension,++    -- * Destructuring the Response+    RegisterScalableTargetResponse (..),+    newRegisterScalableTargetResponse,++    -- * Response Lenses+    registerScalableTargetResponse_httpStatus,+  )+where++import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRegisterScalableTarget' smart constructor.+data RegisterScalableTarget = RegisterScalableTarget'+  { -- | 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+    -- <https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html Service endpoints and quotas>+    -- in the /Amazon Web Services General Reference/.+    maxCapacity :: Prelude.Maybe Prelude.Int,+    -- | 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 the following resources, the minimum value allowed is 0.+    --+    -- -   AppStream 2.0 fleets+    --+    -- -   Aurora DB clusters+    --+    -- -   ECS services+    --+    -- -   EMR clusters+    --+    -- -   Lambda provisioned concurrency+    --+    -- -   SageMaker endpoint variants+    --+    -- -   Spot Fleets+    --+    -- -   custom resources+    --+    -- It\'s strongly recommended that you specify a value greater than 0. A+    -- value greater than 0 means that data points are continuously reported to+    -- CloudWatch that scaling policies can use to scale on a metric like+    -- average CPU utilization.+    --+    -- For all other resources, the minimum allowed value depends on the type+    -- of resource that you are using. If you provide a value that is lower+    -- than what a resource can accept, an error occurs. In which case, the+    -- error message will provide the minimum value that the resource can+    -- accept.+    minCapacity :: Prelude.Maybe Prelude.Int,+    -- | 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+    -- <https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles Application Auto Scaling IAM roles>.+    roleARN :: Prelude.Maybe Prelude.Text,+    -- | 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+    -- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html Suspending and resuming scaling>+    -- in the /Application Auto Scaling User Guide/.+    suspendedState :: Prelude.Maybe SuspendedState,+    -- | 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.+    serviceNamespace :: ServiceNamespace,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: ScalableDimension+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterScalableTarget' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxCapacity', '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+-- <https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html Service endpoints and quotas>+-- in the /Amazon Web Services General Reference/.+--+-- 'minCapacity', '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 the following resources, the minimum value allowed is 0.+--+-- -   AppStream 2.0 fleets+--+-- -   Aurora DB clusters+--+-- -   ECS services+--+-- -   EMR clusters+--+-- -   Lambda provisioned concurrency+--+-- -   SageMaker endpoint variants+--+-- -   Spot Fleets+--+-- -   custom resources+--+-- It\'s strongly recommended that you specify a value greater than 0. A+-- value greater than 0 means that data points are continuously reported to+-- CloudWatch that scaling policies can use to scale on a metric like+-- average CPU utilization.+--+-- For all other resources, the minimum allowed value depends on the type+-- of resource that you are using. If you provide a value that is lower+-- than what a resource can accept, an error occurs. In which case, the+-- error message will provide the minimum value that the resource can+-- accept.+--+-- 'roleARN', '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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles Application Auto Scaling IAM roles>.+--+-- 'suspendedState', '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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html Suspending and resuming scaling>+-- in the /Application Auto Scaling User Guide/.+--+-- 'serviceNamespace', '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.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+newRegisterScalableTarget ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  RegisterScalableTarget+newRegisterScalableTarget+  pServiceNamespace_+  pResourceId_+  pScalableDimension_ =+    RegisterScalableTarget'+      { maxCapacity =+          Prelude.Nothing,+        minCapacity = Prelude.Nothing,+        roleARN = Prelude.Nothing,+        suspendedState = Prelude.Nothing,+        serviceNamespace = pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_+      }++-- | 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html Service endpoints and quotas>+-- in the /Amazon Web Services General Reference/.+registerScalableTarget_maxCapacity :: Lens.Lens' RegisterScalableTarget (Prelude.Maybe Prelude.Int)+registerScalableTarget_maxCapacity = Lens.lens (\RegisterScalableTarget' {maxCapacity} -> maxCapacity) (\s@RegisterScalableTarget' {} a -> s {maxCapacity = a} :: RegisterScalableTarget)++-- | 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 the following resources, the minimum value allowed is 0.+--+-- -   AppStream 2.0 fleets+--+-- -   Aurora DB clusters+--+-- -   ECS services+--+-- -   EMR clusters+--+-- -   Lambda provisioned concurrency+--+-- -   SageMaker endpoint variants+--+-- -   Spot Fleets+--+-- -   custom resources+--+-- It\'s strongly recommended that you specify a value greater than 0. A+-- value greater than 0 means that data points are continuously reported to+-- CloudWatch that scaling policies can use to scale on a metric like+-- average CPU utilization.+--+-- For all other resources, the minimum allowed value depends on the type+-- of resource that you are using. If you provide a value that is lower+-- than what a resource can accept, an error occurs. In which case, the+-- error message will provide the minimum value that the resource can+-- accept.+registerScalableTarget_minCapacity :: Lens.Lens' RegisterScalableTarget (Prelude.Maybe Prelude.Int)+registerScalableTarget_minCapacity = Lens.lens (\RegisterScalableTarget' {minCapacity} -> minCapacity) (\s@RegisterScalableTarget' {} a -> s {minCapacity = a} :: RegisterScalableTarget)++-- | 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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles Application Auto Scaling IAM roles>.+registerScalableTarget_roleARN :: Lens.Lens' RegisterScalableTarget (Prelude.Maybe Prelude.Text)+registerScalableTarget_roleARN = Lens.lens (\RegisterScalableTarget' {roleARN} -> roleARN) (\s@RegisterScalableTarget' {} a -> s {roleARN = a} :: RegisterScalableTarget)++-- | 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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html Suspending and resuming scaling>+-- in the /Application Auto Scaling User Guide/.+registerScalableTarget_suspendedState :: Lens.Lens' RegisterScalableTarget (Prelude.Maybe SuspendedState)+registerScalableTarget_suspendedState = Lens.lens (\RegisterScalableTarget' {suspendedState} -> suspendedState) (\s@RegisterScalableTarget' {} a -> s {suspendedState = a} :: RegisterScalableTarget)++-- | 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.+registerScalableTarget_serviceNamespace :: Lens.Lens' RegisterScalableTarget ServiceNamespace+registerScalableTarget_serviceNamespace = Lens.lens (\RegisterScalableTarget' {serviceNamespace} -> serviceNamespace) (\s@RegisterScalableTarget' {} a -> s {serviceNamespace = a} :: RegisterScalableTarget)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+registerScalableTarget_resourceId :: Lens.Lens' RegisterScalableTarget Prelude.Text+registerScalableTarget_resourceId = Lens.lens (\RegisterScalableTarget' {resourceId} -> resourceId) (\s@RegisterScalableTarget' {} a -> s {resourceId = a} :: RegisterScalableTarget)++-- | 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 a 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.+registerScalableTarget_scalableDimension :: Lens.Lens' RegisterScalableTarget ScalableDimension+registerScalableTarget_scalableDimension = Lens.lens (\RegisterScalableTarget' {scalableDimension} -> scalableDimension) (\s@RegisterScalableTarget' {} a -> s {scalableDimension = a} :: RegisterScalableTarget)++instance Core.AWSRequest RegisterScalableTarget where+  type+    AWSResponse RegisterScalableTarget =+      RegisterScalableTargetResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          RegisterScalableTargetResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable RegisterScalableTarget where+  hashWithSalt _salt RegisterScalableTarget' {..} =+    _salt+      `Prelude.hashWithSalt` maxCapacity+      `Prelude.hashWithSalt` minCapacity+      `Prelude.hashWithSalt` roleARN+      `Prelude.hashWithSalt` suspendedState+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension++instance Prelude.NFData RegisterScalableTarget where+  rnf RegisterScalableTarget' {..} =+    Prelude.rnf maxCapacity+      `Prelude.seq` Prelude.rnf minCapacity+      `Prelude.seq` Prelude.rnf roleARN+      `Prelude.seq` Prelude.rnf suspendedState+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension++instance Data.ToHeaders RegisterScalableTarget where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleFrontendService.RegisterScalableTarget" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON RegisterScalableTarget where+  toJSON RegisterScalableTarget' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxCapacity" Data..=) Prelude.<$> maxCapacity,+            ("MinCapacity" Data..=) Prelude.<$> minCapacity,+            ("RoleARN" Data..=) Prelude.<$> roleARN,+            ("SuspendedState" Data..=)+              Prelude.<$> suspendedState,+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace),+            Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just+              ("ScalableDimension" Data..= scalableDimension)+          ]+      )++instance Data.ToPath RegisterScalableTarget where+  toPath = Prelude.const "/"++instance Data.ToQuery RegisterScalableTarget where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRegisterScalableTargetResponse' smart constructor.+data RegisterScalableTargetResponse = RegisterScalableTargetResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RegisterScalableTargetResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'registerScalableTargetResponse_httpStatus' - The response's http status code.+newRegisterScalableTargetResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  RegisterScalableTargetResponse+newRegisterScalableTargetResponse pHttpStatus_ =+  RegisterScalableTargetResponse'+    { httpStatus =+        pHttpStatus_+    }++-- | The response's http status code.+registerScalableTargetResponse_httpStatus :: Lens.Lens' RegisterScalableTargetResponse Prelude.Int+registerScalableTargetResponse_httpStatus = Lens.lens (\RegisterScalableTargetResponse' {httpStatus} -> httpStatus) (\s@RegisterScalableTargetResponse' {} a -> s {httpStatus = a} :: RegisterScalableTargetResponse)++instance+  Prelude.NFData+    RegisterScalableTargetResponse+  where+  rnf RegisterScalableTargetResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/ApplicationAutoScaling/Types.hs view
@@ -0,0 +1,347 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    _ConcurrentUpdateException,+    _FailedResourceAccessException,+    _InternalServiceException,+    _InvalidNextTokenException,+    _LimitExceededException,+    _ObjectNotFoundException,+    _ValidationException,++    -- * AdjustmentType+    AdjustmentType (..),++    -- * MetricAggregationType+    MetricAggregationType (..),++    -- * MetricStatistic+    MetricStatistic (..),++    -- * MetricType+    MetricType (..),++    -- * PolicyType+    PolicyType (..),++    -- * ScalableDimension+    ScalableDimension (..),++    -- * ScalingActivityStatusCode+    ScalingActivityStatusCode (..),++    -- * ServiceNamespace+    ServiceNamespace (..),++    -- * Alarm+    Alarm (..),+    newAlarm,+    alarm_alarmName,+    alarm_alarmARN,++    -- * CustomizedMetricSpecification+    CustomizedMetricSpecification (..),+    newCustomizedMetricSpecification,+    customizedMetricSpecification_dimensions,+    customizedMetricSpecification_unit,+    customizedMetricSpecification_metricName,+    customizedMetricSpecification_namespace,+    customizedMetricSpecification_statistic,++    -- * MetricDimension+    MetricDimension (..),+    newMetricDimension,+    metricDimension_name,+    metricDimension_value,++    -- * NotScaledReason+    NotScaledReason (..),+    newNotScaledReason,+    notScaledReason_currentCapacity,+    notScaledReason_maxCapacity,+    notScaledReason_minCapacity,+    notScaledReason_code,++    -- * PredefinedMetricSpecification+    PredefinedMetricSpecification (..),+    newPredefinedMetricSpecification,+    predefinedMetricSpecification_resourceLabel,+    predefinedMetricSpecification_predefinedMetricType,++    -- * ScalableTarget+    ScalableTarget (..),+    newScalableTarget,+    scalableTarget_suspendedState,+    scalableTarget_serviceNamespace,+    scalableTarget_resourceId,+    scalableTarget_scalableDimension,+    scalableTarget_minCapacity,+    scalableTarget_maxCapacity,+    scalableTarget_roleARN,+    scalableTarget_creationTime,++    -- * ScalableTargetAction+    ScalableTargetAction (..),+    newScalableTargetAction,+    scalableTargetAction_maxCapacity,+    scalableTargetAction_minCapacity,++    -- * ScalingActivity+    ScalingActivity (..),+    newScalingActivity,+    scalingActivity_details,+    scalingActivity_endTime,+    scalingActivity_notScaledReasons,+    scalingActivity_statusMessage,+    scalingActivity_activityId,+    scalingActivity_serviceNamespace,+    scalingActivity_resourceId,+    scalingActivity_scalableDimension,+    scalingActivity_description,+    scalingActivity_cause,+    scalingActivity_startTime,+    scalingActivity_statusCode,++    -- * ScalingPolicy+    ScalingPolicy (..),+    newScalingPolicy,+    scalingPolicy_alarms,+    scalingPolicy_stepScalingPolicyConfiguration,+    scalingPolicy_targetTrackingScalingPolicyConfiguration,+    scalingPolicy_policyARN,+    scalingPolicy_policyName,+    scalingPolicy_serviceNamespace,+    scalingPolicy_resourceId,+    scalingPolicy_scalableDimension,+    scalingPolicy_policyType,+    scalingPolicy_creationTime,++    -- * ScheduledAction+    ScheduledAction (..),+    newScheduledAction,+    scheduledAction_endTime,+    scheduledAction_scalableDimension,+    scheduledAction_scalableTargetAction,+    scheduledAction_startTime,+    scheduledAction_timezone,+    scheduledAction_scheduledActionName,+    scheduledAction_scheduledActionARN,+    scheduledAction_serviceNamespace,+    scheduledAction_schedule,+    scheduledAction_resourceId,+    scheduledAction_creationTime,++    -- * StepAdjustment+    StepAdjustment (..),+    newStepAdjustment,+    stepAdjustment_metricIntervalLowerBound,+    stepAdjustment_metricIntervalUpperBound,+    stepAdjustment_scalingAdjustment,++    -- * StepScalingPolicyConfiguration+    StepScalingPolicyConfiguration (..),+    newStepScalingPolicyConfiguration,+    stepScalingPolicyConfiguration_adjustmentType,+    stepScalingPolicyConfiguration_cooldown,+    stepScalingPolicyConfiguration_metricAggregationType,+    stepScalingPolicyConfiguration_minAdjustmentMagnitude,+    stepScalingPolicyConfiguration_stepAdjustments,++    -- * SuspendedState+    SuspendedState (..),+    newSuspendedState,+    suspendedState_dynamicScalingInSuspended,+    suspendedState_dynamicScalingOutSuspended,+    suspendedState_scheduledScalingSuspended,++    -- * TargetTrackingScalingPolicyConfiguration+    TargetTrackingScalingPolicyConfiguration (..),+    newTargetTrackingScalingPolicyConfiguration,+    targetTrackingScalingPolicyConfiguration_customizedMetricSpecification,+    targetTrackingScalingPolicyConfiguration_disableScaleIn,+    targetTrackingScalingPolicyConfiguration_predefinedMetricSpecification,+    targetTrackingScalingPolicyConfiguration_scaleInCooldown,+    targetTrackingScalingPolicyConfiguration_scaleOutCooldown,+    targetTrackingScalingPolicyConfiguration_targetValue,+  )+where++import Amazonka.ApplicationAutoScaling.Types.AdjustmentType+import Amazonka.ApplicationAutoScaling.Types.Alarm+import Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification+import Amazonka.ApplicationAutoScaling.Types.MetricAggregationType+import Amazonka.ApplicationAutoScaling.Types.MetricDimension+import Amazonka.ApplicationAutoScaling.Types.MetricStatistic+import Amazonka.ApplicationAutoScaling.Types.MetricType+import Amazonka.ApplicationAutoScaling.Types.NotScaledReason+import Amazonka.ApplicationAutoScaling.Types.PolicyType+import Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification+import Amazonka.ApplicationAutoScaling.Types.ScalableDimension+import Amazonka.ApplicationAutoScaling.Types.ScalableTarget+import Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction+import Amazonka.ApplicationAutoScaling.Types.ScalingActivity+import Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode+import Amazonka.ApplicationAutoScaling.Types.ScalingPolicy+import Amazonka.ApplicationAutoScaling.Types.ScheduledAction+import Amazonka.ApplicationAutoScaling.Types.ServiceNamespace+import Amazonka.ApplicationAutoScaling.Types.StepAdjustment+import Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration+import Amazonka.ApplicationAutoScaling.Types.SuspendedState+import Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2016-02-06@ of the Amazon Application Auto Scaling SDK configuration.+defaultService :: Core.Service+defaultService =+  Core.Service+    { Core.abbrev =+        "ApplicationAutoScaling",+      Core.signer = Sign.v4,+      Core.endpointPrefix = "application-autoscaling",+      Core.signingName = "application-autoscaling",+      Core.version = "2016-02-06",+      Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+      Core.endpoint = Core.defaultEndpoint defaultService,+      Core.timeout = Prelude.Just 70,+      Core.check = Core.statusSuccess,+      Core.error =+        Core.parseJSONError "ApplicationAutoScaling",+      Core.retry = retry+    }+  where+    retry =+      Core.Exponential+        { Core.base = 5.0e-2,+          Core.growth = 2,+          Core.attempts = 5,+          Core.check = check+        }+    check e+      | Lens.has (Core.hasStatus 502) e =+          Prelude.Just "bad_gateway"+      | Lens.has (Core.hasStatus 504) e =+          Prelude.Just "gateway_timeout"+      | Lens.has (Core.hasStatus 500) e =+          Prelude.Just "general_server_error"+      | Lens.has (Core.hasStatus 509) e =+          Prelude.Just "limit_exceeded"+      | Lens.has+          ( Core.hasCode "RequestThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "request_throttled_exception"+      | Lens.has (Core.hasStatus 503) e =+          Prelude.Just "service_unavailable"+      | Lens.has+          ( Core.hasCode "ThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttled_exception"+      | Lens.has+          ( Core.hasCode "Throttling"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling"+      | Lens.has+          ( Core.hasCode "ThrottlingException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling_exception"+      | Lens.has+          ( Core.hasCode+              "ProvisionedThroughputExceededException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throughput_exceeded"+      | Lens.has (Core.hasStatus 429) e =+          Prelude.Just "too_many_requests"+      | Prelude.otherwise = Prelude.Nothing++-- | Concurrent updates caused an exception, for example, if you request an+-- update to an Application Auto Scaling resource that already has a+-- pending update.+_ConcurrentUpdateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConcurrentUpdateException =+  Core._MatchServiceError+    defaultService+    "ConcurrentUpdateException"++-- | 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+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html DescribeAlarms>+-- on your behalf.+_FailedResourceAccessException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_FailedResourceAccessException =+  Core._MatchServiceError+    defaultService+    "FailedResourceAccessException"++-- | The service encountered an internal error.+_InternalServiceException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InternalServiceException =+  Core._MatchServiceError+    defaultService+    "InternalServiceException"++-- | The next token supplied was invalid.+_InvalidNextTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidNextTokenException =+  Core._MatchServiceError+    defaultService+    "InvalidNextTokenException"++-- | A per-account resource limit is exceeded. For more information, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html Application Auto Scaling service quotas>.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+  Core._MatchServiceError+    defaultService+    "LimitExceededException"++-- | 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.+_ObjectNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ObjectNotFoundException =+  Core._MatchServiceError+    defaultService+    "ObjectNotFoundException"++-- | An exception was thrown for a validation issue. Review the available+-- parameters for the API request.+_ValidationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ValidationException =+  Core._MatchServiceError+    defaultService+    "ValidationException"
+ gen/Amazonka/ApplicationAutoScaling/Types/AdjustmentType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.AdjustmentType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.AdjustmentType+  ( AdjustmentType+      ( ..,+        AdjustmentType_ChangeInCapacity,+        AdjustmentType_ExactCapacity,+        AdjustmentType_PercentChangeInCapacity+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AdjustmentType = AdjustmentType'+  { fromAdjustmentType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern AdjustmentType_ChangeInCapacity :: AdjustmentType+pattern AdjustmentType_ChangeInCapacity = AdjustmentType' "ChangeInCapacity"++pattern AdjustmentType_ExactCapacity :: AdjustmentType+pattern AdjustmentType_ExactCapacity = AdjustmentType' "ExactCapacity"++pattern AdjustmentType_PercentChangeInCapacity :: AdjustmentType+pattern AdjustmentType_PercentChangeInCapacity = AdjustmentType' "PercentChangeInCapacity"++{-# COMPLETE+  AdjustmentType_ChangeInCapacity,+  AdjustmentType_ExactCapacity,+  AdjustmentType_PercentChangeInCapacity,+  AdjustmentType'+  #-}
+ gen/Amazonka/ApplicationAutoScaling/Types/Alarm.hs view
@@ -0,0 +1,88 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.Alarm+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.Alarm where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a CloudWatch alarm associated with a scaling policy.+--+-- /See:/ 'newAlarm' smart constructor.+data Alarm = Alarm'+  { -- | The name of the alarm.+    alarmName :: Prelude.Text,+    -- | The Amazon Resource Name (ARN) of the alarm.+    alarmARN :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Alarm' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'alarmName', 'alarm_alarmName' - The name of the alarm.+--+-- 'alarmARN', 'alarm_alarmARN' - The Amazon Resource Name (ARN) of the alarm.+newAlarm ::+  -- | 'alarmName'+  Prelude.Text ->+  -- | 'alarmARN'+  Prelude.Text ->+  Alarm+newAlarm pAlarmName_ pAlarmARN_ =+  Alarm'+    { alarmName = pAlarmName_,+      alarmARN = pAlarmARN_+    }++-- | The name of the alarm.+alarm_alarmName :: Lens.Lens' Alarm Prelude.Text+alarm_alarmName = Lens.lens (\Alarm' {alarmName} -> alarmName) (\s@Alarm' {} a -> s {alarmName = a} :: Alarm)++-- | The Amazon Resource Name (ARN) of the alarm.+alarm_alarmARN :: Lens.Lens' Alarm Prelude.Text+alarm_alarmARN = Lens.lens (\Alarm' {alarmARN} -> alarmARN) (\s@Alarm' {} a -> s {alarmARN = a} :: Alarm)++instance Data.FromJSON Alarm where+  parseJSON =+    Data.withObject+      "Alarm"+      ( \x ->+          Alarm'+            Prelude.<$> (x Data..: "AlarmName")+            Prelude.<*> (x Data..: "AlarmARN")+      )++instance Prelude.Hashable Alarm where+  hashWithSalt _salt Alarm' {..} =+    _salt+      `Prelude.hashWithSalt` alarmName+      `Prelude.hashWithSalt` alarmARN++instance Prelude.NFData Alarm where+  rnf Alarm' {..} =+    Prelude.rnf alarmName+      `Prelude.seq` Prelude.rnf alarmARN
+ gen/Amazonka/ApplicationAutoScaling/Types/CustomizedMetricSpecification.hs view
@@ -0,0 +1,208 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification where++import Amazonka.ApplicationAutoScaling.Types.MetricDimension+import Amazonka.ApplicationAutoScaling.Types.MetricStatistic+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html 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+--     <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html 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 an example of how creating new metrics can be useful, see+-- <https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html Scaling based on Amazon SQS>+-- in the /Amazon EC2 Auto Scaling User Guide/. This topic mentions Auto+-- Scaling groups, but the same scenario for Amazon SQS can apply to the+-- target tracking scaling policies that you create for a Spot Fleet by+-- using the Application Auto Scaling API.+--+-- For more information about the CloudWatch terminology below, see+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html Amazon CloudWatch concepts>+-- in the /Amazon CloudWatch User Guide/.+--+-- /See:/ 'newCustomizedMetricSpecification' smart constructor.+data CustomizedMetricSpecification = CustomizedMetricSpecification'+  { -- | The dimensions of the metric.+    --+    -- Conditional: If you published your metric with dimensions, you must+    -- specify the same dimensions in your scaling policy.+    dimensions :: Prelude.Maybe [MetricDimension],+    -- | The unit of the metric. For a complete list of the units that CloudWatch+    -- supports, see the+    -- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html MetricDatum>+    -- data type in the /Amazon CloudWatch API Reference/.+    unit :: Prelude.Maybe Prelude.Text,+    -- | The name of the metric. To get the exact metric name, namespace, and+    -- dimensions, inspect the+    -- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html Metric>+    -- object that is returned by a call to+    -- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html ListMetrics>.+    metricName :: Prelude.Text,+    -- | The namespace of the metric.+    namespace :: Prelude.Text,+    -- | The statistic of the metric.+    statistic :: MetricStatistic+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CustomizedMetricSpecification' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dimensions', '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.+--+-- 'unit', 'customizedMetricSpecification_unit' - The unit of the metric. For a complete list of the units that CloudWatch+-- supports, see the+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html MetricDatum>+-- data type in the /Amazon CloudWatch API Reference/.+--+-- 'metricName', 'customizedMetricSpecification_metricName' - The name of the metric. To get the exact metric name, namespace, and+-- dimensions, inspect the+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html Metric>+-- object that is returned by a call to+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html ListMetrics>.+--+-- 'namespace', 'customizedMetricSpecification_namespace' - The namespace of the metric.+--+-- 'statistic', 'customizedMetricSpecification_statistic' - The statistic of the metric.+newCustomizedMetricSpecification ::+  -- | 'metricName'+  Prelude.Text ->+  -- | 'namespace'+  Prelude.Text ->+  -- | 'statistic'+  MetricStatistic ->+  CustomizedMetricSpecification+newCustomizedMetricSpecification+  pMetricName_+  pNamespace_+  pStatistic_ =+    CustomizedMetricSpecification'+      { dimensions =+          Prelude.Nothing,+        unit = Prelude.Nothing,+        metricName = pMetricName_,+        namespace = pNamespace_,+        statistic = pStatistic_+      }++-- | The dimensions of the metric.+--+-- Conditional: If you published your metric with dimensions, you must+-- specify the same dimensions in your scaling policy.+customizedMetricSpecification_dimensions :: Lens.Lens' CustomizedMetricSpecification (Prelude.Maybe [MetricDimension])+customizedMetricSpecification_dimensions = Lens.lens (\CustomizedMetricSpecification' {dimensions} -> dimensions) (\s@CustomizedMetricSpecification' {} a -> s {dimensions = a} :: CustomizedMetricSpecification) Prelude.. Lens.mapping Lens.coerced++-- | The unit of the metric. For a complete list of the units that CloudWatch+-- supports, see the+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html MetricDatum>+-- data type in the /Amazon CloudWatch API Reference/.+customizedMetricSpecification_unit :: Lens.Lens' CustomizedMetricSpecification (Prelude.Maybe Prelude.Text)+customizedMetricSpecification_unit = Lens.lens (\CustomizedMetricSpecification' {unit} -> unit) (\s@CustomizedMetricSpecification' {} a -> s {unit = a} :: CustomizedMetricSpecification)++-- | The name of the metric. To get the exact metric name, namespace, and+-- dimensions, inspect the+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html Metric>+-- object that is returned by a call to+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html ListMetrics>.+customizedMetricSpecification_metricName :: Lens.Lens' CustomizedMetricSpecification Prelude.Text+customizedMetricSpecification_metricName = Lens.lens (\CustomizedMetricSpecification' {metricName} -> metricName) (\s@CustomizedMetricSpecification' {} a -> s {metricName = a} :: CustomizedMetricSpecification)++-- | The namespace of the metric.+customizedMetricSpecification_namespace :: Lens.Lens' CustomizedMetricSpecification Prelude.Text+customizedMetricSpecification_namespace = Lens.lens (\CustomizedMetricSpecification' {namespace} -> namespace) (\s@CustomizedMetricSpecification' {} a -> s {namespace = a} :: CustomizedMetricSpecification)++-- | The statistic of the metric.+customizedMetricSpecification_statistic :: Lens.Lens' CustomizedMetricSpecification MetricStatistic+customizedMetricSpecification_statistic = Lens.lens (\CustomizedMetricSpecification' {statistic} -> statistic) (\s@CustomizedMetricSpecification' {} a -> s {statistic = a} :: CustomizedMetricSpecification)++instance Data.FromJSON CustomizedMetricSpecification where+  parseJSON =+    Data.withObject+      "CustomizedMetricSpecification"+      ( \x ->+          CustomizedMetricSpecification'+            Prelude.<$> (x Data..:? "Dimensions" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..:? "Unit")+            Prelude.<*> (x Data..: "MetricName")+            Prelude.<*> (x Data..: "Namespace")+            Prelude.<*> (x Data..: "Statistic")+      )++instance+  Prelude.Hashable+    CustomizedMetricSpecification+  where+  hashWithSalt _salt CustomizedMetricSpecification' {..} =+    _salt+      `Prelude.hashWithSalt` dimensions+      `Prelude.hashWithSalt` unit+      `Prelude.hashWithSalt` metricName+      `Prelude.hashWithSalt` namespace+      `Prelude.hashWithSalt` statistic++instance Prelude.NFData CustomizedMetricSpecification where+  rnf CustomizedMetricSpecification' {..} =+    Prelude.rnf dimensions+      `Prelude.seq` Prelude.rnf unit+      `Prelude.seq` Prelude.rnf metricName+      `Prelude.seq` Prelude.rnf namespace+      `Prelude.seq` Prelude.rnf statistic++instance Data.ToJSON CustomizedMetricSpecification where+  toJSON CustomizedMetricSpecification' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Dimensions" Data..=) Prelude.<$> dimensions,+            ("Unit" Data..=) Prelude.<$> unit,+            Prelude.Just ("MetricName" Data..= metricName),+            Prelude.Just ("Namespace" Data..= namespace),+            Prelude.Just ("Statistic" Data..= statistic)+          ]+      )
+ gen/Amazonka/ApplicationAutoScaling/Types/MetricAggregationType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.MetricAggregationType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.MetricAggregationType+  ( MetricAggregationType+      ( ..,+        MetricAggregationType_Average,+        MetricAggregationType_Maximum,+        MetricAggregationType_Minimum+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MetricAggregationType = MetricAggregationType'+  { fromMetricAggregationType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern MetricAggregationType_Average :: MetricAggregationType+pattern MetricAggregationType_Average = MetricAggregationType' "Average"++pattern MetricAggregationType_Maximum :: MetricAggregationType+pattern MetricAggregationType_Maximum = MetricAggregationType' "Maximum"++pattern MetricAggregationType_Minimum :: MetricAggregationType+pattern MetricAggregationType_Minimum = MetricAggregationType' "Minimum"++{-# COMPLETE+  MetricAggregationType_Average,+  MetricAggregationType_Maximum,+  MetricAggregationType_Minimum,+  MetricAggregationType'+  #-}
+ gen/Amazonka/ApplicationAutoScaling/Types/MetricDimension.hs view
@@ -0,0 +1,93 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.MetricDimension+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.MetricDimension where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes the dimension names and values associated with a metric.+--+-- /See:/ 'newMetricDimension' smart constructor.+data MetricDimension = MetricDimension'+  { -- | The name of the dimension.+    name :: Prelude.Text,+    -- | The value of the dimension.+    value :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MetricDimension' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'metricDimension_name' - The name of the dimension.+--+-- 'value', 'metricDimension_value' - The value of the dimension.+newMetricDimension ::+  -- | 'name'+  Prelude.Text ->+  -- | 'value'+  Prelude.Text ->+  MetricDimension+newMetricDimension pName_ pValue_ =+  MetricDimension' {name = pName_, value = pValue_}++-- | The name of the dimension.+metricDimension_name :: Lens.Lens' MetricDimension Prelude.Text+metricDimension_name = Lens.lens (\MetricDimension' {name} -> name) (\s@MetricDimension' {} a -> s {name = a} :: MetricDimension)++-- | The value of the dimension.+metricDimension_value :: Lens.Lens' MetricDimension Prelude.Text+metricDimension_value = Lens.lens (\MetricDimension' {value} -> value) (\s@MetricDimension' {} a -> s {value = a} :: MetricDimension)++instance Data.FromJSON MetricDimension where+  parseJSON =+    Data.withObject+      "MetricDimension"+      ( \x ->+          MetricDimension'+            Prelude.<$> (x Data..: "Name")+            Prelude.<*> (x Data..: "Value")+      )++instance Prelude.Hashable MetricDimension where+  hashWithSalt _salt MetricDimension' {..} =+    _salt+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` value++instance Prelude.NFData MetricDimension where+  rnf MetricDimension' {..} =+    Prelude.rnf name `Prelude.seq` Prelude.rnf value++instance Data.ToJSON MetricDimension where+  toJSON MetricDimension' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Name" Data..= name),+            Prelude.Just ("Value" Data..= value)+          ]+      )
+ gen/Amazonka/ApplicationAutoScaling/Types/MetricStatistic.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.MetricStatistic+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.MetricStatistic+  ( MetricStatistic+      ( ..,+        MetricStatistic_Average,+        MetricStatistic_Maximum,+        MetricStatistic_Minimum,+        MetricStatistic_SampleCount,+        MetricStatistic_Sum+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MetricStatistic = MetricStatistic'+  { fromMetricStatistic ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern MetricStatistic_Average :: MetricStatistic+pattern MetricStatistic_Average = MetricStatistic' "Average"++pattern MetricStatistic_Maximum :: MetricStatistic+pattern MetricStatistic_Maximum = MetricStatistic' "Maximum"++pattern MetricStatistic_Minimum :: MetricStatistic+pattern MetricStatistic_Minimum = MetricStatistic' "Minimum"++pattern MetricStatistic_SampleCount :: MetricStatistic+pattern MetricStatistic_SampleCount = MetricStatistic' "SampleCount"++pattern MetricStatistic_Sum :: MetricStatistic+pattern MetricStatistic_Sum = MetricStatistic' "Sum"++{-# COMPLETE+  MetricStatistic_Average,+  MetricStatistic_Maximum,+  MetricStatistic_Minimum,+  MetricStatistic_SampleCount,+  MetricStatistic_Sum,+  MetricStatistic'+  #-}
+ gen/Amazonka/ApplicationAutoScaling/Types/MetricType.hs view
@@ -0,0 +1,166 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.MetricType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.MetricType+  ( MetricType+      ( ..,+        MetricType_ALBRequestCountPerTarget,+        MetricType_AppStreamAverageCapacityUtilization,+        MetricType_CassandraReadCapacityUtilization,+        MetricType_CassandraWriteCapacityUtilization,+        MetricType_ComprehendInferenceUtilization,+        MetricType_DynamoDBReadCapacityUtilization,+        MetricType_DynamoDBWriteCapacityUtilization,+        MetricType_EC2SpotFleetRequestAverageCPUUtilization,+        MetricType_EC2SpotFleetRequestAverageNetworkIn,+        MetricType_EC2SpotFleetRequestAverageNetworkOut,+        MetricType_ECSServiceAverageCPUUtilization,+        MetricType_ECSServiceAverageMemoryUtilization,+        MetricType_ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage,+        MetricType_ElastiCachePrimaryEngineCPUUtilization,+        MetricType_ElastiCacheReplicaEngineCPUUtilization,+        MetricType_KafkaBrokerStorageUtilization,+        MetricType_LambdaProvisionedConcurrencyUtilization,+        MetricType_NeptuneReaderAverageCPUUtilization,+        MetricType_RDSReaderAverageCPUUtilization,+        MetricType_RDSReaderAverageDatabaseConnections,+        MetricType_SageMakerVariantInvocationsPerInstance+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MetricType = MetricType'+  { fromMetricType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern MetricType_ALBRequestCountPerTarget :: MetricType+pattern MetricType_ALBRequestCountPerTarget = MetricType' "ALBRequestCountPerTarget"++pattern MetricType_AppStreamAverageCapacityUtilization :: MetricType+pattern MetricType_AppStreamAverageCapacityUtilization = MetricType' "AppStreamAverageCapacityUtilization"++pattern MetricType_CassandraReadCapacityUtilization :: MetricType+pattern MetricType_CassandraReadCapacityUtilization = MetricType' "CassandraReadCapacityUtilization"++pattern MetricType_CassandraWriteCapacityUtilization :: MetricType+pattern MetricType_CassandraWriteCapacityUtilization = MetricType' "CassandraWriteCapacityUtilization"++pattern MetricType_ComprehendInferenceUtilization :: MetricType+pattern MetricType_ComprehendInferenceUtilization = MetricType' "ComprehendInferenceUtilization"++pattern MetricType_DynamoDBReadCapacityUtilization :: MetricType+pattern MetricType_DynamoDBReadCapacityUtilization = MetricType' "DynamoDBReadCapacityUtilization"++pattern MetricType_DynamoDBWriteCapacityUtilization :: MetricType+pattern MetricType_DynamoDBWriteCapacityUtilization = MetricType' "DynamoDBWriteCapacityUtilization"++pattern MetricType_EC2SpotFleetRequestAverageCPUUtilization :: MetricType+pattern MetricType_EC2SpotFleetRequestAverageCPUUtilization = MetricType' "EC2SpotFleetRequestAverageCPUUtilization"++pattern MetricType_EC2SpotFleetRequestAverageNetworkIn :: MetricType+pattern MetricType_EC2SpotFleetRequestAverageNetworkIn = MetricType' "EC2SpotFleetRequestAverageNetworkIn"++pattern MetricType_EC2SpotFleetRequestAverageNetworkOut :: MetricType+pattern MetricType_EC2SpotFleetRequestAverageNetworkOut = MetricType' "EC2SpotFleetRequestAverageNetworkOut"++pattern MetricType_ECSServiceAverageCPUUtilization :: MetricType+pattern MetricType_ECSServiceAverageCPUUtilization = MetricType' "ECSServiceAverageCPUUtilization"++pattern MetricType_ECSServiceAverageMemoryUtilization :: MetricType+pattern MetricType_ECSServiceAverageMemoryUtilization = MetricType' "ECSServiceAverageMemoryUtilization"++pattern MetricType_ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage :: MetricType+pattern MetricType_ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage = MetricType' "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage"++pattern MetricType_ElastiCachePrimaryEngineCPUUtilization :: MetricType+pattern MetricType_ElastiCachePrimaryEngineCPUUtilization = MetricType' "ElastiCachePrimaryEngineCPUUtilization"++pattern MetricType_ElastiCacheReplicaEngineCPUUtilization :: MetricType+pattern MetricType_ElastiCacheReplicaEngineCPUUtilization = MetricType' "ElastiCacheReplicaEngineCPUUtilization"++pattern MetricType_KafkaBrokerStorageUtilization :: MetricType+pattern MetricType_KafkaBrokerStorageUtilization = MetricType' "KafkaBrokerStorageUtilization"++pattern MetricType_LambdaProvisionedConcurrencyUtilization :: MetricType+pattern MetricType_LambdaProvisionedConcurrencyUtilization = MetricType' "LambdaProvisionedConcurrencyUtilization"++pattern MetricType_NeptuneReaderAverageCPUUtilization :: MetricType+pattern MetricType_NeptuneReaderAverageCPUUtilization = MetricType' "NeptuneReaderAverageCPUUtilization"++pattern MetricType_RDSReaderAverageCPUUtilization :: MetricType+pattern MetricType_RDSReaderAverageCPUUtilization = MetricType' "RDSReaderAverageCPUUtilization"++pattern MetricType_RDSReaderAverageDatabaseConnections :: MetricType+pattern MetricType_RDSReaderAverageDatabaseConnections = MetricType' "RDSReaderAverageDatabaseConnections"++pattern MetricType_SageMakerVariantInvocationsPerInstance :: MetricType+pattern MetricType_SageMakerVariantInvocationsPerInstance = MetricType' "SageMakerVariantInvocationsPerInstance"++{-# COMPLETE+  MetricType_ALBRequestCountPerTarget,+  MetricType_AppStreamAverageCapacityUtilization,+  MetricType_CassandraReadCapacityUtilization,+  MetricType_CassandraWriteCapacityUtilization,+  MetricType_ComprehendInferenceUtilization,+  MetricType_DynamoDBReadCapacityUtilization,+  MetricType_DynamoDBWriteCapacityUtilization,+  MetricType_EC2SpotFleetRequestAverageCPUUtilization,+  MetricType_EC2SpotFleetRequestAverageNetworkIn,+  MetricType_EC2SpotFleetRequestAverageNetworkOut,+  MetricType_ECSServiceAverageCPUUtilization,+  MetricType_ECSServiceAverageMemoryUtilization,+  MetricType_ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage,+  MetricType_ElastiCachePrimaryEngineCPUUtilization,+  MetricType_ElastiCacheReplicaEngineCPUUtilization,+  MetricType_KafkaBrokerStorageUtilization,+  MetricType_LambdaProvisionedConcurrencyUtilization,+  MetricType_NeptuneReaderAverageCPUUtilization,+  MetricType_RDSReaderAverageCPUUtilization,+  MetricType_RDSReaderAverageDatabaseConnections,+  MetricType_SageMakerVariantInvocationsPerInstance,+  MetricType'+  #-}
+ gen/Amazonka/ApplicationAutoScaling/Types/NotScaledReason.hs view
@@ -0,0 +1,149 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.NotScaledReason+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.NotScaledReason where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes the reason for an activity that isn\'t scaled (/not scaled+-- activity/), in machine-readable format. For help interpreting the not+-- scaled reason details, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html Scaling activities for Application Auto Scaling>.+--+-- /See:/ 'newNotScaledReason' smart constructor.+data NotScaledReason = NotScaledReason'+  { -- | The current capacity.+    currentCapacity :: Prelude.Maybe Prelude.Int,+    -- | The maximum capacity.+    maxCapacity :: Prelude.Maybe Prelude.Int,+    -- | The minimum capacity.+    minCapacity :: Prelude.Maybe Prelude.Int,+    -- | A code that represents the reason for not scaling.+    --+    -- Valid values:+    --+    -- -   AutoScalingAnticipatedFlapping+    --+    -- -   TargetServicePutResourceAsUnscalable+    --+    -- -   AlreadyAtMaxCapacity+    --+    -- -   AlreadyAtMinCapacity+    --+    -- -   AlreadyAtDesiredCapacity+    code :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NotScaledReason' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'currentCapacity', 'notScaledReason_currentCapacity' - The current capacity.+--+-- 'maxCapacity', 'notScaledReason_maxCapacity' - The maximum capacity.+--+-- 'minCapacity', 'notScaledReason_minCapacity' - The minimum capacity.+--+-- 'code', 'notScaledReason_code' - A code that represents the reason for not scaling.+--+-- Valid values:+--+-- -   AutoScalingAnticipatedFlapping+--+-- -   TargetServicePutResourceAsUnscalable+--+-- -   AlreadyAtMaxCapacity+--+-- -   AlreadyAtMinCapacity+--+-- -   AlreadyAtDesiredCapacity+newNotScaledReason ::+  -- | 'code'+  Prelude.Text ->+  NotScaledReason+newNotScaledReason pCode_ =+  NotScaledReason'+    { currentCapacity = Prelude.Nothing,+      maxCapacity = Prelude.Nothing,+      minCapacity = Prelude.Nothing,+      code = pCode_+    }++-- | The current capacity.+notScaledReason_currentCapacity :: Lens.Lens' NotScaledReason (Prelude.Maybe Prelude.Int)+notScaledReason_currentCapacity = Lens.lens (\NotScaledReason' {currentCapacity} -> currentCapacity) (\s@NotScaledReason' {} a -> s {currentCapacity = a} :: NotScaledReason)++-- | The maximum capacity.+notScaledReason_maxCapacity :: Lens.Lens' NotScaledReason (Prelude.Maybe Prelude.Int)+notScaledReason_maxCapacity = Lens.lens (\NotScaledReason' {maxCapacity} -> maxCapacity) (\s@NotScaledReason' {} a -> s {maxCapacity = a} :: NotScaledReason)++-- | The minimum capacity.+notScaledReason_minCapacity :: Lens.Lens' NotScaledReason (Prelude.Maybe Prelude.Int)+notScaledReason_minCapacity = Lens.lens (\NotScaledReason' {minCapacity} -> minCapacity) (\s@NotScaledReason' {} a -> s {minCapacity = a} :: NotScaledReason)++-- | A code that represents the reason for not scaling.+--+-- Valid values:+--+-- -   AutoScalingAnticipatedFlapping+--+-- -   TargetServicePutResourceAsUnscalable+--+-- -   AlreadyAtMaxCapacity+--+-- -   AlreadyAtMinCapacity+--+-- -   AlreadyAtDesiredCapacity+notScaledReason_code :: Lens.Lens' NotScaledReason Prelude.Text+notScaledReason_code = Lens.lens (\NotScaledReason' {code} -> code) (\s@NotScaledReason' {} a -> s {code = a} :: NotScaledReason)++instance Data.FromJSON NotScaledReason where+  parseJSON =+    Data.withObject+      "NotScaledReason"+      ( \x ->+          NotScaledReason'+            Prelude.<$> (x Data..:? "CurrentCapacity")+            Prelude.<*> (x Data..:? "MaxCapacity")+            Prelude.<*> (x Data..:? "MinCapacity")+            Prelude.<*> (x Data..: "Code")+      )++instance Prelude.Hashable NotScaledReason where+  hashWithSalt _salt NotScaledReason' {..} =+    _salt+      `Prelude.hashWithSalt` currentCapacity+      `Prelude.hashWithSalt` maxCapacity+      `Prelude.hashWithSalt` minCapacity+      `Prelude.hashWithSalt` code++instance Prelude.NFData NotScaledReason where+  rnf NotScaledReason' {..} =+    Prelude.rnf currentCapacity+      `Prelude.seq` Prelude.rnf maxCapacity+      `Prelude.seq` Prelude.rnf minCapacity+      `Prelude.seq` Prelude.rnf code
+ gen/Amazonka/ApplicationAutoScaling/Types/PolicyType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.PolicyType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.PolicyType+  ( PolicyType+      ( ..,+        PolicyType_StepScaling,+        PolicyType_TargetTrackingScaling+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PolicyType = PolicyType'+  { fromPolicyType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern PolicyType_StepScaling :: PolicyType+pattern PolicyType_StepScaling = PolicyType' "StepScaling"++pattern PolicyType_TargetTrackingScaling :: PolicyType+pattern PolicyType_TargetTrackingScaling = PolicyType' "TargetTrackingScaling"++{-# COMPLETE+  PolicyType_StepScaling,+  PolicyType_TargetTrackingScaling,+  PolicyType'+  #-}
+ gen/Amazonka/ApplicationAutoScaling/Types/PredefinedMetricSpecification.hs view
@@ -0,0 +1,188 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification where++import Amazonka.ApplicationAutoScaling.Types.MetricType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/monitoring-cloudwatch.html Building dashboards with CloudWatch>+-- in the /Application Auto Scaling User Guide/.+--+-- /See:/ 'newPredefinedMetricSpecification' smart constructor.+data PredefinedMetricSpecification = PredefinedMetricSpecification'+  { -- | 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 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+    -- <https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html DescribeLoadBalancers>+    -- API operation. To find the ARN for the target group, use the+    -- <https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html DescribeTargetGroups>+    -- API operation.+    resourceLabel :: Prelude.Maybe Prelude.Text,+    -- | The metric type. The @ALBRequestCountPerTarget@ metric type applies only+    -- to Spot Fleets and ECS services.+    predefinedMetricType :: MetricType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PredefinedMetricSpecification' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceLabel', '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 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+-- <https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html DescribeLoadBalancers>+-- API operation. To find the ARN for the target group, use the+-- <https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html DescribeTargetGroups>+-- API operation.+--+-- 'predefinedMetricType', 'predefinedMetricSpecification_predefinedMetricType' - The metric type. The @ALBRequestCountPerTarget@ metric type applies only+-- to Spot Fleets and ECS services.+newPredefinedMetricSpecification ::+  -- | 'predefinedMetricType'+  MetricType ->+  PredefinedMetricSpecification+newPredefinedMetricSpecification+  pPredefinedMetricType_ =+    PredefinedMetricSpecification'+      { resourceLabel =+          Prelude.Nothing,+        predefinedMetricType =+          pPredefinedMetricType_+      }++-- | 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 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+-- <https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html DescribeLoadBalancers>+-- API operation. To find the ARN for the target group, use the+-- <https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html DescribeTargetGroups>+-- API operation.+predefinedMetricSpecification_resourceLabel :: Lens.Lens' PredefinedMetricSpecification (Prelude.Maybe Prelude.Text)+predefinedMetricSpecification_resourceLabel = Lens.lens (\PredefinedMetricSpecification' {resourceLabel} -> resourceLabel) (\s@PredefinedMetricSpecification' {} a -> s {resourceLabel = a} :: PredefinedMetricSpecification)++-- | The metric type. The @ALBRequestCountPerTarget@ metric type applies only+-- to Spot Fleets and ECS services.+predefinedMetricSpecification_predefinedMetricType :: Lens.Lens' PredefinedMetricSpecification MetricType+predefinedMetricSpecification_predefinedMetricType = Lens.lens (\PredefinedMetricSpecification' {predefinedMetricType} -> predefinedMetricType) (\s@PredefinedMetricSpecification' {} a -> s {predefinedMetricType = a} :: PredefinedMetricSpecification)++instance Data.FromJSON PredefinedMetricSpecification where+  parseJSON =+    Data.withObject+      "PredefinedMetricSpecification"+      ( \x ->+          PredefinedMetricSpecification'+            Prelude.<$> (x Data..:? "ResourceLabel")+            Prelude.<*> (x Data..: "PredefinedMetricType")+      )++instance+  Prelude.Hashable+    PredefinedMetricSpecification+  where+  hashWithSalt _salt PredefinedMetricSpecification' {..} =+    _salt+      `Prelude.hashWithSalt` resourceLabel+      `Prelude.hashWithSalt` predefinedMetricType++instance Prelude.NFData PredefinedMetricSpecification where+  rnf PredefinedMetricSpecification' {..} =+    Prelude.rnf resourceLabel+      `Prelude.seq` Prelude.rnf predefinedMetricType++instance Data.ToJSON PredefinedMetricSpecification where+  toJSON PredefinedMetricSpecification' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("ResourceLabel" Data..=) Prelude.<$> resourceLabel,+            Prelude.Just+              ( "PredefinedMetricType"+                  Data..= predefinedMetricType+              )+          ]+      )
+ gen/Amazonka/ApplicationAutoScaling/Types/ScalableDimension.hs view
@@ -0,0 +1,161 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.ScalableDimension+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.ScalableDimension+  ( ScalableDimension+      ( ..,+        ScalableDimension_Appstream_fleet_DesiredCapacity,+        ScalableDimension_Cassandra_table_ReadCapacityUnits,+        ScalableDimension_Cassandra_table_WriteCapacityUnits,+        ScalableDimension_Comprehend_document_classifier_endpoint_DesiredInferenceUnits,+        ScalableDimension_Comprehend_entity_recognizer_endpoint_DesiredInferenceUnits,+        ScalableDimension_Custom_resource_ResourceType_Property,+        ScalableDimension_Dynamodb_index_ReadCapacityUnits,+        ScalableDimension_Dynamodb_index_WriteCapacityUnits,+        ScalableDimension_Dynamodb_table_ReadCapacityUnits,+        ScalableDimension_Dynamodb_table_WriteCapacityUnits,+        ScalableDimension_Ec2_spot_fleet_request_TargetCapacity,+        ScalableDimension_Ecs_service_DesiredCount,+        ScalableDimension_Elasticache_replication_group_NodeGroups,+        ScalableDimension_Elasticache_replication_group_Replicas,+        ScalableDimension_Elasticmapreduce_instancegroup_InstanceCount,+        ScalableDimension_Kafka_broker_storage_VolumeSize,+        ScalableDimension_Lambda_function_ProvisionedConcurrency,+        ScalableDimension_Neptune_cluster_ReadReplicaCount,+        ScalableDimension_Rds_cluster_ReadReplicaCount,+        ScalableDimension_Sagemaker_variant_DesiredInstanceCount+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ScalableDimension = ScalableDimension'+  { fromScalableDimension ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ScalableDimension_Appstream_fleet_DesiredCapacity :: ScalableDimension+pattern ScalableDimension_Appstream_fleet_DesiredCapacity = ScalableDimension' "appstream:fleet:DesiredCapacity"++pattern ScalableDimension_Cassandra_table_ReadCapacityUnits :: ScalableDimension+pattern ScalableDimension_Cassandra_table_ReadCapacityUnits = ScalableDimension' "cassandra:table:ReadCapacityUnits"++pattern ScalableDimension_Cassandra_table_WriteCapacityUnits :: ScalableDimension+pattern ScalableDimension_Cassandra_table_WriteCapacityUnits = ScalableDimension' "cassandra:table:WriteCapacityUnits"++pattern ScalableDimension_Comprehend_document_classifier_endpoint_DesiredInferenceUnits :: ScalableDimension+pattern ScalableDimension_Comprehend_document_classifier_endpoint_DesiredInferenceUnits = ScalableDimension' "comprehend:document-classifier-endpoint:DesiredInferenceUnits"++pattern ScalableDimension_Comprehend_entity_recognizer_endpoint_DesiredInferenceUnits :: ScalableDimension+pattern ScalableDimension_Comprehend_entity_recognizer_endpoint_DesiredInferenceUnits = ScalableDimension' "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits"++pattern ScalableDimension_Custom_resource_ResourceType_Property :: ScalableDimension+pattern ScalableDimension_Custom_resource_ResourceType_Property = ScalableDimension' "custom-resource:ResourceType:Property"++pattern ScalableDimension_Dynamodb_index_ReadCapacityUnits :: ScalableDimension+pattern ScalableDimension_Dynamodb_index_ReadCapacityUnits = ScalableDimension' "dynamodb:index:ReadCapacityUnits"++pattern ScalableDimension_Dynamodb_index_WriteCapacityUnits :: ScalableDimension+pattern ScalableDimension_Dynamodb_index_WriteCapacityUnits = ScalableDimension' "dynamodb:index:WriteCapacityUnits"++pattern ScalableDimension_Dynamodb_table_ReadCapacityUnits :: ScalableDimension+pattern ScalableDimension_Dynamodb_table_ReadCapacityUnits = ScalableDimension' "dynamodb:table:ReadCapacityUnits"++pattern ScalableDimension_Dynamodb_table_WriteCapacityUnits :: ScalableDimension+pattern ScalableDimension_Dynamodb_table_WriteCapacityUnits = ScalableDimension' "dynamodb:table:WriteCapacityUnits"++pattern ScalableDimension_Ec2_spot_fleet_request_TargetCapacity :: ScalableDimension+pattern ScalableDimension_Ec2_spot_fleet_request_TargetCapacity = ScalableDimension' "ec2:spot-fleet-request:TargetCapacity"++pattern ScalableDimension_Ecs_service_DesiredCount :: ScalableDimension+pattern ScalableDimension_Ecs_service_DesiredCount = ScalableDimension' "ecs:service:DesiredCount"++pattern ScalableDimension_Elasticache_replication_group_NodeGroups :: ScalableDimension+pattern ScalableDimension_Elasticache_replication_group_NodeGroups = ScalableDimension' "elasticache:replication-group:NodeGroups"++pattern ScalableDimension_Elasticache_replication_group_Replicas :: ScalableDimension+pattern ScalableDimension_Elasticache_replication_group_Replicas = ScalableDimension' "elasticache:replication-group:Replicas"++pattern ScalableDimension_Elasticmapreduce_instancegroup_InstanceCount :: ScalableDimension+pattern ScalableDimension_Elasticmapreduce_instancegroup_InstanceCount = ScalableDimension' "elasticmapreduce:instancegroup:InstanceCount"++pattern ScalableDimension_Kafka_broker_storage_VolumeSize :: ScalableDimension+pattern ScalableDimension_Kafka_broker_storage_VolumeSize = ScalableDimension' "kafka:broker-storage:VolumeSize"++pattern ScalableDimension_Lambda_function_ProvisionedConcurrency :: ScalableDimension+pattern ScalableDimension_Lambda_function_ProvisionedConcurrency = ScalableDimension' "lambda:function:ProvisionedConcurrency"++pattern ScalableDimension_Neptune_cluster_ReadReplicaCount :: ScalableDimension+pattern ScalableDimension_Neptune_cluster_ReadReplicaCount = ScalableDimension' "neptune:cluster:ReadReplicaCount"++pattern ScalableDimension_Rds_cluster_ReadReplicaCount :: ScalableDimension+pattern ScalableDimension_Rds_cluster_ReadReplicaCount = ScalableDimension' "rds:cluster:ReadReplicaCount"++pattern ScalableDimension_Sagemaker_variant_DesiredInstanceCount :: ScalableDimension+pattern ScalableDimension_Sagemaker_variant_DesiredInstanceCount = ScalableDimension' "sagemaker:variant:DesiredInstanceCount"++{-# COMPLETE+  ScalableDimension_Appstream_fleet_DesiredCapacity,+  ScalableDimension_Cassandra_table_ReadCapacityUnits,+  ScalableDimension_Cassandra_table_WriteCapacityUnits,+  ScalableDimension_Comprehend_document_classifier_endpoint_DesiredInferenceUnits,+  ScalableDimension_Comprehend_entity_recognizer_endpoint_DesiredInferenceUnits,+  ScalableDimension_Custom_resource_ResourceType_Property,+  ScalableDimension_Dynamodb_index_ReadCapacityUnits,+  ScalableDimension_Dynamodb_index_WriteCapacityUnits,+  ScalableDimension_Dynamodb_table_ReadCapacityUnits,+  ScalableDimension_Dynamodb_table_WriteCapacityUnits,+  ScalableDimension_Ec2_spot_fleet_request_TargetCapacity,+  ScalableDimension_Ecs_service_DesiredCount,+  ScalableDimension_Elasticache_replication_group_NodeGroups,+  ScalableDimension_Elasticache_replication_group_Replicas,+  ScalableDimension_Elasticmapreduce_instancegroup_InstanceCount,+  ScalableDimension_Kafka_broker_storage_VolumeSize,+  ScalableDimension_Lambda_function_ProvisionedConcurrency,+  ScalableDimension_Neptune_cluster_ReadReplicaCount,+  ScalableDimension_Rds_cluster_ReadReplicaCount,+  ScalableDimension_Sagemaker_variant_DesiredInstanceCount,+  ScalableDimension'+  #-}
+ gen/Amazonka/ApplicationAutoScaling/Types/ScalableTarget.hs view
@@ -0,0 +1,575 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.ScalableTarget+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.ScalableTarget where++import Amazonka.ApplicationAutoScaling.Types.ScalableDimension+import Amazonka.ApplicationAutoScaling.Types.ServiceNamespace+import Amazonka.ApplicationAutoScaling.Types.SuspendedState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a scalable target.+--+-- /See:/ 'newScalableTarget' smart constructor.+data ScalableTarget = ScalableTarget'+  { suspendedState :: Prelude.Maybe SuspendedState,+    -- | The namespace of the Amazon Web Services service that provides the+    -- resource, or a @custom-resource@.+    serviceNamespace :: ServiceNamespace,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: ScalableDimension,+    -- | The minimum value to scale to in response to a scale-in activity.+    minCapacity :: Prelude.Int,+    -- | The maximum value to scale to in response to a scale-out activity.+    maxCapacity :: Prelude.Int,+    -- | The ARN of an IAM role that allows Application Auto Scaling to modify+    -- the scalable target on your behalf.+    roleARN :: Prelude.Text,+    -- | The Unix timestamp for when the scalable target was created.+    creationTime :: Data.POSIX+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ScalableTarget' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'suspendedState', 'scalableTarget_suspendedState' - Undocumented member.+--+-- 'serviceNamespace', 'scalableTarget_serviceNamespace' - The namespace of the Amazon Web Services service that provides the+-- resource, or a @custom-resource@.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+--+-- 'minCapacity', 'scalableTarget_minCapacity' - The minimum value to scale to in response to a scale-in activity.+--+-- 'maxCapacity', 'scalableTarget_maxCapacity' - The maximum value to scale to in response to a scale-out activity.+--+-- 'roleARN', 'scalableTarget_roleARN' - The ARN of an IAM role that allows Application Auto Scaling to modify+-- the scalable target on your behalf.+--+-- 'creationTime', 'scalableTarget_creationTime' - The Unix timestamp for when the scalable target was created.+newScalableTarget ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  -- | 'minCapacity'+  Prelude.Int ->+  -- | 'maxCapacity'+  Prelude.Int ->+  -- | 'roleARN'+  Prelude.Text ->+  -- | 'creationTime'+  Prelude.UTCTime ->+  ScalableTarget+newScalableTarget+  pServiceNamespace_+  pResourceId_+  pScalableDimension_+  pMinCapacity_+  pMaxCapacity_+  pRoleARN_+  pCreationTime_ =+    ScalableTarget'+      { suspendedState = Prelude.Nothing,+        serviceNamespace = pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_,+        minCapacity = pMinCapacity_,+        maxCapacity = pMaxCapacity_,+        roleARN = pRoleARN_,+        creationTime = Data._Time Lens.# pCreationTime_+      }++-- | Undocumented member.+scalableTarget_suspendedState :: Lens.Lens' ScalableTarget (Prelude.Maybe SuspendedState)+scalableTarget_suspendedState = Lens.lens (\ScalableTarget' {suspendedState} -> suspendedState) (\s@ScalableTarget' {} a -> s {suspendedState = a} :: ScalableTarget)++-- | The namespace of the Amazon Web Services service that provides the+-- resource, or a @custom-resource@.+scalableTarget_serviceNamespace :: Lens.Lens' ScalableTarget ServiceNamespace+scalableTarget_serviceNamespace = Lens.lens (\ScalableTarget' {serviceNamespace} -> serviceNamespace) (\s@ScalableTarget' {} a -> s {serviceNamespace = a} :: ScalableTarget)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+scalableTarget_resourceId :: Lens.Lens' ScalableTarget Prelude.Text+scalableTarget_resourceId = Lens.lens (\ScalableTarget' {resourceId} -> resourceId) (\s@ScalableTarget' {} a -> s {resourceId = a} :: ScalableTarget)++-- | 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 a 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.+scalableTarget_scalableDimension :: Lens.Lens' ScalableTarget ScalableDimension+scalableTarget_scalableDimension = Lens.lens (\ScalableTarget' {scalableDimension} -> scalableDimension) (\s@ScalableTarget' {} a -> s {scalableDimension = a} :: ScalableTarget)++-- | The minimum value to scale to in response to a scale-in activity.+scalableTarget_minCapacity :: Lens.Lens' ScalableTarget Prelude.Int+scalableTarget_minCapacity = Lens.lens (\ScalableTarget' {minCapacity} -> minCapacity) (\s@ScalableTarget' {} a -> s {minCapacity = a} :: ScalableTarget)++-- | The maximum value to scale to in response to a scale-out activity.+scalableTarget_maxCapacity :: Lens.Lens' ScalableTarget Prelude.Int+scalableTarget_maxCapacity = Lens.lens (\ScalableTarget' {maxCapacity} -> maxCapacity) (\s@ScalableTarget' {} a -> s {maxCapacity = a} :: ScalableTarget)++-- | The ARN of an IAM role that allows Application Auto Scaling to modify+-- the scalable target on your behalf.+scalableTarget_roleARN :: Lens.Lens' ScalableTarget Prelude.Text+scalableTarget_roleARN = Lens.lens (\ScalableTarget' {roleARN} -> roleARN) (\s@ScalableTarget' {} a -> s {roleARN = a} :: ScalableTarget)++-- | The Unix timestamp for when the scalable target was created.+scalableTarget_creationTime :: Lens.Lens' ScalableTarget Prelude.UTCTime+scalableTarget_creationTime = Lens.lens (\ScalableTarget' {creationTime} -> creationTime) (\s@ScalableTarget' {} a -> s {creationTime = a} :: ScalableTarget) Prelude.. Data._Time++instance Data.FromJSON ScalableTarget where+  parseJSON =+    Data.withObject+      "ScalableTarget"+      ( \x ->+          ScalableTarget'+            Prelude.<$> (x Data..:? "SuspendedState")+            Prelude.<*> (x Data..: "ServiceNamespace")+            Prelude.<*> (x Data..: "ResourceId")+            Prelude.<*> (x Data..: "ScalableDimension")+            Prelude.<*> (x Data..: "MinCapacity")+            Prelude.<*> (x Data..: "MaxCapacity")+            Prelude.<*> (x Data..: "RoleARN")+            Prelude.<*> (x Data..: "CreationTime")+      )++instance Prelude.Hashable ScalableTarget where+  hashWithSalt _salt ScalableTarget' {..} =+    _salt+      `Prelude.hashWithSalt` suspendedState+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` minCapacity+      `Prelude.hashWithSalt` maxCapacity+      `Prelude.hashWithSalt` roleARN+      `Prelude.hashWithSalt` creationTime++instance Prelude.NFData ScalableTarget where+  rnf ScalableTarget' {..} =+    Prelude.rnf suspendedState+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf minCapacity+      `Prelude.seq` Prelude.rnf maxCapacity+      `Prelude.seq` Prelude.rnf roleARN+      `Prelude.seq` Prelude.rnf creationTime
+ gen/Amazonka/ApplicationAutoScaling/Types/ScalableTargetAction.hs view
@@ -0,0 +1,133 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents the minimum and maximum capacity for a scheduled action.+--+-- /See:/ 'newScalableTargetAction' smart constructor.+data ScalableTargetAction = ScalableTargetAction'+  { -- | 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+    -- <https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html Service endpoints and quotas>+    -- in the /Amazon Web Services General Reference/.+    maxCapacity :: Prelude.Maybe Prelude.Int,+    -- | The minimum capacity.+    --+    -- When the scheduled action runs, the resource will have at least this+    -- much capacity, but it might have more depending on other settings, such+    -- as the target utilization level of a target tracking scaling policy.+    minCapacity :: Prelude.Maybe Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ScalableTargetAction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxCapacity', '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+-- <https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html Service endpoints and quotas>+-- in the /Amazon Web Services General Reference/.+--+-- 'minCapacity', 'scalableTargetAction_minCapacity' - The minimum capacity.+--+-- When the scheduled action runs, the resource will have at least this+-- much capacity, but it might have more depending on other settings, such+-- as the target utilization level of a target tracking scaling policy.+newScalableTargetAction ::+  ScalableTargetAction+newScalableTargetAction =+  ScalableTargetAction'+    { maxCapacity =+        Prelude.Nothing,+      minCapacity = Prelude.Nothing+    }++-- | 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+-- <https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html Service endpoints and quotas>+-- in the /Amazon Web Services General Reference/.+scalableTargetAction_maxCapacity :: Lens.Lens' ScalableTargetAction (Prelude.Maybe Prelude.Int)+scalableTargetAction_maxCapacity = Lens.lens (\ScalableTargetAction' {maxCapacity} -> maxCapacity) (\s@ScalableTargetAction' {} a -> s {maxCapacity = a} :: ScalableTargetAction)++-- | The minimum capacity.+--+-- When the scheduled action runs, the resource will have at least this+-- much capacity, but it might have more depending on other settings, such+-- as the target utilization level of a target tracking scaling policy.+scalableTargetAction_minCapacity :: Lens.Lens' ScalableTargetAction (Prelude.Maybe Prelude.Int)+scalableTargetAction_minCapacity = Lens.lens (\ScalableTargetAction' {minCapacity} -> minCapacity) (\s@ScalableTargetAction' {} a -> s {minCapacity = a} :: ScalableTargetAction)++instance Data.FromJSON ScalableTargetAction where+  parseJSON =+    Data.withObject+      "ScalableTargetAction"+      ( \x ->+          ScalableTargetAction'+            Prelude.<$> (x Data..:? "MaxCapacity")+            Prelude.<*> (x Data..:? "MinCapacity")+      )++instance Prelude.Hashable ScalableTargetAction where+  hashWithSalt _salt ScalableTargetAction' {..} =+    _salt+      `Prelude.hashWithSalt` maxCapacity+      `Prelude.hashWithSalt` minCapacity++instance Prelude.NFData ScalableTargetAction where+  rnf ScalableTargetAction' {..} =+    Prelude.rnf maxCapacity+      `Prelude.seq` Prelude.rnf minCapacity++instance Data.ToJSON ScalableTargetAction where+  toJSON ScalableTargetAction' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxCapacity" Data..=) Prelude.<$> maxCapacity,+            ("MinCapacity" Data..=) Prelude.<$> minCapacity+          ]+      )
+ gen/Amazonka/ApplicationAutoScaling/Types/ScalingActivity.hs view
@@ -0,0 +1,640 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.ScalingActivity+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.ScalingActivity where++import Amazonka.ApplicationAutoScaling.Types.NotScaledReason+import Amazonka.ApplicationAutoScaling.Types.ScalableDimension+import Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode+import Amazonka.ApplicationAutoScaling.Types.ServiceNamespace+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a scaling activity.+--+-- /See:/ 'newScalingActivity' smart constructor.+data ScalingActivity = ScalingActivity'+  { -- | The details about the scaling activity.+    details :: Prelude.Maybe Prelude.Text,+    -- | The Unix timestamp for when the scaling activity ended.+    endTime :: Prelude.Maybe Data.POSIX,+    -- | Machine-readable data that describes the reason for a not scaled+    -- activity. Only available when+    -- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalingActivities.html DescribeScalingActivities>+    -- includes not scaled activities.+    notScaledReasons :: Prelude.Maybe [NotScaledReason],+    -- | A simple message about the current status of the scaling activity.+    statusMessage :: Prelude.Maybe Prelude.Text,+    -- | The unique identifier of the scaling activity.+    activityId :: Prelude.Text,+    -- | The namespace of the Amazon Web Services service that provides the+    -- resource, or a @custom-resource@.+    serviceNamespace :: ServiceNamespace,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: ScalableDimension,+    -- | A simple description of what action the scaling activity intends to+    -- accomplish.+    description :: Prelude.Text,+    -- | A simple description of what caused the scaling activity to happen.+    cause :: Prelude.Text,+    -- | The Unix timestamp for when the scaling activity began.+    startTime :: Data.POSIX,+    -- | Indicates the status of the scaling activity.+    statusCode :: ScalingActivityStatusCode+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ScalingActivity' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'details', 'scalingActivity_details' - The details about the scaling activity.+--+-- 'endTime', 'scalingActivity_endTime' - The Unix timestamp for when the scaling activity ended.+--+-- 'notScaledReasons', 'scalingActivity_notScaledReasons' - Machine-readable data that describes the reason for a not scaled+-- activity. Only available when+-- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalingActivities.html DescribeScalingActivities>+-- includes not scaled activities.+--+-- 'statusMessage', 'scalingActivity_statusMessage' - A simple message about the current status of the scaling activity.+--+-- 'activityId', 'scalingActivity_activityId' - The unique identifier of the scaling activity.+--+-- 'serviceNamespace', 'scalingActivity_serviceNamespace' - The namespace of the Amazon Web Services service that provides the+-- resource, or a @custom-resource@.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+--+-- 'description', 'scalingActivity_description' - A simple description of what action the scaling activity intends to+-- accomplish.+--+-- 'cause', 'scalingActivity_cause' - A simple description of what caused the scaling activity to happen.+--+-- 'startTime', 'scalingActivity_startTime' - The Unix timestamp for when the scaling activity began.+--+-- 'statusCode', 'scalingActivity_statusCode' - Indicates the status of the scaling activity.+newScalingActivity ::+  -- | 'activityId'+  Prelude.Text ->+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  -- | 'description'+  Prelude.Text ->+  -- | 'cause'+  Prelude.Text ->+  -- | 'startTime'+  Prelude.UTCTime ->+  -- | 'statusCode'+  ScalingActivityStatusCode ->+  ScalingActivity+newScalingActivity+  pActivityId_+  pServiceNamespace_+  pResourceId_+  pScalableDimension_+  pDescription_+  pCause_+  pStartTime_+  pStatusCode_ =+    ScalingActivity'+      { details = Prelude.Nothing,+        endTime = Prelude.Nothing,+        notScaledReasons = Prelude.Nothing,+        statusMessage = Prelude.Nothing,+        activityId = pActivityId_,+        serviceNamespace = pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_,+        description = pDescription_,+        cause = pCause_,+        startTime = Data._Time Lens.# pStartTime_,+        statusCode = pStatusCode_+      }++-- | The details about the scaling activity.+scalingActivity_details :: Lens.Lens' ScalingActivity (Prelude.Maybe Prelude.Text)+scalingActivity_details = Lens.lens (\ScalingActivity' {details} -> details) (\s@ScalingActivity' {} a -> s {details = a} :: ScalingActivity)++-- | The Unix timestamp for when the scaling activity ended.+scalingActivity_endTime :: Lens.Lens' ScalingActivity (Prelude.Maybe Prelude.UTCTime)+scalingActivity_endTime = Lens.lens (\ScalingActivity' {endTime} -> endTime) (\s@ScalingActivity' {} a -> s {endTime = a} :: ScalingActivity) Prelude.. Lens.mapping Data._Time++-- | Machine-readable data that describes the reason for a not scaled+-- activity. Only available when+-- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalingActivities.html DescribeScalingActivities>+-- includes not scaled activities.+scalingActivity_notScaledReasons :: Lens.Lens' ScalingActivity (Prelude.Maybe [NotScaledReason])+scalingActivity_notScaledReasons = Lens.lens (\ScalingActivity' {notScaledReasons} -> notScaledReasons) (\s@ScalingActivity' {} a -> s {notScaledReasons = a} :: ScalingActivity) Prelude.. Lens.mapping Lens.coerced++-- | A simple message about the current status of the scaling activity.+scalingActivity_statusMessage :: Lens.Lens' ScalingActivity (Prelude.Maybe Prelude.Text)+scalingActivity_statusMessage = Lens.lens (\ScalingActivity' {statusMessage} -> statusMessage) (\s@ScalingActivity' {} a -> s {statusMessage = a} :: ScalingActivity)++-- | The unique identifier of the scaling activity.+scalingActivity_activityId :: Lens.Lens' ScalingActivity Prelude.Text+scalingActivity_activityId = Lens.lens (\ScalingActivity' {activityId} -> activityId) (\s@ScalingActivity' {} a -> s {activityId = a} :: ScalingActivity)++-- | The namespace of the Amazon Web Services service that provides the+-- resource, or a @custom-resource@.+scalingActivity_serviceNamespace :: Lens.Lens' ScalingActivity ServiceNamespace+scalingActivity_serviceNamespace = Lens.lens (\ScalingActivity' {serviceNamespace} -> serviceNamespace) (\s@ScalingActivity' {} a -> s {serviceNamespace = a} :: ScalingActivity)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+scalingActivity_resourceId :: Lens.Lens' ScalingActivity Prelude.Text+scalingActivity_resourceId = Lens.lens (\ScalingActivity' {resourceId} -> resourceId) (\s@ScalingActivity' {} a -> s {resourceId = a} :: ScalingActivity)++-- | 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 a 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.+scalingActivity_scalableDimension :: Lens.Lens' ScalingActivity ScalableDimension+scalingActivity_scalableDimension = Lens.lens (\ScalingActivity' {scalableDimension} -> scalableDimension) (\s@ScalingActivity' {} a -> s {scalableDimension = a} :: ScalingActivity)++-- | A simple description of what action the scaling activity intends to+-- accomplish.+scalingActivity_description :: Lens.Lens' ScalingActivity Prelude.Text+scalingActivity_description = Lens.lens (\ScalingActivity' {description} -> description) (\s@ScalingActivity' {} a -> s {description = a} :: ScalingActivity)++-- | A simple description of what caused the scaling activity to happen.+scalingActivity_cause :: Lens.Lens' ScalingActivity Prelude.Text+scalingActivity_cause = Lens.lens (\ScalingActivity' {cause} -> cause) (\s@ScalingActivity' {} a -> s {cause = a} :: ScalingActivity)++-- | The Unix timestamp for when the scaling activity began.+scalingActivity_startTime :: Lens.Lens' ScalingActivity Prelude.UTCTime+scalingActivity_startTime = Lens.lens (\ScalingActivity' {startTime} -> startTime) (\s@ScalingActivity' {} a -> s {startTime = a} :: ScalingActivity) Prelude.. Data._Time++-- | Indicates the status of the scaling activity.+scalingActivity_statusCode :: Lens.Lens' ScalingActivity ScalingActivityStatusCode+scalingActivity_statusCode = Lens.lens (\ScalingActivity' {statusCode} -> statusCode) (\s@ScalingActivity' {} a -> s {statusCode = a} :: ScalingActivity)++instance Data.FromJSON ScalingActivity where+  parseJSON =+    Data.withObject+      "ScalingActivity"+      ( \x ->+          ScalingActivity'+            Prelude.<$> (x Data..:? "Details")+            Prelude.<*> (x Data..:? "EndTime")+            Prelude.<*> ( x+                            Data..:? "NotScaledReasons"+                            Data..!= Prelude.mempty+                        )+            Prelude.<*> (x Data..:? "StatusMessage")+            Prelude.<*> (x Data..: "ActivityId")+            Prelude.<*> (x Data..: "ServiceNamespace")+            Prelude.<*> (x Data..: "ResourceId")+            Prelude.<*> (x Data..: "ScalableDimension")+            Prelude.<*> (x Data..: "Description")+            Prelude.<*> (x Data..: "Cause")+            Prelude.<*> (x Data..: "StartTime")+            Prelude.<*> (x Data..: "StatusCode")+      )++instance Prelude.Hashable ScalingActivity where+  hashWithSalt _salt ScalingActivity' {..} =+    _salt+      `Prelude.hashWithSalt` details+      `Prelude.hashWithSalt` endTime+      `Prelude.hashWithSalt` notScaledReasons+      `Prelude.hashWithSalt` statusMessage+      `Prelude.hashWithSalt` activityId+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` cause+      `Prelude.hashWithSalt` startTime+      `Prelude.hashWithSalt` statusCode++instance Prelude.NFData ScalingActivity where+  rnf ScalingActivity' {..} =+    Prelude.rnf details+      `Prelude.seq` Prelude.rnf endTime+      `Prelude.seq` Prelude.rnf notScaledReasons+      `Prelude.seq` Prelude.rnf statusMessage+      `Prelude.seq` Prelude.rnf activityId+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf description+      `Prelude.seq` Prelude.rnf cause+      `Prelude.seq` Prelude.rnf startTime+      `Prelude.seq` Prelude.rnf statusCode
+ gen/Amazonka/ApplicationAutoScaling/Types/ScalingActivityStatusCode.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.ScalingActivityStatusCode+  ( ScalingActivityStatusCode+      ( ..,+        ScalingActivityStatusCode_Failed,+        ScalingActivityStatusCode_InProgress,+        ScalingActivityStatusCode_Overridden,+        ScalingActivityStatusCode_Pending,+        ScalingActivityStatusCode_Successful,+        ScalingActivityStatusCode_Unfulfilled+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ScalingActivityStatusCode = ScalingActivityStatusCode'+  { fromScalingActivityStatusCode ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ScalingActivityStatusCode_Failed :: ScalingActivityStatusCode+pattern ScalingActivityStatusCode_Failed = ScalingActivityStatusCode' "Failed"++pattern ScalingActivityStatusCode_InProgress :: ScalingActivityStatusCode+pattern ScalingActivityStatusCode_InProgress = ScalingActivityStatusCode' "InProgress"++pattern ScalingActivityStatusCode_Overridden :: ScalingActivityStatusCode+pattern ScalingActivityStatusCode_Overridden = ScalingActivityStatusCode' "Overridden"++pattern ScalingActivityStatusCode_Pending :: ScalingActivityStatusCode+pattern ScalingActivityStatusCode_Pending = ScalingActivityStatusCode' "Pending"++pattern ScalingActivityStatusCode_Successful :: ScalingActivityStatusCode+pattern ScalingActivityStatusCode_Successful = ScalingActivityStatusCode' "Successful"++pattern ScalingActivityStatusCode_Unfulfilled :: ScalingActivityStatusCode+pattern ScalingActivityStatusCode_Unfulfilled = ScalingActivityStatusCode' "Unfulfilled"++{-# COMPLETE+  ScalingActivityStatusCode_Failed,+  ScalingActivityStatusCode_InProgress,+  ScalingActivityStatusCode_Overridden,+  ScalingActivityStatusCode_Pending,+  ScalingActivityStatusCode_Successful,+  ScalingActivityStatusCode_Unfulfilled,+  ScalingActivityStatusCode'+  #-}
+ gen/Amazonka/ApplicationAutoScaling/Types/ScalingPolicy.hs view
@@ -0,0 +1,629 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.ScalingPolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.ScalingPolicy where++import Amazonka.ApplicationAutoScaling.Types.Alarm+import Amazonka.ApplicationAutoScaling.Types.PolicyType+import Amazonka.ApplicationAutoScaling.Types.ScalableDimension+import Amazonka.ApplicationAutoScaling.Types.ServiceNamespace+import Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration+import Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a scaling policy to use with Application Auto Scaling.+--+-- For more information about configuring scaling policies for a specific+-- service, see+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/integrated-services-list.html Amazon Web Services services that you can use with Application Auto Scaling>+-- in the /Application Auto Scaling User Guide/.+--+-- /See:/ 'newScalingPolicy' smart constructor.+data ScalingPolicy = ScalingPolicy'+  { -- | The CloudWatch alarms associated with the scaling policy.+    alarms :: Prelude.Maybe [Alarm],+    -- | A step scaling policy.+    stepScalingPolicyConfiguration :: Prelude.Maybe StepScalingPolicyConfiguration,+    -- | A target tracking scaling policy.+    targetTrackingScalingPolicyConfiguration :: Prelude.Maybe TargetTrackingScalingPolicyConfiguration,+    -- | The Amazon Resource Name (ARN) of the scaling policy.+    policyARN :: Prelude.Text,+    -- | The name of the scaling policy.+    policyName :: Prelude.Text,+    -- | The namespace of the Amazon Web Services service that provides the+    -- resource, or a @custom-resource@.+    serviceNamespace :: ServiceNamespace,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | 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 a 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.+    scalableDimension :: ScalableDimension,+    -- | The scaling policy type.+    --+    -- 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.+    policyType :: PolicyType,+    -- | The Unix timestamp for when the scaling policy was created.+    creationTime :: Data.POSIX+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ScalingPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'alarms', 'scalingPolicy_alarms' - The CloudWatch alarms associated with the scaling policy.+--+-- 'stepScalingPolicyConfiguration', 'scalingPolicy_stepScalingPolicyConfiguration' - A step scaling policy.+--+-- 'targetTrackingScalingPolicyConfiguration', 'scalingPolicy_targetTrackingScalingPolicyConfiguration' - A target tracking scaling policy.+--+-- 'policyARN', 'scalingPolicy_policyARN' - The Amazon Resource Name (ARN) of the scaling policy.+--+-- 'policyName', 'scalingPolicy_policyName' - The name of the scaling policy.+--+-- 'serviceNamespace', 'scalingPolicy_serviceNamespace' - The namespace of the Amazon Web Services service that provides the+-- resource, or a @custom-resource@.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'scalableDimension', '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 a 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.+--+-- 'policyType', 'scalingPolicy_policyType' - The scaling policy type.+--+-- 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.+--+-- 'creationTime', 'scalingPolicy_creationTime' - The Unix timestamp for when the scaling policy was created.+newScalingPolicy ::+  -- | 'policyARN'+  Prelude.Text ->+  -- | 'policyName'+  Prelude.Text ->+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  -- | 'policyType'+  PolicyType ->+  -- | 'creationTime'+  Prelude.UTCTime ->+  ScalingPolicy+newScalingPolicy+  pPolicyARN_+  pPolicyName_+  pServiceNamespace_+  pResourceId_+  pScalableDimension_+  pPolicyType_+  pCreationTime_ =+    ScalingPolicy'+      { alarms = Prelude.Nothing,+        stepScalingPolicyConfiguration = Prelude.Nothing,+        targetTrackingScalingPolicyConfiguration =+          Prelude.Nothing,+        policyARN = pPolicyARN_,+        policyName = pPolicyName_,+        serviceNamespace = pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_,+        policyType = pPolicyType_,+        creationTime = Data._Time Lens.# pCreationTime_+      }++-- | The CloudWatch alarms associated with the scaling policy.+scalingPolicy_alarms :: Lens.Lens' ScalingPolicy (Prelude.Maybe [Alarm])+scalingPolicy_alarms = Lens.lens (\ScalingPolicy' {alarms} -> alarms) (\s@ScalingPolicy' {} a -> s {alarms = a} :: ScalingPolicy) Prelude.. Lens.mapping Lens.coerced++-- | A step scaling policy.+scalingPolicy_stepScalingPolicyConfiguration :: Lens.Lens' ScalingPolicy (Prelude.Maybe StepScalingPolicyConfiguration)+scalingPolicy_stepScalingPolicyConfiguration = Lens.lens (\ScalingPolicy' {stepScalingPolicyConfiguration} -> stepScalingPolicyConfiguration) (\s@ScalingPolicy' {} a -> s {stepScalingPolicyConfiguration = a} :: ScalingPolicy)++-- | A target tracking scaling policy.+scalingPolicy_targetTrackingScalingPolicyConfiguration :: Lens.Lens' ScalingPolicy (Prelude.Maybe TargetTrackingScalingPolicyConfiguration)+scalingPolicy_targetTrackingScalingPolicyConfiguration = Lens.lens (\ScalingPolicy' {targetTrackingScalingPolicyConfiguration} -> targetTrackingScalingPolicyConfiguration) (\s@ScalingPolicy' {} a -> s {targetTrackingScalingPolicyConfiguration = a} :: ScalingPolicy)++-- | The Amazon Resource Name (ARN) of the scaling policy.+scalingPolicy_policyARN :: Lens.Lens' ScalingPolicy Prelude.Text+scalingPolicy_policyARN = Lens.lens (\ScalingPolicy' {policyARN} -> policyARN) (\s@ScalingPolicy' {} a -> s {policyARN = a} :: ScalingPolicy)++-- | The name of the scaling policy.+scalingPolicy_policyName :: Lens.Lens' ScalingPolicy Prelude.Text+scalingPolicy_policyName = Lens.lens (\ScalingPolicy' {policyName} -> policyName) (\s@ScalingPolicy' {} a -> s {policyName = a} :: ScalingPolicy)++-- | The namespace of the Amazon Web Services service that provides the+-- resource, or a @custom-resource@.+scalingPolicy_serviceNamespace :: Lens.Lens' ScalingPolicy ServiceNamespace+scalingPolicy_serviceNamespace = Lens.lens (\ScalingPolicy' {serviceNamespace} -> serviceNamespace) (\s@ScalingPolicy' {} a -> s {serviceNamespace = a} :: ScalingPolicy)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+scalingPolicy_resourceId :: Lens.Lens' ScalingPolicy Prelude.Text+scalingPolicy_resourceId = Lens.lens (\ScalingPolicy' {resourceId} -> resourceId) (\s@ScalingPolicy' {} a -> s {resourceId = a} :: ScalingPolicy)++-- | 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 a 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.+scalingPolicy_scalableDimension :: Lens.Lens' ScalingPolicy ScalableDimension+scalingPolicy_scalableDimension = Lens.lens (\ScalingPolicy' {scalableDimension} -> scalableDimension) (\s@ScalingPolicy' {} a -> s {scalableDimension = a} :: ScalingPolicy)++-- | The scaling policy type.+--+-- 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.+scalingPolicy_policyType :: Lens.Lens' ScalingPolicy PolicyType+scalingPolicy_policyType = Lens.lens (\ScalingPolicy' {policyType} -> policyType) (\s@ScalingPolicy' {} a -> s {policyType = a} :: ScalingPolicy)++-- | The Unix timestamp for when the scaling policy was created.+scalingPolicy_creationTime :: Lens.Lens' ScalingPolicy Prelude.UTCTime+scalingPolicy_creationTime = Lens.lens (\ScalingPolicy' {creationTime} -> creationTime) (\s@ScalingPolicy' {} a -> s {creationTime = a} :: ScalingPolicy) Prelude.. Data._Time++instance Data.FromJSON ScalingPolicy where+  parseJSON =+    Data.withObject+      "ScalingPolicy"+      ( \x ->+          ScalingPolicy'+            Prelude.<$> (x Data..:? "Alarms" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..:? "StepScalingPolicyConfiguration")+            Prelude.<*> ( x+                            Data..:? "TargetTrackingScalingPolicyConfiguration"+                        )+            Prelude.<*> (x Data..: "PolicyARN")+            Prelude.<*> (x Data..: "PolicyName")+            Prelude.<*> (x Data..: "ServiceNamespace")+            Prelude.<*> (x Data..: "ResourceId")+            Prelude.<*> (x Data..: "ScalableDimension")+            Prelude.<*> (x Data..: "PolicyType")+            Prelude.<*> (x Data..: "CreationTime")+      )++instance Prelude.Hashable ScalingPolicy where+  hashWithSalt _salt ScalingPolicy' {..} =+    _salt+      `Prelude.hashWithSalt` alarms+      `Prelude.hashWithSalt` stepScalingPolicyConfiguration+      `Prelude.hashWithSalt` targetTrackingScalingPolicyConfiguration+      `Prelude.hashWithSalt` policyARN+      `Prelude.hashWithSalt` policyName+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` policyType+      `Prelude.hashWithSalt` creationTime++instance Prelude.NFData ScalingPolicy where+  rnf ScalingPolicy' {..} =+    Prelude.rnf alarms+      `Prelude.seq` Prelude.rnf stepScalingPolicyConfiguration+      `Prelude.seq` Prelude.rnf targetTrackingScalingPolicyConfiguration+      `Prelude.seq` Prelude.rnf policyARN+      `Prelude.seq` Prelude.rnf policyName+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf policyType+      `Prelude.seq` Prelude.rnf creationTime
+ gen/Amazonka/ApplicationAutoScaling/Types/ScheduledAction.hs view
@@ -0,0 +1,693 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.ScheduledAction+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.ScheduledAction where++import Amazonka.ApplicationAutoScaling.Types.ScalableDimension+import Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction+import Amazonka.ApplicationAutoScaling.Types.ServiceNamespace+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a scheduled action.+--+-- /See:/ 'newScheduledAction' smart constructor.+data ScheduledAction = ScheduledAction'+  { -- | The date and time that the action is scheduled to end, in UTC.+    endTime :: Prelude.Maybe Data.POSIX,+    -- | 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 a 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.+    scalableDimension :: Prelude.Maybe ScalableDimension,+    -- | 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.+    scalableTargetAction :: Prelude.Maybe ScalableTargetAction,+    -- | The date and time that the action is scheduled to begin, in UTC.+    startTime :: Prelude.Maybe Data.POSIX,+    -- | 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.+    timezone :: Prelude.Maybe Prelude.Text,+    -- | The name of the scheduled action.+    scheduledActionName :: Prelude.Text,+    -- | The Amazon Resource Name (ARN) of the scheduled action.+    scheduledActionARN :: Prelude.Text,+    -- | The namespace of the Amazon Web Services service that provides the+    -- resource, or a @custom-resource@.+    serviceNamespace :: ServiceNamespace,+    -- | The schedule for this action. The following formats are supported:+    --+    -- -   At expressions -+    --     \"@at(@/@yyyy@/@-@/@mm@/@-@/@dd@/@T@/@hh@/@:@/@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+    -- <https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html Example scheduled actions for Application Auto Scaling>+    -- in the /Application Auto Scaling User Guide/.+    schedule :: Prelude.Text,+    -- | 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+    --     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+    resourceId :: Prelude.Text,+    -- | The date and time that the scheduled action was created.+    creationTime :: Data.POSIX+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ScheduledAction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'endTime', 'scheduledAction_endTime' - The date and time that the action is scheduled to end, in UTC.+--+-- 'scalableDimension', '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 a 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.+--+-- 'scalableTargetAction', '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.+--+-- 'startTime', 'scheduledAction_startTime' - The date and time that the action is scheduled to begin, in UTC.+--+-- 'timezone', '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.+--+-- 'scheduledActionName', 'scheduledAction_scheduledActionName' - The name of the scheduled action.+--+-- 'scheduledActionARN', 'scheduledAction_scheduledActionARN' - The Amazon Resource Name (ARN) of the scheduled action.+--+-- 'serviceNamespace', 'scheduledAction_serviceNamespace' - The namespace of the Amazon Web Services service that provides the+-- resource, or a @custom-resource@.+--+-- 'schedule', 'scheduledAction_schedule' - The schedule for this action. The following formats are supported:+--+-- -   At expressions -+--     \"@at(@/@yyyy@/@-@/@mm@/@-@/@dd@/@T@/@hh@/@:@/@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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html Example scheduled actions for Application Auto Scaling>+-- in the /Application Auto Scaling User Guide/.+--+-- 'resourceId', '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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+--+-- 'creationTime', 'scheduledAction_creationTime' - The date and time that the scheduled action was created.+newScheduledAction ::+  -- | 'scheduledActionName'+  Prelude.Text ->+  -- | 'scheduledActionARN'+  Prelude.Text ->+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'schedule'+  Prelude.Text ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'creationTime'+  Prelude.UTCTime ->+  ScheduledAction+newScheduledAction+  pScheduledActionName_+  pScheduledActionARN_+  pServiceNamespace_+  pSchedule_+  pResourceId_+  pCreationTime_ =+    ScheduledAction'+      { endTime = Prelude.Nothing,+        scalableDimension = Prelude.Nothing,+        scalableTargetAction = Prelude.Nothing,+        startTime = Prelude.Nothing,+        timezone = Prelude.Nothing,+        scheduledActionName = pScheduledActionName_,+        scheduledActionARN = pScheduledActionARN_,+        serviceNamespace = pServiceNamespace_,+        schedule = pSchedule_,+        resourceId = pResourceId_,+        creationTime = Data._Time Lens.# pCreationTime_+      }++-- | The date and time that the action is scheduled to end, in UTC.+scheduledAction_endTime :: Lens.Lens' ScheduledAction (Prelude.Maybe Prelude.UTCTime)+scheduledAction_endTime = Lens.lens (\ScheduledAction' {endTime} -> endTime) (\s@ScheduledAction' {} a -> s {endTime = a} :: ScheduledAction) Prelude.. Lens.mapping Data._Time++-- | 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 a 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.+scheduledAction_scalableDimension :: Lens.Lens' ScheduledAction (Prelude.Maybe ScalableDimension)+scheduledAction_scalableDimension = Lens.lens (\ScheduledAction' {scalableDimension} -> scalableDimension) (\s@ScheduledAction' {} a -> s {scalableDimension = a} :: ScheduledAction)++-- | 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.+scheduledAction_scalableTargetAction :: Lens.Lens' ScheduledAction (Prelude.Maybe ScalableTargetAction)+scheduledAction_scalableTargetAction = Lens.lens (\ScheduledAction' {scalableTargetAction} -> scalableTargetAction) (\s@ScheduledAction' {} a -> s {scalableTargetAction = a} :: ScheduledAction)++-- | The date and time that the action is scheduled to begin, in UTC.+scheduledAction_startTime :: Lens.Lens' ScheduledAction (Prelude.Maybe Prelude.UTCTime)+scheduledAction_startTime = Lens.lens (\ScheduledAction' {startTime} -> startTime) (\s@ScheduledAction' {} a -> s {startTime = a} :: ScheduledAction) Prelude.. Lens.mapping Data._Time++-- | 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.+scheduledAction_timezone :: Lens.Lens' ScheduledAction (Prelude.Maybe Prelude.Text)+scheduledAction_timezone = Lens.lens (\ScheduledAction' {timezone} -> timezone) (\s@ScheduledAction' {} a -> s {timezone = a} :: ScheduledAction)++-- | The name of the scheduled action.+scheduledAction_scheduledActionName :: Lens.Lens' ScheduledAction Prelude.Text+scheduledAction_scheduledActionName = Lens.lens (\ScheduledAction' {scheduledActionName} -> scheduledActionName) (\s@ScheduledAction' {} a -> s {scheduledActionName = a} :: ScheduledAction)++-- | The Amazon Resource Name (ARN) of the scheduled action.+scheduledAction_scheduledActionARN :: Lens.Lens' ScheduledAction Prelude.Text+scheduledAction_scheduledActionARN = Lens.lens (\ScheduledAction' {scheduledActionARN} -> scheduledActionARN) (\s@ScheduledAction' {} a -> s {scheduledActionARN = a} :: ScheduledAction)++-- | The namespace of the Amazon Web Services service that provides the+-- resource, or a @custom-resource@.+scheduledAction_serviceNamespace :: Lens.Lens' ScheduledAction ServiceNamespace+scheduledAction_serviceNamespace = Lens.lens (\ScheduledAction' {serviceNamespace} -> serviceNamespace) (\s@ScheduledAction' {} a -> s {serviceNamespace = a} :: ScheduledAction)++-- | The schedule for this action. The following formats are supported:+--+-- -   At expressions -+--     \"@at(@/@yyyy@/@-@/@mm@/@-@/@dd@/@T@/@hh@/@:@/@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+-- <https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html Example scheduled actions for Application Auto Scaling>+-- in the /Application Auto Scaling User Guide/.+scheduledAction_schedule :: Lens.Lens' ScheduledAction Prelude.Text+scheduledAction_schedule = Lens.lens (\ScheduledAction' {schedule} -> schedule) (\s@ScheduledAction' {} a -> s {schedule = a} :: ScheduledAction)++-- | 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+--     <https://github.com/aws/aws-auto-scaling-custom-resource 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@ or @function: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@.+scheduledAction_resourceId :: Lens.Lens' ScheduledAction Prelude.Text+scheduledAction_resourceId = Lens.lens (\ScheduledAction' {resourceId} -> resourceId) (\s@ScheduledAction' {} a -> s {resourceId = a} :: ScheduledAction)++-- | The date and time that the scheduled action was created.+scheduledAction_creationTime :: Lens.Lens' ScheduledAction Prelude.UTCTime+scheduledAction_creationTime = Lens.lens (\ScheduledAction' {creationTime} -> creationTime) (\s@ScheduledAction' {} a -> s {creationTime = a} :: ScheduledAction) Prelude.. Data._Time++instance Data.FromJSON ScheduledAction where+  parseJSON =+    Data.withObject+      "ScheduledAction"+      ( \x ->+          ScheduledAction'+            Prelude.<$> (x Data..:? "EndTime")+            Prelude.<*> (x Data..:? "ScalableDimension")+            Prelude.<*> (x Data..:? "ScalableTargetAction")+            Prelude.<*> (x Data..:? "StartTime")+            Prelude.<*> (x Data..:? "Timezone")+            Prelude.<*> (x Data..: "ScheduledActionName")+            Prelude.<*> (x Data..: "ScheduledActionARN")+            Prelude.<*> (x Data..: "ServiceNamespace")+            Prelude.<*> (x Data..: "Schedule")+            Prelude.<*> (x Data..: "ResourceId")+            Prelude.<*> (x Data..: "CreationTime")+      )++instance Prelude.Hashable ScheduledAction where+  hashWithSalt _salt ScheduledAction' {..} =+    _salt+      `Prelude.hashWithSalt` endTime+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` scalableTargetAction+      `Prelude.hashWithSalt` startTime+      `Prelude.hashWithSalt` timezone+      `Prelude.hashWithSalt` scheduledActionName+      `Prelude.hashWithSalt` scheduledActionARN+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` schedule+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` creationTime++instance Prelude.NFData ScheduledAction where+  rnf ScheduledAction' {..} =+    Prelude.rnf endTime+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf scalableTargetAction+      `Prelude.seq` Prelude.rnf startTime+      `Prelude.seq` Prelude.rnf timezone+      `Prelude.seq` Prelude.rnf scheduledActionName+      `Prelude.seq` Prelude.rnf scheduledActionARN+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf schedule+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf creationTime
+ gen/Amazonka/ApplicationAutoScaling/Types/ServiceNamespace.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.ServiceNamespace+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.ServiceNamespace+  ( ServiceNamespace+      ( ..,+        ServiceNamespace_Appstream,+        ServiceNamespace_Cassandra,+        ServiceNamespace_Comprehend,+        ServiceNamespace_Custom_resource,+        ServiceNamespace_Dynamodb,+        ServiceNamespace_Ec2,+        ServiceNamespace_Ecs,+        ServiceNamespace_Elasticache,+        ServiceNamespace_Elasticmapreduce,+        ServiceNamespace_Kafka,+        ServiceNamespace_Lambda,+        ServiceNamespace_Neptune,+        ServiceNamespace_Rds,+        ServiceNamespace_Sagemaker+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ServiceNamespace = ServiceNamespace'+  { fromServiceNamespace ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ServiceNamespace_Appstream :: ServiceNamespace+pattern ServiceNamespace_Appstream = ServiceNamespace' "appstream"++pattern ServiceNamespace_Cassandra :: ServiceNamespace+pattern ServiceNamespace_Cassandra = ServiceNamespace' "cassandra"++pattern ServiceNamespace_Comprehend :: ServiceNamespace+pattern ServiceNamespace_Comprehend = ServiceNamespace' "comprehend"++pattern ServiceNamespace_Custom_resource :: ServiceNamespace+pattern ServiceNamespace_Custom_resource = ServiceNamespace' "custom-resource"++pattern ServiceNamespace_Dynamodb :: ServiceNamespace+pattern ServiceNamespace_Dynamodb = ServiceNamespace' "dynamodb"++pattern ServiceNamespace_Ec2 :: ServiceNamespace+pattern ServiceNamespace_Ec2 = ServiceNamespace' "ec2"++pattern ServiceNamespace_Ecs :: ServiceNamespace+pattern ServiceNamespace_Ecs = ServiceNamespace' "ecs"++pattern ServiceNamespace_Elasticache :: ServiceNamespace+pattern ServiceNamespace_Elasticache = ServiceNamespace' "elasticache"++pattern ServiceNamespace_Elasticmapreduce :: ServiceNamespace+pattern ServiceNamespace_Elasticmapreduce = ServiceNamespace' "elasticmapreduce"++pattern ServiceNamespace_Kafka :: ServiceNamespace+pattern ServiceNamespace_Kafka = ServiceNamespace' "kafka"++pattern ServiceNamespace_Lambda :: ServiceNamespace+pattern ServiceNamespace_Lambda = ServiceNamespace' "lambda"++pattern ServiceNamespace_Neptune :: ServiceNamespace+pattern ServiceNamespace_Neptune = ServiceNamespace' "neptune"++pattern ServiceNamespace_Rds :: ServiceNamespace+pattern ServiceNamespace_Rds = ServiceNamespace' "rds"++pattern ServiceNamespace_Sagemaker :: ServiceNamespace+pattern ServiceNamespace_Sagemaker = ServiceNamespace' "sagemaker"++{-# COMPLETE+  ServiceNamespace_Appstream,+  ServiceNamespace_Cassandra,+  ServiceNamespace_Comprehend,+  ServiceNamespace_Custom_resource,+  ServiceNamespace_Dynamodb,+  ServiceNamespace_Ec2,+  ServiceNamespace_Ecs,+  ServiceNamespace_Elasticache,+  ServiceNamespace_Elasticmapreduce,+  ServiceNamespace_Kafka,+  ServiceNamespace_Lambda,+  ServiceNamespace_Neptune,+  ServiceNamespace_Rds,+  ServiceNamespace_Sagemaker,+  ServiceNamespace'+  #-}
+ gen/Amazonka/ApplicationAutoScaling/Types/StepAdjustment.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.StepAdjustment+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.StepAdjustment where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a step adjustment for a+-- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.html 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.+data StepAdjustment = StepAdjustment'+  { -- | 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.+    metricIntervalLowerBound :: Prelude.Maybe Prelude.Double,+    -- | 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.+    metricIntervalUpperBound :: Prelude.Maybe Prelude.Double,+    -- | 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.+    scalingAdjustment :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StepAdjustment' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'metricIntervalLowerBound', '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.+--+-- 'metricIntervalUpperBound', '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.+--+-- 'scalingAdjustment', '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.+newStepAdjustment ::+  -- | 'scalingAdjustment'+  Prelude.Int ->+  StepAdjustment+newStepAdjustment pScalingAdjustment_ =+  StepAdjustment'+    { metricIntervalLowerBound =+        Prelude.Nothing,+      metricIntervalUpperBound = Prelude.Nothing,+      scalingAdjustment = pScalingAdjustment_+    }++-- | 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.+stepAdjustment_metricIntervalLowerBound :: Lens.Lens' StepAdjustment (Prelude.Maybe Prelude.Double)+stepAdjustment_metricIntervalLowerBound = Lens.lens (\StepAdjustment' {metricIntervalLowerBound} -> metricIntervalLowerBound) (\s@StepAdjustment' {} a -> s {metricIntervalLowerBound = a} :: StepAdjustment)++-- | 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.+stepAdjustment_metricIntervalUpperBound :: Lens.Lens' StepAdjustment (Prelude.Maybe Prelude.Double)+stepAdjustment_metricIntervalUpperBound = Lens.lens (\StepAdjustment' {metricIntervalUpperBound} -> metricIntervalUpperBound) (\s@StepAdjustment' {} a -> s {metricIntervalUpperBound = a} :: StepAdjustment)++-- | 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.+stepAdjustment_scalingAdjustment :: Lens.Lens' StepAdjustment Prelude.Int+stepAdjustment_scalingAdjustment = Lens.lens (\StepAdjustment' {scalingAdjustment} -> scalingAdjustment) (\s@StepAdjustment' {} a -> s {scalingAdjustment = a} :: StepAdjustment)++instance Data.FromJSON StepAdjustment where+  parseJSON =+    Data.withObject+      "StepAdjustment"+      ( \x ->+          StepAdjustment'+            Prelude.<$> (x Data..:? "MetricIntervalLowerBound")+            Prelude.<*> (x Data..:? "MetricIntervalUpperBound")+            Prelude.<*> (x Data..: "ScalingAdjustment")+      )++instance Prelude.Hashable StepAdjustment where+  hashWithSalt _salt StepAdjustment' {..} =+    _salt+      `Prelude.hashWithSalt` metricIntervalLowerBound+      `Prelude.hashWithSalt` metricIntervalUpperBound+      `Prelude.hashWithSalt` scalingAdjustment++instance Prelude.NFData StepAdjustment where+  rnf StepAdjustment' {..} =+    Prelude.rnf metricIntervalLowerBound+      `Prelude.seq` Prelude.rnf metricIntervalUpperBound+      `Prelude.seq` Prelude.rnf scalingAdjustment++instance Data.ToJSON StepAdjustment where+  toJSON StepAdjustment' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MetricIntervalLowerBound" Data..=)+              Prelude.<$> metricIntervalLowerBound,+            ("MetricIntervalUpperBound" Data..=)+              Prelude.<$> metricIntervalUpperBound,+            Prelude.Just+              ("ScalingAdjustment" Data..= scalingAdjustment)+          ]+      )
+ gen/Amazonka/ApplicationAutoScaling/Types/StepScalingPolicyConfiguration.hs view
@@ -0,0 +1,380 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.StepScalingPolicyConfiguration where++import Amazonka.ApplicationAutoScaling.Types.AdjustmentType+import Amazonka.ApplicationAutoScaling.Types.MetricAggregationType+import Amazonka.ApplicationAutoScaling.Types.StepAdjustment+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a step scaling policy configuration to use with Application+-- Auto Scaling.+--+-- /See:/ 'newStepScalingPolicyConfiguration' smart constructor.+data StepScalingPolicyConfiguration = StepScalingPolicyConfiguration'+  { -- | Specifies how the @ScalingAdjustment@ value in a+    -- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepAdjustment.html 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.+    adjustmentType :: Prelude.Maybe AdjustmentType,+    -- | 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+    cooldown :: Prelude.Maybe Prelude.Int,+    -- | 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@.+    metricAggregationType :: Prelude.Maybe MetricAggregationType,+    -- | 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.+    minAdjustmentMagnitude :: Prelude.Maybe Prelude.Int,+    -- | 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.+    stepAdjustments :: Prelude.Maybe [StepAdjustment]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StepScalingPolicyConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'adjustmentType', 'stepScalingPolicyConfiguration_adjustmentType' - Specifies how the @ScalingAdjustment@ value in a+-- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepAdjustment.html 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.+--+-- 'cooldown', '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+--+-- 'metricAggregationType', '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@.+--+-- 'minAdjustmentMagnitude', '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.+--+-- 'stepAdjustments', '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.+newStepScalingPolicyConfiguration ::+  StepScalingPolicyConfiguration+newStepScalingPolicyConfiguration =+  StepScalingPolicyConfiguration'+    { adjustmentType =+        Prelude.Nothing,+      cooldown = Prelude.Nothing,+      metricAggregationType = Prelude.Nothing,+      minAdjustmentMagnitude = Prelude.Nothing,+      stepAdjustments = Prelude.Nothing+    }++-- | Specifies how the @ScalingAdjustment@ value in a+-- <https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepAdjustment.html 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.+stepScalingPolicyConfiguration_adjustmentType :: Lens.Lens' StepScalingPolicyConfiguration (Prelude.Maybe AdjustmentType)+stepScalingPolicyConfiguration_adjustmentType = Lens.lens (\StepScalingPolicyConfiguration' {adjustmentType} -> adjustmentType) (\s@StepScalingPolicyConfiguration' {} a -> s {adjustmentType = a} :: StepScalingPolicyConfiguration)++-- | 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+stepScalingPolicyConfiguration_cooldown :: Lens.Lens' StepScalingPolicyConfiguration (Prelude.Maybe Prelude.Int)+stepScalingPolicyConfiguration_cooldown = Lens.lens (\StepScalingPolicyConfiguration' {cooldown} -> cooldown) (\s@StepScalingPolicyConfiguration' {} a -> s {cooldown = a} :: StepScalingPolicyConfiguration)++-- | 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@.+stepScalingPolicyConfiguration_metricAggregationType :: Lens.Lens' StepScalingPolicyConfiguration (Prelude.Maybe MetricAggregationType)+stepScalingPolicyConfiguration_metricAggregationType = Lens.lens (\StepScalingPolicyConfiguration' {metricAggregationType} -> metricAggregationType) (\s@StepScalingPolicyConfiguration' {} a -> s {metricAggregationType = a} :: StepScalingPolicyConfiguration)++-- | 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.+stepScalingPolicyConfiguration_minAdjustmentMagnitude :: Lens.Lens' StepScalingPolicyConfiguration (Prelude.Maybe Prelude.Int)+stepScalingPolicyConfiguration_minAdjustmentMagnitude = Lens.lens (\StepScalingPolicyConfiguration' {minAdjustmentMagnitude} -> minAdjustmentMagnitude) (\s@StepScalingPolicyConfiguration' {} a -> s {minAdjustmentMagnitude = a} :: StepScalingPolicyConfiguration)++-- | 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.+stepScalingPolicyConfiguration_stepAdjustments :: Lens.Lens' StepScalingPolicyConfiguration (Prelude.Maybe [StepAdjustment])+stepScalingPolicyConfiguration_stepAdjustments = Lens.lens (\StepScalingPolicyConfiguration' {stepAdjustments} -> stepAdjustments) (\s@StepScalingPolicyConfiguration' {} a -> s {stepAdjustments = a} :: StepScalingPolicyConfiguration) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON StepScalingPolicyConfiguration where+  parseJSON =+    Data.withObject+      "StepScalingPolicyConfiguration"+      ( \x ->+          StepScalingPolicyConfiguration'+            Prelude.<$> (x Data..:? "AdjustmentType")+            Prelude.<*> (x Data..:? "Cooldown")+            Prelude.<*> (x Data..:? "MetricAggregationType")+            Prelude.<*> (x Data..:? "MinAdjustmentMagnitude")+            Prelude.<*> ( x+                            Data..:? "StepAdjustments"+                            Data..!= Prelude.mempty+                        )+      )++instance+  Prelude.Hashable+    StepScalingPolicyConfiguration+  where+  hashWithSalt+    _salt+    StepScalingPolicyConfiguration' {..} =+      _salt+        `Prelude.hashWithSalt` adjustmentType+        `Prelude.hashWithSalt` cooldown+        `Prelude.hashWithSalt` metricAggregationType+        `Prelude.hashWithSalt` minAdjustmentMagnitude+        `Prelude.hashWithSalt` stepAdjustments++instance+  Prelude.NFData+    StepScalingPolicyConfiguration+  where+  rnf StepScalingPolicyConfiguration' {..} =+    Prelude.rnf adjustmentType+      `Prelude.seq` Prelude.rnf cooldown+      `Prelude.seq` Prelude.rnf metricAggregationType+      `Prelude.seq` Prelude.rnf minAdjustmentMagnitude+      `Prelude.seq` Prelude.rnf stepAdjustments++instance Data.ToJSON StepScalingPolicyConfiguration where+  toJSON StepScalingPolicyConfiguration' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("AdjustmentType" Data..=)+              Prelude.<$> adjustmentType,+            ("Cooldown" Data..=) Prelude.<$> cooldown,+            ("MetricAggregationType" Data..=)+              Prelude.<$> metricAggregationType,+            ("MinAdjustmentMagnitude" Data..=)+              Prelude.<$> minAdjustmentMagnitude,+            ("StepAdjustments" Data..=)+              Prelude.<$> stepAdjustments+          ]+      )
+ gen/Amazonka/ApplicationAutoScaling/Types/SuspendedState.hs view
@@ -0,0 +1,135 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.SuspendedState+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.SuspendedState where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Specifies whether the scaling activities for a scalable target are in a+-- suspended state.+--+-- /See:/ 'newSuspendedState' smart constructor.+data SuspendedState = SuspendedState'+  { -- | 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@.+    dynamicScalingInSuspended :: Prelude.Maybe Prelude.Bool,+    -- | 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@.+    dynamicScalingOutSuspended :: Prelude.Maybe Prelude.Bool,+    -- | 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@.+    scheduledScalingSuspended :: Prelude.Maybe Prelude.Bool+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SuspendedState' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dynamicScalingInSuspended', '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@.+--+-- 'dynamicScalingOutSuspended', '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@.+--+-- 'scheduledScalingSuspended', '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@.+newSuspendedState ::+  SuspendedState+newSuspendedState =+  SuspendedState'+    { dynamicScalingInSuspended =+        Prelude.Nothing,+      dynamicScalingOutSuspended = Prelude.Nothing,+      scheduledScalingSuspended = Prelude.Nothing+    }++-- | 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@.+suspendedState_dynamicScalingInSuspended :: Lens.Lens' SuspendedState (Prelude.Maybe Prelude.Bool)+suspendedState_dynamicScalingInSuspended = Lens.lens (\SuspendedState' {dynamicScalingInSuspended} -> dynamicScalingInSuspended) (\s@SuspendedState' {} a -> s {dynamicScalingInSuspended = a} :: SuspendedState)++-- | 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@.+suspendedState_dynamicScalingOutSuspended :: Lens.Lens' SuspendedState (Prelude.Maybe Prelude.Bool)+suspendedState_dynamicScalingOutSuspended = Lens.lens (\SuspendedState' {dynamicScalingOutSuspended} -> dynamicScalingOutSuspended) (\s@SuspendedState' {} a -> s {dynamicScalingOutSuspended = a} :: SuspendedState)++-- | 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@.+suspendedState_scheduledScalingSuspended :: Lens.Lens' SuspendedState (Prelude.Maybe Prelude.Bool)+suspendedState_scheduledScalingSuspended = Lens.lens (\SuspendedState' {scheduledScalingSuspended} -> scheduledScalingSuspended) (\s@SuspendedState' {} a -> s {scheduledScalingSuspended = a} :: SuspendedState)++instance Data.FromJSON SuspendedState where+  parseJSON =+    Data.withObject+      "SuspendedState"+      ( \x ->+          SuspendedState'+            Prelude.<$> (x Data..:? "DynamicScalingInSuspended")+            Prelude.<*> (x Data..:? "DynamicScalingOutSuspended")+            Prelude.<*> (x Data..:? "ScheduledScalingSuspended")+      )++instance Prelude.Hashable SuspendedState where+  hashWithSalt _salt SuspendedState' {..} =+    _salt+      `Prelude.hashWithSalt` dynamicScalingInSuspended+      `Prelude.hashWithSalt` dynamicScalingOutSuspended+      `Prelude.hashWithSalt` scheduledScalingSuspended++instance Prelude.NFData SuspendedState where+  rnf SuspendedState' {..} =+    Prelude.rnf dynamicScalingInSuspended+      `Prelude.seq` Prelude.rnf dynamicScalingOutSuspended+      `Prelude.seq` Prelude.rnf scheduledScalingSuspended++instance Data.ToJSON SuspendedState where+  toJSON SuspendedState' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("DynamicScalingInSuspended" Data..=)+              Prelude.<$> dynamicScalingInSuspended,+            ("DynamicScalingOutSuspended" Data..=)+              Prelude.<$> dynamicScalingOutSuspended,+            ("ScheduledScalingSuspended" Data..=)+              Prelude.<$> scheduledScalingSuspended+          ]+      )
+ gen/Amazonka/ApplicationAutoScaling/Types/TargetTrackingScalingPolicyConfiguration.hs view
@@ -0,0 +1,479 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Types.TargetTrackingScalingPolicyConfiguration where++import Amazonka.ApplicationAutoScaling.Types.CustomizedMetricSpecification+import Amazonka.ApplicationAutoScaling.Types.PredefinedMetricSpecification+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a target tracking scaling policy configuration to use with+-- Application Auto Scaling.+--+-- /See:/ 'newTargetTrackingScalingPolicyConfiguration' smart constructor.+data TargetTrackingScalingPolicyConfiguration = TargetTrackingScalingPolicyConfiguration'+  { -- | A customized metric. You can specify either a predefined metric or a+    -- customized metric.+    customizedMetricSpecification :: Prelude.Maybe CustomizedMetricSpecification,+    -- | 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@.+    disableScaleIn :: Prelude.Maybe Prelude.Bool,+    -- | A predefined metric. You can specify either a predefined metric or a+    -- customized metric.+    predefinedMetricSpecification :: Prelude.Maybe PredefinedMetricSpecification,+    -- | 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+    scaleInCooldown :: Prelude.Maybe Prelude.Int,+    -- | 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+    scaleOutCooldown :: Prelude.Maybe Prelude.Int,+    -- | 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.+    --+    -- If the scaling policy specifies the @ALBRequestCountPerTarget@+    -- predefined metric, specify the target utilization as the optimal average+    -- request count per target during any one-minute interval.+    targetValue :: Prelude.Double+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TargetTrackingScalingPolicyConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'customizedMetricSpecification', 'targetTrackingScalingPolicyConfiguration_customizedMetricSpecification' - A customized metric. You can specify either a predefined metric or a+-- customized metric.+--+-- 'disableScaleIn', '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@.+--+-- 'predefinedMetricSpecification', 'targetTrackingScalingPolicyConfiguration_predefinedMetricSpecification' - A predefined metric. You can specify either a predefined metric or a+-- customized metric.+--+-- 'scaleInCooldown', '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+--+-- 'scaleOutCooldown', '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+--+-- 'targetValue', '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.+--+-- If the scaling policy specifies the @ALBRequestCountPerTarget@+-- predefined metric, specify the target utilization as the optimal average+-- request count per target during any one-minute interval.+newTargetTrackingScalingPolicyConfiguration ::+  -- | 'targetValue'+  Prelude.Double ->+  TargetTrackingScalingPolicyConfiguration+newTargetTrackingScalingPolicyConfiguration+  pTargetValue_ =+    TargetTrackingScalingPolicyConfiguration'+      { customizedMetricSpecification =+          Prelude.Nothing,+        disableScaleIn = Prelude.Nothing,+        predefinedMetricSpecification =+          Prelude.Nothing,+        scaleInCooldown = Prelude.Nothing,+        scaleOutCooldown =+          Prelude.Nothing,+        targetValue = pTargetValue_+      }++-- | A customized metric. You can specify either a predefined metric or a+-- customized metric.+targetTrackingScalingPolicyConfiguration_customizedMetricSpecification :: Lens.Lens' TargetTrackingScalingPolicyConfiguration (Prelude.Maybe CustomizedMetricSpecification)+targetTrackingScalingPolicyConfiguration_customizedMetricSpecification = Lens.lens (\TargetTrackingScalingPolicyConfiguration' {customizedMetricSpecification} -> customizedMetricSpecification) (\s@TargetTrackingScalingPolicyConfiguration' {} a -> s {customizedMetricSpecification = a} :: TargetTrackingScalingPolicyConfiguration)++-- | 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@.+targetTrackingScalingPolicyConfiguration_disableScaleIn :: Lens.Lens' TargetTrackingScalingPolicyConfiguration (Prelude.Maybe Prelude.Bool)+targetTrackingScalingPolicyConfiguration_disableScaleIn = Lens.lens (\TargetTrackingScalingPolicyConfiguration' {disableScaleIn} -> disableScaleIn) (\s@TargetTrackingScalingPolicyConfiguration' {} a -> s {disableScaleIn = a} :: TargetTrackingScalingPolicyConfiguration)++-- | A predefined metric. You can specify either a predefined metric or a+-- customized metric.+targetTrackingScalingPolicyConfiguration_predefinedMetricSpecification :: Lens.Lens' TargetTrackingScalingPolicyConfiguration (Prelude.Maybe PredefinedMetricSpecification)+targetTrackingScalingPolicyConfiguration_predefinedMetricSpecification = Lens.lens (\TargetTrackingScalingPolicyConfiguration' {predefinedMetricSpecification} -> predefinedMetricSpecification) (\s@TargetTrackingScalingPolicyConfiguration' {} a -> s {predefinedMetricSpecification = a} :: TargetTrackingScalingPolicyConfiguration)++-- | 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+targetTrackingScalingPolicyConfiguration_scaleInCooldown :: Lens.Lens' TargetTrackingScalingPolicyConfiguration (Prelude.Maybe Prelude.Int)+targetTrackingScalingPolicyConfiguration_scaleInCooldown = Lens.lens (\TargetTrackingScalingPolicyConfiguration' {scaleInCooldown} -> scaleInCooldown) (\s@TargetTrackingScalingPolicyConfiguration' {} a -> s {scaleInCooldown = a} :: TargetTrackingScalingPolicyConfiguration)++-- | 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+targetTrackingScalingPolicyConfiguration_scaleOutCooldown :: Lens.Lens' TargetTrackingScalingPolicyConfiguration (Prelude.Maybe Prelude.Int)+targetTrackingScalingPolicyConfiguration_scaleOutCooldown = Lens.lens (\TargetTrackingScalingPolicyConfiguration' {scaleOutCooldown} -> scaleOutCooldown) (\s@TargetTrackingScalingPolicyConfiguration' {} a -> s {scaleOutCooldown = a} :: TargetTrackingScalingPolicyConfiguration)++-- | 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.+--+-- If the scaling policy specifies the @ALBRequestCountPerTarget@+-- predefined metric, specify the target utilization as the optimal average+-- request count per target during any one-minute interval.+targetTrackingScalingPolicyConfiguration_targetValue :: Lens.Lens' TargetTrackingScalingPolicyConfiguration Prelude.Double+targetTrackingScalingPolicyConfiguration_targetValue = Lens.lens (\TargetTrackingScalingPolicyConfiguration' {targetValue} -> targetValue) (\s@TargetTrackingScalingPolicyConfiguration' {} a -> s {targetValue = a} :: TargetTrackingScalingPolicyConfiguration)++instance+  Data.FromJSON+    TargetTrackingScalingPolicyConfiguration+  where+  parseJSON =+    Data.withObject+      "TargetTrackingScalingPolicyConfiguration"+      ( \x ->+          TargetTrackingScalingPolicyConfiguration'+            Prelude.<$> (x Data..:? "CustomizedMetricSpecification")+            Prelude.<*> (x Data..:? "DisableScaleIn")+            Prelude.<*> (x Data..:? "PredefinedMetricSpecification")+            Prelude.<*> (x Data..:? "ScaleInCooldown")+            Prelude.<*> (x Data..:? "ScaleOutCooldown")+            Prelude.<*> (x Data..: "TargetValue")+      )++instance+  Prelude.Hashable+    TargetTrackingScalingPolicyConfiguration+  where+  hashWithSalt+    _salt+    TargetTrackingScalingPolicyConfiguration' {..} =+      _salt+        `Prelude.hashWithSalt` customizedMetricSpecification+        `Prelude.hashWithSalt` disableScaleIn+        `Prelude.hashWithSalt` predefinedMetricSpecification+        `Prelude.hashWithSalt` scaleInCooldown+        `Prelude.hashWithSalt` scaleOutCooldown+        `Prelude.hashWithSalt` targetValue++instance+  Prelude.NFData+    TargetTrackingScalingPolicyConfiguration+  where+  rnf TargetTrackingScalingPolicyConfiguration' {..} =+    Prelude.rnf customizedMetricSpecification+      `Prelude.seq` Prelude.rnf disableScaleIn+      `Prelude.seq` Prelude.rnf predefinedMetricSpecification+      `Prelude.seq` Prelude.rnf scaleInCooldown+      `Prelude.seq` Prelude.rnf scaleOutCooldown+      `Prelude.seq` Prelude.rnf targetValue++instance+  Data.ToJSON+    TargetTrackingScalingPolicyConfiguration+  where+  toJSON TargetTrackingScalingPolicyConfiguration' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("CustomizedMetricSpecification" Data..=)+              Prelude.<$> customizedMetricSpecification,+            ("DisableScaleIn" Data..=)+              Prelude.<$> disableScaleIn,+            ("PredefinedMetricSpecification" Data..=)+              Prelude.<$> predefinedMetricSpecification,+            ("ScaleInCooldown" Data..=)+              Prelude.<$> scaleInCooldown,+            ("ScaleOutCooldown" Data..=)+              Prelude.<$> scaleOutCooldown,+            Prelude.Just ("TargetValue" Data..= targetValue)+          ]+      )
+ gen/Amazonka/ApplicationAutoScaling/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ApplicationAutoScaling.Waiters+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ApplicationAutoScaling.Waiters where++import Amazonka.ApplicationAutoScaling.Lens+import Amazonka.ApplicationAutoScaling.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude
− gen/Network/AWS/ApplicationAutoScaling.hs
@@ -1,295 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling--- Copyright   : (c) 2013-2018 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)------ With Application Auto Scaling, you can configure automatic scaling for your scalable AWS resources. You can use Application Auto Scaling to accomplish the following tasks:---------     * Define scaling policies to automatically scale your AWS resources------     * Scale your resources in response to CloudWatch alarms------     * Schedule one-time or recurring scaling actions------     * View the history of your scaling events------------ Application Auto Scaling can scale the following AWS resources:------     * Amazon ECS services. For more information, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html Service Auto Scaling> in the /Amazon Elastic Container Service Developer Guide/ .------     * Amazon EC2 Spot fleets. For more information, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-auto-scaling.html Automatic Scaling for Spot Fleet> in the /Amazon EC2 User Guide/ .------     * Amazon EMR clusters. For more information, see <http://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-automatic-scaling.html Using Automatic Scaling in Amazon EMR> in the /Amazon EMR Management Guide/ .------     * AppStream 2.0 fleets. For more information, see <http://docs.aws.amazon.com/appstream2/latest/developerguide/autoscaling.html Fleet Auto Scaling for Amazon AppStream 2.0> in the /Amazon AppStream 2.0 Developer Guide/ .------     * Provisioned read and write capacity for Amazon DynamoDB tables and global secondary indexes. For more information, see <http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html Managing Throughput Capacity Automatically with DynamoDB Auto Scaling> in the /Amazon DynamoDB Developer Guide/ .------     * Amazon Aurora Replicas. For more information, see <http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Integrating.AutoScaling.html Using Amazon Aurora Auto Scaling with Aurora Replicas> .------     * Amazon SageMaker endpoints. For more information, see <http://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling.html Automatically Scaling Amazon SageMaker Models> .------------ To configure automatic scaling for multiple resources across multiple services, use AWS Auto Scaling to create a scaling plan for your application. For more information, see <http://aws.amazon.com/autoscaling AWS Auto Scaling> .------ For a list of supported regions, see <http://docs.aws.amazon.com/general/latest/gr/rande.html#as-app_region AWS Regions and Endpoints: Application Auto Scaling> in the /AWS General Reference/ .----module Network.AWS.ApplicationAutoScaling-    (-    -- * Service Configuration-      applicationAutoScaling--    -- * Errors-    -- $errors--    -- ** ValidationException-    , _ValidationException--    -- ** FailedResourceAccessException-    , _FailedResourceAccessException--    -- ** InvalidNextTokenException-    , _InvalidNextTokenException--    -- ** ConcurrentUpdateException-    , _ConcurrentUpdateException--    -- ** InternalServiceException-    , _InternalServiceException--    -- ** ObjectNotFoundException-    , _ObjectNotFoundException--    -- ** LimitExceededException-    , _LimitExceededException--    -- * Waiters-    -- $waiters--    -- * Operations-    -- $operations--    -- ** DeleteScalingPolicy-    , module Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy--    -- ** PutScalingPolicy-    , module Network.AWS.ApplicationAutoScaling.PutScalingPolicy--    -- ** RegisterScalableTarget-    , module Network.AWS.ApplicationAutoScaling.RegisterScalableTarget--    -- ** DescribeScalingPolicies (Paginated)-    , module Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies--    -- ** PutScheduledAction-    , module Network.AWS.ApplicationAutoScaling.PutScheduledAction--    -- ** DeleteScheduledAction-    , module Network.AWS.ApplicationAutoScaling.DeleteScheduledAction--    -- ** DescribeScheduledActions-    , module Network.AWS.ApplicationAutoScaling.DescribeScheduledActions--    -- ** DescribeScalableTargets (Paginated)-    , module Network.AWS.ApplicationAutoScaling.DescribeScalableTargets--    -- ** DescribeScalingActivities (Paginated)-    , module Network.AWS.ApplicationAutoScaling.DescribeScalingActivities--    -- ** DeregisterScalableTarget-    , module Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget--    -- * Types--    -- ** AdjustmentType-    , AdjustmentType (..)--    -- ** MetricAggregationType-    , MetricAggregationType (..)--    -- ** MetricStatistic-    , MetricStatistic (..)--    -- ** MetricType-    , MetricType (..)--    -- ** PolicyType-    , PolicyType (..)--    -- ** ScalableDimension-    , ScalableDimension (..)--    -- ** ScalingActivityStatusCode-    , ScalingActivityStatusCode (..)--    -- ** ServiceNamespace-    , ServiceNamespace (..)--    -- ** Alarm-    , Alarm-    , alarm-    , aAlarmName-    , aAlarmARN--    -- ** CustomizedMetricSpecification-    , CustomizedMetricSpecification-    , customizedMetricSpecification-    , cmsDimensions-    , cmsUnit-    , cmsMetricName-    , cmsNamespace-    , cmsStatistic--    -- ** MetricDimension-    , MetricDimension-    , metricDimension-    , mdName-    , mdValue--    -- ** PredefinedMetricSpecification-    , PredefinedMetricSpecification-    , predefinedMetricSpecification-    , pmsResourceLabel-    , pmsPredefinedMetricType--    -- ** ScalableTarget-    , ScalableTarget-    , scalableTarget-    , stServiceNamespace-    , stResourceId-    , stScalableDimension-    , stMinCapacity-    , stMaxCapacity-    , stRoleARN-    , stCreationTime--    -- ** ScalableTargetAction-    , ScalableTargetAction-    , scalableTargetAction-    , staMaxCapacity-    , staMinCapacity--    -- ** ScalingActivity-    , ScalingActivity-    , scalingActivity-    , sStatusMessage-    , sEndTime-    , sDetails-    , sActivityId-    , sServiceNamespace-    , sResourceId-    , sScalableDimension-    , sDescription-    , sCause-    , sStartTime-    , sStatusCode--    -- ** ScalingPolicy-    , ScalingPolicy-    , scalingPolicy-    , spTargetTrackingScalingPolicyConfiguration-    , spStepScalingPolicyConfiguration-    , spAlarms-    , spPolicyARN-    , spPolicyName-    , spServiceNamespace-    , spResourceId-    , spScalableDimension-    , spPolicyType-    , spCreationTime--    -- ** ScheduledAction-    , ScheduledAction-    , scheduledAction-    , saScalableDimension-    , saStartTime-    , saEndTime-    , saScalableTargetAction-    , saScheduledActionName-    , saScheduledActionARN-    , saServiceNamespace-    , saSchedule-    , saResourceId-    , saCreationTime--    -- ** StepAdjustment-    , StepAdjustment-    , stepAdjustment-    , saMetricIntervalLowerBound-    , saMetricIntervalUpperBound-    , saScalingAdjustment--    -- ** StepScalingPolicyConfiguration-    , StepScalingPolicyConfiguration-    , stepScalingPolicyConfiguration-    , sspcStepAdjustments-    , sspcAdjustmentType-    , sspcCooldown-    , sspcMetricAggregationType-    , sspcMinAdjustmentMagnitude--    -- ** TargetTrackingScalingPolicyConfiguration-    , TargetTrackingScalingPolicyConfiguration-    , targetTrackingScalingPolicyConfiguration-    , ttspcPredefinedMetricSpecification-    , ttspcScaleInCooldown-    , ttspcCustomizedMetricSpecification-    , ttspcDisableScaleIn-    , ttspcScaleOutCooldown-    , ttspcTargetValue-    ) where--import Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy-import Network.AWS.ApplicationAutoScaling.DeleteScheduledAction-import Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget-import Network.AWS.ApplicationAutoScaling.DescribeScalableTargets-import Network.AWS.ApplicationAutoScaling.DescribeScalingActivities-import Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies-import Network.AWS.ApplicationAutoScaling.DescribeScheduledActions-import Network.AWS.ApplicationAutoScaling.PutScalingPolicy-import Network.AWS.ApplicationAutoScaling.PutScheduledAction-import Network.AWS.ApplicationAutoScaling.RegisterScalableTarget-import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'ApplicationAutoScaling'.--}--{- $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.--}--{- $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.--}
− gen/Network/AWS/ApplicationAutoScaling/DeleteScalingPolicy.hs
@@ -1,164 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy--- Copyright   : (c) 2013-2018 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)------ Deletes the specified Application Auto Scaling scaling policy.--------- Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action.------ To create a scaling policy or update an existing one, see 'PutScalingPolicy' .----module Network.AWS.ApplicationAutoScaling.DeleteScalingPolicy-    (-    -- * Creating a Request-      deleteScalingPolicy-    , DeleteScalingPolicy-    -- * Request Lenses-    , dspPolicyName-    , dspServiceNamespace-    , dspResourceId-    , dspScalableDimension--    -- * Destructuring the Response-    , deleteScalingPolicyResponse-    , DeleteScalingPolicyResponse-    -- * Response Lenses-    , dsprsResponseStatus-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteScalingPolicy' smart constructor.-data DeleteScalingPolicy = DeleteScalingPolicy'-  { _dspPolicyName        :: !Text-  , _dspServiceNamespace  :: !ServiceNamespace-  , _dspResourceId        :: !Text-  , _dspScalableDimension :: !ScalableDimension-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteScalingPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dspPolicyName' - The name of the scaling policy.------ * 'dspServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'dspResourceId' - 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'dspScalableDimension' - The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-deleteScalingPolicy-    :: Text -- ^ 'dspPolicyName'-    -> ServiceNamespace -- ^ 'dspServiceNamespace'-    -> Text -- ^ 'dspResourceId'-    -> ScalableDimension -- ^ 'dspScalableDimension'-    -> DeleteScalingPolicy-deleteScalingPolicy pPolicyName_ pServiceNamespace_ pResourceId_ pScalableDimension_ =-  DeleteScalingPolicy'-    { _dspPolicyName = pPolicyName_-    , _dspServiceNamespace = pServiceNamespace_-    , _dspResourceId = pResourceId_-    , _dspScalableDimension = pScalableDimension_-    }----- | The name of the scaling policy.-dspPolicyName :: Lens' DeleteScalingPolicy Text-dspPolicyName = lens _dspPolicyName (\ s a -> s{_dspPolicyName = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-dspServiceNamespace :: Lens' DeleteScalingPolicy ServiceNamespace-dspServiceNamespace = lens _dspServiceNamespace (\ s a -> s{_dspServiceNamespace = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-dspResourceId :: Lens' DeleteScalingPolicy Text-dspResourceId = lens _dspResourceId (\ s a -> s{_dspResourceId = a})---- | The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-dspScalableDimension :: Lens' DeleteScalingPolicy ScalableDimension-dspScalableDimension = lens _dspScalableDimension (\ s a -> s{_dspScalableDimension = a})--instance AWSRequest DeleteScalingPolicy where-        type Rs DeleteScalingPolicy =-             DeleteScalingPolicyResponse-        request = postJSON applicationAutoScaling-        response-          = receiveEmpty-              (\ s h x ->-                 DeleteScalingPolicyResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteScalingPolicy where--instance NFData DeleteScalingPolicy where--instance ToHeaders DeleteScalingPolicy where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.DeleteScalingPolicy" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteScalingPolicy where-        toJSON DeleteScalingPolicy'{..}-          = object-              (catMaybes-                 [Just ("PolicyName" .= _dspPolicyName),-                  Just ("ServiceNamespace" .= _dspServiceNamespace),-                  Just ("ResourceId" .= _dspResourceId),-                  Just ("ScalableDimension" .= _dspScalableDimension)])--instance ToPath DeleteScalingPolicy where-        toPath = const "/"--instance ToQuery DeleteScalingPolicy where-        toQuery = const mempty---- | /See:/ 'deleteScalingPolicyResponse' smart constructor.-newtype DeleteScalingPolicyResponse = DeleteScalingPolicyResponse'-  { _dsprsResponseStatus :: Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteScalingPolicyResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsprsResponseStatus' - -- | The response status code.-deleteScalingPolicyResponse-    :: Int -- ^ 'dsprsResponseStatus'-    -> DeleteScalingPolicyResponse-deleteScalingPolicyResponse pResponseStatus_ =-  DeleteScalingPolicyResponse' {_dsprsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dsprsResponseStatus :: Lens' DeleteScalingPolicyResponse Int-dsprsResponseStatus = lens _dsprsResponseStatus (\ s a -> s{_dsprsResponseStatus = a})--instance NFData DeleteScalingPolicyResponse where
− gen/Network/AWS/ApplicationAutoScaling/DeleteScheduledAction.hs
@@ -1,161 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.DeleteScheduledAction--- Copyright   : (c) 2013-2018 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)------ Deletes the specified Application Auto Scaling scheduled action.-------module Network.AWS.ApplicationAutoScaling.DeleteScheduledAction-    (-    -- * Creating a Request-      deleteScheduledAction-    , DeleteScheduledAction-    -- * Request Lenses-    , dsaScalableDimension-    , dsaServiceNamespace-    , dsaScheduledActionName-    , dsaResourceId--    -- * Destructuring the Response-    , deleteScheduledActionResponse-    , DeleteScheduledActionResponse-    -- * Response Lenses-    , delrsResponseStatus-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteScheduledAction' smart constructor.-data DeleteScheduledAction = DeleteScheduledAction'-  { _dsaScalableDimension   :: !(Maybe ScalableDimension)-  , _dsaServiceNamespace    :: !ServiceNamespace-  , _dsaScheduledActionName :: !Text-  , _dsaResourceId          :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteScheduledAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsaScalableDimension' - The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'dsaServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'dsaScheduledActionName' - The name of the scheduled action.------ * 'dsaResourceId' - The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.     * ECS service - The resource type is @service@ and the unique identifier is the cluster name and service name. Example: @service/default/sample-webapp@ .     * Spot fleet request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-deleteScheduledAction-    :: ServiceNamespace -- ^ 'dsaServiceNamespace'-    -> Text -- ^ 'dsaScheduledActionName'-    -> Text -- ^ 'dsaResourceId'-    -> DeleteScheduledAction-deleteScheduledAction pServiceNamespace_ pScheduledActionName_ pResourceId_ =-  DeleteScheduledAction'-    { _dsaScalableDimension = Nothing-    , _dsaServiceNamespace = pServiceNamespace_-    , _dsaScheduledActionName = pScheduledActionName_-    , _dsaResourceId = pResourceId_-    }----- | The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-dsaScalableDimension :: Lens' DeleteScheduledAction (Maybe ScalableDimension)-dsaScalableDimension = lens _dsaScalableDimension (\ s a -> s{_dsaScalableDimension = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-dsaServiceNamespace :: Lens' DeleteScheduledAction ServiceNamespace-dsaServiceNamespace = lens _dsaServiceNamespace (\ s a -> s{_dsaServiceNamespace = a})---- | The name of the scheduled action.-dsaScheduledActionName :: Lens' DeleteScheduledAction Text-dsaScheduledActionName = lens _dsaScheduledActionName (\ s a -> s{_dsaScheduledActionName = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-dsaResourceId :: Lens' DeleteScheduledAction Text-dsaResourceId = lens _dsaResourceId (\ s a -> s{_dsaResourceId = a})--instance AWSRequest DeleteScheduledAction where-        type Rs DeleteScheduledAction =-             DeleteScheduledActionResponse-        request = postJSON applicationAutoScaling-        response-          = receiveEmpty-              (\ s h x ->-                 DeleteScheduledActionResponse' <$>-                   (pure (fromEnum s)))--instance Hashable DeleteScheduledAction where--instance NFData DeleteScheduledAction where--instance ToHeaders DeleteScheduledAction where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.DeleteScheduledAction" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteScheduledAction where-        toJSON DeleteScheduledAction'{..}-          = object-              (catMaybes-                 [("ScalableDimension" .=) <$> _dsaScalableDimension,-                  Just ("ServiceNamespace" .= _dsaServiceNamespace),-                  Just-                    ("ScheduledActionName" .= _dsaScheduledActionName),-                  Just ("ResourceId" .= _dsaResourceId)])--instance ToPath DeleteScheduledAction where-        toPath = const "/"--instance ToQuery DeleteScheduledAction where-        toQuery = const mempty---- | /See:/ 'deleteScheduledActionResponse' smart constructor.-newtype DeleteScheduledActionResponse = DeleteScheduledActionResponse'-  { _delrsResponseStatus :: Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteScheduledActionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'delrsResponseStatus' - -- | The response status code.-deleteScheduledActionResponse-    :: Int -- ^ 'delrsResponseStatus'-    -> DeleteScheduledActionResponse-deleteScheduledActionResponse pResponseStatus_ =-  DeleteScheduledActionResponse' {_delrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-delrsResponseStatus :: Lens' DeleteScheduledActionResponse Int-delrsResponseStatus = lens _delrsResponseStatus (\ s a -> s{_delrsResponseStatus = a})--instance NFData DeleteScheduledActionResponse where
− gen/Network/AWS/ApplicationAutoScaling/DeregisterScalableTarget.hs
@@ -1,155 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget--- Copyright   : (c) 2013-2018 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)------ Deregisters a scalable target.--------- Deregistering a scalable target deletes the scaling policies that are associated with it.------ To create a scalable target or update an existing one, see 'RegisterScalableTarget' .----module Network.AWS.ApplicationAutoScaling.DeregisterScalableTarget-    (-    -- * Creating a Request-      deregisterScalableTarget-    , DeregisterScalableTarget-    -- * Request Lenses-    , derServiceNamespace-    , derResourceId-    , derScalableDimension--    -- * Destructuring the Response-    , deregisterScalableTargetResponse-    , DeregisterScalableTargetResponse-    -- * Response Lenses-    , dstrsResponseStatus-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deregisterScalableTarget' smart constructor.-data DeregisterScalableTarget = DeregisterScalableTarget'-  { _derServiceNamespace  :: !ServiceNamespace-  , _derResourceId        :: !Text-  , _derScalableDimension :: !ScalableDimension-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterScalableTarget' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'derServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'derResourceId' - 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'derScalableDimension' - 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-deregisterScalableTarget-    :: ServiceNamespace -- ^ 'derServiceNamespace'-    -> Text -- ^ 'derResourceId'-    -> ScalableDimension -- ^ 'derScalableDimension'-    -> DeregisterScalableTarget-deregisterScalableTarget pServiceNamespace_ pResourceId_ pScalableDimension_ =-  DeregisterScalableTarget'-    { _derServiceNamespace = pServiceNamespace_-    , _derResourceId = pResourceId_-    , _derScalableDimension = pScalableDimension_-    }----- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-derServiceNamespace :: Lens' DeregisterScalableTarget ServiceNamespace-derServiceNamespace = lens _derServiceNamespace (\ s a -> s{_derServiceNamespace = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-derResourceId :: Lens' DeregisterScalableTarget Text-derResourceId = lens _derResourceId (\ s a -> s{_derResourceId = a})---- | 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-derScalableDimension :: Lens' DeregisterScalableTarget ScalableDimension-derScalableDimension = lens _derScalableDimension (\ s a -> s{_derScalableDimension = a})--instance AWSRequest DeregisterScalableTarget where-        type Rs DeregisterScalableTarget =-             DeregisterScalableTargetResponse-        request = postJSON applicationAutoScaling-        response-          = receiveEmpty-              (\ s h x ->-                 DeregisterScalableTargetResponse' <$>-                   (pure (fromEnum s)))--instance Hashable DeregisterScalableTarget where--instance NFData DeregisterScalableTarget where--instance ToHeaders DeregisterScalableTarget where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.DeregisterScalableTarget"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeregisterScalableTarget where-        toJSON DeregisterScalableTarget'{..}-          = object-              (catMaybes-                 [Just ("ServiceNamespace" .= _derServiceNamespace),-                  Just ("ResourceId" .= _derResourceId),-                  Just ("ScalableDimension" .= _derScalableDimension)])--instance ToPath DeregisterScalableTarget where-        toPath = const "/"--instance ToQuery DeregisterScalableTarget where-        toQuery = const mempty---- | /See:/ 'deregisterScalableTargetResponse' smart constructor.-newtype DeregisterScalableTargetResponse = DeregisterScalableTargetResponse'-  { _dstrsResponseStatus :: Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeregisterScalableTargetResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dstrsResponseStatus' - -- | The response status code.-deregisterScalableTargetResponse-    :: Int -- ^ 'dstrsResponseStatus'-    -> DeregisterScalableTargetResponse-deregisterScalableTargetResponse pResponseStatus_ =-  DeregisterScalableTargetResponse' {_dstrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dstrsResponseStatus :: Lens' DeregisterScalableTargetResponse Int-dstrsResponseStatus = lens _dstrsResponseStatus (\ s a -> s{_dstrsResponseStatus = a})--instance NFData DeregisterScalableTargetResponse-         where
− gen/Network/AWS/ApplicationAutoScaling/DescribeScalableTargets.hs
@@ -1,204 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.DescribeScalableTargets--- Copyright   : (c) 2013-2018 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)------ Gets information about the scalable targets in the specified namespace.--------- You can filter the results using the @ResourceIds@ and @ScalableDimension@ parameters.------ To create a scalable target or update an existing one, see 'RegisterScalableTarget' . If you are no longer using a scalable target, you can deregister it using 'DeregisterScalableTarget' .--------- This operation returns paginated results.-module Network.AWS.ApplicationAutoScaling.DescribeScalableTargets-    (-    -- * Creating a Request-      describeScalableTargets-    , DescribeScalableTargets-    -- * Request Lenses-    , dstResourceIds-    , dstScalableDimension-    , dstNextToken-    , dstMaxResults-    , dstServiceNamespace--    -- * Destructuring the Response-    , describeScalableTargetsResponse-    , DescribeScalableTargetsResponse-    -- * Response Lenses-    , dstsrsNextToken-    , dstsrsScalableTargets-    , dstsrsResponseStatus-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeScalableTargets' smart constructor.-data DescribeScalableTargets = DescribeScalableTargets'-  { _dstResourceIds       :: !(Maybe [Text])-  , _dstScalableDimension :: !(Maybe ScalableDimension)-  , _dstNextToken         :: !(Maybe Text)-  , _dstMaxResults        :: !(Maybe Int)-  , _dstServiceNamespace  :: !ServiceNamespace-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalableTargets' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dstResourceIds' - The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.     * 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'dstScalableDimension' - 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'dstNextToken' - The token for the next set of results.------ * 'dstMaxResults' - 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.------ * 'dstServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-describeScalableTargets-    :: ServiceNamespace -- ^ 'dstServiceNamespace'-    -> DescribeScalableTargets-describeScalableTargets pServiceNamespace_ =-  DescribeScalableTargets'-    { _dstResourceIds = Nothing-    , _dstScalableDimension = Nothing-    , _dstNextToken = Nothing-    , _dstMaxResults = Nothing-    , _dstServiceNamespace = pServiceNamespace_-    }----- | The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.     * 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-dstResourceIds :: Lens' DescribeScalableTargets [Text]-dstResourceIds = lens _dstResourceIds (\ s a -> s{_dstResourceIds = a}) . _Default . _Coerce---- | 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-dstScalableDimension :: Lens' DescribeScalableTargets (Maybe ScalableDimension)-dstScalableDimension = lens _dstScalableDimension (\ s a -> s{_dstScalableDimension = a})---- | The token for the next set of results.-dstNextToken :: Lens' DescribeScalableTargets (Maybe Text)-dstNextToken = lens _dstNextToken (\ s a -> s{_dstNextToken = a})---- | 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.-dstMaxResults :: Lens' DescribeScalableTargets (Maybe Int)-dstMaxResults = lens _dstMaxResults (\ s a -> s{_dstMaxResults = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-dstServiceNamespace :: Lens' DescribeScalableTargets ServiceNamespace-dstServiceNamespace = lens _dstServiceNamespace (\ s a -> s{_dstServiceNamespace = a})--instance AWSPager DescribeScalableTargets where-        page rq rs-          | stop (rs ^. dstsrsNextToken) = Nothing-          | stop (rs ^. dstsrsScalableTargets) = Nothing-          | otherwise =-            Just $ rq & dstNextToken .~ rs ^. dstsrsNextToken--instance AWSRequest DescribeScalableTargets where-        type Rs DescribeScalableTargets =-             DescribeScalableTargetsResponse-        request = postJSON applicationAutoScaling-        response-          = receiveJSON-              (\ s h x ->-                 DescribeScalableTargetsResponse' <$>-                   (x .?> "NextToken") <*>-                     (x .?> "ScalableTargets" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable DescribeScalableTargets where--instance NFData DescribeScalableTargets where--instance ToHeaders DescribeScalableTargets where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.DescribeScalableTargets" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeScalableTargets where-        toJSON DescribeScalableTargets'{..}-          = object-              (catMaybes-                 [("ResourceIds" .=) <$> _dstResourceIds,-                  ("ScalableDimension" .=) <$> _dstScalableDimension,-                  ("NextToken" .=) <$> _dstNextToken,-                  ("MaxResults" .=) <$> _dstMaxResults,-                  Just ("ServiceNamespace" .= _dstServiceNamespace)])--instance ToPath DescribeScalableTargets where-        toPath = const "/"--instance ToQuery DescribeScalableTargets where-        toQuery = const mempty---- | /See:/ 'describeScalableTargetsResponse' smart constructor.-data DescribeScalableTargetsResponse = DescribeScalableTargetsResponse'-  { _dstsrsNextToken       :: !(Maybe Text)-  , _dstsrsScalableTargets :: !(Maybe [ScalableTarget])-  , _dstsrsResponseStatus  :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalableTargetsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dstsrsNextToken' - The token required to get the next set of results. This value is @null@ if there are no more results to return.------ * 'dstsrsScalableTargets' - The scalable targets that match the request parameters.------ * 'dstsrsResponseStatus' - -- | The response status code.-describeScalableTargetsResponse-    :: Int -- ^ 'dstsrsResponseStatus'-    -> DescribeScalableTargetsResponse-describeScalableTargetsResponse pResponseStatus_ =-  DescribeScalableTargetsResponse'-    { _dstsrsNextToken = Nothing-    , _dstsrsScalableTargets = Nothing-    , _dstsrsResponseStatus = pResponseStatus_-    }----- | The token required to get the next set of results. This value is @null@ if there are no more results to return.-dstsrsNextToken :: Lens' DescribeScalableTargetsResponse (Maybe Text)-dstsrsNextToken = lens _dstsrsNextToken (\ s a -> s{_dstsrsNextToken = a})---- | The scalable targets that match the request parameters.-dstsrsScalableTargets :: Lens' DescribeScalableTargetsResponse [ScalableTarget]-dstsrsScalableTargets = lens _dstsrsScalableTargets (\ s a -> s{_dstsrsScalableTargets = a}) . _Default . _Coerce---- | -- | The response status code.-dstsrsResponseStatus :: Lens' DescribeScalableTargetsResponse Int-dstsrsResponseStatus = lens _dstsrsResponseStatus (\ s a -> s{_dstsrsResponseStatus = a})--instance NFData DescribeScalableTargetsResponse where
− gen/Network/AWS/ApplicationAutoScaling/DescribeScalingActivities.hs
@@ -1,205 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.DescribeScalingActivities--- Copyright   : (c) 2013-2018 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)------ Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.--------- You can filter the results using the @ResourceId@ and @ScalableDimension@ parameters.------ Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see 'DescribeScalingPolicies' . To create a scaling policy or update an existing one, see 'PutScalingPolicy' .--------- This operation returns paginated results.-module Network.AWS.ApplicationAutoScaling.DescribeScalingActivities-    (-    -- * Creating a Request-      describeScalingActivities-    , DescribeScalingActivities-    -- * Request Lenses-    , desScalableDimension-    , desResourceId-    , desNextToken-    , desMaxResults-    , desServiceNamespace--    -- * Destructuring the Response-    , describeScalingActivitiesResponse-    , DescribeScalingActivitiesResponse-    -- * Response Lenses-    , dsasrsScalingActivities-    , dsasrsNextToken-    , dsasrsResponseStatus-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeScalingActivities' smart constructor.-data DescribeScalingActivities = DescribeScalingActivities'-  { _desScalableDimension :: !(Maybe ScalableDimension)-  , _desResourceId        :: !(Maybe Text)-  , _desNextToken         :: !(Maybe Text)-  , _desMaxResults        :: !(Maybe Int)-  , _desServiceNamespace  :: !ServiceNamespace-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalingActivities' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'desScalableDimension' - 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'desResourceId' - The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.     * 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'desNextToken' - The token for the next set of results.------ * 'desMaxResults' - 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.------ * 'desServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-describeScalingActivities-    :: ServiceNamespace -- ^ 'desServiceNamespace'-    -> DescribeScalingActivities-describeScalingActivities pServiceNamespace_ =-  DescribeScalingActivities'-    { _desScalableDimension = Nothing-    , _desResourceId = Nothing-    , _desNextToken = Nothing-    , _desMaxResults = Nothing-    , _desServiceNamespace = pServiceNamespace_-    }----- | 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-desScalableDimension :: Lens' DescribeScalingActivities (Maybe ScalableDimension)-desScalableDimension = lens _desScalableDimension (\ s a -> s{_desScalableDimension = a})---- | The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.     * 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-desResourceId :: Lens' DescribeScalingActivities (Maybe Text)-desResourceId = lens _desResourceId (\ s a -> s{_desResourceId = a})---- | The token for the next set of results.-desNextToken :: Lens' DescribeScalingActivities (Maybe Text)-desNextToken = lens _desNextToken (\ s a -> s{_desNextToken = a})---- | 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.-desMaxResults :: Lens' DescribeScalingActivities (Maybe Int)-desMaxResults = lens _desMaxResults (\ s a -> s{_desMaxResults = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-desServiceNamespace :: Lens' DescribeScalingActivities ServiceNamespace-desServiceNamespace = lens _desServiceNamespace (\ s a -> s{_desServiceNamespace = a})--instance AWSPager DescribeScalingActivities where-        page rq rs-          | stop (rs ^. dsasrsNextToken) = Nothing-          | stop (rs ^. dsasrsScalingActivities) = Nothing-          | otherwise =-            Just $ rq & desNextToken .~ rs ^. dsasrsNextToken--instance AWSRequest DescribeScalingActivities where-        type Rs DescribeScalingActivities =-             DescribeScalingActivitiesResponse-        request = postJSON applicationAutoScaling-        response-          = receiveJSON-              (\ s h x ->-                 DescribeScalingActivitiesResponse' <$>-                   (x .?> "ScalingActivities" .!@ mempty) <*>-                     (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable DescribeScalingActivities where--instance NFData DescribeScalingActivities where--instance ToHeaders DescribeScalingActivities where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.DescribeScalingActivities"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeScalingActivities where-        toJSON DescribeScalingActivities'{..}-          = object-              (catMaybes-                 [("ScalableDimension" .=) <$> _desScalableDimension,-                  ("ResourceId" .=) <$> _desResourceId,-                  ("NextToken" .=) <$> _desNextToken,-                  ("MaxResults" .=) <$> _desMaxResults,-                  Just ("ServiceNamespace" .= _desServiceNamespace)])--instance ToPath DescribeScalingActivities where-        toPath = const "/"--instance ToQuery DescribeScalingActivities where-        toQuery = const mempty---- | /See:/ 'describeScalingActivitiesResponse' smart constructor.-data DescribeScalingActivitiesResponse = DescribeScalingActivitiesResponse'-  { _dsasrsScalingActivities :: !(Maybe [ScalingActivity])-  , _dsasrsNextToken         :: !(Maybe Text)-  , _dsasrsResponseStatus    :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalingActivitiesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsasrsScalingActivities' - A list of scaling activity objects.------ * 'dsasrsNextToken' - The token required to get the next set of results. This value is @null@ if there are no more results to return.------ * 'dsasrsResponseStatus' - -- | The response status code.-describeScalingActivitiesResponse-    :: Int -- ^ 'dsasrsResponseStatus'-    -> DescribeScalingActivitiesResponse-describeScalingActivitiesResponse pResponseStatus_ =-  DescribeScalingActivitiesResponse'-    { _dsasrsScalingActivities = Nothing-    , _dsasrsNextToken = Nothing-    , _dsasrsResponseStatus = pResponseStatus_-    }----- | A list of scaling activity objects.-dsasrsScalingActivities :: Lens' DescribeScalingActivitiesResponse [ScalingActivity]-dsasrsScalingActivities = lens _dsasrsScalingActivities (\ s a -> s{_dsasrsScalingActivities = a}) . _Default . _Coerce---- | The token required to get the next set of results. This value is @null@ if there are no more results to return.-dsasrsNextToken :: Lens' DescribeScalingActivitiesResponse (Maybe Text)-dsasrsNextToken = lens _dsasrsNextToken (\ s a -> s{_dsasrsNextToken = a})---- | -- | The response status code.-dsasrsResponseStatus :: Lens' DescribeScalingActivitiesResponse Int-dsasrsResponseStatus = lens _dsasrsResponseStatus (\ s a -> s{_dsasrsResponseStatus = a})--instance NFData DescribeScalingActivitiesResponse-         where
− gen/Network/AWS/ApplicationAutoScaling/DescribeScalingPolicies.hs
@@ -1,214 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies--- Copyright   : (c) 2013-2018 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)------ Describes the scaling policies for the specified service namespace.--------- You can filter the results using the @ResourceId@ , @ScalableDimension@ , and @PolicyNames@ parameters.------ To create a scaling policy or update an existing one, see 'PutScalingPolicy' . If you are no longer using a scaling policy, you can delete it using 'DeleteScalingPolicy' .--------- This operation returns paginated results.-module Network.AWS.ApplicationAutoScaling.DescribeScalingPolicies-    (-    -- * Creating a Request-      describeScalingPolicies-    , DescribeScalingPolicies-    -- * Request Lenses-    , dPolicyNames-    , dScalableDimension-    , dResourceId-    , dNextToken-    , dMaxResults-    , dServiceNamespace--    -- * Destructuring the Response-    , describeScalingPoliciesResponse-    , DescribeScalingPoliciesResponse-    -- * Response Lenses-    , drsNextToken-    , drsScalingPolicies-    , drsResponseStatus-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeScalingPolicies' smart constructor.-data DescribeScalingPolicies = DescribeScalingPolicies'-  { _dPolicyNames       :: !(Maybe [Text])-  , _dScalableDimension :: !(Maybe ScalableDimension)-  , _dResourceId        :: !(Maybe Text)-  , _dNextToken         :: !(Maybe Text)-  , _dMaxResults        :: !(Maybe Int)-  , _dServiceNamespace  :: !ServiceNamespace-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalingPolicies' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dPolicyNames' - The names of the scaling policies to describe.------ * 'dScalableDimension' - 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'dResourceId' - The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.     * 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'dNextToken' - The token for the next set of results.------ * 'dMaxResults' - 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.------ * 'dServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-describeScalingPolicies-    :: ServiceNamespace -- ^ 'dServiceNamespace'-    -> DescribeScalingPolicies-describeScalingPolicies pServiceNamespace_ =-  DescribeScalingPolicies'-    { _dPolicyNames = Nothing-    , _dScalableDimension = Nothing-    , _dResourceId = Nothing-    , _dNextToken = Nothing-    , _dMaxResults = Nothing-    , _dServiceNamespace = pServiceNamespace_-    }----- | The names of the scaling policies to describe.-dPolicyNames :: Lens' DescribeScalingPolicies [Text]-dPolicyNames = lens _dPolicyNames (\ s a -> s{_dPolicyNames = a}) . _Default . _Coerce---- | 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-dScalableDimension :: Lens' DescribeScalingPolicies (Maybe ScalableDimension)-dScalableDimension = lens _dScalableDimension (\ s a -> s{_dScalableDimension = a})---- | The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.     * 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-dResourceId :: Lens' DescribeScalingPolicies (Maybe Text)-dResourceId = lens _dResourceId (\ s a -> s{_dResourceId = a})---- | The token for the next set of results.-dNextToken :: Lens' DescribeScalingPolicies (Maybe Text)-dNextToken = lens _dNextToken (\ s a -> s{_dNextToken = a})---- | 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.-dMaxResults :: Lens' DescribeScalingPolicies (Maybe Int)-dMaxResults = lens _dMaxResults (\ s a -> s{_dMaxResults = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-dServiceNamespace :: Lens' DescribeScalingPolicies ServiceNamespace-dServiceNamespace = lens _dServiceNamespace (\ s a -> s{_dServiceNamespace = a})--instance AWSPager DescribeScalingPolicies where-        page rq rs-          | stop (rs ^. drsNextToken) = Nothing-          | stop (rs ^. drsScalingPolicies) = Nothing-          | otherwise =-            Just $ rq & dNextToken .~ rs ^. drsNextToken--instance AWSRequest DescribeScalingPolicies where-        type Rs DescribeScalingPolicies =-             DescribeScalingPoliciesResponse-        request = postJSON applicationAutoScaling-        response-          = receiveJSON-              (\ s h x ->-                 DescribeScalingPoliciesResponse' <$>-                   (x .?> "NextToken") <*>-                     (x .?> "ScalingPolicies" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable DescribeScalingPolicies where--instance NFData DescribeScalingPolicies where--instance ToHeaders DescribeScalingPolicies where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.DescribeScalingPolicies" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeScalingPolicies where-        toJSON DescribeScalingPolicies'{..}-          = object-              (catMaybes-                 [("PolicyNames" .=) <$> _dPolicyNames,-                  ("ScalableDimension" .=) <$> _dScalableDimension,-                  ("ResourceId" .=) <$> _dResourceId,-                  ("NextToken" .=) <$> _dNextToken,-                  ("MaxResults" .=) <$> _dMaxResults,-                  Just ("ServiceNamespace" .= _dServiceNamespace)])--instance ToPath DescribeScalingPolicies where-        toPath = const "/"--instance ToQuery DescribeScalingPolicies where-        toQuery = const mempty---- | /See:/ 'describeScalingPoliciesResponse' smart constructor.-data DescribeScalingPoliciesResponse = DescribeScalingPoliciesResponse'-  { _drsNextToken       :: !(Maybe Text)-  , _drsScalingPolicies :: !(Maybe [ScalingPolicy])-  , _drsResponseStatus  :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalingPoliciesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsNextToken' - The token required to get the next set of results. This value is @null@ if there are no more results to return.------ * 'drsScalingPolicies' - Information about the scaling policies.------ * 'drsResponseStatus' - -- | The response status code.-describeScalingPoliciesResponse-    :: Int -- ^ 'drsResponseStatus'-    -> DescribeScalingPoliciesResponse-describeScalingPoliciesResponse pResponseStatus_ =-  DescribeScalingPoliciesResponse'-    { _drsNextToken = Nothing-    , _drsScalingPolicies = Nothing-    , _drsResponseStatus = pResponseStatus_-    }----- | The token required to get the next set of results. This value is @null@ if there are no more results to return.-drsNextToken :: Lens' DescribeScalingPoliciesResponse (Maybe Text)-drsNextToken = lens _drsNextToken (\ s a -> s{_drsNextToken = a})---- | Information about the scaling policies.-drsScalingPolicies :: Lens' DescribeScalingPoliciesResponse [ScalingPolicy]-drsScalingPolicies = lens _drsScalingPolicies (\ s a -> s{_drsScalingPolicies = a}) . _Default . _Coerce---- | -- | The response status code.-drsResponseStatus :: Lens' DescribeScalingPoliciesResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DescribeScalingPoliciesResponse where
− gen/Network/AWS/ApplicationAutoScaling/DescribeScheduledActions.hs
@@ -1,206 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.DescribeScheduledActions--- Copyright   : (c) 2013-2018 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)------ Describes the scheduled actions for the specified service namespace.--------- You can filter the results using the @ResourceId@ , @ScalableDimension@ , and @ScheduledActionNames@ parameters.------ To create a scheduled action or update an existing one, see 'PutScheduledAction' . If you are no longer using a scheduled action, you can delete it using 'DeleteScheduledAction' .----module Network.AWS.ApplicationAutoScaling.DescribeScheduledActions-    (-    -- * Creating a Request-      describeScheduledActions-    , DescribeScheduledActions-    -- * Request Lenses-    , dsasScalableDimension-    , dsasResourceId-    , dsasNextToken-    , dsasScheduledActionNames-    , dsasMaxResults-    , dsasServiceNamespace--    -- * Destructuring the Response-    , describeScheduledActionsResponse-    , DescribeScheduledActionsResponse-    -- * Response Lenses-    , dsarsNextToken-    , dsarsScheduledActions-    , dsarsResponseStatus-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeScheduledActions' smart constructor.-data DescribeScheduledActions = DescribeScheduledActions'-  { _dsasScalableDimension    :: !(Maybe ScalableDimension)-  , _dsasResourceId           :: !(Maybe Text)-  , _dsasNextToken            :: !(Maybe Text)-  , _dsasScheduledActionNames :: !(Maybe [Text])-  , _dsasMaxResults           :: !(Maybe Int)-  , _dsasServiceNamespace     :: !ServiceNamespace-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScheduledActions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsasScalableDimension' - 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'dsasResourceId' - The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.     * 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'dsasNextToken' - The token for the next set of results.------ * 'dsasScheduledActionNames' - The names of the scheduled actions to describe.------ * 'dsasMaxResults' - 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.------ * 'dsasServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-describeScheduledActions-    :: ServiceNamespace -- ^ 'dsasServiceNamespace'-    -> DescribeScheduledActions-describeScheduledActions pServiceNamespace_ =-  DescribeScheduledActions'-    { _dsasScalableDimension = Nothing-    , _dsasResourceId = Nothing-    , _dsasNextToken = Nothing-    , _dsasScheduledActionNames = Nothing-    , _dsasMaxResults = Nothing-    , _dsasServiceNamespace = pServiceNamespace_-    }----- | 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-dsasScalableDimension :: Lens' DescribeScheduledActions (Maybe ScalableDimension)-dsasScalableDimension = lens _dsasScalableDimension (\ s a -> s{_dsasScalableDimension = a})---- | The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.     * 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-dsasResourceId :: Lens' DescribeScheduledActions (Maybe Text)-dsasResourceId = lens _dsasResourceId (\ s a -> s{_dsasResourceId = a})---- | The token for the next set of results.-dsasNextToken :: Lens' DescribeScheduledActions (Maybe Text)-dsasNextToken = lens _dsasNextToken (\ s a -> s{_dsasNextToken = a})---- | The names of the scheduled actions to describe.-dsasScheduledActionNames :: Lens' DescribeScheduledActions [Text]-dsasScheduledActionNames = lens _dsasScheduledActionNames (\ s a -> s{_dsasScheduledActionNames = a}) . _Default . _Coerce---- | 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.-dsasMaxResults :: Lens' DescribeScheduledActions (Maybe Int)-dsasMaxResults = lens _dsasMaxResults (\ s a -> s{_dsasMaxResults = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-dsasServiceNamespace :: Lens' DescribeScheduledActions ServiceNamespace-dsasServiceNamespace = lens _dsasServiceNamespace (\ s a -> s{_dsasServiceNamespace = a})--instance AWSRequest DescribeScheduledActions where-        type Rs DescribeScheduledActions =-             DescribeScheduledActionsResponse-        request = postJSON applicationAutoScaling-        response-          = receiveJSON-              (\ s h x ->-                 DescribeScheduledActionsResponse' <$>-                   (x .?> "NextToken") <*>-                     (x .?> "ScheduledActions" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable DescribeScheduledActions where--instance NFData DescribeScheduledActions where--instance ToHeaders DescribeScheduledActions where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.DescribeScheduledActions"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeScheduledActions where-        toJSON DescribeScheduledActions'{..}-          = object-              (catMaybes-                 [("ScalableDimension" .=) <$> _dsasScalableDimension,-                  ("ResourceId" .=) <$> _dsasResourceId,-                  ("NextToken" .=) <$> _dsasNextToken,-                  ("ScheduledActionNames" .=) <$>-                    _dsasScheduledActionNames,-                  ("MaxResults" .=) <$> _dsasMaxResults,-                  Just ("ServiceNamespace" .= _dsasServiceNamespace)])--instance ToPath DescribeScheduledActions where-        toPath = const "/"--instance ToQuery DescribeScheduledActions where-        toQuery = const mempty---- | /See:/ 'describeScheduledActionsResponse' smart constructor.-data DescribeScheduledActionsResponse = DescribeScheduledActionsResponse'-  { _dsarsNextToken        :: !(Maybe Text)-  , _dsarsScheduledActions :: !(Maybe [ScheduledAction])-  , _dsarsResponseStatus   :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScheduledActionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsarsNextToken' - The token required to get the next set of results. This value is @null@ if there are no more results to return.------ * 'dsarsScheduledActions' - Information about the scheduled actions.------ * 'dsarsResponseStatus' - -- | The response status code.-describeScheduledActionsResponse-    :: Int -- ^ 'dsarsResponseStatus'-    -> DescribeScheduledActionsResponse-describeScheduledActionsResponse pResponseStatus_ =-  DescribeScheduledActionsResponse'-    { _dsarsNextToken = Nothing-    , _dsarsScheduledActions = Nothing-    , _dsarsResponseStatus = pResponseStatus_-    }----- | The token required to get the next set of results. This value is @null@ if there are no more results to return.-dsarsNextToken :: Lens' DescribeScheduledActionsResponse (Maybe Text)-dsarsNextToken = lens _dsarsNextToken (\ s a -> s{_dsarsNextToken = a})---- | Information about the scheduled actions.-dsarsScheduledActions :: Lens' DescribeScheduledActionsResponse [ScheduledAction]-dsarsScheduledActions = lens _dsarsScheduledActions (\ s a -> s{_dsarsScheduledActions = a}) . _Default . _Coerce---- | -- | The response status code.-dsarsResponseStatus :: Lens' DescribeScheduledActionsResponse Int-dsarsResponseStatus = lens _dsarsResponseStatus (\ s a -> s{_dsarsResponseStatus = a})--instance NFData DescribeScheduledActionsResponse-         where
− gen/Network/AWS/ApplicationAutoScaling/PutScalingPolicy.hs
@@ -1,220 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.PutScalingPolicy--- Copyright   : (c) 2013-2018 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)------ Creates or updates a policy for an Application Auto Scaling scalable target.--------- Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy until you register the scalable target using 'RegisterScalableTarget' .------ To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request.------ You can view the scaling policies for a service namespace using 'DescribeScalingPolicies' . If you are no longer using a scaling policy, you can delete it using 'DeleteScalingPolicy' .----module Network.AWS.ApplicationAutoScaling.PutScalingPolicy-    (-    -- * Creating a Request-      putScalingPolicy-    , PutScalingPolicy-    -- * Request Lenses-    , pspPolicyType-    , pspTargetTrackingScalingPolicyConfiguration-    , pspStepScalingPolicyConfiguration-    , pspPolicyName-    , pspServiceNamespace-    , pspResourceId-    , pspScalableDimension--    -- * Destructuring the Response-    , putScalingPolicyResponse-    , PutScalingPolicyResponse-    -- * Response Lenses-    , psprsAlarms-    , psprsResponseStatus-    , psprsPolicyARN-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'putScalingPolicy' smart constructor.-data PutScalingPolicy = PutScalingPolicy'-  { _pspPolicyType :: !(Maybe PolicyType)-  , _pspTargetTrackingScalingPolicyConfiguration :: !(Maybe TargetTrackingScalingPolicyConfiguration)-  , _pspStepScalingPolicyConfiguration :: !(Maybe StepScalingPolicyConfiguration)-  , _pspPolicyName :: !Text-  , _pspServiceNamespace :: !ServiceNamespace-  , _pspResourceId :: !Text-  , _pspScalableDimension :: !ScalableDimension-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutScalingPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pspPolicyType' - The policy type. This parameter is required if you are creating a policy. For DynamoDB, only @TargetTrackingScaling@ is supported. For Amazon ECS, Spot Fleet, and Amazon RDS, both @StepScaling@ and @TargetTrackingScaling@ are supported. For any other service, only @StepScaling@ is supported.------ * 'pspTargetTrackingScalingPolicyConfiguration' - A target tracking policy. This parameter is required if you are creating a policy and the policy type is @TargetTrackingScaling@ .------ * 'pspStepScalingPolicyConfiguration' - A step scaling policy. This parameter is required if you are creating a policy and the policy type is @StepScaling@ .------ * 'pspPolicyName' - The name of the scaling policy.------ * 'pspServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'pspResourceId' - 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'pspScalableDimension' - The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-putScalingPolicy-    :: Text -- ^ 'pspPolicyName'-    -> ServiceNamespace -- ^ 'pspServiceNamespace'-    -> Text -- ^ 'pspResourceId'-    -> ScalableDimension -- ^ 'pspScalableDimension'-    -> PutScalingPolicy-putScalingPolicy pPolicyName_ pServiceNamespace_ pResourceId_ pScalableDimension_ =-  PutScalingPolicy'-    { _pspPolicyType = Nothing-    , _pspTargetTrackingScalingPolicyConfiguration = Nothing-    , _pspStepScalingPolicyConfiguration = Nothing-    , _pspPolicyName = pPolicyName_-    , _pspServiceNamespace = pServiceNamespace_-    , _pspResourceId = pResourceId_-    , _pspScalableDimension = pScalableDimension_-    }----- | The policy type. This parameter is required if you are creating a policy. For DynamoDB, only @TargetTrackingScaling@ is supported. For Amazon ECS, Spot Fleet, and Amazon RDS, both @StepScaling@ and @TargetTrackingScaling@ are supported. For any other service, only @StepScaling@ is supported.-pspPolicyType :: Lens' PutScalingPolicy (Maybe PolicyType)-pspPolicyType = lens _pspPolicyType (\ s a -> s{_pspPolicyType = a})---- | A target tracking policy. This parameter is required if you are creating a policy and the policy type is @TargetTrackingScaling@ .-pspTargetTrackingScalingPolicyConfiguration :: Lens' PutScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)-pspTargetTrackingScalingPolicyConfiguration = lens _pspTargetTrackingScalingPolicyConfiguration (\ s a -> s{_pspTargetTrackingScalingPolicyConfiguration = a})---- | A step scaling policy. This parameter is required if you are creating a policy and the policy type is @StepScaling@ .-pspStepScalingPolicyConfiguration :: Lens' PutScalingPolicy (Maybe StepScalingPolicyConfiguration)-pspStepScalingPolicyConfiguration = lens _pspStepScalingPolicyConfiguration (\ s a -> s{_pspStepScalingPolicyConfiguration = a})---- | The name of the scaling policy.-pspPolicyName :: Lens' PutScalingPolicy Text-pspPolicyName = lens _pspPolicyName (\ s a -> s{_pspPolicyName = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-pspServiceNamespace :: Lens' PutScalingPolicy ServiceNamespace-pspServiceNamespace = lens _pspServiceNamespace (\ s a -> s{_pspServiceNamespace = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-pspResourceId :: Lens' PutScalingPolicy Text-pspResourceId = lens _pspResourceId (\ s a -> s{_pspResourceId = a})---- | The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-pspScalableDimension :: Lens' PutScalingPolicy ScalableDimension-pspScalableDimension = lens _pspScalableDimension (\ s a -> s{_pspScalableDimension = a})--instance AWSRequest PutScalingPolicy where-        type Rs PutScalingPolicy = PutScalingPolicyResponse-        request = postJSON applicationAutoScaling-        response-          = receiveJSON-              (\ s h x ->-                 PutScalingPolicyResponse' <$>-                   (x .?> "Alarms" .!@ mempty) <*> (pure (fromEnum s))-                     <*> (x .:> "PolicyARN"))--instance Hashable PutScalingPolicy where--instance NFData PutScalingPolicy where--instance ToHeaders PutScalingPolicy where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.PutScalingPolicy" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutScalingPolicy where-        toJSON PutScalingPolicy'{..}-          = object-              (catMaybes-                 [("PolicyType" .=) <$> _pspPolicyType,-                  ("TargetTrackingScalingPolicyConfiguration" .=) <$>-                    _pspTargetTrackingScalingPolicyConfiguration,-                  ("StepScalingPolicyConfiguration" .=) <$>-                    _pspStepScalingPolicyConfiguration,-                  Just ("PolicyName" .= _pspPolicyName),-                  Just ("ServiceNamespace" .= _pspServiceNamespace),-                  Just ("ResourceId" .= _pspResourceId),-                  Just ("ScalableDimension" .= _pspScalableDimension)])--instance ToPath PutScalingPolicy where-        toPath = const "/"--instance ToQuery PutScalingPolicy where-        toQuery = const mempty---- | /See:/ 'putScalingPolicyResponse' smart constructor.-data PutScalingPolicyResponse = PutScalingPolicyResponse'-  { _psprsAlarms         :: !(Maybe [Alarm])-  , _psprsResponseStatus :: !Int-  , _psprsPolicyARN      :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutScalingPolicyResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psprsAlarms' - The CloudWatch alarms created for the target tracking policy.------ * 'psprsResponseStatus' - -- | The response status code.------ * 'psprsPolicyARN' - The Amazon Resource Name (ARN) of the resulting scaling policy.-putScalingPolicyResponse-    :: Int -- ^ 'psprsResponseStatus'-    -> Text -- ^ 'psprsPolicyARN'-    -> PutScalingPolicyResponse-putScalingPolicyResponse pResponseStatus_ pPolicyARN_ =-  PutScalingPolicyResponse'-    { _psprsAlarms = Nothing-    , _psprsResponseStatus = pResponseStatus_-    , _psprsPolicyARN = pPolicyARN_-    }----- | The CloudWatch alarms created for the target tracking policy.-psprsAlarms :: Lens' PutScalingPolicyResponse [Alarm]-psprsAlarms = lens _psprsAlarms (\ s a -> s{_psprsAlarms = a}) . _Default . _Coerce---- | -- | The response status code.-psprsResponseStatus :: Lens' PutScalingPolicyResponse Int-psprsResponseStatus = lens _psprsResponseStatus (\ s a -> s{_psprsResponseStatus = a})---- | The Amazon Resource Name (ARN) of the resulting scaling policy.-psprsPolicyARN :: Lens' PutScalingPolicyResponse Text-psprsPolicyARN = lens _psprsPolicyARN (\ s a -> s{_psprsPolicyARN = a})--instance NFData PutScalingPolicyResponse where
− gen/Network/AWS/ApplicationAutoScaling/PutScheduledAction.hs
@@ -1,207 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.PutScheduledAction--- Copyright   : (c) 2013-2018 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)------ Creates or updates a scheduled action for an Application Auto Scaling scalable target.--------- Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scheduled action applies to the scalable target identified by those three attributes. You cannot create a scheduled action until you register the scalable target using 'RegisterScalableTarget' .------ To update an action, specify its name and the parameters that you want to change. If you don't specify start and end times, the old values are deleted. Any other parameters that you don't specify are not changed by this update request.------ You can view the scheduled actions using 'DescribeScheduledActions' . If you are no longer using a scheduled action, you can delete it using 'DeleteScheduledAction' .----module Network.AWS.ApplicationAutoScaling.PutScheduledAction-    (-    -- * Creating a Request-      putScheduledAction-    , PutScheduledAction-    -- * Request Lenses-    , psaScalableDimension-    , psaStartTime-    , psaSchedule-    , psaEndTime-    , psaScalableTargetAction-    , psaServiceNamespace-    , psaScheduledActionName-    , psaResourceId--    -- * Destructuring the Response-    , putScheduledActionResponse-    , PutScheduledActionResponse-    -- * Response Lenses-    , psarsResponseStatus-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'putScheduledAction' smart constructor.-data PutScheduledAction = PutScheduledAction'-  { _psaScalableDimension    :: !(Maybe ScalableDimension)-  , _psaStartTime            :: !(Maybe POSIX)-  , _psaSchedule             :: !(Maybe Text)-  , _psaEndTime              :: !(Maybe POSIX)-  , _psaScalableTargetAction :: !(Maybe ScalableTargetAction)-  , _psaServiceNamespace     :: !ServiceNamespace-  , _psaScheduledActionName  :: !Text-  , _psaResourceId           :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutScheduledAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psaScalableDimension' - The scalable dimension. This parameter is required if you are creating a scheduled action. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'psaStartTime' - The date and time for the scheduled action to start.------ * 'psaSchedule' - The schedule for this action. The following formats are supported:     * At expressions - @at(/yyyy/ -/mm/ -/dd/ T/hh/ :/mm/ :/ss/ )@      * Rate expressions - @rate(/value/ /unit/ )@      * Cron expressions - @cron(/fields/ )@  At expressions are useful for one-time schedules. Specify the time, in UTC. For rate expressions, /value/ is a positive integer and /unit/ is @minute@ | @minutes@ | @hour@ | @hours@ | @day@ | @days@ . For more information about cron expressions, see <https://en.wikipedia.org/wiki/Cron Cron> .------ * 'psaEndTime' - The date and time for the scheduled action to end.------ * 'psaScalableTargetAction' - The new minimum and maximum capacity. You can set both values or just one. During 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.------ * 'psaServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'psaScheduledActionName' - The name of the scheduled action.------ * 'psaResourceId' - 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-putScheduledAction-    :: ServiceNamespace -- ^ 'psaServiceNamespace'-    -> Text -- ^ 'psaScheduledActionName'-    -> Text -- ^ 'psaResourceId'-    -> PutScheduledAction-putScheduledAction pServiceNamespace_ pScheduledActionName_ pResourceId_ =-  PutScheduledAction'-    { _psaScalableDimension = Nothing-    , _psaStartTime = Nothing-    , _psaSchedule = Nothing-    , _psaEndTime = Nothing-    , _psaScalableTargetAction = Nothing-    , _psaServiceNamespace = pServiceNamespace_-    , _psaScheduledActionName = pScheduledActionName_-    , _psaResourceId = pResourceId_-    }----- | The scalable dimension. This parameter is required if you are creating a scheduled action. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-psaScalableDimension :: Lens' PutScheduledAction (Maybe ScalableDimension)-psaScalableDimension = lens _psaScalableDimension (\ s a -> s{_psaScalableDimension = a})---- | The date and time for the scheduled action to start.-psaStartTime :: Lens' PutScheduledAction (Maybe UTCTime)-psaStartTime = lens _psaStartTime (\ s a -> s{_psaStartTime = a}) . mapping _Time---- | The schedule for this action. The following formats are supported:     * At expressions - @at(/yyyy/ -/mm/ -/dd/ T/hh/ :/mm/ :/ss/ )@      * Rate expressions - @rate(/value/ /unit/ )@      * Cron expressions - @cron(/fields/ )@  At expressions are useful for one-time schedules. Specify the time, in UTC. For rate expressions, /value/ is a positive integer and /unit/ is @minute@ | @minutes@ | @hour@ | @hours@ | @day@ | @days@ . For more information about cron expressions, see <https://en.wikipedia.org/wiki/Cron Cron> .-psaSchedule :: Lens' PutScheduledAction (Maybe Text)-psaSchedule = lens _psaSchedule (\ s a -> s{_psaSchedule = a})---- | The date and time for the scheduled action to end.-psaEndTime :: Lens' PutScheduledAction (Maybe UTCTime)-psaEndTime = lens _psaEndTime (\ s a -> s{_psaEndTime = a}) . mapping _Time---- | The new minimum and maximum capacity. You can set both values or just one. During 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.-psaScalableTargetAction :: Lens' PutScheduledAction (Maybe ScalableTargetAction)-psaScalableTargetAction = lens _psaScalableTargetAction (\ s a -> s{_psaScalableTargetAction = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-psaServiceNamespace :: Lens' PutScheduledAction ServiceNamespace-psaServiceNamespace = lens _psaServiceNamespace (\ s a -> s{_psaServiceNamespace = a})---- | The name of the scheduled action.-psaScheduledActionName :: Lens' PutScheduledAction Text-psaScheduledActionName = lens _psaScheduledActionName (\ s a -> s{_psaScheduledActionName = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-psaResourceId :: Lens' PutScheduledAction Text-psaResourceId = lens _psaResourceId (\ s a -> s{_psaResourceId = a})--instance AWSRequest PutScheduledAction where-        type Rs PutScheduledAction =-             PutScheduledActionResponse-        request = postJSON applicationAutoScaling-        response-          = receiveEmpty-              (\ s h x ->-                 PutScheduledActionResponse' <$> (pure (fromEnum s)))--instance Hashable PutScheduledAction where--instance NFData PutScheduledAction where--instance ToHeaders PutScheduledAction where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.PutScheduledAction" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutScheduledAction where-        toJSON PutScheduledAction'{..}-          = object-              (catMaybes-                 [("ScalableDimension" .=) <$> _psaScalableDimension,-                  ("StartTime" .=) <$> _psaStartTime,-                  ("Schedule" .=) <$> _psaSchedule,-                  ("EndTime" .=) <$> _psaEndTime,-                  ("ScalableTargetAction" .=) <$>-                    _psaScalableTargetAction,-                  Just ("ServiceNamespace" .= _psaServiceNamespace),-                  Just-                    ("ScheduledActionName" .= _psaScheduledActionName),-                  Just ("ResourceId" .= _psaResourceId)])--instance ToPath PutScheduledAction where-        toPath = const "/"--instance ToQuery PutScheduledAction where-        toQuery = const mempty---- | /See:/ 'putScheduledActionResponse' smart constructor.-newtype PutScheduledActionResponse = PutScheduledActionResponse'-  { _psarsResponseStatus :: Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutScheduledActionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psarsResponseStatus' - -- | The response status code.-putScheduledActionResponse-    :: Int -- ^ 'psarsResponseStatus'-    -> PutScheduledActionResponse-putScheduledActionResponse pResponseStatus_ =-  PutScheduledActionResponse' {_psarsResponseStatus = pResponseStatus_}----- | -- | The response status code.-psarsResponseStatus :: Lens' PutScheduledActionResponse Int-psarsResponseStatus = lens _psarsResponseStatus (\ s a -> s{_psarsResponseStatus = a})--instance NFData PutScheduledActionResponse where
− gen/Network/AWS/ApplicationAutoScaling/RegisterScalableTarget.hs
@@ -1,182 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.RegisterScalableTarget--- Copyright   : (c) 2013-2018 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)------ Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for its scalable dimension.--------- After you register a scalable target, you can create and apply scaling policies using 'PutScalingPolicy' . You can view the scaling policies for a service namespace using 'DescribeScalableTargets' . If you no longer need a scalable target, you can deregister it using 'DeregisterScalableTarget' .----module Network.AWS.ApplicationAutoScaling.RegisterScalableTarget-    (-    -- * Creating a Request-      registerScalableTarget-    , RegisterScalableTarget-    -- * Request Lenses-    , rstMaxCapacity-    , rstMinCapacity-    , rstRoleARN-    , rstServiceNamespace-    , rstResourceId-    , rstScalableDimension--    -- * Destructuring the Response-    , registerScalableTargetResponse-    , RegisterScalableTargetResponse-    -- * Response Lenses-    , rstrsResponseStatus-    ) where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'registerScalableTarget' smart constructor.-data RegisterScalableTarget = RegisterScalableTarget'-  { _rstMaxCapacity       :: !(Maybe Int)-  , _rstMinCapacity       :: !(Maybe Int)-  , _rstRoleARN           :: !(Maybe Text)-  , _rstServiceNamespace  :: !ServiceNamespace-  , _rstResourceId        :: !Text-  , _rstScalableDimension :: !ScalableDimension-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterScalableTarget' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rstMaxCapacity' - The maximum value to scale to in response to a scale out event. This parameter is required if you are registering a scalable target.------ * 'rstMinCapacity' - The minimum value to scale to in response to a scale in event. This parameter is required if you are registering a scalable target.------ * 'rstRoleARN' - Application Auto Scaling creates a service-linked role that grants it permissions to modify the scalable target on your behalf. For more information, see <http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/application-autoscaling-service-linked-roles.html Service-Linked Roles for Application Auto Scaling> . For resources that are not supported using a service-linked role, this parameter is required and must specify the ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.------ * 'rstServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'rstResourceId' - 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'rstScalableDimension' - 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-registerScalableTarget-    :: ServiceNamespace -- ^ 'rstServiceNamespace'-    -> Text -- ^ 'rstResourceId'-    -> ScalableDimension -- ^ 'rstScalableDimension'-    -> RegisterScalableTarget-registerScalableTarget pServiceNamespace_ pResourceId_ pScalableDimension_ =-  RegisterScalableTarget'-    { _rstMaxCapacity = Nothing-    , _rstMinCapacity = Nothing-    , _rstRoleARN = Nothing-    , _rstServiceNamespace = pServiceNamespace_-    , _rstResourceId = pResourceId_-    , _rstScalableDimension = pScalableDimension_-    }----- | The maximum value to scale to in response to a scale out event. This parameter is required if you are registering a scalable target.-rstMaxCapacity :: Lens' RegisterScalableTarget (Maybe Int)-rstMaxCapacity = lens _rstMaxCapacity (\ s a -> s{_rstMaxCapacity = a})---- | The minimum value to scale to in response to a scale in event. This parameter is required if you are registering a scalable target.-rstMinCapacity :: Lens' RegisterScalableTarget (Maybe Int)-rstMinCapacity = lens _rstMinCapacity (\ s a -> s{_rstMinCapacity = a})---- | Application Auto Scaling creates a service-linked role that grants it permissions to modify the scalable target on your behalf. For more information, see <http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/application-autoscaling-service-linked-roles.html Service-Linked Roles for Application Auto Scaling> . For resources that are not supported using a service-linked role, this parameter is required and must specify the ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.-rstRoleARN :: Lens' RegisterScalableTarget (Maybe Text)-rstRoleARN = lens _rstRoleARN (\ s a -> s{_rstRoleARN = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-rstServiceNamespace :: Lens' RegisterScalableTarget ServiceNamespace-rstServiceNamespace = lens _rstServiceNamespace (\ s a -> s{_rstServiceNamespace = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-rstResourceId :: Lens' RegisterScalableTarget Text-rstResourceId = lens _rstResourceId (\ s a -> s{_rstResourceId = a})---- | 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-rstScalableDimension :: Lens' RegisterScalableTarget ScalableDimension-rstScalableDimension = lens _rstScalableDimension (\ s a -> s{_rstScalableDimension = a})--instance AWSRequest RegisterScalableTarget where-        type Rs RegisterScalableTarget =-             RegisterScalableTargetResponse-        request = postJSON applicationAutoScaling-        response-          = receiveEmpty-              (\ s h x ->-                 RegisterScalableTargetResponse' <$>-                   (pure (fromEnum s)))--instance Hashable RegisterScalableTarget where--instance NFData RegisterScalableTarget where--instance ToHeaders RegisterScalableTarget where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleFrontendService.RegisterScalableTarget" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RegisterScalableTarget where-        toJSON RegisterScalableTarget'{..}-          = object-              (catMaybes-                 [("MaxCapacity" .=) <$> _rstMaxCapacity,-                  ("MinCapacity" .=) <$> _rstMinCapacity,-                  ("RoleARN" .=) <$> _rstRoleARN,-                  Just ("ServiceNamespace" .= _rstServiceNamespace),-                  Just ("ResourceId" .= _rstResourceId),-                  Just ("ScalableDimension" .= _rstScalableDimension)])--instance ToPath RegisterScalableTarget where-        toPath = const "/"--instance ToQuery RegisterScalableTarget where-        toQuery = const mempty---- | /See:/ 'registerScalableTargetResponse' smart constructor.-newtype RegisterScalableTargetResponse = RegisterScalableTargetResponse'-  { _rstrsResponseStatus :: Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RegisterScalableTargetResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rstrsResponseStatus' - -- | The response status code.-registerScalableTargetResponse-    :: Int -- ^ 'rstrsResponseStatus'-    -> RegisterScalableTargetResponse-registerScalableTargetResponse pResponseStatus_ =-  RegisterScalableTargetResponse' {_rstrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-rstrsResponseStatus :: Lens' RegisterScalableTargetResponse Int-rstrsResponseStatus = lens _rstrsResponseStatus (\ s a -> s{_rstrsResponseStatus = a})--instance NFData RegisterScalableTargetResponse where
− gen/Network/AWS/ApplicationAutoScaling/Types.hs
@@ -1,264 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.Types--- Copyright   : (c) 2013-2018 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)----module Network.AWS.ApplicationAutoScaling.Types-    (-    -- * Service Configuration-      applicationAutoScaling--    -- * Errors-    , _ValidationException-    , _FailedResourceAccessException-    , _InvalidNextTokenException-    , _ConcurrentUpdateException-    , _InternalServiceException-    , _ObjectNotFoundException-    , _LimitExceededException--    -- * AdjustmentType-    , AdjustmentType (..)--    -- * MetricAggregationType-    , MetricAggregationType (..)--    -- * MetricStatistic-    , MetricStatistic (..)--    -- * MetricType-    , MetricType (..)--    -- * PolicyType-    , PolicyType (..)--    -- * ScalableDimension-    , ScalableDimension (..)--    -- * ScalingActivityStatusCode-    , ScalingActivityStatusCode (..)--    -- * ServiceNamespace-    , ServiceNamespace (..)--    -- * Alarm-    , Alarm-    , alarm-    , aAlarmName-    , aAlarmARN--    -- * CustomizedMetricSpecification-    , CustomizedMetricSpecification-    , customizedMetricSpecification-    , cmsDimensions-    , cmsUnit-    , cmsMetricName-    , cmsNamespace-    , cmsStatistic--    -- * MetricDimension-    , MetricDimension-    , metricDimension-    , mdName-    , mdValue--    -- * PredefinedMetricSpecification-    , PredefinedMetricSpecification-    , predefinedMetricSpecification-    , pmsResourceLabel-    , pmsPredefinedMetricType--    -- * ScalableTarget-    , ScalableTarget-    , scalableTarget-    , stServiceNamespace-    , stResourceId-    , stScalableDimension-    , stMinCapacity-    , stMaxCapacity-    , stRoleARN-    , stCreationTime--    -- * ScalableTargetAction-    , ScalableTargetAction-    , scalableTargetAction-    , staMaxCapacity-    , staMinCapacity--    -- * ScalingActivity-    , ScalingActivity-    , scalingActivity-    , sStatusMessage-    , sEndTime-    , sDetails-    , sActivityId-    , sServiceNamespace-    , sResourceId-    , sScalableDimension-    , sDescription-    , sCause-    , sStartTime-    , sStatusCode--    -- * ScalingPolicy-    , ScalingPolicy-    , scalingPolicy-    , spTargetTrackingScalingPolicyConfiguration-    , spStepScalingPolicyConfiguration-    , spAlarms-    , spPolicyARN-    , spPolicyName-    , spServiceNamespace-    , spResourceId-    , spScalableDimension-    , spPolicyType-    , spCreationTime--    -- * ScheduledAction-    , ScheduledAction-    , scheduledAction-    , saScalableDimension-    , saStartTime-    , saEndTime-    , saScalableTargetAction-    , saScheduledActionName-    , saScheduledActionARN-    , saServiceNamespace-    , saSchedule-    , saResourceId-    , saCreationTime--    -- * StepAdjustment-    , StepAdjustment-    , stepAdjustment-    , saMetricIntervalLowerBound-    , saMetricIntervalUpperBound-    , saScalingAdjustment--    -- * StepScalingPolicyConfiguration-    , StepScalingPolicyConfiguration-    , stepScalingPolicyConfiguration-    , sspcStepAdjustments-    , sspcAdjustmentType-    , sspcCooldown-    , sspcMetricAggregationType-    , sspcMinAdjustmentMagnitude--    -- * TargetTrackingScalingPolicyConfiguration-    , TargetTrackingScalingPolicyConfiguration-    , targetTrackingScalingPolicyConfiguration-    , ttspcPredefinedMetricSpecification-    , ttspcScaleInCooldown-    , ttspcCustomizedMetricSpecification-    , ttspcDisableScaleIn-    , ttspcScaleOutCooldown-    , ttspcTargetValue-    ) where--import Network.AWS.ApplicationAutoScaling.Types.Product-import Network.AWS.ApplicationAutoScaling.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2016-02-06@ of the Amazon Application Auto Scaling SDK configuration.-applicationAutoScaling :: Service-applicationAutoScaling =-  Service-    { _svcAbbrev = "ApplicationAutoScaling"-    , _svcSigner = v4-    , _svcPrefix = "autoscaling"-    , _svcVersion = "2016-02-06"-    , _svcEndpoint = defaultEndpoint applicationAutoScaling-    , _svcTimeout = Just 70-    , _svcCheck = statusSuccess-    , _svcError = parseJSONError "ApplicationAutoScaling"-    , _svcRetry = retry-    }-  where-    retry =-      Exponential-        { _retryBase = 5.0e-2-        , _retryGrowth = 2-        , _retryAttempts = 5-        , _retryCheck = check-        }-    check e-      | has (hasCode "ThrottledException" . hasStatus 400) e =-        Just "throttled_exception"-      | has (hasStatus 429) e = Just "too_many_requests"-      | has (hasCode "ThrottlingException" . hasStatus 400) e =-        Just "throttling_exception"-      | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"-      | has (hasStatus 504) e = Just "gateway_timeout"-      | has (hasCode "RequestThrottledException" . hasStatus 400) e =-        Just "request_throttled_exception"-      | has (hasStatus 502) e = Just "bad_gateway"-      | has (hasStatus 503) e = Just "service_unavailable"-      | has (hasStatus 500) e = Just "general_server_error"-      | has (hasStatus 509) e = Just "limit_exceeded"-      | otherwise = Nothing----- | An exception was thrown for a validation issue. Review the available parameters for the API request.-------_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError-_ValidationException =-  _MatchServiceError applicationAutoScaling "ValidationException"----- | 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 <http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html DescribeAlarms> on your behalf.-------_FailedResourceAccessException :: AsError a => Getting (First ServiceError) a ServiceError-_FailedResourceAccessException =-  _MatchServiceError applicationAutoScaling "FailedResourceAccessException"----- | The next token supplied was invalid.-------_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidNextTokenException =-  _MatchServiceError applicationAutoScaling "InvalidNextTokenException"----- | Concurrent updates caused an exception, for example, if you request an update to an Application Auto Scaling resource that already has a pending update.-------_ConcurrentUpdateException :: AsError a => Getting (First ServiceError) a ServiceError-_ConcurrentUpdateException =-  _MatchServiceError applicationAutoScaling "ConcurrentUpdateException"----- | The service encountered an internal error.-------_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError-_InternalServiceException =-  _MatchServiceError applicationAutoScaling "InternalServiceException"----- | 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.-------_ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ObjectNotFoundException =-  _MatchServiceError applicationAutoScaling "ObjectNotFoundException"----- | A per-account resource limit is exceeded. For more information, see <http://docs.aws.amazon.com/ApplicationAutoScaling/latest/userguide/application-auto-scaling-limits.html Application Auto Scaling Limits> .-------_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_LimitExceededException =-  _MatchServiceError applicationAutoScaling "LimitExceededException"-
− gen/Network/AWS/ApplicationAutoScaling/Types/Product.hs
@@ -1,1075 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.Types.Product--- Copyright   : (c) 2013-2018 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)----module Network.AWS.ApplicationAutoScaling.Types.Product where--import Network.AWS.ApplicationAutoScaling.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | Represents a CloudWatch alarm associated with a scaling policy.------------ /See:/ 'alarm' smart constructor.-data Alarm = Alarm'-  { _aAlarmName :: !Text-  , _aAlarmARN  :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Alarm' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aAlarmName' - The name of the alarm.------ * 'aAlarmARN' - The Amazon Resource Name (ARN) of the alarm.-alarm-    :: Text -- ^ 'aAlarmName'-    -> Text -- ^ 'aAlarmARN'-    -> Alarm-alarm pAlarmName_ pAlarmARN_ =-  Alarm' {_aAlarmName = pAlarmName_, _aAlarmARN = pAlarmARN_}----- | The name of the alarm.-aAlarmName :: Lens' Alarm Text-aAlarmName = lens _aAlarmName (\ s a -> s{_aAlarmName = a})---- | The Amazon Resource Name (ARN) of the alarm.-aAlarmARN :: Lens' Alarm Text-aAlarmARN = lens _aAlarmARN (\ s a -> s{_aAlarmARN = a})--instance FromJSON Alarm where-        parseJSON-          = withObject "Alarm"-              (\ x ->-                 Alarm' <$> (x .: "AlarmName") <*> (x .: "AlarmARN"))--instance Hashable Alarm where--instance NFData Alarm where---- | Configures a customized metric for a target tracking policy.------------ /See:/ 'customizedMetricSpecification' smart constructor.-data CustomizedMetricSpecification = CustomizedMetricSpecification'-  { _cmsDimensions :: !(Maybe [MetricDimension])-  , _cmsUnit       :: !(Maybe Text)-  , _cmsMetricName :: !Text-  , _cmsNamespace  :: !Text-  , _cmsStatistic  :: !MetricStatistic-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CustomizedMetricSpecification' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmsDimensions' - The dimensions of the metric.------ * 'cmsUnit' - The unit of the metric.------ * 'cmsMetricName' - The name of the metric.------ * 'cmsNamespace' - The namespace of the metric.------ * 'cmsStatistic' - The statistic of the metric.-customizedMetricSpecification-    :: Text -- ^ 'cmsMetricName'-    -> Text -- ^ 'cmsNamespace'-    -> MetricStatistic -- ^ 'cmsStatistic'-    -> CustomizedMetricSpecification-customizedMetricSpecification pMetricName_ pNamespace_ pStatistic_ =-  CustomizedMetricSpecification'-    { _cmsDimensions = Nothing-    , _cmsUnit = Nothing-    , _cmsMetricName = pMetricName_-    , _cmsNamespace = pNamespace_-    , _cmsStatistic = pStatistic_-    }----- | The dimensions of the metric.-cmsDimensions :: Lens' CustomizedMetricSpecification [MetricDimension]-cmsDimensions = lens _cmsDimensions (\ s a -> s{_cmsDimensions = a}) . _Default . _Coerce---- | The unit of the metric.-cmsUnit :: Lens' CustomizedMetricSpecification (Maybe Text)-cmsUnit = lens _cmsUnit (\ s a -> s{_cmsUnit = a})---- | The name of the metric.-cmsMetricName :: Lens' CustomizedMetricSpecification Text-cmsMetricName = lens _cmsMetricName (\ s a -> s{_cmsMetricName = a})---- | The namespace of the metric.-cmsNamespace :: Lens' CustomizedMetricSpecification Text-cmsNamespace = lens _cmsNamespace (\ s a -> s{_cmsNamespace = a})---- | The statistic of the metric.-cmsStatistic :: Lens' CustomizedMetricSpecification MetricStatistic-cmsStatistic = lens _cmsStatistic (\ s a -> s{_cmsStatistic = a})--instance FromJSON CustomizedMetricSpecification where-        parseJSON-          = withObject "CustomizedMetricSpecification"-              (\ x ->-                 CustomizedMetricSpecification' <$>-                   (x .:? "Dimensions" .!= mempty) <*> (x .:? "Unit")-                     <*> (x .: "MetricName")-                     <*> (x .: "Namespace")-                     <*> (x .: "Statistic"))--instance Hashable CustomizedMetricSpecification where--instance NFData CustomizedMetricSpecification where--instance ToJSON CustomizedMetricSpecification where-        toJSON CustomizedMetricSpecification'{..}-          = object-              (catMaybes-                 [("Dimensions" .=) <$> _cmsDimensions,-                  ("Unit" .=) <$> _cmsUnit,-                  Just ("MetricName" .= _cmsMetricName),-                  Just ("Namespace" .= _cmsNamespace),-                  Just ("Statistic" .= _cmsStatistic)])---- | Describes the dimension of a metric.------------ /See:/ 'metricDimension' smart constructor.-data MetricDimension = MetricDimension'-  { _mdName  :: !Text-  , _mdValue :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MetricDimension' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mdName' - The name of the dimension.------ * 'mdValue' - The value of the dimension.-metricDimension-    :: Text -- ^ 'mdName'-    -> Text -- ^ 'mdValue'-    -> MetricDimension-metricDimension pName_ pValue_ =-  MetricDimension' {_mdName = pName_, _mdValue = pValue_}----- | The name of the dimension.-mdName :: Lens' MetricDimension Text-mdName = lens _mdName (\ s a -> s{_mdName = a})---- | The value of the dimension.-mdValue :: Lens' MetricDimension Text-mdValue = lens _mdValue (\ s a -> s{_mdValue = a})--instance FromJSON MetricDimension where-        parseJSON-          = withObject "MetricDimension"-              (\ x ->-                 MetricDimension' <$>-                   (x .: "Name") <*> (x .: "Value"))--instance Hashable MetricDimension where--instance NFData MetricDimension where--instance ToJSON MetricDimension where-        toJSON MetricDimension'{..}-          = object-              (catMaybes-                 [Just ("Name" .= _mdName),-                  Just ("Value" .= _mdValue)])---- | Configures a predefined metric for a target tracking policy.------------ /See:/ 'predefinedMetricSpecification' smart constructor.-data PredefinedMetricSpecification = PredefinedMetricSpecification'-  { _pmsResourceLabel        :: !(Maybe Text)-  , _pmsPredefinedMetricType :: !MetricType-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PredefinedMetricSpecification' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pmsResourceLabel' - 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. The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, 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.------ * 'pmsPredefinedMetricType' - The metric type. The @ALBRequestCountPerTarget@ metric type applies only to Spot fleet requests and ECS services.-predefinedMetricSpecification-    :: MetricType -- ^ 'pmsPredefinedMetricType'-    -> PredefinedMetricSpecification-predefinedMetricSpecification pPredefinedMetricType_ =-  PredefinedMetricSpecification'-    { _pmsResourceLabel = Nothing-    , _pmsPredefinedMetricType = pPredefinedMetricType_-    }----- | 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. The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, 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.-pmsResourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text)-pmsResourceLabel = lens _pmsResourceLabel (\ s a -> s{_pmsResourceLabel = a})---- | The metric type. The @ALBRequestCountPerTarget@ metric type applies only to Spot fleet requests and ECS services.-pmsPredefinedMetricType :: Lens' PredefinedMetricSpecification MetricType-pmsPredefinedMetricType = lens _pmsPredefinedMetricType (\ s a -> s{_pmsPredefinedMetricType = a})--instance FromJSON PredefinedMetricSpecification where-        parseJSON-          = withObject "PredefinedMetricSpecification"-              (\ x ->-                 PredefinedMetricSpecification' <$>-                   (x .:? "ResourceLabel") <*>-                     (x .: "PredefinedMetricType"))--instance Hashable PredefinedMetricSpecification where--instance NFData PredefinedMetricSpecification where--instance ToJSON PredefinedMetricSpecification where-        toJSON PredefinedMetricSpecification'{..}-          = object-              (catMaybes-                 [("ResourceLabel" .=) <$> _pmsResourceLabel,-                  Just-                    ("PredefinedMetricType" .=-                       _pmsPredefinedMetricType)])---- | Represents a scalable target.------------ /See:/ 'scalableTarget' smart constructor.-data ScalableTarget = ScalableTarget'-  { _stServiceNamespace  :: !ServiceNamespace-  , _stResourceId        :: !Text-  , _stScalableDimension :: !ScalableDimension-  , _stMinCapacity       :: !Int-  , _stMaxCapacity       :: !Int-  , _stRoleARN           :: !Text-  , _stCreationTime      :: !POSIX-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ScalableTarget' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'stServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'stResourceId' - 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'stScalableDimension' - 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'stMinCapacity' - The minimum value to scale to in response to a scale in event.------ * 'stMaxCapacity' - The maximum value to scale to in response to a scale out event.------ * 'stRoleARN' - The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.------ * 'stCreationTime' - The Unix timestamp for when the scalable target was created.-scalableTarget-    :: ServiceNamespace -- ^ 'stServiceNamespace'-    -> Text -- ^ 'stResourceId'-    -> ScalableDimension -- ^ 'stScalableDimension'-    -> Int -- ^ 'stMinCapacity'-    -> Int -- ^ 'stMaxCapacity'-    -> Text -- ^ 'stRoleARN'-    -> UTCTime -- ^ 'stCreationTime'-    -> ScalableTarget-scalableTarget pServiceNamespace_ pResourceId_ pScalableDimension_ pMinCapacity_ pMaxCapacity_ pRoleARN_ pCreationTime_ =-  ScalableTarget'-    { _stServiceNamespace = pServiceNamespace_-    , _stResourceId = pResourceId_-    , _stScalableDimension = pScalableDimension_-    , _stMinCapacity = pMinCapacity_-    , _stMaxCapacity = pMaxCapacity_-    , _stRoleARN = pRoleARN_-    , _stCreationTime = _Time # pCreationTime_-    }----- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-stServiceNamespace :: Lens' ScalableTarget ServiceNamespace-stServiceNamespace = lens _stServiceNamespace (\ s a -> s{_stServiceNamespace = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-stResourceId :: Lens' ScalableTarget Text-stResourceId = lens _stResourceId (\ s a -> s{_stResourceId = a})---- | 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.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-stScalableDimension :: Lens' ScalableTarget ScalableDimension-stScalableDimension = lens _stScalableDimension (\ s a -> s{_stScalableDimension = a})---- | The minimum value to scale to in response to a scale in event.-stMinCapacity :: Lens' ScalableTarget Int-stMinCapacity = lens _stMinCapacity (\ s a -> s{_stMinCapacity = a})---- | The maximum value to scale to in response to a scale out event.-stMaxCapacity :: Lens' ScalableTarget Int-stMaxCapacity = lens _stMaxCapacity (\ s a -> s{_stMaxCapacity = a})---- | The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.-stRoleARN :: Lens' ScalableTarget Text-stRoleARN = lens _stRoleARN (\ s a -> s{_stRoleARN = a})---- | The Unix timestamp for when the scalable target was created.-stCreationTime :: Lens' ScalableTarget UTCTime-stCreationTime = lens _stCreationTime (\ s a -> s{_stCreationTime = a}) . _Time--instance FromJSON ScalableTarget where-        parseJSON-          = withObject "ScalableTarget"-              (\ x ->-                 ScalableTarget' <$>-                   (x .: "ServiceNamespace") <*> (x .: "ResourceId") <*>-                     (x .: "ScalableDimension")-                     <*> (x .: "MinCapacity")-                     <*> (x .: "MaxCapacity")-                     <*> (x .: "RoleARN")-                     <*> (x .: "CreationTime"))--instance Hashable ScalableTarget where--instance NFData ScalableTarget where---- | Represents the minimum and maximum capacity for a scheduled action.------------ /See:/ 'scalableTargetAction' smart constructor.-data ScalableTargetAction = ScalableTargetAction'-  { _staMaxCapacity :: !(Maybe Int)-  , _staMinCapacity :: !(Maybe Int)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ScalableTargetAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'staMaxCapacity' - The maximum capacity.------ * 'staMinCapacity' - The minimum capacity.-scalableTargetAction-    :: ScalableTargetAction-scalableTargetAction =-  ScalableTargetAction' {_staMaxCapacity = Nothing, _staMinCapacity = Nothing}----- | The maximum capacity.-staMaxCapacity :: Lens' ScalableTargetAction (Maybe Int)-staMaxCapacity = lens _staMaxCapacity (\ s a -> s{_staMaxCapacity = a})---- | The minimum capacity.-staMinCapacity :: Lens' ScalableTargetAction (Maybe Int)-staMinCapacity = lens _staMinCapacity (\ s a -> s{_staMinCapacity = a})--instance FromJSON ScalableTargetAction where-        parseJSON-          = withObject "ScalableTargetAction"-              (\ x ->-                 ScalableTargetAction' <$>-                   (x .:? "MaxCapacity") <*> (x .:? "MinCapacity"))--instance Hashable ScalableTargetAction where--instance NFData ScalableTargetAction where--instance ToJSON ScalableTargetAction where-        toJSON ScalableTargetAction'{..}-          = object-              (catMaybes-                 [("MaxCapacity" .=) <$> _staMaxCapacity,-                  ("MinCapacity" .=) <$> _staMinCapacity])---- | Represents a scaling activity.------------ /See:/ 'scalingActivity' smart constructor.-data ScalingActivity = ScalingActivity'-  { _sStatusMessage     :: !(Maybe Text)-  , _sEndTime           :: !(Maybe POSIX)-  , _sDetails           :: !(Maybe Text)-  , _sActivityId        :: !Text-  , _sServiceNamespace  :: !ServiceNamespace-  , _sResourceId        :: !Text-  , _sScalableDimension :: !ScalableDimension-  , _sDescription       :: !Text-  , _sCause             :: !Text-  , _sStartTime         :: !POSIX-  , _sStatusCode        :: !ScalingActivityStatusCode-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ScalingActivity' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sStatusMessage' - A simple message about the current status of the scaling activity.------ * 'sEndTime' - The Unix timestamp for when the scaling activity ended.------ * 'sDetails' - The details about the scaling activity.------ * 'sActivityId' - The unique identifier of the scaling activity.------ * 'sServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'sResourceId' - 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'sScalableDimension' - The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'sDescription' - A simple description of what action the scaling activity intends to accomplish.------ * 'sCause' - A simple description of what caused the scaling activity to happen.------ * 'sStartTime' - The Unix timestamp for when the scaling activity began.------ * 'sStatusCode' - Indicates the status of the scaling activity.-scalingActivity-    :: Text -- ^ 'sActivityId'-    -> ServiceNamespace -- ^ 'sServiceNamespace'-    -> Text -- ^ 'sResourceId'-    -> ScalableDimension -- ^ 'sScalableDimension'-    -> Text -- ^ 'sDescription'-    -> Text -- ^ 'sCause'-    -> UTCTime -- ^ 'sStartTime'-    -> ScalingActivityStatusCode -- ^ 'sStatusCode'-    -> ScalingActivity-scalingActivity pActivityId_ pServiceNamespace_ pResourceId_ pScalableDimension_ pDescription_ pCause_ pStartTime_ pStatusCode_ =-  ScalingActivity'-    { _sStatusMessage = Nothing-    , _sEndTime = Nothing-    , _sDetails = Nothing-    , _sActivityId = pActivityId_-    , _sServiceNamespace = pServiceNamespace_-    , _sResourceId = pResourceId_-    , _sScalableDimension = pScalableDimension_-    , _sDescription = pDescription_-    , _sCause = pCause_-    , _sStartTime = _Time # pStartTime_-    , _sStatusCode = pStatusCode_-    }----- | A simple message about the current status of the scaling activity.-sStatusMessage :: Lens' ScalingActivity (Maybe Text)-sStatusMessage = lens _sStatusMessage (\ s a -> s{_sStatusMessage = a})---- | The Unix timestamp for when the scaling activity ended.-sEndTime :: Lens' ScalingActivity (Maybe UTCTime)-sEndTime = lens _sEndTime (\ s a -> s{_sEndTime = a}) . mapping _Time---- | The details about the scaling activity.-sDetails :: Lens' ScalingActivity (Maybe Text)-sDetails = lens _sDetails (\ s a -> s{_sDetails = a})---- | The unique identifier of the scaling activity.-sActivityId :: Lens' ScalingActivity Text-sActivityId = lens _sActivityId (\ s a -> s{_sActivityId = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-sServiceNamespace :: Lens' ScalingActivity ServiceNamespace-sServiceNamespace = lens _sServiceNamespace (\ s a -> s{_sServiceNamespace = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-sResourceId :: Lens' ScalingActivity Text-sResourceId = lens _sResourceId (\ s a -> s{_sResourceId = a})---- | The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-sScalableDimension :: Lens' ScalingActivity ScalableDimension-sScalableDimension = lens _sScalableDimension (\ s a -> s{_sScalableDimension = a})---- | A simple description of what action the scaling activity intends to accomplish.-sDescription :: Lens' ScalingActivity Text-sDescription = lens _sDescription (\ s a -> s{_sDescription = a})---- | A simple description of what caused the scaling activity to happen.-sCause :: Lens' ScalingActivity Text-sCause = lens _sCause (\ s a -> s{_sCause = a})---- | The Unix timestamp for when the scaling activity began.-sStartTime :: Lens' ScalingActivity UTCTime-sStartTime = lens _sStartTime (\ s a -> s{_sStartTime = a}) . _Time---- | Indicates the status of the scaling activity.-sStatusCode :: Lens' ScalingActivity ScalingActivityStatusCode-sStatusCode = lens _sStatusCode (\ s a -> s{_sStatusCode = a})--instance FromJSON ScalingActivity where-        parseJSON-          = withObject "ScalingActivity"-              (\ x ->-                 ScalingActivity' <$>-                   (x .:? "StatusMessage") <*> (x .:? "EndTime") <*>-                     (x .:? "Details")-                     <*> (x .: "ActivityId")-                     <*> (x .: "ServiceNamespace")-                     <*> (x .: "ResourceId")-                     <*> (x .: "ScalableDimension")-                     <*> (x .: "Description")-                     <*> (x .: "Cause")-                     <*> (x .: "StartTime")-                     <*> (x .: "StatusCode"))--instance Hashable ScalingActivity where--instance NFData ScalingActivity where---- | Represents a scaling policy.------------ /See:/ 'scalingPolicy' smart constructor.-data ScalingPolicy = ScalingPolicy'-  { _spTargetTrackingScalingPolicyConfiguration :: !(Maybe TargetTrackingScalingPolicyConfiguration)-  , _spStepScalingPolicyConfiguration :: !(Maybe StepScalingPolicyConfiguration)-  , _spAlarms :: !(Maybe [Alarm])-  , _spPolicyARN :: !Text-  , _spPolicyName :: !Text-  , _spServiceNamespace :: !ServiceNamespace-  , _spResourceId :: !Text-  , _spScalableDimension :: !ScalableDimension-  , _spPolicyType :: !PolicyType-  , _spCreationTime :: !POSIX-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ScalingPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'spTargetTrackingScalingPolicyConfiguration' - A target tracking policy.------ * 'spStepScalingPolicyConfiguration' - A step scaling policy.------ * 'spAlarms' - The CloudWatch alarms associated with the scaling policy.------ * 'spPolicyARN' - The Amazon Resource Name (ARN) of the scaling policy.------ * 'spPolicyName' - The name of the scaling policy.------ * 'spServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'spResourceId' - 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'spScalableDimension' - The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'spPolicyType' - The scaling policy type.------ * 'spCreationTime' - The Unix timestamp for when the scaling policy was created.-scalingPolicy-    :: Text -- ^ 'spPolicyARN'-    -> Text -- ^ 'spPolicyName'-    -> ServiceNamespace -- ^ 'spServiceNamespace'-    -> Text -- ^ 'spResourceId'-    -> ScalableDimension -- ^ 'spScalableDimension'-    -> PolicyType -- ^ 'spPolicyType'-    -> UTCTime -- ^ 'spCreationTime'-    -> ScalingPolicy-scalingPolicy pPolicyARN_ pPolicyName_ pServiceNamespace_ pResourceId_ pScalableDimension_ pPolicyType_ pCreationTime_ =-  ScalingPolicy'-    { _spTargetTrackingScalingPolicyConfiguration = Nothing-    , _spStepScalingPolicyConfiguration = Nothing-    , _spAlarms = Nothing-    , _spPolicyARN = pPolicyARN_-    , _spPolicyName = pPolicyName_-    , _spServiceNamespace = pServiceNamespace_-    , _spResourceId = pResourceId_-    , _spScalableDimension = pScalableDimension_-    , _spPolicyType = pPolicyType_-    , _spCreationTime = _Time # pCreationTime_-    }----- | A target tracking policy.-spTargetTrackingScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingScalingPolicyConfiguration)-spTargetTrackingScalingPolicyConfiguration = lens _spTargetTrackingScalingPolicyConfiguration (\ s a -> s{_spTargetTrackingScalingPolicyConfiguration = a})---- | A step scaling policy.-spStepScalingPolicyConfiguration :: Lens' ScalingPolicy (Maybe StepScalingPolicyConfiguration)-spStepScalingPolicyConfiguration = lens _spStepScalingPolicyConfiguration (\ s a -> s{_spStepScalingPolicyConfiguration = a})---- | The CloudWatch alarms associated with the scaling policy.-spAlarms :: Lens' ScalingPolicy [Alarm]-spAlarms = lens _spAlarms (\ s a -> s{_spAlarms = a}) . _Default . _Coerce---- | The Amazon Resource Name (ARN) of the scaling policy.-spPolicyARN :: Lens' ScalingPolicy Text-spPolicyARN = lens _spPolicyARN (\ s a -> s{_spPolicyARN = a})---- | The name of the scaling policy.-spPolicyName :: Lens' ScalingPolicy Text-spPolicyName = lens _spPolicyName (\ s a -> s{_spPolicyName = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-spServiceNamespace :: Lens' ScalingPolicy ServiceNamespace-spServiceNamespace = lens _spServiceNamespace (\ s a -> s{_spServiceNamespace = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-spResourceId :: Lens' ScalingPolicy Text-spResourceId = lens _spResourceId (\ s a -> s{_spResourceId = a})---- | The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-spScalableDimension :: Lens' ScalingPolicy ScalableDimension-spScalableDimension = lens _spScalableDimension (\ s a -> s{_spScalableDimension = a})---- | The scaling policy type.-spPolicyType :: Lens' ScalingPolicy PolicyType-spPolicyType = lens _spPolicyType (\ s a -> s{_spPolicyType = a})---- | The Unix timestamp for when the scaling policy was created.-spCreationTime :: Lens' ScalingPolicy UTCTime-spCreationTime = lens _spCreationTime (\ s a -> s{_spCreationTime = a}) . _Time--instance FromJSON ScalingPolicy where-        parseJSON-          = withObject "ScalingPolicy"-              (\ x ->-                 ScalingPolicy' <$>-                   (x .:? "TargetTrackingScalingPolicyConfiguration")-                     <*> (x .:? "StepScalingPolicyConfiguration")-                     <*> (x .:? "Alarms" .!= mempty)-                     <*> (x .: "PolicyARN")-                     <*> (x .: "PolicyName")-                     <*> (x .: "ServiceNamespace")-                     <*> (x .: "ResourceId")-                     <*> (x .: "ScalableDimension")-                     <*> (x .: "PolicyType")-                     <*> (x .: "CreationTime"))--instance Hashable ScalingPolicy where--instance NFData ScalingPolicy where---- | Represents a scheduled action.------------ /See:/ 'scheduledAction' smart constructor.-data ScheduledAction = ScheduledAction'-  { _saScalableDimension    :: !(Maybe ScalableDimension)-  , _saStartTime            :: !(Maybe POSIX)-  , _saEndTime              :: !(Maybe POSIX)-  , _saScalableTargetAction :: !(Maybe ScalableTargetAction)-  , _saScheduledActionName  :: !Text-  , _saScheduledActionARN   :: !Text-  , _saServiceNamespace     :: !ServiceNamespace-  , _saSchedule             :: !Text-  , _saResourceId           :: !Text-  , _saCreationTime         :: !POSIX-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ScheduledAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'saScalableDimension' - The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.------ * 'saStartTime' - The date and time that the action is scheduled to begin.------ * 'saEndTime' - The date and time that the action is scheduled to end.------ * 'saScalableTargetAction' - The new minimum and maximum capacity. You can set both values or just one. During 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.------ * 'saScheduledActionName' - The name of the scheduled action.------ * 'saScheduledActionARN' - The Amazon Resource Name (ARN) of the scheduled action.------ * 'saServiceNamespace' - The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .------ * 'saSchedule' - The schedule for this action. The following formats are supported:     * At expressions - @at(/yyyy/ -/mm/ -/dd/ T/hh/ :/mm/ :/ss/ )@      * Rate expressions - @rate(/value/ /unit/ )@      * Cron expressions - @cron(/fields/ )@  At expressions are useful for one-time schedules. Specify the time, in UTC. For rate expressions, /value/ is a positive integer and /unit/ is @minute@ | @minutes@ | @hour@ | @hours@ | @day@ | @days@ . For more information about cron expressions, see <https://en.wikipedia.org/wiki/Cron Cron> .------ * 'saResourceId' - 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .------ * 'saCreationTime' - The date and time that the scheduled action was created.-scheduledAction-    :: Text -- ^ 'saScheduledActionName'-    -> Text -- ^ 'saScheduledActionARN'-    -> ServiceNamespace -- ^ 'saServiceNamespace'-    -> Text -- ^ 'saSchedule'-    -> Text -- ^ 'saResourceId'-    -> UTCTime -- ^ 'saCreationTime'-    -> ScheduledAction-scheduledAction pScheduledActionName_ pScheduledActionARN_ pServiceNamespace_ pSchedule_ pResourceId_ pCreationTime_ =-  ScheduledAction'-    { _saScalableDimension = Nothing-    , _saStartTime = Nothing-    , _saEndTime = Nothing-    , _saScalableTargetAction = Nothing-    , _saScheduledActionName = pScheduledActionName_-    , _saScheduledActionARN = pScheduledActionARN_-    , _saServiceNamespace = pServiceNamespace_-    , _saSchedule = pSchedule_-    , _saResourceId = pResourceId_-    , _saCreationTime = _Time # pCreationTime_-    }----- | The scalable dimension. This string consists of the service namespace, resource type, and scaling property.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @elasticmapreduce:instancegroup:InstanceCount@ - The instance count of an EMR Instance Group.     * @appstream:fleet:DesiredCapacity@ - The desired capacity of an AppStream 2.0 fleet.     * @dynamodb:table:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB table.     * @dynamodb:table:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB table.     * @dynamodb:index:ReadCapacityUnits@ - The provisioned read capacity for a DynamoDB global secondary index.     * @dynamodb:index:WriteCapacityUnits@ - The provisioned write capacity for a DynamoDB global secondary index.     * @rds:cluster:ReadReplicaCount@ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.     * @sagemaker:variant:DesiredInstanceCount@ - The number of EC2 instances for an Amazon SageMaker model endpoint variant.-saScalableDimension :: Lens' ScheduledAction (Maybe ScalableDimension)-saScalableDimension = lens _saScalableDimension (\ s a -> s{_saScalableDimension = a})---- | The date and time that the action is scheduled to begin.-saStartTime :: Lens' ScheduledAction (Maybe UTCTime)-saStartTime = lens _saStartTime (\ s a -> s{_saStartTime = a}) . mapping _Time---- | The date and time that the action is scheduled to end.-saEndTime :: Lens' ScheduledAction (Maybe UTCTime)-saEndTime = lens _saEndTime (\ s a -> s{_saEndTime = a}) . mapping _Time---- | The new minimum and maximum capacity. You can set both values or just one. During 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.-saScalableTargetAction :: Lens' ScheduledAction (Maybe ScalableTargetAction)-saScalableTargetAction = lens _saScalableTargetAction (\ s a -> s{_saScalableTargetAction = a})---- | The name of the scheduled action.-saScheduledActionName :: Lens' ScheduledAction Text-saScheduledActionName = lens _saScheduledActionName (\ s a -> s{_saScheduledActionName = a})---- | The Amazon Resource Name (ARN) of the scheduled action.-saScheduledActionARN :: Lens' ScheduledAction Text-saScheduledActionARN = lens _saScheduledActionARN (\ s a -> s{_saScheduledActionARN = a})---- | The namespace of the AWS service. For more information, see <http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces AWS Service Namespaces> in the /Amazon Web Services General Reference/ .-saServiceNamespace :: Lens' ScheduledAction ServiceNamespace-saServiceNamespace = lens _saServiceNamespace (\ s a -> s{_saServiceNamespace = a})---- | The schedule for this action. The following formats are supported:     * At expressions - @at(/yyyy/ -/mm/ -/dd/ T/hh/ :/mm/ :/ss/ )@      * Rate expressions - @rate(/value/ /unit/ )@      * Cron expressions - @cron(/fields/ )@  At expressions are useful for one-time schedules. Specify the time, in UTC. For rate expressions, /value/ is a positive integer and /unit/ is @minute@ | @minutes@ | @hour@ | @hours@ | @day@ | @days@ . For more information about cron expressions, see <https://en.wikipedia.org/wiki/Cron Cron> .-saSchedule :: Lens' ScheduledAction Text-saSchedule = lens _saSchedule (\ s a -> s{_saSchedule = a})---- | 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 request - The resource type is @spot-fleet-request@ and the unique identifier is the Spot fleet request ID. Example: @spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE@ .     * EMR cluster - The resource type is @instancegroup@ and the unique identifier is the cluster ID and instance group ID. Example: @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 resource ID. Example: @table/my-table@ .     * DynamoDB global secondary index - The resource type is @index@ and the unique identifier is the resource ID. 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@ .     * Amazon SageMaker endpoint variants - The resource type is @variant@ and the unique identifier is the resource ID. Example: @endpoint/my-end-point/variant/KMeansClustering@ .-saResourceId :: Lens' ScheduledAction Text-saResourceId = lens _saResourceId (\ s a -> s{_saResourceId = a})---- | The date and time that the scheduled action was created.-saCreationTime :: Lens' ScheduledAction UTCTime-saCreationTime = lens _saCreationTime (\ s a -> s{_saCreationTime = a}) . _Time--instance FromJSON ScheduledAction where-        parseJSON-          = withObject "ScheduledAction"-              (\ x ->-                 ScheduledAction' <$>-                   (x .:? "ScalableDimension") <*> (x .:? "StartTime")-                     <*> (x .:? "EndTime")-                     <*> (x .:? "ScalableTargetAction")-                     <*> (x .: "ScheduledActionName")-                     <*> (x .: "ScheduledActionARN")-                     <*> (x .: "ServiceNamespace")-                     <*> (x .: "Schedule")-                     <*> (x .: "ResourceId")-                     <*> (x .: "CreationTime"))--instance Hashable ScheduledAction where--instance NFData ScheduledAction where---- | 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:/ 'stepAdjustment' smart constructor.-data StepAdjustment = StepAdjustment'-  { _saMetricIntervalLowerBound :: !(Maybe Double)-  , _saMetricIntervalUpperBound :: !(Maybe Double)-  , _saScalingAdjustment        :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StepAdjustment' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'saMetricIntervalLowerBound' - 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.------ * 'saMetricIntervalUpperBound' - 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.------ * 'saScalingAdjustment' - The amount by which to scale, based on the specified adjustment type. A positive value adds to the current scalable dimension while a negative number removes from the current scalable dimension.-stepAdjustment-    :: Int -- ^ 'saScalingAdjustment'-    -> StepAdjustment-stepAdjustment pScalingAdjustment_ =-  StepAdjustment'-    { _saMetricIntervalLowerBound = Nothing-    , _saMetricIntervalUpperBound = Nothing-    , _saScalingAdjustment = pScalingAdjustment_-    }----- | 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.-saMetricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double)-saMetricIntervalLowerBound = lens _saMetricIntervalLowerBound (\ s a -> s{_saMetricIntervalLowerBound = a})---- | 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.-saMetricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double)-saMetricIntervalUpperBound = lens _saMetricIntervalUpperBound (\ s a -> s{_saMetricIntervalUpperBound = a})---- | The amount by which to scale, based on the specified adjustment type. A positive value adds to the current scalable dimension while a negative number removes from the current scalable dimension.-saScalingAdjustment :: Lens' StepAdjustment Int-saScalingAdjustment = lens _saScalingAdjustment (\ s a -> s{_saScalingAdjustment = a})--instance FromJSON StepAdjustment where-        parseJSON-          = withObject "StepAdjustment"-              (\ x ->-                 StepAdjustment' <$>-                   (x .:? "MetricIntervalLowerBound") <*>-                     (x .:? "MetricIntervalUpperBound")-                     <*> (x .: "ScalingAdjustment"))--instance Hashable StepAdjustment where--instance NFData StepAdjustment where--instance ToJSON StepAdjustment where-        toJSON StepAdjustment'{..}-          = object-              (catMaybes-                 [("MetricIntervalLowerBound" .=) <$>-                    _saMetricIntervalLowerBound,-                  ("MetricIntervalUpperBound" .=) <$>-                    _saMetricIntervalUpperBound,-                  Just ("ScalingAdjustment" .= _saScalingAdjustment)])---- | Represents a step scaling policy configuration.------------ /See:/ 'stepScalingPolicyConfiguration' smart constructor.-data StepScalingPolicyConfiguration = StepScalingPolicyConfiguration'-  { _sspcStepAdjustments        :: !(Maybe [StepAdjustment])-  , _sspcAdjustmentType         :: !(Maybe AdjustmentType)-  , _sspcCooldown               :: !(Maybe Int)-  , _sspcMetricAggregationType  :: !(Maybe MetricAggregationType)-  , _sspcMinAdjustmentMagnitude :: !(Maybe Int)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'StepScalingPolicyConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sspcStepAdjustments' - A set of adjustments that enable you to scale based on the size of the alarm breach.------ * 'sspcAdjustmentType' - The adjustment type, which specifies how the @ScalingAdjustment@ parameter in a 'StepAdjustment' is interpreted.------ * 'sspcCooldown' - The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events. For scale out policies, while the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out. For example, an alarm triggers a step scaling policy to scale out an Amazon ECS service by 2 tasks, the scaling activity completes successfully, and a cooldown period of 5 minutes starts. During the Cooldown period, if the alarm triggers the same policy again but at a more aggressive step adjustment to scale out the service by 3 tasks, the 2 tasks that were added in the previous scale out event are considered part of that capacity and only 1 additional task is added to the desired count. For scale in policies, the cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, Application Auto Scaling scales out your scalable target immediately.------ * 'sspcMetricAggregationType' - The aggregation type for the CloudWatch metrics. Valid values are @Minimum@ , @Maximum@ , and @Average@ .------ * 'sspcMinAdjustmentMagnitude' - The minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is @PercentChangeInCapacity@ , the scaling policy changes the scalable dimension of the scalable target by this amount.-stepScalingPolicyConfiguration-    :: StepScalingPolicyConfiguration-stepScalingPolicyConfiguration =-  StepScalingPolicyConfiguration'-    { _sspcStepAdjustments = Nothing-    , _sspcAdjustmentType = Nothing-    , _sspcCooldown = Nothing-    , _sspcMetricAggregationType = Nothing-    , _sspcMinAdjustmentMagnitude = Nothing-    }----- | A set of adjustments that enable you to scale based on the size of the alarm breach.-sspcStepAdjustments :: Lens' StepScalingPolicyConfiguration [StepAdjustment]-sspcStepAdjustments = lens _sspcStepAdjustments (\ s a -> s{_sspcStepAdjustments = a}) . _Default . _Coerce---- | The adjustment type, which specifies how the @ScalingAdjustment@ parameter in a 'StepAdjustment' is interpreted.-sspcAdjustmentType :: Lens' StepScalingPolicyConfiguration (Maybe AdjustmentType)-sspcAdjustmentType = lens _sspcAdjustmentType (\ s a -> s{_sspcAdjustmentType = a})---- | The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events. For scale out policies, while the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out. For example, an alarm triggers a step scaling policy to scale out an Amazon ECS service by 2 tasks, the scaling activity completes successfully, and a cooldown period of 5 minutes starts. During the Cooldown period, if the alarm triggers the same policy again but at a more aggressive step adjustment to scale out the service by 3 tasks, the 2 tasks that were added in the previous scale out event are considered part of that capacity and only 1 additional task is added to the desired count. For scale in policies, the cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, Application Auto Scaling scales out your scalable target immediately.-sspcCooldown :: Lens' StepScalingPolicyConfiguration (Maybe Int)-sspcCooldown = lens _sspcCooldown (\ s a -> s{_sspcCooldown = a})---- | The aggregation type for the CloudWatch metrics. Valid values are @Minimum@ , @Maximum@ , and @Average@ .-sspcMetricAggregationType :: Lens' StepScalingPolicyConfiguration (Maybe MetricAggregationType)-sspcMetricAggregationType = lens _sspcMetricAggregationType (\ s a -> s{_sspcMetricAggregationType = a})---- | The minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is @PercentChangeInCapacity@ , the scaling policy changes the scalable dimension of the scalable target by this amount.-sspcMinAdjustmentMagnitude :: Lens' StepScalingPolicyConfiguration (Maybe Int)-sspcMinAdjustmentMagnitude = lens _sspcMinAdjustmentMagnitude (\ s a -> s{_sspcMinAdjustmentMagnitude = a})--instance FromJSON StepScalingPolicyConfiguration-         where-        parseJSON-          = withObject "StepScalingPolicyConfiguration"-              (\ x ->-                 StepScalingPolicyConfiguration' <$>-                   (x .:? "StepAdjustments" .!= mempty) <*>-                     (x .:? "AdjustmentType")-                     <*> (x .:? "Cooldown")-                     <*> (x .:? "MetricAggregationType")-                     <*> (x .:? "MinAdjustmentMagnitude"))--instance Hashable StepScalingPolicyConfiguration-         where--instance NFData StepScalingPolicyConfiguration where--instance ToJSON StepScalingPolicyConfiguration where-        toJSON StepScalingPolicyConfiguration'{..}-          = object-              (catMaybes-                 [("StepAdjustments" .=) <$> _sspcStepAdjustments,-                  ("AdjustmentType" .=) <$> _sspcAdjustmentType,-                  ("Cooldown" .=) <$> _sspcCooldown,-                  ("MetricAggregationType" .=) <$>-                    _sspcMetricAggregationType,-                  ("MinAdjustmentMagnitude" .=) <$>-                    _sspcMinAdjustmentMagnitude])---- | Represents a target tracking scaling policy configuration.------------ /See:/ 'targetTrackingScalingPolicyConfiguration' smart constructor.-data TargetTrackingScalingPolicyConfiguration = TargetTrackingScalingPolicyConfiguration'-  { _ttspcPredefinedMetricSpecification :: !(Maybe PredefinedMetricSpecification)-  , _ttspcScaleInCooldown :: !(Maybe Int)-  , _ttspcCustomizedMetricSpecification :: !(Maybe CustomizedMetricSpecification)-  , _ttspcDisableScaleIn :: !(Maybe Bool)-  , _ttspcScaleOutCooldown :: !(Maybe Int)-  , _ttspcTargetValue :: !Double-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TargetTrackingScalingPolicyConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ttspcPredefinedMetricSpecification' - A predefined metric.------ * 'ttspcScaleInCooldown' - The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, Application Auto Scaling scales out your scalable target immediately.------ * 'ttspcCustomizedMetricSpecification' - A customized metric.------ * 'ttspcDisableScaleIn' - Indicates whether scale in by the target tracking policy is disabled. If the value is @true@ , scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is @false@ .------ * 'ttspcScaleOutCooldown' - The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out.------ * 'ttspcTargetValue' - The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).-targetTrackingScalingPolicyConfiguration-    :: Double -- ^ 'ttspcTargetValue'-    -> TargetTrackingScalingPolicyConfiguration-targetTrackingScalingPolicyConfiguration pTargetValue_ =-  TargetTrackingScalingPolicyConfiguration'-    { _ttspcPredefinedMetricSpecification = Nothing-    , _ttspcScaleInCooldown = Nothing-    , _ttspcCustomizedMetricSpecification = Nothing-    , _ttspcDisableScaleIn = Nothing-    , _ttspcScaleOutCooldown = Nothing-    , _ttspcTargetValue = pTargetValue_-    }----- | A predefined metric.-ttspcPredefinedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe PredefinedMetricSpecification)-ttspcPredefinedMetricSpecification = lens _ttspcPredefinedMetricSpecification (\ s a -> s{_ttspcPredefinedMetricSpecification = a})---- | The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, Application Auto Scaling scales out your scalable target immediately.-ttspcScaleInCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)-ttspcScaleInCooldown = lens _ttspcScaleInCooldown (\ s a -> s{_ttspcScaleInCooldown = a})---- | A customized metric.-ttspcCustomizedMetricSpecification :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe CustomizedMetricSpecification)-ttspcCustomizedMetricSpecification = lens _ttspcCustomizedMetricSpecification (\ s a -> s{_ttspcCustomizedMetricSpecification = a})---- | Indicates whether scale in by the target tracking policy is disabled. If the value is @true@ , scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is @false@ .-ttspcDisableScaleIn :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Bool)-ttspcDisableScaleIn = lens _ttspcDisableScaleIn (\ s a -> s{_ttspcDisableScaleIn = a})---- | The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out.-ttspcScaleOutCooldown :: Lens' TargetTrackingScalingPolicyConfiguration (Maybe Int)-ttspcScaleOutCooldown = lens _ttspcScaleOutCooldown (\ s a -> s{_ttspcScaleOutCooldown = a})---- | The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).-ttspcTargetValue :: Lens' TargetTrackingScalingPolicyConfiguration Double-ttspcTargetValue = lens _ttspcTargetValue (\ s a -> s{_ttspcTargetValue = a})--instance FromJSON-           TargetTrackingScalingPolicyConfiguration-         where-        parseJSON-          = withObject-              "TargetTrackingScalingPolicyConfiguration"-              (\ x ->-                 TargetTrackingScalingPolicyConfiguration' <$>-                   (x .:? "PredefinedMetricSpecification") <*>-                     (x .:? "ScaleInCooldown")-                     <*> (x .:? "CustomizedMetricSpecification")-                     <*> (x .:? "DisableScaleIn")-                     <*> (x .:? "ScaleOutCooldown")-                     <*> (x .: "TargetValue"))--instance Hashable-           TargetTrackingScalingPolicyConfiguration-         where--instance NFData-           TargetTrackingScalingPolicyConfiguration-         where--instance ToJSON-           TargetTrackingScalingPolicyConfiguration-         where-        toJSON TargetTrackingScalingPolicyConfiguration'{..}-          = object-              (catMaybes-                 [("PredefinedMetricSpecification" .=) <$>-                    _ttspcPredefinedMetricSpecification,-                  ("ScaleInCooldown" .=) <$> _ttspcScaleInCooldown,-                  ("CustomizedMetricSpecification" .=) <$>-                    _ttspcCustomizedMetricSpecification,-                  ("DisableScaleIn" .=) <$> _ttspcDisableScaleIn,-                  ("ScaleOutCooldown" .=) <$> _ttspcScaleOutCooldown,-                  Just ("TargetValue" .= _ttspcTargetValue)])
− gen/Network/AWS/ApplicationAutoScaling/Types/Sum.hs
@@ -1,350 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.Types.Sum--- Copyright   : (c) 2013-2018 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)----module Network.AWS.ApplicationAutoScaling.Types.Sum where--import Network.AWS.Prelude--data AdjustmentType-  = ChangeInCapacity-  | ExactCapacity-  | PercentChangeInCapacity-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText AdjustmentType where-    parser = takeLowerText >>= \case-        "changeincapacity" -> pure ChangeInCapacity-        "exactcapacity" -> pure ExactCapacity-        "percentchangeincapacity" -> pure PercentChangeInCapacity-        e -> fromTextError $ "Failure parsing AdjustmentType from value: '" <> e-           <> "'. Accepted values: changeincapacity, exactcapacity, percentchangeincapacity"--instance ToText AdjustmentType where-    toText = \case-        ChangeInCapacity -> "ChangeInCapacity"-        ExactCapacity -> "ExactCapacity"-        PercentChangeInCapacity -> "PercentChangeInCapacity"--instance Hashable     AdjustmentType-instance NFData       AdjustmentType-instance ToByteString AdjustmentType-instance ToQuery      AdjustmentType-instance ToHeader     AdjustmentType--instance ToJSON AdjustmentType where-    toJSON = toJSONText--instance FromJSON AdjustmentType where-    parseJSON = parseJSONText "AdjustmentType"--data MetricAggregationType-  = MATAverage-  | MATMaximum-  | MATMinimum-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MetricAggregationType where-    parser = takeLowerText >>= \case-        "average" -> pure MATAverage-        "maximum" -> pure MATMaximum-        "minimum" -> pure MATMinimum-        e -> fromTextError $ "Failure parsing MetricAggregationType from value: '" <> e-           <> "'. Accepted values: average, maximum, minimum"--instance ToText MetricAggregationType where-    toText = \case-        MATAverage -> "Average"-        MATMaximum -> "Maximum"-        MATMinimum -> "Minimum"--instance Hashable     MetricAggregationType-instance NFData       MetricAggregationType-instance ToByteString MetricAggregationType-instance ToQuery      MetricAggregationType-instance ToHeader     MetricAggregationType--instance ToJSON MetricAggregationType where-    toJSON = toJSONText--instance FromJSON MetricAggregationType where-    parseJSON = parseJSONText "MetricAggregationType"--data MetricStatistic-  = Average-  | Maximum-  | Minimum-  | SampleCount-  | Sum-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MetricStatistic where-    parser = takeLowerText >>= \case-        "average" -> pure Average-        "maximum" -> pure Maximum-        "minimum" -> pure Minimum-        "samplecount" -> pure SampleCount-        "sum" -> pure Sum-        e -> fromTextError $ "Failure parsing MetricStatistic from value: '" <> e-           <> "'. Accepted values: average, maximum, minimum, samplecount, sum"--instance ToText MetricStatistic where-    toText = \case-        Average -> "Average"-        Maximum -> "Maximum"-        Minimum -> "Minimum"-        SampleCount -> "SampleCount"-        Sum -> "Sum"--instance Hashable     MetricStatistic-instance NFData       MetricStatistic-instance ToByteString MetricStatistic-instance ToQuery      MetricStatistic-instance ToHeader     MetricStatistic--instance ToJSON MetricStatistic where-    toJSON = toJSONText--instance FromJSON MetricStatistic where-    parseJSON = parseJSONText "MetricStatistic"--data MetricType-  = ALBRequestCountPerTarget-  | DynamoDBReadCapacityUtilization-  | DynamoDBWriteCapacityUtilization-  | EC2SpotFleetRequestAverageCPUUtilization-  | EC2SpotFleetRequestAverageNetworkIn-  | EC2SpotFleetRequestAverageNetworkOut-  | ECSServiceAverageCPUUtilization-  | ECSServiceAverageMemoryUtilization-  | RDSReaderAverageCPUUtilization-  | RDSReaderAverageDatabaseConnections-  | SageMakerVariantInvocationsPerInstance-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MetricType where-    parser = takeLowerText >>= \case-        "albrequestcountpertarget" -> pure ALBRequestCountPerTarget-        "dynamodbreadcapacityutilization" -> pure DynamoDBReadCapacityUtilization-        "dynamodbwritecapacityutilization" -> pure DynamoDBWriteCapacityUtilization-        "ec2spotfleetrequestaveragecpuutilization" -> pure EC2SpotFleetRequestAverageCPUUtilization-        "ec2spotfleetrequestaveragenetworkin" -> pure EC2SpotFleetRequestAverageNetworkIn-        "ec2spotfleetrequestaveragenetworkout" -> pure EC2SpotFleetRequestAverageNetworkOut-        "ecsserviceaveragecpuutilization" -> pure ECSServiceAverageCPUUtilization-        "ecsserviceaveragememoryutilization" -> pure ECSServiceAverageMemoryUtilization-        "rdsreaderaveragecpuutilization" -> pure RDSReaderAverageCPUUtilization-        "rdsreaderaveragedatabaseconnections" -> pure RDSReaderAverageDatabaseConnections-        "sagemakervariantinvocationsperinstance" -> pure SageMakerVariantInvocationsPerInstance-        e -> fromTextError $ "Failure parsing MetricType from value: '" <> e-           <> "'. Accepted values: albrequestcountpertarget, dynamodbreadcapacityutilization, dynamodbwritecapacityutilization, ec2spotfleetrequestaveragecpuutilization, ec2spotfleetrequestaveragenetworkin, ec2spotfleetrequestaveragenetworkout, ecsserviceaveragecpuutilization, ecsserviceaveragememoryutilization, rdsreaderaveragecpuutilization, rdsreaderaveragedatabaseconnections, sagemakervariantinvocationsperinstance"--instance ToText MetricType where-    toText = \case-        ALBRequestCountPerTarget -> "ALBRequestCountPerTarget"-        DynamoDBReadCapacityUtilization -> "DynamoDBReadCapacityUtilization"-        DynamoDBWriteCapacityUtilization -> "DynamoDBWriteCapacityUtilization"-        EC2SpotFleetRequestAverageCPUUtilization -> "EC2SpotFleetRequestAverageCPUUtilization"-        EC2SpotFleetRequestAverageNetworkIn -> "EC2SpotFleetRequestAverageNetworkIn"-        EC2SpotFleetRequestAverageNetworkOut -> "EC2SpotFleetRequestAverageNetworkOut"-        ECSServiceAverageCPUUtilization -> "ECSServiceAverageCPUUtilization"-        ECSServiceAverageMemoryUtilization -> "ECSServiceAverageMemoryUtilization"-        RDSReaderAverageCPUUtilization -> "RDSReaderAverageCPUUtilization"-        RDSReaderAverageDatabaseConnections -> "RDSReaderAverageDatabaseConnections"-        SageMakerVariantInvocationsPerInstance -> "SageMakerVariantInvocationsPerInstance"--instance Hashable     MetricType-instance NFData       MetricType-instance ToByteString MetricType-instance ToQuery      MetricType-instance ToHeader     MetricType--instance ToJSON MetricType where-    toJSON = toJSONText--instance FromJSON MetricType where-    parseJSON = parseJSONText "MetricType"--data PolicyType-  = StepScaling-  | TargetTrackingScaling-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText PolicyType where-    parser = takeLowerText >>= \case-        "stepscaling" -> pure StepScaling-        "targettrackingscaling" -> pure TargetTrackingScaling-        e -> fromTextError $ "Failure parsing PolicyType from value: '" <> e-           <> "'. Accepted values: stepscaling, targettrackingscaling"--instance ToText PolicyType where-    toText = \case-        StepScaling -> "StepScaling"-        TargetTrackingScaling -> "TargetTrackingScaling"--instance Hashable     PolicyType-instance NFData       PolicyType-instance ToByteString PolicyType-instance ToQuery      PolicyType-instance ToHeader     PolicyType--instance ToJSON PolicyType where-    toJSON = toJSONText--instance FromJSON PolicyType where-    parseJSON = parseJSONText "PolicyType"--data ScalableDimension-  = AppstreamFleetDesiredCapacity-  | DynamodbIndexReadCapacityUnits-  | DynamodbIndexWriteCapacityUnits-  | DynamodbTableReadCapacityUnits-  | DynamodbTableWriteCapacityUnits-  | EC2SpotFleetRequestTargetCapacity-  | EcsServiceDesiredCount-  | ElasticmapreduceInstancegroupInstanceCount-  | RDSClusterReadReplicaCount-  | SagemakerVariantDesiredInstanceCount-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ScalableDimension where-    parser = takeLowerText >>= \case-        "appstream:fleet:desiredcapacity" -> pure AppstreamFleetDesiredCapacity-        "dynamodb:index:readcapacityunits" -> pure DynamodbIndexReadCapacityUnits-        "dynamodb:index:writecapacityunits" -> pure DynamodbIndexWriteCapacityUnits-        "dynamodb:table:readcapacityunits" -> pure DynamodbTableReadCapacityUnits-        "dynamodb:table:writecapacityunits" -> pure DynamodbTableWriteCapacityUnits-        "ec2:spot-fleet-request:targetcapacity" -> pure EC2SpotFleetRequestTargetCapacity-        "ecs:service:desiredcount" -> pure EcsServiceDesiredCount-        "elasticmapreduce:instancegroup:instancecount" -> pure ElasticmapreduceInstancegroupInstanceCount-        "rds:cluster:readreplicacount" -> pure RDSClusterReadReplicaCount-        "sagemaker:variant:desiredinstancecount" -> pure SagemakerVariantDesiredInstanceCount-        e -> fromTextError $ "Failure parsing ScalableDimension from value: '" <> e-           <> "'. Accepted values: appstream:fleet:desiredcapacity, dynamodb:index:readcapacityunits, dynamodb:index:writecapacityunits, dynamodb:table:readcapacityunits, dynamodb:table:writecapacityunits, ec2:spot-fleet-request:targetcapacity, ecs:service:desiredcount, elasticmapreduce:instancegroup:instancecount, rds:cluster:readreplicacount, sagemaker:variant:desiredinstancecount"--instance ToText ScalableDimension where-    toText = \case-        AppstreamFleetDesiredCapacity -> "appstream:fleet:DesiredCapacity"-        DynamodbIndexReadCapacityUnits -> "dynamodb:index:ReadCapacityUnits"-        DynamodbIndexWriteCapacityUnits -> "dynamodb:index:WriteCapacityUnits"-        DynamodbTableReadCapacityUnits -> "dynamodb:table:ReadCapacityUnits"-        DynamodbTableWriteCapacityUnits -> "dynamodb:table:WriteCapacityUnits"-        EC2SpotFleetRequestTargetCapacity -> "ec2:spot-fleet-request:TargetCapacity"-        EcsServiceDesiredCount -> "ecs:service:DesiredCount"-        ElasticmapreduceInstancegroupInstanceCount -> "elasticmapreduce:instancegroup:InstanceCount"-        RDSClusterReadReplicaCount -> "rds:cluster:ReadReplicaCount"-        SagemakerVariantDesiredInstanceCount -> "sagemaker:variant:DesiredInstanceCount"--instance Hashable     ScalableDimension-instance NFData       ScalableDimension-instance ToByteString ScalableDimension-instance ToQuery      ScalableDimension-instance ToHeader     ScalableDimension--instance ToJSON ScalableDimension where-    toJSON = toJSONText--instance FromJSON ScalableDimension where-    parseJSON = parseJSONText "ScalableDimension"--data ScalingActivityStatusCode-  = Failed-  | InProgress-  | Overridden-  | Pending-  | Successful-  | Unfulfilled-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ScalingActivityStatusCode where-    parser = takeLowerText >>= \case-        "failed" -> pure Failed-        "inprogress" -> pure InProgress-        "overridden" -> pure Overridden-        "pending" -> pure Pending-        "successful" -> pure Successful-        "unfulfilled" -> pure Unfulfilled-        e -> fromTextError $ "Failure parsing ScalingActivityStatusCode from value: '" <> e-           <> "'. Accepted values: failed, inprogress, overridden, pending, successful, unfulfilled"--instance ToText ScalingActivityStatusCode where-    toText = \case-        Failed -> "Failed"-        InProgress -> "InProgress"-        Overridden -> "Overridden"-        Pending -> "Pending"-        Successful -> "Successful"-        Unfulfilled -> "Unfulfilled"--instance Hashable     ScalingActivityStatusCode-instance NFData       ScalingActivityStatusCode-instance ToByteString ScalingActivityStatusCode-instance ToQuery      ScalingActivityStatusCode-instance ToHeader     ScalingActivityStatusCode--instance FromJSON ScalingActivityStatusCode where-    parseJSON = parseJSONText "ScalingActivityStatusCode"--data ServiceNamespace-  = Appstream-  | Dynamodb-  | EC2-  | Ecs-  | Elasticmapreduce-  | RDS-  | Sagemaker-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ServiceNamespace where-    parser = takeLowerText >>= \case-        "appstream" -> pure Appstream-        "dynamodb" -> pure Dynamodb-        "ec2" -> pure EC2-        "ecs" -> pure Ecs-        "elasticmapreduce" -> pure Elasticmapreduce-        "rds" -> pure RDS-        "sagemaker" -> pure Sagemaker-        e -> fromTextError $ "Failure parsing ServiceNamespace from value: '" <> e-           <> "'. Accepted values: appstream, dynamodb, ec2, ecs, elasticmapreduce, rds, sagemaker"--instance ToText ServiceNamespace where-    toText = \case-        Appstream -> "appstream"-        Dynamodb -> "dynamodb"-        EC2 -> "ec2"-        Ecs -> "ecs"-        Elasticmapreduce -> "elasticmapreduce"-        RDS -> "rds"-        Sagemaker -> "sagemaker"--instance Hashable     ServiceNamespace-instance NFData       ServiceNamespace-instance ToByteString ServiceNamespace-instance ToQuery      ServiceNamespace-instance ToHeader     ServiceNamespace--instance ToJSON ServiceNamespace where-    toJSON = toJSONText--instance FromJSON ServiceNamespace where-    parseJSON = parseJSONText "ServiceNamespace"
− gen/Network/AWS/ApplicationAutoScaling/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies      #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ApplicationAutoScaling.Waiters--- Copyright   : (c) 2013-2018 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)----module Network.AWS.ApplicationAutoScaling.Waiters where--import Network.AWS.ApplicationAutoScaling.Types-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2018 Brendan Hay+-- Copyright   : (c) 2013-2023 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer  : Brendan Hay -- Stability   : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.ApplicationAutoScaling+import Test.Amazonka.ApplicationAutoScaling.Internal import Test.Tasty-import Test.AWS.ApplicationAutoScaling-import Test.AWS.ApplicationAutoScaling.Internal  main :: IO ()-main = defaultMain $ testGroup "ApplicationAutoScaling"-    [ testGroup "tests"    tests-    , testGroup "fixtures" fixtures-    ]+main =+  defaultMain $+    testGroup+      "ApplicationAutoScaling"+      [ testGroup "tests" tests,+        testGroup "fixtures" fixtures+      ]
− test/Test/AWS/ApplicationAutoScaling.hs
@@ -1,27 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- |--- Module      : Test.AWS.ApplicationAutoScaling--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : This Source Code Form is subject to the terms of---               the Mozilla Public License, v. 2.0.---               A copy of the MPL can be found in the LICENSE file or---               you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.ApplicationAutoScaling-    ( tests-    , fixtures-    ) where--import           Network.AWS.ApplicationAutoScaling-import           Test.AWS.Gen.ApplicationAutoScaling-import           Test.Tasty--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/ApplicationAutoScaling/Internal.hs
@@ -1,17 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module      : Test.AWS.ApplicationAutoScaling.Internal--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : This Source Code Form is subject to the terms of---               the Mozilla Public License, v. 2.0.---               A copy of the MPL can be found in the LICENSE file or---               you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.ApplicationAutoScaling.Internal where--import           Test.AWS.Prelude
− test/Test/AWS/Gen/ApplicationAutoScaling.hs
@@ -1,219 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans        #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Test.AWS.Gen.ApplicationAutoScaling--- Copyright   : (c) 2013-2018 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)----module Test.AWS.Gen.ApplicationAutoScaling where--import Data.Proxy-import Network.AWS.ApplicationAutoScaling-import Test.AWS.ApplicationAutoScaling.Internal-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =---     [ testGroup "request"---         [ requestDeleteScalingPolicy $---             deleteScalingPolicy------         , requestPutScalingPolicy $---             putScalingPolicy------         , requestRegisterScalableTarget $---             registerScalableTarget------         , requestDescribeScalingPolicies $---             describeScalingPolicies------         , requestPutScheduledAction $---             putScheduledAction------         , requestDeleteScheduledAction $---             deleteScheduledAction------         , requestDescribeScheduledActions $---             describeScheduledActions------         , requestDescribeScalableTargets $---             describeScalableTargets------         , requestDescribeScalingActivities $---             describeScalingActivities------         , requestDeregisterScalableTarget $---             deregisterScalableTarget------           ]----     , testGroup "response"---         [ responseDeleteScalingPolicy $---             deleteScalingPolicyResponse------         , responsePutScalingPolicy $---             putScalingPolicyResponse------         , responseRegisterScalableTarget $---             registerScalableTargetResponse------         , responseDescribeScalingPolicies $---             describeScalingPoliciesResponse------         , responsePutScheduledAction $---             putScheduledActionResponse------         , responseDeleteScheduledAction $---             deleteScheduledActionResponse------         , responseDescribeScheduledActions $---             describeScheduledActionsResponse------         , responseDescribeScalableTargets $---             describeScalableTargetsResponse------         , responseDescribeScalingActivities $---             describeScalingActivitiesResponse------         , responseDeregisterScalableTarget $---             deregisterScalableTargetResponse------           ]---     ]---- Requests--requestDeleteScalingPolicy :: DeleteScalingPolicy -> TestTree-requestDeleteScalingPolicy = req-    "DeleteScalingPolicy"-    "fixture/DeleteScalingPolicy.yaml"--requestPutScalingPolicy :: PutScalingPolicy -> TestTree-requestPutScalingPolicy = req-    "PutScalingPolicy"-    "fixture/PutScalingPolicy.yaml"--requestRegisterScalableTarget :: RegisterScalableTarget -> TestTree-requestRegisterScalableTarget = req-    "RegisterScalableTarget"-    "fixture/RegisterScalableTarget.yaml"--requestDescribeScalingPolicies :: DescribeScalingPolicies -> TestTree-requestDescribeScalingPolicies = req-    "DescribeScalingPolicies"-    "fixture/DescribeScalingPolicies.yaml"--requestPutScheduledAction :: PutScheduledAction -> TestTree-requestPutScheduledAction = req-    "PutScheduledAction"-    "fixture/PutScheduledAction.yaml"--requestDeleteScheduledAction :: DeleteScheduledAction -> TestTree-requestDeleteScheduledAction = req-    "DeleteScheduledAction"-    "fixture/DeleteScheduledAction.yaml"--requestDescribeScheduledActions :: DescribeScheduledActions -> TestTree-requestDescribeScheduledActions = req-    "DescribeScheduledActions"-    "fixture/DescribeScheduledActions.yaml"--requestDescribeScalableTargets :: DescribeScalableTargets -> TestTree-requestDescribeScalableTargets = req-    "DescribeScalableTargets"-    "fixture/DescribeScalableTargets.yaml"--requestDescribeScalingActivities :: DescribeScalingActivities -> TestTree-requestDescribeScalingActivities = req-    "DescribeScalingActivities"-    "fixture/DescribeScalingActivities.yaml"--requestDeregisterScalableTarget :: DeregisterScalableTarget -> TestTree-requestDeregisterScalableTarget = req-    "DeregisterScalableTarget"-    "fixture/DeregisterScalableTarget.yaml"---- Responses--responseDeleteScalingPolicy :: DeleteScalingPolicyResponse -> TestTree-responseDeleteScalingPolicy = res-    "DeleteScalingPolicyResponse"-    "fixture/DeleteScalingPolicyResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy DeleteScalingPolicy)--responsePutScalingPolicy :: PutScalingPolicyResponse -> TestTree-responsePutScalingPolicy = res-    "PutScalingPolicyResponse"-    "fixture/PutScalingPolicyResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy PutScalingPolicy)--responseRegisterScalableTarget :: RegisterScalableTargetResponse -> TestTree-responseRegisterScalableTarget = res-    "RegisterScalableTargetResponse"-    "fixture/RegisterScalableTargetResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy RegisterScalableTarget)--responseDescribeScalingPolicies :: DescribeScalingPoliciesResponse -> TestTree-responseDescribeScalingPolicies = res-    "DescribeScalingPoliciesResponse"-    "fixture/DescribeScalingPoliciesResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy DescribeScalingPolicies)--responsePutScheduledAction :: PutScheduledActionResponse -> TestTree-responsePutScheduledAction = res-    "PutScheduledActionResponse"-    "fixture/PutScheduledActionResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy PutScheduledAction)--responseDeleteScheduledAction :: DeleteScheduledActionResponse -> TestTree-responseDeleteScheduledAction = res-    "DeleteScheduledActionResponse"-    "fixture/DeleteScheduledActionResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy DeleteScheduledAction)--responseDescribeScheduledActions :: DescribeScheduledActionsResponse -> TestTree-responseDescribeScheduledActions = res-    "DescribeScheduledActionsResponse"-    "fixture/DescribeScheduledActionsResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy DescribeScheduledActions)--responseDescribeScalableTargets :: DescribeScalableTargetsResponse -> TestTree-responseDescribeScalableTargets = res-    "DescribeScalableTargetsResponse"-    "fixture/DescribeScalableTargetsResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy DescribeScalableTargets)--responseDescribeScalingActivities :: DescribeScalingActivitiesResponse -> TestTree-responseDescribeScalingActivities = res-    "DescribeScalingActivitiesResponse"-    "fixture/DescribeScalingActivitiesResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy DescribeScalingActivities)--responseDeregisterScalableTarget :: DeregisterScalableTargetResponse -> TestTree-responseDeregisterScalableTarget = res-    "DeregisterScalableTargetResponse"-    "fixture/DeregisterScalableTargetResponse.proto"-    applicationAutoScaling-    (Proxy :: Proxy DeregisterScalableTarget)
+ test/Test/Amazonka/ApplicationAutoScaling.hs view
@@ -0,0 +1,20 @@+-- |+-- Module      : Test.Amazonka.ApplicationAutoScaling+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.ApplicationAutoScaling+  ( tests,+    fixtures,+  )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/ApplicationAutoScaling/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module      : Test.Amazonka.ApplicationAutoScaling.Internal+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.ApplicationAutoScaling.Internal where
+ test/Test/Amazonka/Gen/ApplicationAutoScaling.hs view
@@ -0,0 +1,238 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Test.Amazonka.Gen.ApplicationAutoScaling+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.ApplicationAutoScaling where++import Amazonka.ApplicationAutoScaling+import qualified Data.Proxy as Proxy+import Test.Amazonka.ApplicationAutoScaling.Internal+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+--     [ testGroup "request"+--         [ requestDeleteScalingPolicy $+--             newDeleteScalingPolicy+--+--         , requestDeleteScheduledAction $+--             newDeleteScheduledAction+--+--         , requestDeregisterScalableTarget $+--             newDeregisterScalableTarget+--+--         , requestDescribeScalableTargets $+--             newDescribeScalableTargets+--+--         , requestDescribeScalingActivities $+--             newDescribeScalingActivities+--+--         , requestDescribeScalingPolicies $+--             newDescribeScalingPolicies+--+--         , requestDescribeScheduledActions $+--             newDescribeScheduledActions+--+--         , requestPutScalingPolicy $+--             newPutScalingPolicy+--+--         , requestPutScheduledAction $+--             newPutScheduledAction+--+--         , requestRegisterScalableTarget $+--             newRegisterScalableTarget+--+--           ]++--     , testGroup "response"+--         [ responseDeleteScalingPolicy $+--             newDeleteScalingPolicyResponse+--+--         , responseDeleteScheduledAction $+--             newDeleteScheduledActionResponse+--+--         , responseDeregisterScalableTarget $+--             newDeregisterScalableTargetResponse+--+--         , responseDescribeScalableTargets $+--             newDescribeScalableTargetsResponse+--+--         , responseDescribeScalingActivities $+--             newDescribeScalingActivitiesResponse+--+--         , responseDescribeScalingPolicies $+--             newDescribeScalingPoliciesResponse+--+--         , responseDescribeScheduledActions $+--             newDescribeScheduledActionsResponse+--+--         , responsePutScalingPolicy $+--             newPutScalingPolicyResponse+--+--         , responsePutScheduledAction $+--             newPutScheduledActionResponse+--+--         , responseRegisterScalableTarget $+--             newRegisterScalableTargetResponse+--+--           ]+--     ]++-- Requests++requestDeleteScalingPolicy :: DeleteScalingPolicy -> TestTree+requestDeleteScalingPolicy =+  req+    "DeleteScalingPolicy"+    "fixture/DeleteScalingPolicy.yaml"++requestDeleteScheduledAction :: DeleteScheduledAction -> TestTree+requestDeleteScheduledAction =+  req+    "DeleteScheduledAction"+    "fixture/DeleteScheduledAction.yaml"++requestDeregisterScalableTarget :: DeregisterScalableTarget -> TestTree+requestDeregisterScalableTarget =+  req+    "DeregisterScalableTarget"+    "fixture/DeregisterScalableTarget.yaml"++requestDescribeScalableTargets :: DescribeScalableTargets -> TestTree+requestDescribeScalableTargets =+  req+    "DescribeScalableTargets"+    "fixture/DescribeScalableTargets.yaml"++requestDescribeScalingActivities :: DescribeScalingActivities -> TestTree+requestDescribeScalingActivities =+  req+    "DescribeScalingActivities"+    "fixture/DescribeScalingActivities.yaml"++requestDescribeScalingPolicies :: DescribeScalingPolicies -> TestTree+requestDescribeScalingPolicies =+  req+    "DescribeScalingPolicies"+    "fixture/DescribeScalingPolicies.yaml"++requestDescribeScheduledActions :: DescribeScheduledActions -> TestTree+requestDescribeScheduledActions =+  req+    "DescribeScheduledActions"+    "fixture/DescribeScheduledActions.yaml"++requestPutScalingPolicy :: PutScalingPolicy -> TestTree+requestPutScalingPolicy =+  req+    "PutScalingPolicy"+    "fixture/PutScalingPolicy.yaml"++requestPutScheduledAction :: PutScheduledAction -> TestTree+requestPutScheduledAction =+  req+    "PutScheduledAction"+    "fixture/PutScheduledAction.yaml"++requestRegisterScalableTarget :: RegisterScalableTarget -> TestTree+requestRegisterScalableTarget =+  req+    "RegisterScalableTarget"+    "fixture/RegisterScalableTarget.yaml"++-- Responses++responseDeleteScalingPolicy :: DeleteScalingPolicyResponse -> TestTree+responseDeleteScalingPolicy =+  res+    "DeleteScalingPolicyResponse"+    "fixture/DeleteScalingPolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteScalingPolicy)++responseDeleteScheduledAction :: DeleteScheduledActionResponse -> TestTree+responseDeleteScheduledAction =+  res+    "DeleteScheduledActionResponse"+    "fixture/DeleteScheduledActionResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteScheduledAction)++responseDeregisterScalableTarget :: DeregisterScalableTargetResponse -> TestTree+responseDeregisterScalableTarget =+  res+    "DeregisterScalableTargetResponse"+    "fixture/DeregisterScalableTargetResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeregisterScalableTarget)++responseDescribeScalableTargets :: DescribeScalableTargetsResponse -> TestTree+responseDescribeScalableTargets =+  res+    "DescribeScalableTargetsResponse"+    "fixture/DescribeScalableTargetsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeScalableTargets)++responseDescribeScalingActivities :: DescribeScalingActivitiesResponse -> TestTree+responseDescribeScalingActivities =+  res+    "DescribeScalingActivitiesResponse"+    "fixture/DescribeScalingActivitiesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeScalingActivities)++responseDescribeScalingPolicies :: DescribeScalingPoliciesResponse -> TestTree+responseDescribeScalingPolicies =+  res+    "DescribeScalingPoliciesResponse"+    "fixture/DescribeScalingPoliciesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeScalingPolicies)++responseDescribeScheduledActions :: DescribeScheduledActionsResponse -> TestTree+responseDescribeScheduledActions =+  res+    "DescribeScheduledActionsResponse"+    "fixture/DescribeScheduledActionsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeScheduledActions)++responsePutScalingPolicy :: PutScalingPolicyResponse -> TestTree+responsePutScalingPolicy =+  res+    "PutScalingPolicyResponse"+    "fixture/PutScalingPolicyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy PutScalingPolicy)++responsePutScheduledAction :: PutScheduledActionResponse -> TestTree+responsePutScheduledAction =+  res+    "PutScheduledActionResponse"+    "fixture/PutScheduledActionResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy PutScheduledAction)++responseRegisterScalableTarget :: RegisterScalableTargetResponse -> TestTree+responseRegisterScalableTarget =+  res+    "RegisterScalableTargetResponse"+    "fixture/RegisterScalableTargetResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy RegisterScalableTarget)