packages feed

amazonka-autoscaling-plans 1.6.1 → 2.0

raw patch · 62 files changed

+6503/−2669 lines, 62 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.AutoScalingPlans: ALBRequestCountPerTarget :: ScalingMetricType
- Network.AWS.AutoScalingPlans: ASGAverageCPUUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans: ASGAverageNetworkIn :: ScalingMetricType
- Network.AWS.AutoScalingPlans: ASGAverageNetworkOut :: ScalingMetricType
- Network.AWS.AutoScalingPlans: Active :: ScalingStatusCode
- Network.AWS.AutoScalingPlans: Autoscaling :: ServiceNamespace
- Network.AWS.AutoScalingPlans: AutoscalingAutoScalingGroupDesiredCapacity :: ScalableDimension
- Network.AWS.AutoScalingPlans: Average :: MetricStatistic
- Network.AWS.AutoScalingPlans: DynamoDBReadCapacityUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans: DynamoDBWriteCapacityUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans: Dynamodb :: ServiceNamespace
- Network.AWS.AutoScalingPlans: DynamodbIndexReadCapacityUnits :: ScalableDimension
- Network.AWS.AutoScalingPlans: DynamodbIndexWriteCapacityUnits :: ScalableDimension
- Network.AWS.AutoScalingPlans: DynamodbTableReadCapacityUnits :: ScalableDimension
- Network.AWS.AutoScalingPlans: DynamodbTableWriteCapacityUnits :: ScalableDimension
- Network.AWS.AutoScalingPlans: EC2 :: ServiceNamespace
- Network.AWS.AutoScalingPlans: EC2SpotFleetRequestAverageCPUUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans: EC2SpotFleetRequestAverageNetworkIn :: ScalingMetricType
- Network.AWS.AutoScalingPlans: EC2SpotFleetRequestAverageNetworkOut :: ScalingMetricType
- Network.AWS.AutoScalingPlans: EC2SpotFleetRequestTargetCapacity :: ScalableDimension
- Network.AWS.AutoScalingPlans: ECSServiceAverageCPUUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans: ECSServiceAverageMemoryUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans: Ecs :: ServiceNamespace
- Network.AWS.AutoScalingPlans: EcsServiceDesiredCount :: ScalableDimension
- Network.AWS.AutoScalingPlans: Inactive :: ScalingStatusCode
- Network.AWS.AutoScalingPlans: Maximum :: MetricStatistic
- Network.AWS.AutoScalingPlans: Minimum :: MetricStatistic
- Network.AWS.AutoScalingPlans: PartiallyActive :: ScalingStatusCode
- Network.AWS.AutoScalingPlans: RDS :: ServiceNamespace
- Network.AWS.AutoScalingPlans: RDSClusterReadReplicaCount :: ScalableDimension
- Network.AWS.AutoScalingPlans: RDSReaderAverageCPUUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans: RDSReaderAverageDatabaseConnections :: ScalingMetricType
- Network.AWS.AutoScalingPlans: SPSCActive :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: SPSCActiveWithProblems :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: SPSCCreationFailed :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: SPSCCreationInProgress :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: SPSCDeletionFailed :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: SPSCDeletionInProgress :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: SPSCUpdateFailed :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: SPSCUpdateInProgress :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: SampleCount :: MetricStatistic
- Network.AWS.AutoScalingPlans: Sum :: MetricStatistic
- Network.AWS.AutoScalingPlans: TargetTrackingScaling :: PolicyType
- Network.AWS.AutoScalingPlans: _ConcurrentUpdateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans: _InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans: _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans: _ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans: _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans: applicationSource :: ApplicationSource
- Network.AWS.AutoScalingPlans: asCloudFormationStackARN :: Lens' ApplicationSource (Maybe Text)
- Network.AWS.AutoScalingPlans: asTagFilters :: Lens' ApplicationSource [TagFilter]
- Network.AWS.AutoScalingPlans: autoScalingPlans :: Service
- Network.AWS.AutoScalingPlans: csmsDimensions :: Lens' CustomizedScalingMetricSpecification [MetricDimension]
- Network.AWS.AutoScalingPlans: csmsMetricName :: Lens' CustomizedScalingMetricSpecification Text
- Network.AWS.AutoScalingPlans: csmsNamespace :: Lens' CustomizedScalingMetricSpecification Text
- Network.AWS.AutoScalingPlans: csmsStatistic :: Lens' CustomizedScalingMetricSpecification MetricStatistic
- Network.AWS.AutoScalingPlans: csmsUnit :: Lens' CustomizedScalingMetricSpecification (Maybe Text)
- Network.AWS.AutoScalingPlans: customizedScalingMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedScalingMetricSpecification
- Network.AWS.AutoScalingPlans: data ApplicationSource
- Network.AWS.AutoScalingPlans: data CustomizedScalingMetricSpecification
- Network.AWS.AutoScalingPlans: data MetricDimension
- Network.AWS.AutoScalingPlans: data MetricStatistic
- Network.AWS.AutoScalingPlans: data PolicyType
- Network.AWS.AutoScalingPlans: data PredefinedScalingMetricSpecification
- Network.AWS.AutoScalingPlans: data ScalableDimension
- Network.AWS.AutoScalingPlans: data ScalingInstruction
- Network.AWS.AutoScalingPlans: data ScalingMetricType
- Network.AWS.AutoScalingPlans: data ScalingPlan
- Network.AWS.AutoScalingPlans: data ScalingPlanResource
- Network.AWS.AutoScalingPlans: data ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: data ScalingPolicy
- Network.AWS.AutoScalingPlans: data ScalingStatusCode
- Network.AWS.AutoScalingPlans: data ServiceNamespace
- Network.AWS.AutoScalingPlans: data TagFilter
- Network.AWS.AutoScalingPlans: data TargetTrackingConfiguration
- Network.AWS.AutoScalingPlans: mdName :: Lens' MetricDimension Text
- Network.AWS.AutoScalingPlans: mdValue :: Lens' MetricDimension Text
- Network.AWS.AutoScalingPlans: metricDimension :: Text -> Text -> MetricDimension
- Network.AWS.AutoScalingPlans: predefinedScalingMetricSpecification :: ScalingMetricType -> PredefinedScalingMetricSpecification
- Network.AWS.AutoScalingPlans: psmsPredefinedScalingMetricType :: Lens' PredefinedScalingMetricSpecification ScalingMetricType
- Network.AWS.AutoScalingPlans: psmsResourceLabel :: Lens' PredefinedScalingMetricSpecification (Maybe Text)
- Network.AWS.AutoScalingPlans: scalingInstruction :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> ScalingInstruction
- Network.AWS.AutoScalingPlans: scalingPlan :: Text -> Integer -> ApplicationSource -> ScalingPlanStatusCode -> ScalingPlan
- Network.AWS.AutoScalingPlans: scalingPlanResource :: Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ScalingStatusCode -> ScalingPlanResource
- Network.AWS.AutoScalingPlans: scalingPolicy :: Text -> PolicyType -> ScalingPolicy
- Network.AWS.AutoScalingPlans: siMaxCapacity :: Lens' ScalingInstruction Int
- Network.AWS.AutoScalingPlans: siMinCapacity :: Lens' ScalingInstruction Int
- Network.AWS.AutoScalingPlans: siResourceId :: Lens' ScalingInstruction Text
- Network.AWS.AutoScalingPlans: siScalableDimension :: Lens' ScalingInstruction ScalableDimension
- Network.AWS.AutoScalingPlans: siServiceNamespace :: Lens' ScalingInstruction ServiceNamespace
- Network.AWS.AutoScalingPlans: siTargetTrackingConfigurations :: Lens' ScalingInstruction [TargetTrackingConfiguration]
- Network.AWS.AutoScalingPlans: spApplicationSource :: Lens' ScalingPlan ApplicationSource
- Network.AWS.AutoScalingPlans: spCreationTime :: Lens' ScalingPlan (Maybe UTCTime)
- Network.AWS.AutoScalingPlans: spPolicyName :: Lens' ScalingPolicy Text
- Network.AWS.AutoScalingPlans: spPolicyType :: Lens' ScalingPolicy PolicyType
- Network.AWS.AutoScalingPlans: spScalingInstructions :: Lens' ScalingPlan [ScalingInstruction]
- Network.AWS.AutoScalingPlans: spScalingPlanName :: Lens' ScalingPlan Text
- Network.AWS.AutoScalingPlans: spScalingPlanVersion :: Lens' ScalingPlan Integer
- Network.AWS.AutoScalingPlans: spStatusCode :: Lens' ScalingPlan ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans: spStatusMessage :: Lens' ScalingPlan (Maybe Text)
- Network.AWS.AutoScalingPlans: spStatusStartTime :: Lens' ScalingPlan (Maybe UTCTime)
- Network.AWS.AutoScalingPlans: spTargetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration)
- Network.AWS.AutoScalingPlans: sprResourceId :: Lens' ScalingPlanResource Text
- Network.AWS.AutoScalingPlans: sprScalableDimension :: Lens' ScalingPlanResource ScalableDimension
- Network.AWS.AutoScalingPlans: sprScalingPlanName :: Lens' ScalingPlanResource Text
- Network.AWS.AutoScalingPlans: sprScalingPlanVersion :: Lens' ScalingPlanResource Integer
- Network.AWS.AutoScalingPlans: sprScalingPolicies :: Lens' ScalingPlanResource [ScalingPolicy]
- Network.AWS.AutoScalingPlans: sprScalingStatusCode :: Lens' ScalingPlanResource ScalingStatusCode
- Network.AWS.AutoScalingPlans: sprScalingStatusMessage :: Lens' ScalingPlanResource (Maybe Text)
- Network.AWS.AutoScalingPlans: sprServiceNamespace :: Lens' ScalingPlanResource ServiceNamespace
- Network.AWS.AutoScalingPlans: tagFilter :: TagFilter
- Network.AWS.AutoScalingPlans: targetTrackingConfiguration :: Double -> TargetTrackingConfiguration
- Network.AWS.AutoScalingPlans: tfKey :: Lens' TagFilter (Maybe Text)
- Network.AWS.AutoScalingPlans: tfValues :: Lens' TagFilter [Text]
- Network.AWS.AutoScalingPlans: ttcCustomizedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedScalingMetricSpecification)
- Network.AWS.AutoScalingPlans: ttcDisableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool)
- Network.AWS.AutoScalingPlans: ttcEstimatedInstanceWarmup :: Lens' TargetTrackingConfiguration (Maybe Int)
- Network.AWS.AutoScalingPlans: ttcPredefinedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedScalingMetricSpecification)
- Network.AWS.AutoScalingPlans: ttcScaleInCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
- Network.AWS.AutoScalingPlans: ttcScaleOutCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
- Network.AWS.AutoScalingPlans: ttcTargetValue :: Lens' TargetTrackingConfiguration Double
- Network.AWS.AutoScalingPlans.CreateScalingPlan: createScalingPlan :: Text -> ApplicationSource -> CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: createScalingPlanResponse :: Int -> Integer -> CreateScalingPlanResponse
- Network.AWS.AutoScalingPlans.CreateScalingPlan: cspApplicationSource :: Lens' CreateScalingPlan ApplicationSource
- Network.AWS.AutoScalingPlans.CreateScalingPlan: cspScalingInstructions :: Lens' CreateScalingPlan [ScalingInstruction]
- Network.AWS.AutoScalingPlans.CreateScalingPlan: cspScalingPlanName :: Lens' CreateScalingPlan Text
- Network.AWS.AutoScalingPlans.CreateScalingPlan: csprsResponseStatus :: Lens' CreateScalingPlanResponse Int
- Network.AWS.AutoScalingPlans.CreateScalingPlan: csprsScalingPlanVersion :: Lens' CreateScalingPlanResponse Integer
- Network.AWS.AutoScalingPlans.CreateScalingPlan: data CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: data CreateScalingPlanResponse
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Data.Data.Data Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Data.Data.Data Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Data.Hashable.Class.Hashable Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance GHC.Read.Read Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance GHC.Read.Read Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance GHC.Show.Show Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance GHC.Show.Show Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Network.AWS.Data.Path.ToPath Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Network.AWS.Data.Query.ToQuery Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.CreateScalingPlan: instance Network.AWS.Types.AWSRequest Network.AWS.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: data DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: data DeleteScalingPlanResponse
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: deleteScalingPlan :: Text -> Integer -> DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: deleteScalingPlanResponse :: Int -> DeleteScalingPlanResponse
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: dspScalingPlanName :: Lens' DeleteScalingPlan Text
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: dspScalingPlanVersion :: Lens' DeleteScalingPlan Integer
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: dsprsResponseStatus :: Lens' DeleteScalingPlanResponse Int
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Data.Data.Data Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Data.Data.Data Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Data.Hashable.Class.Hashable Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance GHC.Read.Read Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance GHC.Read.Read Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance GHC.Show.Show Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance GHC.Show.Show Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Network.AWS.Data.Path.ToPath Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Network.AWS.Data.Query.ToQuery Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DeleteScalingPlan: instance Network.AWS.Types.AWSRequest Network.AWS.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: data DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: data DescribeScalingPlanResourcesResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: describeScalingPlanResources :: Text -> Integer -> DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: describeScalingPlanResourcesResponse :: Int -> DescribeScalingPlanResourcesResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: dsprMaxResults :: Lens' DescribeScalingPlanResources (Maybe Int)
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: dsprNextToken :: Lens' DescribeScalingPlanResources (Maybe Text)
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: dsprScalingPlanName :: Lens' DescribeScalingPlanResources Text
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: dsprScalingPlanVersion :: Lens' DescribeScalingPlanResources Integer
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: dsprrsNextToken :: Lens' DescribeScalingPlanResourcesResponse (Maybe Text)
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: dsprrsResponseStatus :: Lens' DescribeScalingPlanResourcesResponse Int
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: dsprrsScalingPlanResources :: Lens' DescribeScalingPlanResourcesResponse [ScalingPlanResource]
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Data.Data.Data Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Data.Data.Data Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Data.Hashable.Class.Hashable Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Read.Read Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Read.Read Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Show.Show Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Show.Show Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Network.AWS.Data.Path.ToPath Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Network.AWS.Data.Query.ToQuery Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlanResources: instance Network.AWS.Types.AWSRequest Network.AWS.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: dApplicationSources :: Lens' DescribeScalingPlans [ApplicationSource]
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: dMaxResults :: Lens' DescribeScalingPlans (Maybe Int)
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: dNextToken :: Lens' DescribeScalingPlans (Maybe Text)
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: dScalingPlanNames :: Lens' DescribeScalingPlans [Text]
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: dScalingPlanVersion :: Lens' DescribeScalingPlans (Maybe Integer)
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: data DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: data DescribeScalingPlansResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: describeScalingPlans :: DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: describeScalingPlansResponse :: Int -> DescribeScalingPlansResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: drsNextToken :: Lens' DescribeScalingPlansResponse (Maybe Text)
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: drsResponseStatus :: Lens' DescribeScalingPlansResponse Int
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: drsScalingPlans :: Lens' DescribeScalingPlansResponse [ScalingPlan]
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Data.Data.Data Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Data.Data.Data Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Data.Hashable.Class.Hashable Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance GHC.Read.Read Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance GHC.Read.Read Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance GHC.Show.Show Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance GHC.Show.Show Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Network.AWS.Data.Path.ToPath Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Network.AWS.Data.Query.ToQuery Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.DescribeScalingPlans: instance Network.AWS.Types.AWSRequest Network.AWS.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
- Network.AWS.AutoScalingPlans.Types: ALBRequestCountPerTarget :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: ASGAverageCPUUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: ASGAverageNetworkIn :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: ASGAverageNetworkOut :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: Active :: ScalingStatusCode
- Network.AWS.AutoScalingPlans.Types: Autoscaling :: ServiceNamespace
- Network.AWS.AutoScalingPlans.Types: AutoscalingAutoScalingGroupDesiredCapacity :: ScalableDimension
- Network.AWS.AutoScalingPlans.Types: Average :: MetricStatistic
- Network.AWS.AutoScalingPlans.Types: DynamoDBReadCapacityUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: DynamoDBWriteCapacityUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: Dynamodb :: ServiceNamespace
- Network.AWS.AutoScalingPlans.Types: DynamodbIndexReadCapacityUnits :: ScalableDimension
- Network.AWS.AutoScalingPlans.Types: DynamodbIndexWriteCapacityUnits :: ScalableDimension
- Network.AWS.AutoScalingPlans.Types: DynamodbTableReadCapacityUnits :: ScalableDimension
- Network.AWS.AutoScalingPlans.Types: DynamodbTableWriteCapacityUnits :: ScalableDimension
- Network.AWS.AutoScalingPlans.Types: EC2 :: ServiceNamespace
- Network.AWS.AutoScalingPlans.Types: EC2SpotFleetRequestAverageCPUUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: EC2SpotFleetRequestAverageNetworkIn :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: EC2SpotFleetRequestAverageNetworkOut :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: EC2SpotFleetRequestTargetCapacity :: ScalableDimension
- Network.AWS.AutoScalingPlans.Types: ECSServiceAverageCPUUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: ECSServiceAverageMemoryUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: Ecs :: ServiceNamespace
- Network.AWS.AutoScalingPlans.Types: EcsServiceDesiredCount :: ScalableDimension
- Network.AWS.AutoScalingPlans.Types: Inactive :: ScalingStatusCode
- Network.AWS.AutoScalingPlans.Types: Maximum :: MetricStatistic
- Network.AWS.AutoScalingPlans.Types: Minimum :: MetricStatistic
- Network.AWS.AutoScalingPlans.Types: PartiallyActive :: ScalingStatusCode
- Network.AWS.AutoScalingPlans.Types: RDS :: ServiceNamespace
- Network.AWS.AutoScalingPlans.Types: RDSClusterReadReplicaCount :: ScalableDimension
- Network.AWS.AutoScalingPlans.Types: RDSReaderAverageCPUUtilization :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: RDSReaderAverageDatabaseConnections :: ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: SPSCActive :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: SPSCActiveWithProblems :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: SPSCCreationFailed :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: SPSCCreationInProgress :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: SPSCDeletionFailed :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: SPSCDeletionInProgress :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: SPSCUpdateFailed :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: SPSCUpdateInProgress :: ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: SampleCount :: MetricStatistic
- Network.AWS.AutoScalingPlans.Types: Sum :: MetricStatistic
- Network.AWS.AutoScalingPlans.Types: TargetTrackingScaling :: PolicyType
- Network.AWS.AutoScalingPlans.Types: _ConcurrentUpdateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans.Types: _InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans.Types: _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans.Types: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans.Types: _ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans.Types: _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.AutoScalingPlans.Types: applicationSource :: ApplicationSource
- Network.AWS.AutoScalingPlans.Types: asCloudFormationStackARN :: Lens' ApplicationSource (Maybe Text)
- Network.AWS.AutoScalingPlans.Types: asTagFilters :: Lens' ApplicationSource [TagFilter]
- Network.AWS.AutoScalingPlans.Types: autoScalingPlans :: Service
- Network.AWS.AutoScalingPlans.Types: csmsDimensions :: Lens' CustomizedScalingMetricSpecification [MetricDimension]
- Network.AWS.AutoScalingPlans.Types: csmsMetricName :: Lens' CustomizedScalingMetricSpecification Text
- Network.AWS.AutoScalingPlans.Types: csmsNamespace :: Lens' CustomizedScalingMetricSpecification Text
- Network.AWS.AutoScalingPlans.Types: csmsStatistic :: Lens' CustomizedScalingMetricSpecification MetricStatistic
- Network.AWS.AutoScalingPlans.Types: csmsUnit :: Lens' CustomizedScalingMetricSpecification (Maybe Text)
- Network.AWS.AutoScalingPlans.Types: customizedScalingMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedScalingMetricSpecification
- Network.AWS.AutoScalingPlans.Types: data ApplicationSource
- Network.AWS.AutoScalingPlans.Types: data CustomizedScalingMetricSpecification
- Network.AWS.AutoScalingPlans.Types: data MetricDimension
- Network.AWS.AutoScalingPlans.Types: data MetricStatistic
- Network.AWS.AutoScalingPlans.Types: data PolicyType
- Network.AWS.AutoScalingPlans.Types: data PredefinedScalingMetricSpecification
- Network.AWS.AutoScalingPlans.Types: data ScalableDimension
- Network.AWS.AutoScalingPlans.Types: data ScalingInstruction
- Network.AWS.AutoScalingPlans.Types: data ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: data ScalingPlan
- Network.AWS.AutoScalingPlans.Types: data ScalingPlanResource
- Network.AWS.AutoScalingPlans.Types: data ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: data ScalingPolicy
- Network.AWS.AutoScalingPlans.Types: data ScalingStatusCode
- Network.AWS.AutoScalingPlans.Types: data ServiceNamespace
- Network.AWS.AutoScalingPlans.Types: data TagFilter
- Network.AWS.AutoScalingPlans.Types: data TargetTrackingConfiguration
- Network.AWS.AutoScalingPlans.Types: mdName :: Lens' MetricDimension Text
- Network.AWS.AutoScalingPlans.Types: mdValue :: Lens' MetricDimension Text
- Network.AWS.AutoScalingPlans.Types: metricDimension :: Text -> Text -> MetricDimension
- Network.AWS.AutoScalingPlans.Types: predefinedScalingMetricSpecification :: ScalingMetricType -> PredefinedScalingMetricSpecification
- Network.AWS.AutoScalingPlans.Types: psmsPredefinedScalingMetricType :: Lens' PredefinedScalingMetricSpecification ScalingMetricType
- Network.AWS.AutoScalingPlans.Types: psmsResourceLabel :: Lens' PredefinedScalingMetricSpecification (Maybe Text)
- Network.AWS.AutoScalingPlans.Types: scalingInstruction :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> ScalingInstruction
- Network.AWS.AutoScalingPlans.Types: scalingPlan :: Text -> Integer -> ApplicationSource -> ScalingPlanStatusCode -> ScalingPlan
- Network.AWS.AutoScalingPlans.Types: scalingPlanResource :: Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ScalingStatusCode -> ScalingPlanResource
- Network.AWS.AutoScalingPlans.Types: scalingPolicy :: Text -> PolicyType -> ScalingPolicy
- Network.AWS.AutoScalingPlans.Types: siMaxCapacity :: Lens' ScalingInstruction Int
- Network.AWS.AutoScalingPlans.Types: siMinCapacity :: Lens' ScalingInstruction Int
- Network.AWS.AutoScalingPlans.Types: siResourceId :: Lens' ScalingInstruction Text
- Network.AWS.AutoScalingPlans.Types: siScalableDimension :: Lens' ScalingInstruction ScalableDimension
- Network.AWS.AutoScalingPlans.Types: siServiceNamespace :: Lens' ScalingInstruction ServiceNamespace
- Network.AWS.AutoScalingPlans.Types: siTargetTrackingConfigurations :: Lens' ScalingInstruction [TargetTrackingConfiguration]
- Network.AWS.AutoScalingPlans.Types: spApplicationSource :: Lens' ScalingPlan ApplicationSource
- Network.AWS.AutoScalingPlans.Types: spCreationTime :: Lens' ScalingPlan (Maybe UTCTime)
- Network.AWS.AutoScalingPlans.Types: spPolicyName :: Lens' ScalingPolicy Text
- Network.AWS.AutoScalingPlans.Types: spPolicyType :: Lens' ScalingPolicy PolicyType
- Network.AWS.AutoScalingPlans.Types: spScalingInstructions :: Lens' ScalingPlan [ScalingInstruction]
- Network.AWS.AutoScalingPlans.Types: spScalingPlanName :: Lens' ScalingPlan Text
- Network.AWS.AutoScalingPlans.Types: spScalingPlanVersion :: Lens' ScalingPlan Integer
- Network.AWS.AutoScalingPlans.Types: spStatusCode :: Lens' ScalingPlan ScalingPlanStatusCode
- Network.AWS.AutoScalingPlans.Types: spStatusMessage :: Lens' ScalingPlan (Maybe Text)
- Network.AWS.AutoScalingPlans.Types: spStatusStartTime :: Lens' ScalingPlan (Maybe UTCTime)
- Network.AWS.AutoScalingPlans.Types: spTargetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration)
- Network.AWS.AutoScalingPlans.Types: sprResourceId :: Lens' ScalingPlanResource Text
- Network.AWS.AutoScalingPlans.Types: sprScalableDimension :: Lens' ScalingPlanResource ScalableDimension
- Network.AWS.AutoScalingPlans.Types: sprScalingPlanName :: Lens' ScalingPlanResource Text
- Network.AWS.AutoScalingPlans.Types: sprScalingPlanVersion :: Lens' ScalingPlanResource Integer
- Network.AWS.AutoScalingPlans.Types: sprScalingPolicies :: Lens' ScalingPlanResource [ScalingPolicy]
- Network.AWS.AutoScalingPlans.Types: sprScalingStatusCode :: Lens' ScalingPlanResource ScalingStatusCode
- Network.AWS.AutoScalingPlans.Types: sprScalingStatusMessage :: Lens' ScalingPlanResource (Maybe Text)
- Network.AWS.AutoScalingPlans.Types: sprServiceNamespace :: Lens' ScalingPlanResource ServiceNamespace
- Network.AWS.AutoScalingPlans.Types: tagFilter :: TagFilter
- Network.AWS.AutoScalingPlans.Types: targetTrackingConfiguration :: Double -> TargetTrackingConfiguration
- Network.AWS.AutoScalingPlans.Types: tfKey :: Lens' TagFilter (Maybe Text)
- Network.AWS.AutoScalingPlans.Types: tfValues :: Lens' TagFilter [Text]
- Network.AWS.AutoScalingPlans.Types: ttcCustomizedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedScalingMetricSpecification)
- Network.AWS.AutoScalingPlans.Types: ttcDisableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool)
- Network.AWS.AutoScalingPlans.Types: ttcEstimatedInstanceWarmup :: Lens' TargetTrackingConfiguration (Maybe Int)
- Network.AWS.AutoScalingPlans.Types: ttcPredefinedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedScalingMetricSpecification)
- Network.AWS.AutoScalingPlans.Types: ttcScaleInCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
- Network.AWS.AutoScalingPlans.Types: ttcScaleOutCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
- Network.AWS.AutoScalingPlans.Types: ttcTargetValue :: Lens' TargetTrackingConfiguration Double
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: data UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: data UpdateScalingPlanResponse
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Control.DeepSeq.NFData Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Data.Data.Data Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Data.Data.Data Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Data.Hashable.Class.Hashable Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance GHC.Classes.Eq Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance GHC.Generics.Generic Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance GHC.Read.Read Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance GHC.Read.Read Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance GHC.Show.Show Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance GHC.Show.Show Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Network.AWS.Data.Path.ToPath Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Network.AWS.Data.Query.ToQuery Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: instance Network.AWS.Types.AWSRequest Network.AWS.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: updateScalingPlan :: Text -> Integer -> UpdateScalingPlan
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: updateScalingPlanResponse :: Int -> UpdateScalingPlanResponse
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: uspApplicationSource :: Lens' UpdateScalingPlan (Maybe ApplicationSource)
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: uspScalingInstructions :: Lens' UpdateScalingPlan [ScalingInstruction]
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: uspScalingPlanName :: Lens' UpdateScalingPlan Text
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: uspScalingPlanVersion :: Lens' UpdateScalingPlan Integer
- Network.AWS.AutoScalingPlans.UpdateScalingPlan: usprsResponseStatus :: Lens' UpdateScalingPlanResponse Int
+ Amazonka.AutoScalingPlans: ApplicationSource' :: Maybe Text -> Maybe [TagFilter] -> ApplicationSource
+ Amazonka.AutoScalingPlans: CreateScalingPlan' :: Text -> ApplicationSource -> [ScalingInstruction] -> CreateScalingPlan
+ Amazonka.AutoScalingPlans: CreateScalingPlanResponse' :: Int -> Integer -> CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans: CustomizedLoadMetricSpecification' :: Maybe [MetricDimension] -> Maybe Text -> Text -> Text -> MetricStatistic -> CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans: CustomizedScalingMetricSpecification' :: Maybe [MetricDimension] -> Maybe Text -> Text -> Text -> MetricStatistic -> CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans: Datapoint' :: Maybe POSIX -> Maybe Double -> Datapoint
+ Amazonka.AutoScalingPlans: DeleteScalingPlan' :: Text -> Integer -> DeleteScalingPlan
+ Amazonka.AutoScalingPlans: DeleteScalingPlanResponse' :: Int -> DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans: DescribeScalingPlanResources' :: Maybe Int -> Maybe Text -> Text -> Integer -> DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans: DescribeScalingPlanResourcesResponse' :: Maybe Text -> Maybe [ScalingPlanResource] -> Int -> DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans: DescribeScalingPlans' :: Maybe [ApplicationSource] -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Integer -> DescribeScalingPlans
+ Amazonka.AutoScalingPlans: DescribeScalingPlansResponse' :: Maybe Text -> Maybe [ScalingPlan] -> Int -> DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans: ForecastDataType' :: Text -> ForecastDataType
+ Amazonka.AutoScalingPlans: GetScalingPlanResourceForecastData' :: Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ForecastDataType -> POSIX -> POSIX -> GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans: GetScalingPlanResourceForecastDataResponse' :: Int -> [Datapoint] -> GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans: LoadMetricType' :: Text -> LoadMetricType
+ Amazonka.AutoScalingPlans: MetricDimension' :: Text -> Text -> MetricDimension
+ Amazonka.AutoScalingPlans: MetricStatistic' :: Text -> MetricStatistic
+ Amazonka.AutoScalingPlans: PolicyType' :: Text -> PolicyType
+ Amazonka.AutoScalingPlans: PredefinedLoadMetricSpecification' :: Maybe Text -> LoadMetricType -> PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans: PredefinedScalingMetricSpecification' :: Maybe Text -> ScalingMetricType -> PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans: PredictiveScalingMaxCapacityBehavior' :: Text -> PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans: PredictiveScalingMode' :: Text -> PredictiveScalingMode
+ Amazonka.AutoScalingPlans: ScalableDimension' :: Text -> ScalableDimension
+ Amazonka.AutoScalingPlans: ScalingInstruction' :: Maybe CustomizedLoadMetricSpecification -> Maybe Bool -> Maybe PredefinedLoadMetricSpecification -> Maybe PredictiveScalingMaxCapacityBehavior -> Maybe Int -> Maybe PredictiveScalingMode -> Maybe ScalingPolicyUpdateBehavior -> Maybe Natural -> ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> [TargetTrackingConfiguration] -> ScalingInstruction
+ Amazonka.AutoScalingPlans: ScalingMetricType' :: Text -> ScalingMetricType
+ Amazonka.AutoScalingPlans: ScalingPlan' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Text -> Integer -> ApplicationSource -> [ScalingInstruction] -> ScalingPlanStatusCode -> ScalingPlan
+ Amazonka.AutoScalingPlans: ScalingPlanResource' :: Maybe [ScalingPolicy] -> Maybe Text -> Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ScalingStatusCode -> ScalingPlanResource
+ Amazonka.AutoScalingPlans: ScalingPlanStatusCode' :: Text -> ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: ScalingPolicy' :: Maybe TargetTrackingConfiguration -> Text -> PolicyType -> ScalingPolicy
+ Amazonka.AutoScalingPlans: ScalingPolicyUpdateBehavior' :: Text -> ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans: ScalingStatusCode' :: Text -> ScalingStatusCode
+ Amazonka.AutoScalingPlans: ServiceNamespace' :: Text -> ServiceNamespace
+ Amazonka.AutoScalingPlans: TagFilter' :: Maybe Text -> Maybe [Text] -> TagFilter
+ Amazonka.AutoScalingPlans: TargetTrackingConfiguration' :: Maybe CustomizedScalingMetricSpecification -> Maybe Bool -> Maybe Int -> Maybe PredefinedScalingMetricSpecification -> Maybe Int -> Maybe Int -> Double -> TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans: UpdateScalingPlan' :: Maybe ApplicationSource -> Maybe [ScalingInstruction] -> Text -> Integer -> UpdateScalingPlan
+ Amazonka.AutoScalingPlans: UpdateScalingPlanResponse' :: Int -> UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans: [fromForecastDataType] :: ForecastDataType -> Text
+ Amazonka.AutoScalingPlans: [fromLoadMetricType] :: LoadMetricType -> Text
+ Amazonka.AutoScalingPlans: [fromMetricStatistic] :: MetricStatistic -> Text
+ Amazonka.AutoScalingPlans: [fromPolicyType] :: PolicyType -> Text
+ Amazonka.AutoScalingPlans: [fromPredictiveScalingMaxCapacityBehavior] :: PredictiveScalingMaxCapacityBehavior -> Text
+ Amazonka.AutoScalingPlans: [fromPredictiveScalingMode] :: PredictiveScalingMode -> Text
+ Amazonka.AutoScalingPlans: [fromScalableDimension] :: ScalableDimension -> Text
+ Amazonka.AutoScalingPlans: [fromScalingMetricType] :: ScalingMetricType -> Text
+ Amazonka.AutoScalingPlans: [fromScalingPlanStatusCode] :: ScalingPlanStatusCode -> Text
+ Amazonka.AutoScalingPlans: [fromScalingPolicyUpdateBehavior] :: ScalingPolicyUpdateBehavior -> Text
+ Amazonka.AutoScalingPlans: [fromScalingStatusCode] :: ScalingStatusCode -> Text
+ Amazonka.AutoScalingPlans: [fromServiceNamespace] :: ServiceNamespace -> Text
+ Amazonka.AutoScalingPlans: _ConcurrentUpdateException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans: _InternalServiceException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans: _InvalidNextTokenException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans: _ObjectNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans: _ValidationException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans: data ApplicationSource
+ Amazonka.AutoScalingPlans: data CreateScalingPlan
+ Amazonka.AutoScalingPlans: data CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans: data CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans: data CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans: data Datapoint
+ Amazonka.AutoScalingPlans: data DeleteScalingPlan
+ Amazonka.AutoScalingPlans: data DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans: data DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans: data DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans: data DescribeScalingPlans
+ Amazonka.AutoScalingPlans: data DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans: data GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans: data GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans: data MetricDimension
+ Amazonka.AutoScalingPlans: data PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans: data PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans: data ScalingInstruction
+ Amazonka.AutoScalingPlans: data ScalingPlan
+ Amazonka.AutoScalingPlans: data ScalingPlanResource
+ Amazonka.AutoScalingPlans: data ScalingPolicy
+ Amazonka.AutoScalingPlans: data TagFilter
+ Amazonka.AutoScalingPlans: data TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans: data UpdateScalingPlan
+ Amazonka.AutoScalingPlans: data UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans: defaultService :: Service
+ Amazonka.AutoScalingPlans: newApplicationSource :: ApplicationSource
+ Amazonka.AutoScalingPlans: newCreateScalingPlan :: Text -> ApplicationSource -> CreateScalingPlan
+ Amazonka.AutoScalingPlans: newCreateScalingPlanResponse :: Int -> Integer -> CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans: newCustomizedLoadMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans: newCustomizedScalingMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans: newDatapoint :: Datapoint
+ Amazonka.AutoScalingPlans: newDeleteScalingPlan :: Text -> Integer -> DeleteScalingPlan
+ Amazonka.AutoScalingPlans: newDeleteScalingPlanResponse :: Int -> DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans: newDescribeScalingPlanResources :: Text -> Integer -> DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans: newDescribeScalingPlanResourcesResponse :: Int -> DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans: newDescribeScalingPlans :: DescribeScalingPlans
+ Amazonka.AutoScalingPlans: newDescribeScalingPlansResponse :: Int -> DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans: newGetScalingPlanResourceForecastData :: Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ForecastDataType -> UTCTime -> UTCTime -> GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans: newGetScalingPlanResourceForecastDataResponse :: Int -> GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans: newMetricDimension :: Text -> Text -> MetricDimension
+ Amazonka.AutoScalingPlans: newPredefinedLoadMetricSpecification :: LoadMetricType -> PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans: newPredefinedScalingMetricSpecification :: ScalingMetricType -> PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans: newScalingInstruction :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> ScalingInstruction
+ Amazonka.AutoScalingPlans: newScalingPlan :: Text -> Integer -> ApplicationSource -> ScalingPlanStatusCode -> ScalingPlan
+ Amazonka.AutoScalingPlans: newScalingPlanResource :: Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ScalingStatusCode -> ScalingPlanResource
+ Amazonka.AutoScalingPlans: newScalingPolicy :: Text -> PolicyType -> ScalingPolicy
+ Amazonka.AutoScalingPlans: newTagFilter :: TagFilter
+ Amazonka.AutoScalingPlans: newTargetTrackingConfiguration :: Double -> TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans: newUpdateScalingPlan :: Text -> Integer -> UpdateScalingPlan
+ Amazonka.AutoScalingPlans: newUpdateScalingPlanResponse :: Int -> UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans: newtype ForecastDataType
+ Amazonka.AutoScalingPlans: newtype LoadMetricType
+ Amazonka.AutoScalingPlans: newtype MetricStatistic
+ Amazonka.AutoScalingPlans: newtype PolicyType
+ Amazonka.AutoScalingPlans: newtype PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans: newtype PredictiveScalingMode
+ Amazonka.AutoScalingPlans: newtype ScalableDimension
+ Amazonka.AutoScalingPlans: newtype ScalingMetricType
+ Amazonka.AutoScalingPlans: newtype ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: newtype ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans: newtype ScalingStatusCode
+ Amazonka.AutoScalingPlans: newtype ServiceNamespace
+ Amazonka.AutoScalingPlans: pattern ForecastDataType_CapacityForecast :: ForecastDataType
+ Amazonka.AutoScalingPlans: pattern ForecastDataType_LoadForecast :: ForecastDataType
+ Amazonka.AutoScalingPlans: pattern ForecastDataType_ScheduledActionMaxCapacity :: ForecastDataType
+ Amazonka.AutoScalingPlans: pattern ForecastDataType_ScheduledActionMinCapacity :: ForecastDataType
+ Amazonka.AutoScalingPlans: pattern LoadMetricType_ALBTargetGroupRequestCount :: LoadMetricType
+ Amazonka.AutoScalingPlans: pattern LoadMetricType_ASGTotalCPUUtilization :: LoadMetricType
+ Amazonka.AutoScalingPlans: pattern LoadMetricType_ASGTotalNetworkIn :: LoadMetricType
+ Amazonka.AutoScalingPlans: pattern LoadMetricType_ASGTotalNetworkOut :: LoadMetricType
+ Amazonka.AutoScalingPlans: pattern MetricStatistic_Average :: MetricStatistic
+ Amazonka.AutoScalingPlans: pattern MetricStatistic_Maximum :: MetricStatistic
+ Amazonka.AutoScalingPlans: pattern MetricStatistic_Minimum :: MetricStatistic
+ Amazonka.AutoScalingPlans: pattern MetricStatistic_SampleCount :: MetricStatistic
+ Amazonka.AutoScalingPlans: pattern MetricStatistic_Sum :: MetricStatistic
+ Amazonka.AutoScalingPlans: pattern PolicyType_TargetTrackingScaling :: PolicyType
+ Amazonka.AutoScalingPlans: pattern PredictiveScalingMaxCapacityBehavior_SetForecastCapacityToMaxCapacity :: PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans: pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityAboveForecastCapacity :: PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans: pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityToForecastCapacity :: PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans: pattern PredictiveScalingMode_ForecastAndScale :: PredictiveScalingMode
+ Amazonka.AutoScalingPlans: pattern PredictiveScalingMode_ForecastOnly :: PredictiveScalingMode
+ Amazonka.AutoScalingPlans: pattern ScalableDimension_Autoscaling_autoScalingGroup_DesiredCapacity :: ScalableDimension
+ Amazonka.AutoScalingPlans: pattern ScalableDimension_Dynamodb_index_ReadCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans: pattern ScalableDimension_Dynamodb_index_WriteCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans: pattern ScalableDimension_Dynamodb_table_ReadCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans: pattern ScalableDimension_Dynamodb_table_WriteCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans: pattern ScalableDimension_Ec2_spot_fleet_request_TargetCapacity :: ScalableDimension
+ Amazonka.AutoScalingPlans: pattern ScalableDimension_Ecs_service_DesiredCount :: ScalableDimension
+ Amazonka.AutoScalingPlans: pattern ScalableDimension_Rds_cluster_ReadReplicaCount :: ScalableDimension
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_ALBRequestCountPerTarget :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_ASGAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_ASGAverageNetworkIn :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_ASGAverageNetworkOut :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_DynamoDBReadCapacityUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_DynamoDBWriteCapacityUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_EC2SpotFleetRequestAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkIn :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkOut :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_ECSServiceAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_ECSServiceAverageMemoryUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_RDSReaderAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingMetricType_RDSReaderAverageDatabaseConnections :: ScalingMetricType
+ Amazonka.AutoScalingPlans: pattern ScalingPlanStatusCode_Active :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingPlanStatusCode_ActiveWithProblems :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingPlanStatusCode_CreationFailed :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingPlanStatusCode_CreationInProgress :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingPlanStatusCode_DeletionFailed :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingPlanStatusCode_DeletionInProgress :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingPlanStatusCode_UpdateFailed :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingPlanStatusCode_UpdateInProgress :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingPolicyUpdateBehavior_KeepExternalPolicies :: ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans: pattern ScalingPolicyUpdateBehavior_ReplaceExternalPolicies :: ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans: pattern ScalingStatusCode_Active :: ScalingStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingStatusCode_Inactive :: ScalingStatusCode
+ Amazonka.AutoScalingPlans: pattern ScalingStatusCode_PartiallyActive :: ScalingStatusCode
+ Amazonka.AutoScalingPlans: pattern ServiceNamespace_Autoscaling :: ServiceNamespace
+ Amazonka.AutoScalingPlans: pattern ServiceNamespace_Dynamodb :: ServiceNamespace
+ Amazonka.AutoScalingPlans: pattern ServiceNamespace_Ec2 :: ServiceNamespace
+ Amazonka.AutoScalingPlans: pattern ServiceNamespace_Ecs :: ServiceNamespace
+ Amazonka.AutoScalingPlans: pattern ServiceNamespace_Rds :: ServiceNamespace
+ Amazonka.AutoScalingPlans.CreateScalingPlan: CreateScalingPlan' :: Text -> ApplicationSource -> [ScalingInstruction] -> CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: CreateScalingPlanResponse' :: Int -> Integer -> CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans.CreateScalingPlan: [$sel:applicationSource:CreateScalingPlan'] :: CreateScalingPlan -> ApplicationSource
+ Amazonka.AutoScalingPlans.CreateScalingPlan: [$sel:httpStatus:CreateScalingPlanResponse'] :: CreateScalingPlanResponse -> Int
+ Amazonka.AutoScalingPlans.CreateScalingPlan: [$sel:scalingInstructions:CreateScalingPlan'] :: CreateScalingPlan -> [ScalingInstruction]
+ Amazonka.AutoScalingPlans.CreateScalingPlan: [$sel:scalingPlanName:CreateScalingPlan'] :: CreateScalingPlan -> Text
+ Amazonka.AutoScalingPlans.CreateScalingPlan: [$sel:scalingPlanVersion:CreateScalingPlanResponse'] :: CreateScalingPlanResponse -> Integer
+ Amazonka.AutoScalingPlans.CreateScalingPlan: createScalingPlanResponse_httpStatus :: Lens' CreateScalingPlanResponse Int
+ Amazonka.AutoScalingPlans.CreateScalingPlan: createScalingPlanResponse_scalingPlanVersion :: Lens' CreateScalingPlanResponse Integer
+ Amazonka.AutoScalingPlans.CreateScalingPlan: createScalingPlan_applicationSource :: Lens' CreateScalingPlan ApplicationSource
+ Amazonka.AutoScalingPlans.CreateScalingPlan: createScalingPlan_scalingInstructions :: Lens' CreateScalingPlan [ScalingInstruction]
+ Amazonka.AutoScalingPlans.CreateScalingPlan: createScalingPlan_scalingPlanName :: Lens' CreateScalingPlan Text
+ Amazonka.AutoScalingPlans.CreateScalingPlan: data CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: data CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance Amazonka.Data.Headers.ToHeaders Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance Amazonka.Data.Path.ToPath Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance Amazonka.Types.AWSRequest Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance GHC.Read.Read Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance GHC.Read.Read Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance GHC.Show.Show Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: instance GHC.Show.Show Amazonka.AutoScalingPlans.CreateScalingPlan.CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans.CreateScalingPlan: newCreateScalingPlan :: Text -> ApplicationSource -> CreateScalingPlan
+ Amazonka.AutoScalingPlans.CreateScalingPlan: newCreateScalingPlanResponse :: Int -> Integer -> CreateScalingPlanResponse
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: DeleteScalingPlan' :: Text -> Integer -> DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: DeleteScalingPlanResponse' :: Int -> DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: [$sel:httpStatus:DeleteScalingPlanResponse'] :: DeleteScalingPlanResponse -> Int
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: [$sel:scalingPlanName:DeleteScalingPlan'] :: DeleteScalingPlan -> Text
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: [$sel:scalingPlanVersion:DeleteScalingPlan'] :: DeleteScalingPlan -> Integer
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: data DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: data DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: deleteScalingPlanResponse_httpStatus :: Lens' DeleteScalingPlanResponse Int
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: deleteScalingPlan_scalingPlanName :: Lens' DeleteScalingPlan Text
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: deleteScalingPlan_scalingPlanVersion :: Lens' DeleteScalingPlan Integer
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance Amazonka.Data.Headers.ToHeaders Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance Amazonka.Data.Path.ToPath Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance Amazonka.Types.AWSRequest Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance GHC.Read.Read Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance GHC.Read.Read Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance GHC.Show.Show Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: instance GHC.Show.Show Amazonka.AutoScalingPlans.DeleteScalingPlan.DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: newDeleteScalingPlan :: Text -> Integer -> DeleteScalingPlan
+ Amazonka.AutoScalingPlans.DeleteScalingPlan: newDeleteScalingPlanResponse :: Int -> DeleteScalingPlanResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: DescribeScalingPlanResources' :: Maybe Int -> Maybe Text -> Text -> Integer -> DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: DescribeScalingPlanResourcesResponse' :: Maybe Text -> Maybe [ScalingPlanResource] -> Int -> DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: [$sel:httpStatus:DescribeScalingPlanResourcesResponse'] :: DescribeScalingPlanResourcesResponse -> Int
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: [$sel:maxResults:DescribeScalingPlanResources'] :: DescribeScalingPlanResources -> Maybe Int
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: [$sel:nextToken:DescribeScalingPlanResources'] :: DescribeScalingPlanResources -> Maybe Text
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: [$sel:nextToken:DescribeScalingPlanResourcesResponse'] :: DescribeScalingPlanResourcesResponse -> Maybe Text
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: [$sel:scalingPlanName:DescribeScalingPlanResources'] :: DescribeScalingPlanResources -> Text
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: [$sel:scalingPlanResources:DescribeScalingPlanResourcesResponse'] :: DescribeScalingPlanResourcesResponse -> Maybe [ScalingPlanResource]
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: [$sel:scalingPlanVersion:DescribeScalingPlanResources'] :: DescribeScalingPlanResources -> Integer
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: data DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: data DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: describeScalingPlanResourcesResponse_httpStatus :: Lens' DescribeScalingPlanResourcesResponse Int
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: describeScalingPlanResourcesResponse_nextToken :: Lens' DescribeScalingPlanResourcesResponse (Maybe Text)
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: describeScalingPlanResourcesResponse_scalingPlanResources :: Lens' DescribeScalingPlanResourcesResponse (Maybe [ScalingPlanResource])
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: describeScalingPlanResources_maxResults :: Lens' DescribeScalingPlanResources (Maybe Int)
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: describeScalingPlanResources_nextToken :: Lens' DescribeScalingPlanResources (Maybe Text)
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: describeScalingPlanResources_scalingPlanName :: Lens' DescribeScalingPlanResources Text
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: describeScalingPlanResources_scalingPlanVersion :: Lens' DescribeScalingPlanResources Integer
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance Amazonka.Data.Headers.ToHeaders Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance Amazonka.Data.Path.ToPath Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance Amazonka.Pager.AWSPager Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance Amazonka.Types.AWSRequest Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Read.Read Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Read.Read Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Show.Show Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: instance GHC.Show.Show Amazonka.AutoScalingPlans.DescribeScalingPlanResources.DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: newDescribeScalingPlanResources :: Text -> Integer -> DescribeScalingPlanResources
+ Amazonka.AutoScalingPlans.DescribeScalingPlanResources: newDescribeScalingPlanResourcesResponse :: Int -> DescribeScalingPlanResourcesResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: DescribeScalingPlans' :: Maybe [ApplicationSource] -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Integer -> DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: DescribeScalingPlansResponse' :: Maybe Text -> Maybe [ScalingPlan] -> Int -> DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: [$sel:applicationSources:DescribeScalingPlans'] :: DescribeScalingPlans -> Maybe [ApplicationSource]
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: [$sel:httpStatus:DescribeScalingPlansResponse'] :: DescribeScalingPlansResponse -> Int
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: [$sel:maxResults:DescribeScalingPlans'] :: DescribeScalingPlans -> Maybe Int
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: [$sel:nextToken:DescribeScalingPlans'] :: DescribeScalingPlans -> Maybe Text
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: [$sel:nextToken:DescribeScalingPlansResponse'] :: DescribeScalingPlansResponse -> Maybe Text
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: [$sel:scalingPlanNames:DescribeScalingPlans'] :: DescribeScalingPlans -> Maybe [Text]
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: [$sel:scalingPlanVersion:DescribeScalingPlans'] :: DescribeScalingPlans -> Maybe Integer
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: [$sel:scalingPlans:DescribeScalingPlansResponse'] :: DescribeScalingPlansResponse -> Maybe [ScalingPlan]
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: data DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: data DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: describeScalingPlansResponse_httpStatus :: Lens' DescribeScalingPlansResponse Int
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: describeScalingPlansResponse_nextToken :: Lens' DescribeScalingPlansResponse (Maybe Text)
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: describeScalingPlansResponse_scalingPlans :: Lens' DescribeScalingPlansResponse (Maybe [ScalingPlan])
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: describeScalingPlans_applicationSources :: Lens' DescribeScalingPlans (Maybe [ApplicationSource])
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: describeScalingPlans_maxResults :: Lens' DescribeScalingPlans (Maybe Int)
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: describeScalingPlans_nextToken :: Lens' DescribeScalingPlans (Maybe Text)
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: describeScalingPlans_scalingPlanNames :: Lens' DescribeScalingPlans (Maybe [Text])
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: describeScalingPlans_scalingPlanVersion :: Lens' DescribeScalingPlans (Maybe Integer)
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance Amazonka.Data.Headers.ToHeaders Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance Amazonka.Data.Path.ToPath Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance Amazonka.Pager.AWSPager Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance Amazonka.Types.AWSRequest Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance GHC.Read.Read Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance GHC.Read.Read Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance GHC.Show.Show Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: instance GHC.Show.Show Amazonka.AutoScalingPlans.DescribeScalingPlans.DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: newDescribeScalingPlans :: DescribeScalingPlans
+ Amazonka.AutoScalingPlans.DescribeScalingPlans: newDescribeScalingPlansResponse :: Int -> DescribeScalingPlansResponse
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: GetScalingPlanResourceForecastData' :: Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ForecastDataType -> POSIX -> POSIX -> GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: GetScalingPlanResourceForecastDataResponse' :: Int -> [Datapoint] -> GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:datapoints:GetScalingPlanResourceForecastDataResponse'] :: GetScalingPlanResourceForecastDataResponse -> [Datapoint]
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:endTime:GetScalingPlanResourceForecastData'] :: GetScalingPlanResourceForecastData -> POSIX
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:forecastDataType:GetScalingPlanResourceForecastData'] :: GetScalingPlanResourceForecastData -> ForecastDataType
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:httpStatus:GetScalingPlanResourceForecastDataResponse'] :: GetScalingPlanResourceForecastDataResponse -> Int
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:resourceId:GetScalingPlanResourceForecastData'] :: GetScalingPlanResourceForecastData -> Text
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:scalableDimension:GetScalingPlanResourceForecastData'] :: GetScalingPlanResourceForecastData -> ScalableDimension
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:scalingPlanName:GetScalingPlanResourceForecastData'] :: GetScalingPlanResourceForecastData -> Text
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:scalingPlanVersion:GetScalingPlanResourceForecastData'] :: GetScalingPlanResourceForecastData -> Integer
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:serviceNamespace:GetScalingPlanResourceForecastData'] :: GetScalingPlanResourceForecastData -> ServiceNamespace
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: [$sel:startTime:GetScalingPlanResourceForecastData'] :: GetScalingPlanResourceForecastData -> POSIX
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: data GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: data GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastDataResponse_datapoints :: Lens' GetScalingPlanResourceForecastDataResponse [Datapoint]
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastDataResponse_httpStatus :: Lens' GetScalingPlanResourceForecastDataResponse Int
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastData_endTime :: Lens' GetScalingPlanResourceForecastData UTCTime
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastData_forecastDataType :: Lens' GetScalingPlanResourceForecastData ForecastDataType
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastData_resourceId :: Lens' GetScalingPlanResourceForecastData Text
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastData_scalableDimension :: Lens' GetScalingPlanResourceForecastData ScalableDimension
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastData_scalingPlanName :: Lens' GetScalingPlanResourceForecastData Text
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastData_scalingPlanVersion :: Lens' GetScalingPlanResourceForecastData Integer
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastData_serviceNamespace :: Lens' GetScalingPlanResourceForecastData ServiceNamespace
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: getScalingPlanResourceForecastData_startTime :: Lens' GetScalingPlanResourceForecastData UTCTime
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance Amazonka.Data.Headers.ToHeaders Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance Amazonka.Data.Path.ToPath Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance Amazonka.Types.AWSRequest Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance GHC.Read.Read Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance GHC.Read.Read Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance GHC.Show.Show Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: instance GHC.Show.Show Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData.GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: newGetScalingPlanResourceForecastData :: Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ForecastDataType -> UTCTime -> UTCTime -> GetScalingPlanResourceForecastData
+ Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData: newGetScalingPlanResourceForecastDataResponse :: Int -> GetScalingPlanResourceForecastDataResponse
+ Amazonka.AutoScalingPlans.Lens: applicationSource_cloudFormationStackARN :: Lens' ApplicationSource (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: applicationSource_tagFilters :: Lens' ApplicationSource (Maybe [TagFilter])
+ Amazonka.AutoScalingPlans.Lens: createScalingPlanResponse_httpStatus :: Lens' CreateScalingPlanResponse Int
+ Amazonka.AutoScalingPlans.Lens: createScalingPlanResponse_scalingPlanVersion :: Lens' CreateScalingPlanResponse Integer
+ Amazonka.AutoScalingPlans.Lens: createScalingPlan_applicationSource :: Lens' CreateScalingPlan ApplicationSource
+ Amazonka.AutoScalingPlans.Lens: createScalingPlan_scalingInstructions :: Lens' CreateScalingPlan [ScalingInstruction]
+ Amazonka.AutoScalingPlans.Lens: createScalingPlan_scalingPlanName :: Lens' CreateScalingPlan Text
+ Amazonka.AutoScalingPlans.Lens: customizedLoadMetricSpecification_dimensions :: Lens' CustomizedLoadMetricSpecification (Maybe [MetricDimension])
+ Amazonka.AutoScalingPlans.Lens: customizedLoadMetricSpecification_metricName :: Lens' CustomizedLoadMetricSpecification Text
+ Amazonka.AutoScalingPlans.Lens: customizedLoadMetricSpecification_namespace :: Lens' CustomizedLoadMetricSpecification Text
+ Amazonka.AutoScalingPlans.Lens: customizedLoadMetricSpecification_statistic :: Lens' CustomizedLoadMetricSpecification MetricStatistic
+ Amazonka.AutoScalingPlans.Lens: customizedLoadMetricSpecification_unit :: Lens' CustomizedLoadMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: customizedScalingMetricSpecification_dimensions :: Lens' CustomizedScalingMetricSpecification (Maybe [MetricDimension])
+ Amazonka.AutoScalingPlans.Lens: customizedScalingMetricSpecification_metricName :: Lens' CustomizedScalingMetricSpecification Text
+ Amazonka.AutoScalingPlans.Lens: customizedScalingMetricSpecification_namespace :: Lens' CustomizedScalingMetricSpecification Text
+ Amazonka.AutoScalingPlans.Lens: customizedScalingMetricSpecification_statistic :: Lens' CustomizedScalingMetricSpecification MetricStatistic
+ Amazonka.AutoScalingPlans.Lens: customizedScalingMetricSpecification_unit :: Lens' CustomizedScalingMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime)
+ Amazonka.AutoScalingPlans.Lens: datapoint_value :: Lens' Datapoint (Maybe Double)
+ Amazonka.AutoScalingPlans.Lens: deleteScalingPlanResponse_httpStatus :: Lens' DeleteScalingPlanResponse Int
+ Amazonka.AutoScalingPlans.Lens: deleteScalingPlan_scalingPlanName :: Lens' DeleteScalingPlan Text
+ Amazonka.AutoScalingPlans.Lens: deleteScalingPlan_scalingPlanVersion :: Lens' DeleteScalingPlan Integer
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlanResourcesResponse_httpStatus :: Lens' DescribeScalingPlanResourcesResponse Int
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlanResourcesResponse_nextToken :: Lens' DescribeScalingPlanResourcesResponse (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlanResourcesResponse_scalingPlanResources :: Lens' DescribeScalingPlanResourcesResponse (Maybe [ScalingPlanResource])
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlanResources_maxResults :: Lens' DescribeScalingPlanResources (Maybe Int)
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlanResources_nextToken :: Lens' DescribeScalingPlanResources (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlanResources_scalingPlanName :: Lens' DescribeScalingPlanResources Text
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlanResources_scalingPlanVersion :: Lens' DescribeScalingPlanResources Integer
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlansResponse_httpStatus :: Lens' DescribeScalingPlansResponse Int
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlansResponse_nextToken :: Lens' DescribeScalingPlansResponse (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlansResponse_scalingPlans :: Lens' DescribeScalingPlansResponse (Maybe [ScalingPlan])
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlans_applicationSources :: Lens' DescribeScalingPlans (Maybe [ApplicationSource])
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlans_maxResults :: Lens' DescribeScalingPlans (Maybe Int)
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlans_nextToken :: Lens' DescribeScalingPlans (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlans_scalingPlanNames :: Lens' DescribeScalingPlans (Maybe [Text])
+ Amazonka.AutoScalingPlans.Lens: describeScalingPlans_scalingPlanVersion :: Lens' DescribeScalingPlans (Maybe Integer)
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastDataResponse_datapoints :: Lens' GetScalingPlanResourceForecastDataResponse [Datapoint]
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastDataResponse_httpStatus :: Lens' GetScalingPlanResourceForecastDataResponse Int
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastData_endTime :: Lens' GetScalingPlanResourceForecastData UTCTime
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastData_forecastDataType :: Lens' GetScalingPlanResourceForecastData ForecastDataType
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastData_resourceId :: Lens' GetScalingPlanResourceForecastData Text
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastData_scalableDimension :: Lens' GetScalingPlanResourceForecastData ScalableDimension
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastData_scalingPlanName :: Lens' GetScalingPlanResourceForecastData Text
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastData_scalingPlanVersion :: Lens' GetScalingPlanResourceForecastData Integer
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastData_serviceNamespace :: Lens' GetScalingPlanResourceForecastData ServiceNamespace
+ Amazonka.AutoScalingPlans.Lens: getScalingPlanResourceForecastData_startTime :: Lens' GetScalingPlanResourceForecastData UTCTime
+ Amazonka.AutoScalingPlans.Lens: metricDimension_name :: Lens' MetricDimension Text
+ Amazonka.AutoScalingPlans.Lens: metricDimension_value :: Lens' MetricDimension Text
+ Amazonka.AutoScalingPlans.Lens: predefinedLoadMetricSpecification_predefinedLoadMetricType :: Lens' PredefinedLoadMetricSpecification LoadMetricType
+ Amazonka.AutoScalingPlans.Lens: predefinedLoadMetricSpecification_resourceLabel :: Lens' PredefinedLoadMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: predefinedScalingMetricSpecification_predefinedScalingMetricType :: Lens' PredefinedScalingMetricSpecification ScalingMetricType
+ Amazonka.AutoScalingPlans.Lens: predefinedScalingMetricSpecification_resourceLabel :: Lens' PredefinedScalingMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_customizedLoadMetricSpecification :: Lens' ScalingInstruction (Maybe CustomizedLoadMetricSpecification)
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_disableDynamicScaling :: Lens' ScalingInstruction (Maybe Bool)
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_maxCapacity :: Lens' ScalingInstruction Int
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_minCapacity :: Lens' ScalingInstruction Int
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_predefinedLoadMetricSpecification :: Lens' ScalingInstruction (Maybe PredefinedLoadMetricSpecification)
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_predictiveScalingMaxCapacityBehavior :: Lens' ScalingInstruction (Maybe PredictiveScalingMaxCapacityBehavior)
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_predictiveScalingMaxCapacityBuffer :: Lens' ScalingInstruction (Maybe Int)
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_predictiveScalingMode :: Lens' ScalingInstruction (Maybe PredictiveScalingMode)
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_resourceId :: Lens' ScalingInstruction Text
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_scalableDimension :: Lens' ScalingInstruction ScalableDimension
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_scalingPolicyUpdateBehavior :: Lens' ScalingInstruction (Maybe ScalingPolicyUpdateBehavior)
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_scheduledActionBufferTime :: Lens' ScalingInstruction (Maybe Natural)
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_serviceNamespace :: Lens' ScalingInstruction ServiceNamespace
+ Amazonka.AutoScalingPlans.Lens: scalingInstruction_targetTrackingConfigurations :: Lens' ScalingInstruction [TargetTrackingConfiguration]
+ Amazonka.AutoScalingPlans.Lens: scalingPlanResource_resourceId :: Lens' ScalingPlanResource Text
+ Amazonka.AutoScalingPlans.Lens: scalingPlanResource_scalableDimension :: Lens' ScalingPlanResource ScalableDimension
+ Amazonka.AutoScalingPlans.Lens: scalingPlanResource_scalingPlanName :: Lens' ScalingPlanResource Text
+ Amazonka.AutoScalingPlans.Lens: scalingPlanResource_scalingPlanVersion :: Lens' ScalingPlanResource Integer
+ Amazonka.AutoScalingPlans.Lens: scalingPlanResource_scalingPolicies :: Lens' ScalingPlanResource (Maybe [ScalingPolicy])
+ Amazonka.AutoScalingPlans.Lens: scalingPlanResource_scalingStatusCode :: Lens' ScalingPlanResource ScalingStatusCode
+ Amazonka.AutoScalingPlans.Lens: scalingPlanResource_scalingStatusMessage :: Lens' ScalingPlanResource (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: scalingPlanResource_serviceNamespace :: Lens' ScalingPlanResource ServiceNamespace
+ Amazonka.AutoScalingPlans.Lens: scalingPlan_applicationSource :: Lens' ScalingPlan ApplicationSource
+ Amazonka.AutoScalingPlans.Lens: scalingPlan_creationTime :: Lens' ScalingPlan (Maybe UTCTime)
+ Amazonka.AutoScalingPlans.Lens: scalingPlan_scalingInstructions :: Lens' ScalingPlan [ScalingInstruction]
+ Amazonka.AutoScalingPlans.Lens: scalingPlan_scalingPlanName :: Lens' ScalingPlan Text
+ Amazonka.AutoScalingPlans.Lens: scalingPlan_scalingPlanVersion :: Lens' ScalingPlan Integer
+ Amazonka.AutoScalingPlans.Lens: scalingPlan_statusCode :: Lens' ScalingPlan ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Lens: scalingPlan_statusMessage :: Lens' ScalingPlan (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: scalingPlan_statusStartTime :: Lens' ScalingPlan (Maybe UTCTime)
+ Amazonka.AutoScalingPlans.Lens: scalingPolicy_policyName :: Lens' ScalingPolicy Text
+ Amazonka.AutoScalingPlans.Lens: scalingPolicy_policyType :: Lens' ScalingPolicy PolicyType
+ Amazonka.AutoScalingPlans.Lens: scalingPolicy_targetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration)
+ Amazonka.AutoScalingPlans.Lens: tagFilter_key :: Lens' TagFilter (Maybe Text)
+ Amazonka.AutoScalingPlans.Lens: tagFilter_values :: Lens' TagFilter (Maybe [Text])
+ Amazonka.AutoScalingPlans.Lens: targetTrackingConfiguration_customizedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedScalingMetricSpecification)
+ Amazonka.AutoScalingPlans.Lens: targetTrackingConfiguration_disableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool)
+ Amazonka.AutoScalingPlans.Lens: targetTrackingConfiguration_estimatedInstanceWarmup :: Lens' TargetTrackingConfiguration (Maybe Int)
+ Amazonka.AutoScalingPlans.Lens: targetTrackingConfiguration_predefinedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedScalingMetricSpecification)
+ Amazonka.AutoScalingPlans.Lens: targetTrackingConfiguration_scaleInCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
+ Amazonka.AutoScalingPlans.Lens: targetTrackingConfiguration_scaleOutCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
+ Amazonka.AutoScalingPlans.Lens: targetTrackingConfiguration_targetValue :: Lens' TargetTrackingConfiguration Double
+ Amazonka.AutoScalingPlans.Lens: updateScalingPlanResponse_httpStatus :: Lens' UpdateScalingPlanResponse Int
+ Amazonka.AutoScalingPlans.Lens: updateScalingPlan_applicationSource :: Lens' UpdateScalingPlan (Maybe ApplicationSource)
+ Amazonka.AutoScalingPlans.Lens: updateScalingPlan_scalingInstructions :: Lens' UpdateScalingPlan (Maybe [ScalingInstruction])
+ Amazonka.AutoScalingPlans.Lens: updateScalingPlan_scalingPlanName :: Lens' UpdateScalingPlan Text
+ Amazonka.AutoScalingPlans.Lens: updateScalingPlan_scalingPlanVersion :: Lens' UpdateScalingPlan Integer
+ Amazonka.AutoScalingPlans.Types: ApplicationSource' :: Maybe Text -> Maybe [TagFilter] -> ApplicationSource
+ Amazonka.AutoScalingPlans.Types: CustomizedLoadMetricSpecification' :: Maybe [MetricDimension] -> Maybe Text -> Text -> Text -> MetricStatistic -> CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types: CustomizedScalingMetricSpecification' :: Maybe [MetricDimension] -> Maybe Text -> Text -> Text -> MetricStatistic -> CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types: Datapoint' :: Maybe POSIX -> Maybe Double -> Datapoint
+ Amazonka.AutoScalingPlans.Types: ForecastDataType' :: Text -> ForecastDataType
+ Amazonka.AutoScalingPlans.Types: LoadMetricType' :: Text -> LoadMetricType
+ Amazonka.AutoScalingPlans.Types: MetricDimension' :: Text -> Text -> MetricDimension
+ Amazonka.AutoScalingPlans.Types: MetricStatistic' :: Text -> MetricStatistic
+ Amazonka.AutoScalingPlans.Types: PolicyType' :: Text -> PolicyType
+ Amazonka.AutoScalingPlans.Types: PredefinedLoadMetricSpecification' :: Maybe Text -> LoadMetricType -> PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types: PredefinedScalingMetricSpecification' :: Maybe Text -> ScalingMetricType -> PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types: PredictiveScalingMaxCapacityBehavior' :: Text -> PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types: PredictiveScalingMode' :: Text -> PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types: ScalableDimension' :: Text -> ScalableDimension
+ Amazonka.AutoScalingPlans.Types: ScalingInstruction' :: Maybe CustomizedLoadMetricSpecification -> Maybe Bool -> Maybe PredefinedLoadMetricSpecification -> Maybe PredictiveScalingMaxCapacityBehavior -> Maybe Int -> Maybe PredictiveScalingMode -> Maybe ScalingPolicyUpdateBehavior -> Maybe Natural -> ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> [TargetTrackingConfiguration] -> ScalingInstruction
+ Amazonka.AutoScalingPlans.Types: ScalingMetricType' :: Text -> ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: ScalingPlan' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Text -> Integer -> ApplicationSource -> [ScalingInstruction] -> ScalingPlanStatusCode -> ScalingPlan
+ Amazonka.AutoScalingPlans.Types: ScalingPlanResource' :: Maybe [ScalingPolicy] -> Maybe Text -> Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ScalingStatusCode -> ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types: ScalingPlanStatusCode' :: Text -> ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: ScalingPolicy' :: Maybe TargetTrackingConfiguration -> Text -> PolicyType -> ScalingPolicy
+ Amazonka.AutoScalingPlans.Types: ScalingPolicyUpdateBehavior' :: Text -> ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types: ScalingStatusCode' :: Text -> ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types: ServiceNamespace' :: Text -> ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: TagFilter' :: Maybe Text -> Maybe [Text] -> TagFilter
+ Amazonka.AutoScalingPlans.Types: TargetTrackingConfiguration' :: Maybe CustomizedScalingMetricSpecification -> Maybe Bool -> Maybe Int -> Maybe PredefinedScalingMetricSpecification -> Maybe Int -> Maybe Int -> Double -> TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types: [$sel:applicationSource:ScalingPlan'] :: ScalingPlan -> ApplicationSource
+ Amazonka.AutoScalingPlans.Types: [$sel:cloudFormationStackARN:ApplicationSource'] :: ApplicationSource -> Maybe Text
+ Amazonka.AutoScalingPlans.Types: [$sel:creationTime:ScalingPlan'] :: ScalingPlan -> Maybe POSIX
+ Amazonka.AutoScalingPlans.Types: [$sel:customizedLoadMetricSpecification:ScalingInstruction'] :: ScalingInstruction -> Maybe CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types: [$sel:customizedScalingMetricSpecification:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types: [$sel:dimensions:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> Maybe [MetricDimension]
+ Amazonka.AutoScalingPlans.Types: [$sel:dimensions:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> Maybe [MetricDimension]
+ Amazonka.AutoScalingPlans.Types: [$sel:disableDynamicScaling:ScalingInstruction'] :: ScalingInstruction -> Maybe Bool
+ Amazonka.AutoScalingPlans.Types: [$sel:disableScaleIn:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe Bool
+ Amazonka.AutoScalingPlans.Types: [$sel:estimatedInstanceWarmup:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe Int
+ Amazonka.AutoScalingPlans.Types: [$sel:key:TagFilter'] :: TagFilter -> Maybe Text
+ Amazonka.AutoScalingPlans.Types: [$sel:maxCapacity:ScalingInstruction'] :: ScalingInstruction -> Int
+ Amazonka.AutoScalingPlans.Types: [$sel:metricName:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:metricName:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:minCapacity:ScalingInstruction'] :: ScalingInstruction -> Int
+ Amazonka.AutoScalingPlans.Types: [$sel:name:MetricDimension'] :: MetricDimension -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:namespace:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:namespace:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:policyName:ScalingPolicy'] :: ScalingPolicy -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:policyType:ScalingPolicy'] :: ScalingPolicy -> PolicyType
+ Amazonka.AutoScalingPlans.Types: [$sel:predefinedLoadMetricSpecification:ScalingInstruction'] :: ScalingInstruction -> Maybe PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types: [$sel:predefinedLoadMetricType:PredefinedLoadMetricSpecification'] :: PredefinedLoadMetricSpecification -> LoadMetricType
+ Amazonka.AutoScalingPlans.Types: [$sel:predefinedScalingMetricSpecification:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types: [$sel:predefinedScalingMetricType:PredefinedScalingMetricSpecification'] :: PredefinedScalingMetricSpecification -> ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: [$sel:predictiveScalingMaxCapacityBehavior:ScalingInstruction'] :: ScalingInstruction -> Maybe PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types: [$sel:predictiveScalingMaxCapacityBuffer:ScalingInstruction'] :: ScalingInstruction -> Maybe Int
+ Amazonka.AutoScalingPlans.Types: [$sel:predictiveScalingMode:ScalingInstruction'] :: ScalingInstruction -> Maybe PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types: [$sel:resourceId:ScalingInstruction'] :: ScalingInstruction -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:resourceId:ScalingPlanResource'] :: ScalingPlanResource -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:resourceLabel:PredefinedLoadMetricSpecification'] :: PredefinedLoadMetricSpecification -> Maybe Text
+ Amazonka.AutoScalingPlans.Types: [$sel:resourceLabel:PredefinedScalingMetricSpecification'] :: PredefinedScalingMetricSpecification -> Maybe Text
+ Amazonka.AutoScalingPlans.Types: [$sel:scalableDimension:ScalingInstruction'] :: ScalingInstruction -> ScalableDimension
+ Amazonka.AutoScalingPlans.Types: [$sel:scalableDimension:ScalingPlanResource'] :: ScalingPlanResource -> ScalableDimension
+ Amazonka.AutoScalingPlans.Types: [$sel:scaleInCooldown:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe Int
+ Amazonka.AutoScalingPlans.Types: [$sel:scaleOutCooldown:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe Int
+ Amazonka.AutoScalingPlans.Types: [$sel:scalingInstructions:ScalingPlan'] :: ScalingPlan -> [ScalingInstruction]
+ Amazonka.AutoScalingPlans.Types: [$sel:scalingPlanName:ScalingPlan'] :: ScalingPlan -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:scalingPlanName:ScalingPlanResource'] :: ScalingPlanResource -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:scalingPlanVersion:ScalingPlan'] :: ScalingPlan -> Integer
+ Amazonka.AutoScalingPlans.Types: [$sel:scalingPlanVersion:ScalingPlanResource'] :: ScalingPlanResource -> Integer
+ Amazonka.AutoScalingPlans.Types: [$sel:scalingPolicies:ScalingPlanResource'] :: ScalingPlanResource -> Maybe [ScalingPolicy]
+ Amazonka.AutoScalingPlans.Types: [$sel:scalingPolicyUpdateBehavior:ScalingInstruction'] :: ScalingInstruction -> Maybe ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types: [$sel:scalingStatusCode:ScalingPlanResource'] :: ScalingPlanResource -> ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types: [$sel:scalingStatusMessage:ScalingPlanResource'] :: ScalingPlanResource -> Maybe Text
+ Amazonka.AutoScalingPlans.Types: [$sel:scheduledActionBufferTime:ScalingInstruction'] :: ScalingInstruction -> Maybe Natural
+ Amazonka.AutoScalingPlans.Types: [$sel:serviceNamespace:ScalingInstruction'] :: ScalingInstruction -> ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: [$sel:serviceNamespace:ScalingPlanResource'] :: ScalingPlanResource -> ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: [$sel:statistic:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> MetricStatistic
+ Amazonka.AutoScalingPlans.Types: [$sel:statistic:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> MetricStatistic
+ Amazonka.AutoScalingPlans.Types: [$sel:statusCode:ScalingPlan'] :: ScalingPlan -> ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: [$sel:statusMessage:ScalingPlan'] :: ScalingPlan -> Maybe Text
+ Amazonka.AutoScalingPlans.Types: [$sel:statusStartTime:ScalingPlan'] :: ScalingPlan -> Maybe POSIX
+ Amazonka.AutoScalingPlans.Types: [$sel:tagFilters:ApplicationSource'] :: ApplicationSource -> Maybe [TagFilter]
+ Amazonka.AutoScalingPlans.Types: [$sel:targetTrackingConfiguration:ScalingPolicy'] :: ScalingPolicy -> Maybe TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types: [$sel:targetTrackingConfigurations:ScalingInstruction'] :: ScalingInstruction -> [TargetTrackingConfiguration]
+ Amazonka.AutoScalingPlans.Types: [$sel:targetValue:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Double
+ Amazonka.AutoScalingPlans.Types: [$sel:timestamp:Datapoint'] :: Datapoint -> Maybe POSIX
+ Amazonka.AutoScalingPlans.Types: [$sel:unit:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> Maybe Text
+ Amazonka.AutoScalingPlans.Types: [$sel:unit:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> Maybe Text
+ Amazonka.AutoScalingPlans.Types: [$sel:value:Datapoint'] :: Datapoint -> Maybe Double
+ Amazonka.AutoScalingPlans.Types: [$sel:value:MetricDimension'] :: MetricDimension -> Text
+ Amazonka.AutoScalingPlans.Types: [$sel:values:TagFilter'] :: TagFilter -> Maybe [Text]
+ Amazonka.AutoScalingPlans.Types: [fromForecastDataType] :: ForecastDataType -> Text
+ Amazonka.AutoScalingPlans.Types: [fromLoadMetricType] :: LoadMetricType -> Text
+ Amazonka.AutoScalingPlans.Types: [fromMetricStatistic] :: MetricStatistic -> Text
+ Amazonka.AutoScalingPlans.Types: [fromPolicyType] :: PolicyType -> Text
+ Amazonka.AutoScalingPlans.Types: [fromPredictiveScalingMaxCapacityBehavior] :: PredictiveScalingMaxCapacityBehavior -> Text
+ Amazonka.AutoScalingPlans.Types: [fromPredictiveScalingMode] :: PredictiveScalingMode -> Text
+ Amazonka.AutoScalingPlans.Types: [fromScalableDimension] :: ScalableDimension -> Text
+ Amazonka.AutoScalingPlans.Types: [fromScalingMetricType] :: ScalingMetricType -> Text
+ Amazonka.AutoScalingPlans.Types: [fromScalingPlanStatusCode] :: ScalingPlanStatusCode -> Text
+ Amazonka.AutoScalingPlans.Types: [fromScalingPolicyUpdateBehavior] :: ScalingPolicyUpdateBehavior -> Text
+ Amazonka.AutoScalingPlans.Types: [fromScalingStatusCode] :: ScalingStatusCode -> Text
+ Amazonka.AutoScalingPlans.Types: [fromServiceNamespace] :: ServiceNamespace -> Text
+ Amazonka.AutoScalingPlans.Types: _ConcurrentUpdateException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans.Types: _InternalServiceException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans.Types: _InvalidNextTokenException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans.Types: _ObjectNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans.Types: _ValidationException :: AsError a => Fold a ServiceError
+ Amazonka.AutoScalingPlans.Types: applicationSource_cloudFormationStackARN :: Lens' ApplicationSource (Maybe Text)
+ Amazonka.AutoScalingPlans.Types: applicationSource_tagFilters :: Lens' ApplicationSource (Maybe [TagFilter])
+ Amazonka.AutoScalingPlans.Types: customizedLoadMetricSpecification_dimensions :: Lens' CustomizedLoadMetricSpecification (Maybe [MetricDimension])
+ Amazonka.AutoScalingPlans.Types: customizedLoadMetricSpecification_metricName :: Lens' CustomizedLoadMetricSpecification Text
+ Amazonka.AutoScalingPlans.Types: customizedLoadMetricSpecification_namespace :: Lens' CustomizedLoadMetricSpecification Text
+ Amazonka.AutoScalingPlans.Types: customizedLoadMetricSpecification_statistic :: Lens' CustomizedLoadMetricSpecification MetricStatistic
+ Amazonka.AutoScalingPlans.Types: customizedLoadMetricSpecification_unit :: Lens' CustomizedLoadMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Types: customizedScalingMetricSpecification_dimensions :: Lens' CustomizedScalingMetricSpecification (Maybe [MetricDimension])
+ Amazonka.AutoScalingPlans.Types: customizedScalingMetricSpecification_metricName :: Lens' CustomizedScalingMetricSpecification Text
+ Amazonka.AutoScalingPlans.Types: customizedScalingMetricSpecification_namespace :: Lens' CustomizedScalingMetricSpecification Text
+ Amazonka.AutoScalingPlans.Types: customizedScalingMetricSpecification_statistic :: Lens' CustomizedScalingMetricSpecification MetricStatistic
+ Amazonka.AutoScalingPlans.Types: customizedScalingMetricSpecification_unit :: Lens' CustomizedScalingMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Types: data ApplicationSource
+ Amazonka.AutoScalingPlans.Types: data CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types: data CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types: data Datapoint
+ Amazonka.AutoScalingPlans.Types: data MetricDimension
+ Amazonka.AutoScalingPlans.Types: data PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types: data PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types: data ScalingInstruction
+ Amazonka.AutoScalingPlans.Types: data ScalingPlan
+ Amazonka.AutoScalingPlans.Types: data ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types: data ScalingPolicy
+ Amazonka.AutoScalingPlans.Types: data TagFilter
+ Amazonka.AutoScalingPlans.Types: data TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types: datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime)
+ Amazonka.AutoScalingPlans.Types: datapoint_value :: Lens' Datapoint (Maybe Double)
+ Amazonka.AutoScalingPlans.Types: defaultService :: Service
+ Amazonka.AutoScalingPlans.Types: metricDimension_name :: Lens' MetricDimension Text
+ Amazonka.AutoScalingPlans.Types: metricDimension_value :: Lens' MetricDimension Text
+ Amazonka.AutoScalingPlans.Types: newApplicationSource :: ApplicationSource
+ Amazonka.AutoScalingPlans.Types: newCustomizedLoadMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types: newCustomizedScalingMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types: newDatapoint :: Datapoint
+ Amazonka.AutoScalingPlans.Types: newMetricDimension :: Text -> Text -> MetricDimension
+ Amazonka.AutoScalingPlans.Types: newPredefinedLoadMetricSpecification :: LoadMetricType -> PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types: newPredefinedScalingMetricSpecification :: ScalingMetricType -> PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types: newScalingInstruction :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> ScalingInstruction
+ Amazonka.AutoScalingPlans.Types: newScalingPlan :: Text -> Integer -> ApplicationSource -> ScalingPlanStatusCode -> ScalingPlan
+ Amazonka.AutoScalingPlans.Types: newScalingPlanResource :: Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ScalingStatusCode -> ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types: newScalingPolicy :: Text -> PolicyType -> ScalingPolicy
+ Amazonka.AutoScalingPlans.Types: newTagFilter :: TagFilter
+ Amazonka.AutoScalingPlans.Types: newTargetTrackingConfiguration :: Double -> TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types: newtype ForecastDataType
+ Amazonka.AutoScalingPlans.Types: newtype LoadMetricType
+ Amazonka.AutoScalingPlans.Types: newtype MetricStatistic
+ Amazonka.AutoScalingPlans.Types: newtype PolicyType
+ Amazonka.AutoScalingPlans.Types: newtype PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types: newtype PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types: newtype ScalableDimension
+ Amazonka.AutoScalingPlans.Types: newtype ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: newtype ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: newtype ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types: newtype ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types: newtype ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: pattern ForecastDataType_CapacityForecast :: ForecastDataType
+ Amazonka.AutoScalingPlans.Types: pattern ForecastDataType_LoadForecast :: ForecastDataType
+ Amazonka.AutoScalingPlans.Types: pattern ForecastDataType_ScheduledActionMaxCapacity :: ForecastDataType
+ Amazonka.AutoScalingPlans.Types: pattern ForecastDataType_ScheduledActionMinCapacity :: ForecastDataType
+ Amazonka.AutoScalingPlans.Types: pattern LoadMetricType_ALBTargetGroupRequestCount :: LoadMetricType
+ Amazonka.AutoScalingPlans.Types: pattern LoadMetricType_ASGTotalCPUUtilization :: LoadMetricType
+ Amazonka.AutoScalingPlans.Types: pattern LoadMetricType_ASGTotalNetworkIn :: LoadMetricType
+ Amazonka.AutoScalingPlans.Types: pattern LoadMetricType_ASGTotalNetworkOut :: LoadMetricType
+ Amazonka.AutoScalingPlans.Types: pattern MetricStatistic_Average :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types: pattern MetricStatistic_Maximum :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types: pattern MetricStatistic_Minimum :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types: pattern MetricStatistic_SampleCount :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types: pattern MetricStatistic_Sum :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types: pattern PolicyType_TargetTrackingScaling :: PolicyType
+ Amazonka.AutoScalingPlans.Types: pattern PredictiveScalingMaxCapacityBehavior_SetForecastCapacityToMaxCapacity :: PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types: pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityAboveForecastCapacity :: PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types: pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityToForecastCapacity :: PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types: pattern PredictiveScalingMode_ForecastAndScale :: PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types: pattern PredictiveScalingMode_ForecastOnly :: PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types: pattern ScalableDimension_Autoscaling_autoScalingGroup_DesiredCapacity :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types: pattern ScalableDimension_Dynamodb_index_ReadCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types: pattern ScalableDimension_Dynamodb_index_WriteCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types: pattern ScalableDimension_Dynamodb_table_ReadCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types: pattern ScalableDimension_Dynamodb_table_WriteCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types: pattern ScalableDimension_Ec2_spot_fleet_request_TargetCapacity :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types: pattern ScalableDimension_Ecs_service_DesiredCount :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types: pattern ScalableDimension_Rds_cluster_ReadReplicaCount :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_ALBRequestCountPerTarget :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_ASGAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_ASGAverageNetworkIn :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_ASGAverageNetworkOut :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_DynamoDBReadCapacityUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_DynamoDBWriteCapacityUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_EC2SpotFleetRequestAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkIn :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkOut :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_ECSServiceAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_ECSServiceAverageMemoryUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_RDSReaderAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingMetricType_RDSReaderAverageDatabaseConnections :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPlanStatusCode_Active :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPlanStatusCode_ActiveWithProblems :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPlanStatusCode_CreationFailed :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPlanStatusCode_CreationInProgress :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPlanStatusCode_DeletionFailed :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPlanStatusCode_DeletionInProgress :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPlanStatusCode_UpdateFailed :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPlanStatusCode_UpdateInProgress :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPolicyUpdateBehavior_KeepExternalPolicies :: ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types: pattern ScalingPolicyUpdateBehavior_ReplaceExternalPolicies :: ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types: pattern ScalingStatusCode_Active :: ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingStatusCode_Inactive :: ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ScalingStatusCode_PartiallyActive :: ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types: pattern ServiceNamespace_Autoscaling :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: pattern ServiceNamespace_Dynamodb :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: pattern ServiceNamespace_Ec2 :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: pattern ServiceNamespace_Ecs :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: pattern ServiceNamespace_Rds :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: predefinedLoadMetricSpecification_predefinedLoadMetricType :: Lens' PredefinedLoadMetricSpecification LoadMetricType
+ Amazonka.AutoScalingPlans.Types: predefinedLoadMetricSpecification_resourceLabel :: Lens' PredefinedLoadMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Types: predefinedScalingMetricSpecification_predefinedScalingMetricType :: Lens' PredefinedScalingMetricSpecification ScalingMetricType
+ Amazonka.AutoScalingPlans.Types: predefinedScalingMetricSpecification_resourceLabel :: Lens' PredefinedScalingMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_customizedLoadMetricSpecification :: Lens' ScalingInstruction (Maybe CustomizedLoadMetricSpecification)
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_disableDynamicScaling :: Lens' ScalingInstruction (Maybe Bool)
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_maxCapacity :: Lens' ScalingInstruction Int
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_minCapacity :: Lens' ScalingInstruction Int
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_predefinedLoadMetricSpecification :: Lens' ScalingInstruction (Maybe PredefinedLoadMetricSpecification)
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_predictiveScalingMaxCapacityBehavior :: Lens' ScalingInstruction (Maybe PredictiveScalingMaxCapacityBehavior)
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_predictiveScalingMaxCapacityBuffer :: Lens' ScalingInstruction (Maybe Int)
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_predictiveScalingMode :: Lens' ScalingInstruction (Maybe PredictiveScalingMode)
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_resourceId :: Lens' ScalingInstruction Text
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_scalableDimension :: Lens' ScalingInstruction ScalableDimension
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_scalingPolicyUpdateBehavior :: Lens' ScalingInstruction (Maybe ScalingPolicyUpdateBehavior)
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_scheduledActionBufferTime :: Lens' ScalingInstruction (Maybe Natural)
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_serviceNamespace :: Lens' ScalingInstruction ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: scalingInstruction_targetTrackingConfigurations :: Lens' ScalingInstruction [TargetTrackingConfiguration]
+ Amazonka.AutoScalingPlans.Types: scalingPlanResource_resourceId :: Lens' ScalingPlanResource Text
+ Amazonka.AutoScalingPlans.Types: scalingPlanResource_scalableDimension :: Lens' ScalingPlanResource ScalableDimension
+ Amazonka.AutoScalingPlans.Types: scalingPlanResource_scalingPlanName :: Lens' ScalingPlanResource Text
+ Amazonka.AutoScalingPlans.Types: scalingPlanResource_scalingPlanVersion :: Lens' ScalingPlanResource Integer
+ Amazonka.AutoScalingPlans.Types: scalingPlanResource_scalingPolicies :: Lens' ScalingPlanResource (Maybe [ScalingPolicy])
+ Amazonka.AutoScalingPlans.Types: scalingPlanResource_scalingStatusCode :: Lens' ScalingPlanResource ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types: scalingPlanResource_scalingStatusMessage :: Lens' ScalingPlanResource (Maybe Text)
+ Amazonka.AutoScalingPlans.Types: scalingPlanResource_serviceNamespace :: Lens' ScalingPlanResource ServiceNamespace
+ Amazonka.AutoScalingPlans.Types: scalingPlan_applicationSource :: Lens' ScalingPlan ApplicationSource
+ Amazonka.AutoScalingPlans.Types: scalingPlan_creationTime :: Lens' ScalingPlan (Maybe UTCTime)
+ Amazonka.AutoScalingPlans.Types: scalingPlan_scalingInstructions :: Lens' ScalingPlan [ScalingInstruction]
+ Amazonka.AutoScalingPlans.Types: scalingPlan_scalingPlanName :: Lens' ScalingPlan Text
+ Amazonka.AutoScalingPlans.Types: scalingPlan_scalingPlanVersion :: Lens' ScalingPlan Integer
+ Amazonka.AutoScalingPlans.Types: scalingPlan_statusCode :: Lens' ScalingPlan ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types: scalingPlan_statusMessage :: Lens' ScalingPlan (Maybe Text)
+ Amazonka.AutoScalingPlans.Types: scalingPlan_statusStartTime :: Lens' ScalingPlan (Maybe UTCTime)
+ Amazonka.AutoScalingPlans.Types: scalingPolicy_policyName :: Lens' ScalingPolicy Text
+ Amazonka.AutoScalingPlans.Types: scalingPolicy_policyType :: Lens' ScalingPolicy PolicyType
+ Amazonka.AutoScalingPlans.Types: scalingPolicy_targetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration)
+ Amazonka.AutoScalingPlans.Types: tagFilter_key :: Lens' TagFilter (Maybe Text)
+ Amazonka.AutoScalingPlans.Types: tagFilter_values :: Lens' TagFilter (Maybe [Text])
+ Amazonka.AutoScalingPlans.Types: targetTrackingConfiguration_customizedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedScalingMetricSpecification)
+ Amazonka.AutoScalingPlans.Types: targetTrackingConfiguration_disableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool)
+ Amazonka.AutoScalingPlans.Types: targetTrackingConfiguration_estimatedInstanceWarmup :: Lens' TargetTrackingConfiguration (Maybe Int)
+ Amazonka.AutoScalingPlans.Types: targetTrackingConfiguration_predefinedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedScalingMetricSpecification)
+ Amazonka.AutoScalingPlans.Types: targetTrackingConfiguration_scaleInCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
+ Amazonka.AutoScalingPlans.Types: targetTrackingConfiguration_scaleOutCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
+ Amazonka.AutoScalingPlans.Types: targetTrackingConfiguration_targetValue :: Lens' TargetTrackingConfiguration Double
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: ApplicationSource' :: Maybe Text -> Maybe [TagFilter] -> ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: [$sel:cloudFormationStackARN:ApplicationSource'] :: ApplicationSource -> Maybe Text
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: [$sel:tagFilters:ApplicationSource'] :: ApplicationSource -> Maybe [TagFilter]
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: applicationSource_cloudFormationStackARN :: Lens' ApplicationSource (Maybe Text)
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: applicationSource_tagFilters :: Lens' ApplicationSource (Maybe [TagFilter])
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: data ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ApplicationSource.ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ApplicationSource.ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.ApplicationSource.ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ApplicationSource.ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ApplicationSource.ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ApplicationSource.ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ApplicationSource.ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ApplicationSource.ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ApplicationSource: newApplicationSource :: ApplicationSource
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: CustomizedLoadMetricSpecification' :: Maybe [MetricDimension] -> Maybe Text -> Text -> Text -> MetricStatistic -> CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: [$sel:dimensions:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> Maybe [MetricDimension]
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: [$sel:metricName:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> Text
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: [$sel:namespace:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> Text
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: [$sel:statistic:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> MetricStatistic
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: [$sel:unit:CustomizedLoadMetricSpecification'] :: CustomizedLoadMetricSpecification -> Maybe Text
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: customizedLoadMetricSpecification_dimensions :: Lens' CustomizedLoadMetricSpecification (Maybe [MetricDimension])
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: customizedLoadMetricSpecification_metricName :: Lens' CustomizedLoadMetricSpecification Text
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: customizedLoadMetricSpecification_namespace :: Lens' CustomizedLoadMetricSpecification Text
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: customizedLoadMetricSpecification_statistic :: Lens' CustomizedLoadMetricSpecification MetricStatistic
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: customizedLoadMetricSpecification_unit :: Lens' CustomizedLoadMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: data CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification.CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification.CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification.CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification.CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification.CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification.CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification.CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification.CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification: newCustomizedLoadMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: CustomizedScalingMetricSpecification' :: Maybe [MetricDimension] -> Maybe Text -> Text -> Text -> MetricStatistic -> CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: [$sel:dimensions:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> Maybe [MetricDimension]
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: [$sel:metricName:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> Text
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: [$sel:namespace:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> Text
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: [$sel:statistic:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> MetricStatistic
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: [$sel:unit:CustomizedScalingMetricSpecification'] :: CustomizedScalingMetricSpecification -> Maybe Text
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: customizedScalingMetricSpecification_dimensions :: Lens' CustomizedScalingMetricSpecification (Maybe [MetricDimension])
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: customizedScalingMetricSpecification_metricName :: Lens' CustomizedScalingMetricSpecification Text
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: customizedScalingMetricSpecification_namespace :: Lens' CustomizedScalingMetricSpecification Text
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: customizedScalingMetricSpecification_statistic :: Lens' CustomizedScalingMetricSpecification MetricStatistic
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: customizedScalingMetricSpecification_unit :: Lens' CustomizedScalingMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: data CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification.CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification.CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification.CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification.CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification.CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification.CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification.CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification.CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification: newCustomizedScalingMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.Datapoint: Datapoint' :: Maybe POSIX -> Maybe Double -> Datapoint
+ Amazonka.AutoScalingPlans.Types.Datapoint: [$sel:timestamp:Datapoint'] :: Datapoint -> Maybe POSIX
+ Amazonka.AutoScalingPlans.Types.Datapoint: [$sel:value:Datapoint'] :: Datapoint -> Maybe Double
+ Amazonka.AutoScalingPlans.Types.Datapoint: data Datapoint
+ Amazonka.AutoScalingPlans.Types.Datapoint: datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime)
+ Amazonka.AutoScalingPlans.Types.Datapoint: datapoint_value :: Lens' Datapoint (Maybe Double)
+ Amazonka.AutoScalingPlans.Types.Datapoint: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.Datapoint.Datapoint
+ Amazonka.AutoScalingPlans.Types.Datapoint: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.Datapoint.Datapoint
+ Amazonka.AutoScalingPlans.Types.Datapoint: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.Datapoint.Datapoint
+ Amazonka.AutoScalingPlans.Types.Datapoint: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.Datapoint.Datapoint
+ Amazonka.AutoScalingPlans.Types.Datapoint: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.Datapoint.Datapoint
+ Amazonka.AutoScalingPlans.Types.Datapoint: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.Datapoint.Datapoint
+ Amazonka.AutoScalingPlans.Types.Datapoint: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.Datapoint.Datapoint
+ Amazonka.AutoScalingPlans.Types.Datapoint: newDatapoint :: Datapoint
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: ForecastDataType' :: Text -> ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: [fromForecastDataType] :: ForecastDataType -> Text
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ForecastDataType.ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: newtype ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: pattern ForecastDataType_CapacityForecast :: ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: pattern ForecastDataType_LoadForecast :: ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: pattern ForecastDataType_ScheduledActionMaxCapacity :: ForecastDataType
+ Amazonka.AutoScalingPlans.Types.ForecastDataType: pattern ForecastDataType_ScheduledActionMinCapacity :: ForecastDataType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: LoadMetricType' :: Text -> LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: [fromLoadMetricType] :: LoadMetricType -> Text
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.LoadMetricType.LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: newtype LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: pattern LoadMetricType_ALBTargetGroupRequestCount :: LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: pattern LoadMetricType_ASGTotalCPUUtilization :: LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: pattern LoadMetricType_ASGTotalNetworkIn :: LoadMetricType
+ Amazonka.AutoScalingPlans.Types.LoadMetricType: pattern LoadMetricType_ASGTotalNetworkOut :: LoadMetricType
+ Amazonka.AutoScalingPlans.Types.MetricDimension: MetricDimension' :: Text -> Text -> MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: [$sel:name:MetricDimension'] :: MetricDimension -> Text
+ Amazonka.AutoScalingPlans.Types.MetricDimension: [$sel:value:MetricDimension'] :: MetricDimension -> Text
+ Amazonka.AutoScalingPlans.Types.MetricDimension: data MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.MetricDimension.MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.MetricDimension.MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.MetricDimension.MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.MetricDimension.MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.MetricDimension.MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.MetricDimension.MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.MetricDimension.MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.MetricDimension.MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricDimension: metricDimension_name :: Lens' MetricDimension Text
+ Amazonka.AutoScalingPlans.Types.MetricDimension: metricDimension_value :: Lens' MetricDimension Text
+ Amazonka.AutoScalingPlans.Types.MetricDimension: newMetricDimension :: Text -> Text -> MetricDimension
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: MetricStatistic' :: Text -> MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: [fromMetricStatistic] :: MetricStatistic -> Text
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.MetricStatistic.MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: newtype MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: pattern MetricStatistic_Average :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: pattern MetricStatistic_Maximum :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: pattern MetricStatistic_Minimum :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: pattern MetricStatistic_SampleCount :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types.MetricStatistic: pattern MetricStatistic_Sum :: MetricStatistic
+ Amazonka.AutoScalingPlans.Types.PolicyType: PolicyType' :: Text -> PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: [fromPolicyType] :: PolicyType -> Text
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.PolicyType.PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: newtype PolicyType
+ Amazonka.AutoScalingPlans.Types.PolicyType: pattern PolicyType_TargetTrackingScaling :: PolicyType
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: PredefinedLoadMetricSpecification' :: Maybe Text -> LoadMetricType -> PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: [$sel:predefinedLoadMetricType:PredefinedLoadMetricSpecification'] :: PredefinedLoadMetricSpecification -> LoadMetricType
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: [$sel:resourceLabel:PredefinedLoadMetricSpecification'] :: PredefinedLoadMetricSpecification -> Maybe Text
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: data PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification.PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification.PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification.PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification.PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification.PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification.PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification.PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification.PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: newPredefinedLoadMetricSpecification :: LoadMetricType -> PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: predefinedLoadMetricSpecification_predefinedLoadMetricType :: Lens' PredefinedLoadMetricSpecification LoadMetricType
+ Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification: predefinedLoadMetricSpecification_resourceLabel :: Lens' PredefinedLoadMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: PredefinedScalingMetricSpecification' :: Maybe Text -> ScalingMetricType -> PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: [$sel:predefinedScalingMetricType:PredefinedScalingMetricSpecification'] :: PredefinedScalingMetricSpecification -> ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: [$sel:resourceLabel:PredefinedScalingMetricSpecification'] :: PredefinedScalingMetricSpecification -> Maybe Text
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: data PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification.PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification.PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification.PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification.PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification.PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification.PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification.PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification.PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: newPredefinedScalingMetricSpecification :: ScalingMetricType -> PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: predefinedScalingMetricSpecification_predefinedScalingMetricType :: Lens' PredefinedScalingMetricSpecification ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification: predefinedScalingMetricSpecification_resourceLabel :: Lens' PredefinedScalingMetricSpecification (Maybe Text)
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: PredictiveScalingMaxCapacityBehavior' :: Text -> PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: [fromPredictiveScalingMaxCapacityBehavior] :: PredictiveScalingMaxCapacityBehavior -> Text
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior.PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: newtype PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: pattern PredictiveScalingMaxCapacityBehavior_SetForecastCapacityToMaxCapacity :: PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityAboveForecastCapacity :: PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior: pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityToForecastCapacity :: PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: PredictiveScalingMode' :: Text -> PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: [fromPredictiveScalingMode] :: PredictiveScalingMode -> Text
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.PredictiveScalingMode.PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: newtype PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: pattern PredictiveScalingMode_ForecastAndScale :: PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.PredictiveScalingMode: pattern PredictiveScalingMode_ForecastOnly :: PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: ScalableDimension' :: Text -> ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: [fromScalableDimension] :: ScalableDimension -> Text
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ScalableDimension.ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: newtype ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: pattern ScalableDimension_Autoscaling_autoScalingGroup_DesiredCapacity :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: pattern ScalableDimension_Dynamodb_index_ReadCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: pattern ScalableDimension_Dynamodb_index_WriteCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: pattern ScalableDimension_Dynamodb_table_ReadCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: pattern ScalableDimension_Dynamodb_table_WriteCapacityUnits :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: pattern ScalableDimension_Ec2_spot_fleet_request_TargetCapacity :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: pattern ScalableDimension_Ecs_service_DesiredCount :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalableDimension: pattern ScalableDimension_Rds_cluster_ReadReplicaCount :: ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: ScalingInstruction' :: Maybe CustomizedLoadMetricSpecification -> Maybe Bool -> Maybe PredefinedLoadMetricSpecification -> Maybe PredictiveScalingMaxCapacityBehavior -> Maybe Int -> Maybe PredictiveScalingMode -> Maybe ScalingPolicyUpdateBehavior -> Maybe Natural -> ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> [TargetTrackingConfiguration] -> ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:customizedLoadMetricSpecification:ScalingInstruction'] :: ScalingInstruction -> Maybe CustomizedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:disableDynamicScaling:ScalingInstruction'] :: ScalingInstruction -> Maybe Bool
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:maxCapacity:ScalingInstruction'] :: ScalingInstruction -> Int
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:minCapacity:ScalingInstruction'] :: ScalingInstruction -> Int
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:predefinedLoadMetricSpecification:ScalingInstruction'] :: ScalingInstruction -> Maybe PredefinedLoadMetricSpecification
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:predictiveScalingMaxCapacityBehavior:ScalingInstruction'] :: ScalingInstruction -> Maybe PredictiveScalingMaxCapacityBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:predictiveScalingMaxCapacityBuffer:ScalingInstruction'] :: ScalingInstruction -> Maybe Int
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:predictiveScalingMode:ScalingInstruction'] :: ScalingInstruction -> Maybe PredictiveScalingMode
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:resourceId:ScalingInstruction'] :: ScalingInstruction -> Text
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:scalableDimension:ScalingInstruction'] :: ScalingInstruction -> ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:scalingPolicyUpdateBehavior:ScalingInstruction'] :: ScalingInstruction -> Maybe ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:scheduledActionBufferTime:ScalingInstruction'] :: ScalingInstruction -> Maybe Natural
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:serviceNamespace:ScalingInstruction'] :: ScalingInstruction -> ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: [$sel:targetTrackingConfigurations:ScalingInstruction'] :: ScalingInstruction -> [TargetTrackingConfiguration]
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: data ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ScalingInstruction.ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ScalingInstruction.ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.ScalingInstruction.ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ScalingInstruction.ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ScalingInstruction.ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ScalingInstruction.ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ScalingInstruction.ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ScalingInstruction.ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: newScalingInstruction :: ServiceNamespace -> Text -> ScalableDimension -> Int -> Int -> ScalingInstruction
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_customizedLoadMetricSpecification :: Lens' ScalingInstruction (Maybe CustomizedLoadMetricSpecification)
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_disableDynamicScaling :: Lens' ScalingInstruction (Maybe Bool)
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_maxCapacity :: Lens' ScalingInstruction Int
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_minCapacity :: Lens' ScalingInstruction Int
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_predefinedLoadMetricSpecification :: Lens' ScalingInstruction (Maybe PredefinedLoadMetricSpecification)
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_predictiveScalingMaxCapacityBehavior :: Lens' ScalingInstruction (Maybe PredictiveScalingMaxCapacityBehavior)
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_predictiveScalingMaxCapacityBuffer :: Lens' ScalingInstruction (Maybe Int)
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_predictiveScalingMode :: Lens' ScalingInstruction (Maybe PredictiveScalingMode)
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_resourceId :: Lens' ScalingInstruction Text
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_scalableDimension :: Lens' ScalingInstruction ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_scalingPolicyUpdateBehavior :: Lens' ScalingInstruction (Maybe ScalingPolicyUpdateBehavior)
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_scheduledActionBufferTime :: Lens' ScalingInstruction (Maybe Natural)
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_serviceNamespace :: Lens' ScalingInstruction ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ScalingInstruction: scalingInstruction_targetTrackingConfigurations :: Lens' ScalingInstruction [TargetTrackingConfiguration]
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: ScalingMetricType' :: Text -> ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: [fromScalingMetricType] :: ScalingMetricType -> Text
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ScalingMetricType.ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: newtype ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_ALBRequestCountPerTarget :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_ASGAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_ASGAverageNetworkIn :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_ASGAverageNetworkOut :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_DynamoDBReadCapacityUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_DynamoDBWriteCapacityUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_EC2SpotFleetRequestAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkIn :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkOut :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_ECSServiceAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_ECSServiceAverageMemoryUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_RDSReaderAverageCPUUtilization :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingMetricType: pattern ScalingMetricType_RDSReaderAverageDatabaseConnections :: ScalingMetricType
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: ScalingPlan' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Text -> Integer -> ApplicationSource -> [ScalingInstruction] -> ScalingPlanStatusCode -> ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: [$sel:applicationSource:ScalingPlan'] :: ScalingPlan -> ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: [$sel:creationTime:ScalingPlan'] :: ScalingPlan -> Maybe POSIX
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: [$sel:scalingInstructions:ScalingPlan'] :: ScalingPlan -> [ScalingInstruction]
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: [$sel:scalingPlanName:ScalingPlan'] :: ScalingPlan -> Text
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: [$sel:scalingPlanVersion:ScalingPlan'] :: ScalingPlan -> Integer
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: [$sel:statusCode:ScalingPlan'] :: ScalingPlan -> ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: [$sel:statusMessage:ScalingPlan'] :: ScalingPlan -> Maybe Text
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: [$sel:statusStartTime:ScalingPlan'] :: ScalingPlan -> Maybe POSIX
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: data ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ScalingPlan.ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ScalingPlan.ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ScalingPlan.ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ScalingPlan.ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ScalingPlan.ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ScalingPlan.ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ScalingPlan.ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: newScalingPlan :: Text -> Integer -> ApplicationSource -> ScalingPlanStatusCode -> ScalingPlan
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: scalingPlan_applicationSource :: Lens' ScalingPlan ApplicationSource
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: scalingPlan_creationTime :: Lens' ScalingPlan (Maybe UTCTime)
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: scalingPlan_scalingInstructions :: Lens' ScalingPlan [ScalingInstruction]
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: scalingPlan_scalingPlanName :: Lens' ScalingPlan Text
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: scalingPlan_scalingPlanVersion :: Lens' ScalingPlan Integer
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: scalingPlan_statusCode :: Lens' ScalingPlan ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: scalingPlan_statusMessage :: Lens' ScalingPlan (Maybe Text)
+ Amazonka.AutoScalingPlans.Types.ScalingPlan: scalingPlan_statusStartTime :: Lens' ScalingPlan (Maybe UTCTime)
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: ScalingPlanResource' :: Maybe [ScalingPolicy] -> Maybe Text -> Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ScalingStatusCode -> ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: [$sel:resourceId:ScalingPlanResource'] :: ScalingPlanResource -> Text
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: [$sel:scalableDimension:ScalingPlanResource'] :: ScalingPlanResource -> ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: [$sel:scalingPlanName:ScalingPlanResource'] :: ScalingPlanResource -> Text
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: [$sel:scalingPlanVersion:ScalingPlanResource'] :: ScalingPlanResource -> Integer
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: [$sel:scalingPolicies:ScalingPlanResource'] :: ScalingPlanResource -> Maybe [ScalingPolicy]
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: [$sel:scalingStatusCode:ScalingPlanResource'] :: ScalingPlanResource -> ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: [$sel:scalingStatusMessage:ScalingPlanResource'] :: ScalingPlanResource -> Maybe Text
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: [$sel:serviceNamespace:ScalingPlanResource'] :: ScalingPlanResource -> ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: data ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ScalingPlanResource.ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ScalingPlanResource.ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ScalingPlanResource.ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ScalingPlanResource.ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ScalingPlanResource.ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ScalingPlanResource.ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ScalingPlanResource.ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: newScalingPlanResource :: Text -> Integer -> ServiceNamespace -> Text -> ScalableDimension -> ScalingStatusCode -> ScalingPlanResource
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: scalingPlanResource_resourceId :: Lens' ScalingPlanResource Text
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: scalingPlanResource_scalableDimension :: Lens' ScalingPlanResource ScalableDimension
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: scalingPlanResource_scalingPlanName :: Lens' ScalingPlanResource Text
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: scalingPlanResource_scalingPlanVersion :: Lens' ScalingPlanResource Integer
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: scalingPlanResource_scalingPolicies :: Lens' ScalingPlanResource (Maybe [ScalingPolicy])
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: scalingPlanResource_scalingStatusCode :: Lens' ScalingPlanResource ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: scalingPlanResource_scalingStatusMessage :: Lens' ScalingPlanResource (Maybe Text)
+ Amazonka.AutoScalingPlans.Types.ScalingPlanResource: scalingPlanResource_serviceNamespace :: Lens' ScalingPlanResource ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: ScalingPlanStatusCode' :: Text -> ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: [fromScalingPlanStatusCode] :: ScalingPlanStatusCode -> Text
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode.ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: newtype ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: pattern ScalingPlanStatusCode_Active :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: pattern ScalingPlanStatusCode_ActiveWithProblems :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: pattern ScalingPlanStatusCode_CreationFailed :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: pattern ScalingPlanStatusCode_CreationInProgress :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: pattern ScalingPlanStatusCode_DeletionFailed :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: pattern ScalingPlanStatusCode_DeletionInProgress :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: pattern ScalingPlanStatusCode_UpdateFailed :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode: pattern ScalingPlanStatusCode_UpdateInProgress :: ScalingPlanStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: ScalingPolicy' :: Maybe TargetTrackingConfiguration -> Text -> PolicyType -> ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: [$sel:policyName:ScalingPolicy'] :: ScalingPolicy -> Text
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: [$sel:policyType:ScalingPolicy'] :: ScalingPolicy -> PolicyType
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: [$sel:targetTrackingConfiguration:ScalingPolicy'] :: ScalingPolicy -> Maybe TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: data ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ScalingPolicy.ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: newScalingPolicy :: Text -> PolicyType -> ScalingPolicy
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: scalingPolicy_policyName :: Lens' ScalingPolicy Text
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: scalingPolicy_policyType :: Lens' ScalingPolicy PolicyType
+ Amazonka.AutoScalingPlans.Types.ScalingPolicy: scalingPolicy_targetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration)
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: ScalingPolicyUpdateBehavior' :: Text -> ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: [fromScalingPolicyUpdateBehavior] :: ScalingPolicyUpdateBehavior -> Text
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior.ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: newtype ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: pattern ScalingPolicyUpdateBehavior_KeepExternalPolicies :: ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior: pattern ScalingPolicyUpdateBehavior_ReplaceExternalPolicies :: ScalingPolicyUpdateBehavior
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: ScalingStatusCode' :: Text -> ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: [fromScalingStatusCode] :: ScalingStatusCode -> Text
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ScalingStatusCode.ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: newtype ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: pattern ScalingStatusCode_Active :: ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: pattern ScalingStatusCode_Inactive :: ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ScalingStatusCode: pattern ScalingStatusCode_PartiallyActive :: ScalingStatusCode
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: ServiceNamespace' :: Text -> ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: [fromServiceNamespace] :: ServiceNamespace -> Text
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Amazonka.Data.ByteString.ToByteString Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Amazonka.Data.Headers.ToHeader Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Amazonka.Data.Log.ToLog Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Amazonka.Data.Text.FromText Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Amazonka.Data.Text.ToText Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Amazonka.Data.XML.FromXML Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Amazonka.Data.XML.ToXML Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance GHC.Classes.Ord Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.ServiceNamespace.ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: newtype ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: pattern ServiceNamespace_Autoscaling :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: pattern ServiceNamespace_Dynamodb :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: pattern ServiceNamespace_Ec2 :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: pattern ServiceNamespace_Ecs :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.ServiceNamespace: pattern ServiceNamespace_Rds :: ServiceNamespace
+ Amazonka.AutoScalingPlans.Types.TagFilter: TagFilter' :: Maybe Text -> Maybe [Text] -> TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: [$sel:key:TagFilter'] :: TagFilter -> Maybe Text
+ Amazonka.AutoScalingPlans.Types.TagFilter: [$sel:values:TagFilter'] :: TagFilter -> Maybe [Text]
+ Amazonka.AutoScalingPlans.Types.TagFilter: data TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.TagFilter.TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.TagFilter.TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.TagFilter.TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.TagFilter.TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.TagFilter.TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.TagFilter.TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.TagFilter.TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.TagFilter.TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: newTagFilter :: TagFilter
+ Amazonka.AutoScalingPlans.Types.TagFilter: tagFilter_key :: Lens' TagFilter (Maybe Text)
+ Amazonka.AutoScalingPlans.Types.TagFilter: tagFilter_values :: Lens' TagFilter (Maybe [Text])
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: TargetTrackingConfiguration' :: Maybe CustomizedScalingMetricSpecification -> Maybe Bool -> Maybe Int -> Maybe PredefinedScalingMetricSpecification -> Maybe Int -> Maybe Int -> Double -> TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: [$sel:customizedScalingMetricSpecification:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe CustomizedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: [$sel:disableScaleIn:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe Bool
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: [$sel:estimatedInstanceWarmup:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe Int
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: [$sel:predefinedScalingMetricSpecification:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe PredefinedScalingMetricSpecification
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: [$sel:scaleInCooldown:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe Int
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: [$sel:scaleOutCooldown:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Maybe Int
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: [$sel:targetValue:TargetTrackingConfiguration'] :: TargetTrackingConfiguration -> Double
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: data TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration.TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration.TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration.TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration.TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration.TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration.TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: instance GHC.Read.Read Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration.TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: instance GHC.Show.Show Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration.TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: newTargetTrackingConfiguration :: Double -> TargetTrackingConfiguration
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: targetTrackingConfiguration_customizedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedScalingMetricSpecification)
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: targetTrackingConfiguration_disableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool)
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: targetTrackingConfiguration_estimatedInstanceWarmup :: Lens' TargetTrackingConfiguration (Maybe Int)
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: targetTrackingConfiguration_predefinedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedScalingMetricSpecification)
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: targetTrackingConfiguration_scaleInCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: targetTrackingConfiguration_scaleOutCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)
+ Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration: targetTrackingConfiguration_targetValue :: Lens' TargetTrackingConfiguration Double
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: UpdateScalingPlan' :: Maybe ApplicationSource -> Maybe [ScalingInstruction] -> Text -> Integer -> UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: UpdateScalingPlanResponse' :: Int -> UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: [$sel:applicationSource:UpdateScalingPlan'] :: UpdateScalingPlan -> Maybe ApplicationSource
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: [$sel:httpStatus:UpdateScalingPlanResponse'] :: UpdateScalingPlanResponse -> Int
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: [$sel:scalingInstructions:UpdateScalingPlan'] :: UpdateScalingPlan -> Maybe [ScalingInstruction]
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: [$sel:scalingPlanName:UpdateScalingPlan'] :: UpdateScalingPlan -> Text
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: [$sel:scalingPlanVersion:UpdateScalingPlan'] :: UpdateScalingPlan -> Integer
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: data UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: data UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance Amazonka.Data.Headers.ToHeaders Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance Amazonka.Data.Path.ToPath Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance Amazonka.Data.Query.ToQuery Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance Amazonka.Types.AWSRequest Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance Control.DeepSeq.NFData Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance Data.Hashable.Class.Hashable Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance GHC.Classes.Eq Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance GHC.Generics.Generic Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance GHC.Read.Read Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance GHC.Read.Read Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance GHC.Show.Show Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: instance GHC.Show.Show Amazonka.AutoScalingPlans.UpdateScalingPlan.UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: newUpdateScalingPlan :: Text -> Integer -> UpdateScalingPlan
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: newUpdateScalingPlanResponse :: Int -> UpdateScalingPlanResponse
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: updateScalingPlanResponse_httpStatus :: Lens' UpdateScalingPlanResponse Int
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: updateScalingPlan_applicationSource :: Lens' UpdateScalingPlan (Maybe ApplicationSource)
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: updateScalingPlan_scalingInstructions :: Lens' UpdateScalingPlan (Maybe [ScalingInstruction])
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: updateScalingPlan_scalingPlanName :: Lens' UpdateScalingPlan Text
+ Amazonka.AutoScalingPlans.UpdateScalingPlan: updateScalingPlan_scalingPlanVersion :: Lens' UpdateScalingPlan Integer

Files

README.md view
@@ -7,9 +7,8 @@   ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2018-01-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.AutoScalingPlans](http://hackage.haskell.org/package/amazonka-autoscaling-plans/docs/Network-AWS-AutoScalingPlans.html)+See [Amazonka.AutoScalingPlans](http://hackage.haskell.org/package/amazonka-autoscaling-plans/docs/Amazonka-AutoScalingPlans.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-autoscaling-plans.cabal view
@@ -1,90 +1,114 @@-name:                  amazonka-autoscaling-plans-version:               1.6.1-synopsis:              Amazon Auto Scaling Plans 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-autoscaling-plans+version:            2.0+synopsis:           Amazon Auto Scaling Plans 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.AutoScalingPlans" or <https://aws.amazon.com/documentation/ the AWS documentation>-    to get started.+  Derived from API version @2018-01-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.AutoScalingPlans.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.AutoScalingPlans" 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-autoscaling-plans+  type:     git+  location: git://github.com/brendanhay/amazonka.git+  subdir:   amazonka-autoscaling-plans  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.AutoScalingPlans-        , Network.AWS.AutoScalingPlans.CreateScalingPlan-        , Network.AWS.AutoScalingPlans.DeleteScalingPlan-        , Network.AWS.AutoScalingPlans.DescribeScalingPlanResources-        , Network.AWS.AutoScalingPlans.DescribeScalingPlans-        , Network.AWS.AutoScalingPlans.Types-        , Network.AWS.AutoScalingPlans.UpdateScalingPlan-        , Network.AWS.AutoScalingPlans.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.AutoScalingPlans.Types.Product-        , Network.AWS.AutoScalingPlans.Types.Sum+  exposed-modules:+    Amazonka.AutoScalingPlans+    Amazonka.AutoScalingPlans.CreateScalingPlan+    Amazonka.AutoScalingPlans.DeleteScalingPlan+    Amazonka.AutoScalingPlans.DescribeScalingPlanResources+    Amazonka.AutoScalingPlans.DescribeScalingPlans+    Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData+    Amazonka.AutoScalingPlans.Lens+    Amazonka.AutoScalingPlans.Types+    Amazonka.AutoScalingPlans.Types.ApplicationSource+    Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification+    Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification+    Amazonka.AutoScalingPlans.Types.Datapoint+    Amazonka.AutoScalingPlans.Types.ForecastDataType+    Amazonka.AutoScalingPlans.Types.LoadMetricType+    Amazonka.AutoScalingPlans.Types.MetricDimension+    Amazonka.AutoScalingPlans.Types.MetricStatistic+    Amazonka.AutoScalingPlans.Types.PolicyType+    Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification+    Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification+    Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior+    Amazonka.AutoScalingPlans.Types.PredictiveScalingMode+    Amazonka.AutoScalingPlans.Types.ScalableDimension+    Amazonka.AutoScalingPlans.Types.ScalingInstruction+    Amazonka.AutoScalingPlans.Types.ScalingMetricType+    Amazonka.AutoScalingPlans.Types.ScalingPlan+    Amazonka.AutoScalingPlans.Types.ScalingPlanResource+    Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode+    Amazonka.AutoScalingPlans.Types.ScalingPolicy+    Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior+    Amazonka.AutoScalingPlans.Types.ScalingStatusCode+    Amazonka.AutoScalingPlans.Types.ServiceNamespace+    Amazonka.AutoScalingPlans.Types.TagFilter+    Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration+    Amazonka.AutoScalingPlans.UpdateScalingPlan+    Amazonka.AutoScalingPlans.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-autoscaling-plans-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.AutoScalingPlans-        , Test.AWS.Gen.AutoScalingPlans-        , Test.AWS.AutoScalingPlans.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.AutoScalingPlans+    Test.Amazonka.AutoScalingPlans.Internal+    Test.Amazonka.Gen.AutoScalingPlans -    build-depends:-          amazonka-core == 1.6.1.*-        , amazonka-test == 1.6.1.*-        , amazonka-autoscaling-plans-        , base-        , bytestring-        , tasty-        , tasty-hunit-        , text-        , time-        , unordered-containers+  build-depends:+    , amazonka-autoscaling-plans+    , amazonka-core               >=2.0 && <2.1+    , amazonka-test               >=2.0 && <2.1+    , base+    , bytestring+    , case-insensitive+    , tasty+    , tasty-hunit+    , text+    , time+    , unordered-containers
fixture/CreateScalingPlan.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/autoscaling-plans/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  autoscaling-plans.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/DeleteScalingPlan.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/autoscaling-plans/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  autoscaling-plans.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/DescribeScalingPlanResources.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/autoscaling-plans/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  autoscaling-plans.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/DescribeScalingPlans.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/autoscaling-plans/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  autoscaling-plans.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/GetScalingPlanResourceForecastData.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/autoscaling-plans/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  autoscaling-plans.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/GetScalingPlanResourceForecastDataResponse.proto view
fixture/UpdateScalingPlan.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/autoscaling-plans/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  autoscaling-plans.us-east-1.amazonaws.com   Content-Type:          application/x-www-form-urlencoded; charset=utf-8   X-Amz-Content-SHA256:  abcdef   X-Amz-Date:            20091028T223200Z
+ gen/Amazonka/AutoScalingPlans.hs view
@@ -0,0 +1,237 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module      : Amazonka.AutoScalingPlans+-- 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 @2018-01-06@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- AWS Auto Scaling+--+-- Use AWS Auto Scaling to create scaling plans for your applications to+-- automatically scale your scalable AWS resources.+--+-- __API Summary__+--+-- You can use the AWS Auto Scaling service API to accomplish the following+-- tasks:+--+-- -   Create and manage scaling plans+--+-- -   Define target tracking scaling policies to dynamically scale your+--     resources based on utilization+--+-- -   Scale Amazon EC2 Auto Scaling groups using predictive scaling and+--     dynamic scaling to scale your Amazon EC2 capacity faster+--+-- -   Set minimum and maximum capacity limits+--+-- -   Retrieve information on existing scaling plans+--+-- -   Access current forecast data and historical forecast data for up to+--     56 days previous+--+-- To learn more about AWS Auto Scaling, including information about+-- granting IAM users required permissions for AWS Auto Scaling actions,+-- see the+-- <https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-aws-auto-scaling.html AWS Auto Scaling User Guide>.+module Amazonka.AutoScalingPlans+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    -- $errors++    -- ** ConcurrentUpdateException+    _ConcurrentUpdateException,++    -- ** InternalServiceException+    _InternalServiceException,++    -- ** InvalidNextTokenException+    _InvalidNextTokenException,++    -- ** LimitExceededException+    _LimitExceededException,++    -- ** ObjectNotFoundException+    _ObjectNotFoundException,++    -- ** ValidationException+    _ValidationException,++    -- * Waiters+    -- $waiters++    -- * Operations+    -- $operations++    -- ** CreateScalingPlan+    CreateScalingPlan (CreateScalingPlan'),+    newCreateScalingPlan,+    CreateScalingPlanResponse (CreateScalingPlanResponse'),+    newCreateScalingPlanResponse,++    -- ** DeleteScalingPlan+    DeleteScalingPlan (DeleteScalingPlan'),+    newDeleteScalingPlan,+    DeleteScalingPlanResponse (DeleteScalingPlanResponse'),+    newDeleteScalingPlanResponse,++    -- ** DescribeScalingPlanResources (Paginated)+    DescribeScalingPlanResources (DescribeScalingPlanResources'),+    newDescribeScalingPlanResources,+    DescribeScalingPlanResourcesResponse (DescribeScalingPlanResourcesResponse'),+    newDescribeScalingPlanResourcesResponse,++    -- ** DescribeScalingPlans (Paginated)+    DescribeScalingPlans (DescribeScalingPlans'),+    newDescribeScalingPlans,+    DescribeScalingPlansResponse (DescribeScalingPlansResponse'),+    newDescribeScalingPlansResponse,++    -- ** GetScalingPlanResourceForecastData+    GetScalingPlanResourceForecastData (GetScalingPlanResourceForecastData'),+    newGetScalingPlanResourceForecastData,+    GetScalingPlanResourceForecastDataResponse (GetScalingPlanResourceForecastDataResponse'),+    newGetScalingPlanResourceForecastDataResponse,++    -- ** UpdateScalingPlan+    UpdateScalingPlan (UpdateScalingPlan'),+    newUpdateScalingPlan,+    UpdateScalingPlanResponse (UpdateScalingPlanResponse'),+    newUpdateScalingPlanResponse,++    -- * Types++    -- ** ForecastDataType+    ForecastDataType (..),++    -- ** LoadMetricType+    LoadMetricType (..),++    -- ** MetricStatistic+    MetricStatistic (..),++    -- ** PolicyType+    PolicyType (..),++    -- ** PredictiveScalingMaxCapacityBehavior+    PredictiveScalingMaxCapacityBehavior (..),++    -- ** PredictiveScalingMode+    PredictiveScalingMode (..),++    -- ** ScalableDimension+    ScalableDimension (..),++    -- ** ScalingMetricType+    ScalingMetricType (..),++    -- ** ScalingPlanStatusCode+    ScalingPlanStatusCode (..),++    -- ** ScalingPolicyUpdateBehavior+    ScalingPolicyUpdateBehavior (..),++    -- ** ScalingStatusCode+    ScalingStatusCode (..),++    -- ** ServiceNamespace+    ServiceNamespace (..),++    -- ** ApplicationSource+    ApplicationSource (ApplicationSource'),+    newApplicationSource,++    -- ** CustomizedLoadMetricSpecification+    CustomizedLoadMetricSpecification (CustomizedLoadMetricSpecification'),+    newCustomizedLoadMetricSpecification,++    -- ** CustomizedScalingMetricSpecification+    CustomizedScalingMetricSpecification (CustomizedScalingMetricSpecification'),+    newCustomizedScalingMetricSpecification,++    -- ** Datapoint+    Datapoint (Datapoint'),+    newDatapoint,++    -- ** MetricDimension+    MetricDimension (MetricDimension'),+    newMetricDimension,++    -- ** PredefinedLoadMetricSpecification+    PredefinedLoadMetricSpecification (PredefinedLoadMetricSpecification'),+    newPredefinedLoadMetricSpecification,++    -- ** PredefinedScalingMetricSpecification+    PredefinedScalingMetricSpecification (PredefinedScalingMetricSpecification'),+    newPredefinedScalingMetricSpecification,++    -- ** ScalingInstruction+    ScalingInstruction (ScalingInstruction'),+    newScalingInstruction,++    -- ** ScalingPlan+    ScalingPlan (ScalingPlan'),+    newScalingPlan,++    -- ** ScalingPlanResource+    ScalingPlanResource (ScalingPlanResource'),+    newScalingPlanResource,++    -- ** ScalingPolicy+    ScalingPolicy (ScalingPolicy'),+    newScalingPolicy,++    -- ** TagFilter+    TagFilter (TagFilter'),+    newTagFilter,++    -- ** TargetTrackingConfiguration+    TargetTrackingConfiguration (TargetTrackingConfiguration'),+    newTargetTrackingConfiguration,+  )+where++import Amazonka.AutoScalingPlans.CreateScalingPlan+import Amazonka.AutoScalingPlans.DeleteScalingPlan+import Amazonka.AutoScalingPlans.DescribeScalingPlanResources+import Amazonka.AutoScalingPlans.DescribeScalingPlans+import Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData+import Amazonka.AutoScalingPlans.Lens+import Amazonka.AutoScalingPlans.Types+import Amazonka.AutoScalingPlans.UpdateScalingPlan+import Amazonka.AutoScalingPlans.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 'AutoScalingPlans'.++-- $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/AutoScalingPlans/CreateScalingPlan.hs view
@@ -0,0 +1,244 @@+{-# 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.AutoScalingPlans.CreateScalingPlan+-- 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 a scaling plan.+module Amazonka.AutoScalingPlans.CreateScalingPlan+  ( -- * Creating a Request+    CreateScalingPlan (..),+    newCreateScalingPlan,++    -- * Request Lenses+    createScalingPlan_scalingPlanName,+    createScalingPlan_applicationSource,+    createScalingPlan_scalingInstructions,++    -- * Destructuring the Response+    CreateScalingPlanResponse (..),+    newCreateScalingPlanResponse,++    -- * Response Lenses+    createScalingPlanResponse_httpStatus,+    createScalingPlanResponse_scalingPlanVersion,+  )+where++import Amazonka.AutoScalingPlans.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:/ 'newCreateScalingPlan' smart constructor.+data CreateScalingPlan = CreateScalingPlan'+  { -- | The name of the scaling plan. Names cannot contain vertical bars,+    -- colons, or forward slashes.+    scalingPlanName :: Prelude.Text,+    -- | A CloudFormation stack or set of tags. You can create one scaling plan+    -- per application source.+    --+    -- For more information, see+    -- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html ApplicationSource>+    -- in the /AWS Auto Scaling API Reference/.+    applicationSource :: ApplicationSource,+    -- | The scaling instructions.+    --+    -- For more information, see+    -- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html ScalingInstruction>+    -- in the /AWS Auto Scaling API Reference/.+    scalingInstructions :: [ScalingInstruction]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateScalingPlan' 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:+--+-- 'scalingPlanName', 'createScalingPlan_scalingPlanName' - The name of the scaling plan. Names cannot contain vertical bars,+-- colons, or forward slashes.+--+-- 'applicationSource', 'createScalingPlan_applicationSource' - A CloudFormation stack or set of tags. You can create one scaling plan+-- per application source.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html ApplicationSource>+-- in the /AWS Auto Scaling API Reference/.+--+-- 'scalingInstructions', 'createScalingPlan_scalingInstructions' - The scaling instructions.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html ScalingInstruction>+-- in the /AWS Auto Scaling API Reference/.+newCreateScalingPlan ::+  -- | 'scalingPlanName'+  Prelude.Text ->+  -- | 'applicationSource'+  ApplicationSource ->+  CreateScalingPlan+newCreateScalingPlan+  pScalingPlanName_+  pApplicationSource_ =+    CreateScalingPlan'+      { scalingPlanName =+          pScalingPlanName_,+        applicationSource = pApplicationSource_,+        scalingInstructions = Prelude.mempty+      }++-- | The name of the scaling plan. Names cannot contain vertical bars,+-- colons, or forward slashes.+createScalingPlan_scalingPlanName :: Lens.Lens' CreateScalingPlan Prelude.Text+createScalingPlan_scalingPlanName = Lens.lens (\CreateScalingPlan' {scalingPlanName} -> scalingPlanName) (\s@CreateScalingPlan' {} a -> s {scalingPlanName = a} :: CreateScalingPlan)++-- | A CloudFormation stack or set of tags. You can create one scaling plan+-- per application source.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html ApplicationSource>+-- in the /AWS Auto Scaling API Reference/.+createScalingPlan_applicationSource :: Lens.Lens' CreateScalingPlan ApplicationSource+createScalingPlan_applicationSource = Lens.lens (\CreateScalingPlan' {applicationSource} -> applicationSource) (\s@CreateScalingPlan' {} a -> s {applicationSource = a} :: CreateScalingPlan)++-- | The scaling instructions.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html ScalingInstruction>+-- in the /AWS Auto Scaling API Reference/.+createScalingPlan_scalingInstructions :: Lens.Lens' CreateScalingPlan [ScalingInstruction]+createScalingPlan_scalingInstructions = Lens.lens (\CreateScalingPlan' {scalingInstructions} -> scalingInstructions) (\s@CreateScalingPlan' {} a -> s {scalingInstructions = a} :: CreateScalingPlan) Prelude.. Lens.coerced++instance Core.AWSRequest CreateScalingPlan where+  type+    AWSResponse CreateScalingPlan =+      CreateScalingPlanResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreateScalingPlanResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> (x Data..:> "ScalingPlanVersion")+      )++instance Prelude.Hashable CreateScalingPlan where+  hashWithSalt _salt CreateScalingPlan' {..} =+    _salt+      `Prelude.hashWithSalt` scalingPlanName+      `Prelude.hashWithSalt` applicationSource+      `Prelude.hashWithSalt` scalingInstructions++instance Prelude.NFData CreateScalingPlan where+  rnf CreateScalingPlan' {..} =+    Prelude.rnf scalingPlanName+      `Prelude.seq` Prelude.rnf applicationSource+      `Prelude.seq` Prelude.rnf scalingInstructions++instance Data.ToHeaders CreateScalingPlan where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleScalingPlannerFrontendService.CreateScalingPlan" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CreateScalingPlan where+  toJSON CreateScalingPlan' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ("ScalingPlanName" Data..= scalingPlanName),+            Prelude.Just+              ("ApplicationSource" Data..= applicationSource),+            Prelude.Just+              ("ScalingInstructions" Data..= scalingInstructions)+          ]+      )++instance Data.ToPath CreateScalingPlan where+  toPath = Prelude.const "/"++instance Data.ToQuery CreateScalingPlan where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateScalingPlanResponse' smart constructor.+data CreateScalingPlanResponse = CreateScalingPlanResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | The version number of the scaling plan. This value is always @1@.+    -- Currently, you cannot have multiple scaling plan versions.+    scalingPlanVersion :: Prelude.Integer+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateScalingPlanResponse' 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', 'createScalingPlanResponse_httpStatus' - The response's http status code.+--+-- 'scalingPlanVersion', 'createScalingPlanResponse_scalingPlanVersion' - The version number of the scaling plan. This value is always @1@.+-- Currently, you cannot have multiple scaling plan versions.+newCreateScalingPlanResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  -- | 'scalingPlanVersion'+  Prelude.Integer ->+  CreateScalingPlanResponse+newCreateScalingPlanResponse+  pHttpStatus_+  pScalingPlanVersion_ =+    CreateScalingPlanResponse'+      { httpStatus =+          pHttpStatus_,+        scalingPlanVersion = pScalingPlanVersion_+      }++-- | The response's http status code.+createScalingPlanResponse_httpStatus :: Lens.Lens' CreateScalingPlanResponse Prelude.Int+createScalingPlanResponse_httpStatus = Lens.lens (\CreateScalingPlanResponse' {httpStatus} -> httpStatus) (\s@CreateScalingPlanResponse' {} a -> s {httpStatus = a} :: CreateScalingPlanResponse)++-- | The version number of the scaling plan. This value is always @1@.+-- Currently, you cannot have multiple scaling plan versions.+createScalingPlanResponse_scalingPlanVersion :: Lens.Lens' CreateScalingPlanResponse Prelude.Integer+createScalingPlanResponse_scalingPlanVersion = Lens.lens (\CreateScalingPlanResponse' {scalingPlanVersion} -> scalingPlanVersion) (\s@CreateScalingPlanResponse' {} a -> s {scalingPlanVersion = a} :: CreateScalingPlanResponse)++instance Prelude.NFData CreateScalingPlanResponse where+  rnf CreateScalingPlanResponse' {..} =+    Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf scalingPlanVersion
+ gen/Amazonka/AutoScalingPlans/DeleteScalingPlan.hs view
@@ -0,0 +1,190 @@+{-# 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.AutoScalingPlans.DeleteScalingPlan+-- 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 plan.+--+-- Deleting a scaling plan deletes the underlying ScalingInstruction for+-- all of the scalable resources that are covered by the plan.+--+-- If the plan has launched resources or has scaling activities in+-- progress, you must delete those resources separately.+module Amazonka.AutoScalingPlans.DeleteScalingPlan+  ( -- * Creating a Request+    DeleteScalingPlan (..),+    newDeleteScalingPlan,++    -- * Request Lenses+    deleteScalingPlan_scalingPlanName,+    deleteScalingPlan_scalingPlanVersion,++    -- * Destructuring the Response+    DeleteScalingPlanResponse (..),+    newDeleteScalingPlanResponse,++    -- * Response Lenses+    deleteScalingPlanResponse_httpStatus,+  )+where++import Amazonka.AutoScalingPlans.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:/ 'newDeleteScalingPlan' smart constructor.+data DeleteScalingPlan = DeleteScalingPlan'+  { -- | The name of the scaling plan.+    scalingPlanName :: Prelude.Text,+    -- | The version number of the scaling plan. Currently, the only valid value+    -- is @1@.+    scalingPlanVersion :: Prelude.Integer+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteScalingPlan' 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:+--+-- 'scalingPlanName', 'deleteScalingPlan_scalingPlanName' - The name of the scaling plan.+--+-- 'scalingPlanVersion', 'deleteScalingPlan_scalingPlanVersion' - The version number of the scaling plan. Currently, the only valid value+-- is @1@.+newDeleteScalingPlan ::+  -- | 'scalingPlanName'+  Prelude.Text ->+  -- | 'scalingPlanVersion'+  Prelude.Integer ->+  DeleteScalingPlan+newDeleteScalingPlan+  pScalingPlanName_+  pScalingPlanVersion_ =+    DeleteScalingPlan'+      { scalingPlanName =+          pScalingPlanName_,+        scalingPlanVersion = pScalingPlanVersion_+      }++-- | The name of the scaling plan.+deleteScalingPlan_scalingPlanName :: Lens.Lens' DeleteScalingPlan Prelude.Text+deleteScalingPlan_scalingPlanName = Lens.lens (\DeleteScalingPlan' {scalingPlanName} -> scalingPlanName) (\s@DeleteScalingPlan' {} a -> s {scalingPlanName = a} :: DeleteScalingPlan)++-- | The version number of the scaling plan. Currently, the only valid value+-- is @1@.+deleteScalingPlan_scalingPlanVersion :: Lens.Lens' DeleteScalingPlan Prelude.Integer+deleteScalingPlan_scalingPlanVersion = Lens.lens (\DeleteScalingPlan' {scalingPlanVersion} -> scalingPlanVersion) (\s@DeleteScalingPlan' {} a -> s {scalingPlanVersion = a} :: DeleteScalingPlan)++instance Core.AWSRequest DeleteScalingPlan where+  type+    AWSResponse DeleteScalingPlan =+      DeleteScalingPlanResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          DeleteScalingPlanResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeleteScalingPlan where+  hashWithSalt _salt DeleteScalingPlan' {..} =+    _salt+      `Prelude.hashWithSalt` scalingPlanName+      `Prelude.hashWithSalt` scalingPlanVersion++instance Prelude.NFData DeleteScalingPlan where+  rnf DeleteScalingPlan' {..} =+    Prelude.rnf scalingPlanName+      `Prelude.seq` Prelude.rnf scalingPlanVersion++instance Data.ToHeaders DeleteScalingPlan where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleScalingPlannerFrontendService.DeleteScalingPlan" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteScalingPlan where+  toJSON DeleteScalingPlan' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ("ScalingPlanName" Data..= scalingPlanName),+            Prelude.Just+              ("ScalingPlanVersion" Data..= scalingPlanVersion)+          ]+      )++instance Data.ToPath DeleteScalingPlan where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteScalingPlan where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteScalingPlanResponse' smart constructor.+data DeleteScalingPlanResponse = DeleteScalingPlanResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteScalingPlanResponse' 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', 'deleteScalingPlanResponse_httpStatus' - The response's http status code.+newDeleteScalingPlanResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeleteScalingPlanResponse+newDeleteScalingPlanResponse pHttpStatus_ =+  DeleteScalingPlanResponse'+    { httpStatus =+        pHttpStatus_+    }++-- | The response's http status code.+deleteScalingPlanResponse_httpStatus :: Lens.Lens' DeleteScalingPlanResponse Prelude.Int+deleteScalingPlanResponse_httpStatus = Lens.lens (\DeleteScalingPlanResponse' {httpStatus} -> httpStatus) (\s@DeleteScalingPlanResponse' {} a -> s {httpStatus = a} :: DeleteScalingPlanResponse)++instance Prelude.NFData DeleteScalingPlanResponse where+  rnf DeleteScalingPlanResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/AutoScalingPlans/DescribeScalingPlanResources.hs view
@@ -0,0 +1,274 @@+{-# 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.AutoScalingPlans.DescribeScalingPlanResources+-- 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 scalable resources in the specified scaling plan.+--+-- This operation returns paginated results.+module Amazonka.AutoScalingPlans.DescribeScalingPlanResources+  ( -- * Creating a Request+    DescribeScalingPlanResources (..),+    newDescribeScalingPlanResources,++    -- * Request Lenses+    describeScalingPlanResources_maxResults,+    describeScalingPlanResources_nextToken,+    describeScalingPlanResources_scalingPlanName,+    describeScalingPlanResources_scalingPlanVersion,++    -- * Destructuring the Response+    DescribeScalingPlanResourcesResponse (..),+    newDescribeScalingPlanResourcesResponse,++    -- * Response Lenses+    describeScalingPlanResourcesResponse_nextToken,+    describeScalingPlanResourcesResponse_scalingPlanResources,+    describeScalingPlanResourcesResponse_httpStatus,+  )+where++import Amazonka.AutoScalingPlans.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:/ 'newDescribeScalingPlanResources' smart constructor.+data DescribeScalingPlanResources = DescribeScalingPlanResources'+  { -- | The maximum number of scalable resources to return. The value must be+    -- between 1 and 50. The default value is 50.+    maxResults :: Prelude.Maybe Prelude.Int,+    -- | The token for the next set of results.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The name of the scaling plan.+    scalingPlanName :: Prelude.Text,+    -- | The version number of the scaling plan. Currently, the only valid value+    -- is @1@.+    scalingPlanVersion :: Prelude.Integer+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalingPlanResources' 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', 'describeScalingPlanResources_maxResults' - The maximum number of scalable resources to return. The value must be+-- between 1 and 50. The default value is 50.+--+-- 'nextToken', 'describeScalingPlanResources_nextToken' - The token for the next set of results.+--+-- 'scalingPlanName', 'describeScalingPlanResources_scalingPlanName' - The name of the scaling plan.+--+-- 'scalingPlanVersion', 'describeScalingPlanResources_scalingPlanVersion' - The version number of the scaling plan. Currently, the only valid value+-- is @1@.+newDescribeScalingPlanResources ::+  -- | 'scalingPlanName'+  Prelude.Text ->+  -- | 'scalingPlanVersion'+  Prelude.Integer ->+  DescribeScalingPlanResources+newDescribeScalingPlanResources+  pScalingPlanName_+  pScalingPlanVersion_ =+    DescribeScalingPlanResources'+      { maxResults =+          Prelude.Nothing,+        nextToken = Prelude.Nothing,+        scalingPlanName = pScalingPlanName_,+        scalingPlanVersion = pScalingPlanVersion_+      }++-- | The maximum number of scalable resources to return. The value must be+-- between 1 and 50. The default value is 50.+describeScalingPlanResources_maxResults :: Lens.Lens' DescribeScalingPlanResources (Prelude.Maybe Prelude.Int)+describeScalingPlanResources_maxResults = Lens.lens (\DescribeScalingPlanResources' {maxResults} -> maxResults) (\s@DescribeScalingPlanResources' {} a -> s {maxResults = a} :: DescribeScalingPlanResources)++-- | The token for the next set of results.+describeScalingPlanResources_nextToken :: Lens.Lens' DescribeScalingPlanResources (Prelude.Maybe Prelude.Text)+describeScalingPlanResources_nextToken = Lens.lens (\DescribeScalingPlanResources' {nextToken} -> nextToken) (\s@DescribeScalingPlanResources' {} a -> s {nextToken = a} :: DescribeScalingPlanResources)++-- | The name of the scaling plan.+describeScalingPlanResources_scalingPlanName :: Lens.Lens' DescribeScalingPlanResources Prelude.Text+describeScalingPlanResources_scalingPlanName = Lens.lens (\DescribeScalingPlanResources' {scalingPlanName} -> scalingPlanName) (\s@DescribeScalingPlanResources' {} a -> s {scalingPlanName = a} :: DescribeScalingPlanResources)++-- | The version number of the scaling plan. Currently, the only valid value+-- is @1@.+describeScalingPlanResources_scalingPlanVersion :: Lens.Lens' DescribeScalingPlanResources Prelude.Integer+describeScalingPlanResources_scalingPlanVersion = Lens.lens (\DescribeScalingPlanResources' {scalingPlanVersion} -> scalingPlanVersion) (\s@DescribeScalingPlanResources' {} a -> s {scalingPlanVersion = a} :: DescribeScalingPlanResources)++instance Core.AWSPager DescribeScalingPlanResources where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeScalingPlanResourcesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeScalingPlanResourcesResponse_scalingPlanResources+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeScalingPlanResources_nextToken+          Lens..~ rs+          Lens.^? describeScalingPlanResourcesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeScalingPlanResources where+  type+    AWSResponse DescribeScalingPlanResources =+      DescribeScalingPlanResourcesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeScalingPlanResourcesResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> ( x+                            Data..?> "ScalingPlanResources"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance+  Prelude.Hashable+    DescribeScalingPlanResources+  where+  hashWithSalt _salt DescribeScalingPlanResources' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` scalingPlanName+      `Prelude.hashWithSalt` scalingPlanVersion++instance Prelude.NFData DescribeScalingPlanResources where+  rnf DescribeScalingPlanResources' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf scalingPlanName+      `Prelude.seq` Prelude.rnf scalingPlanVersion++instance Data.ToHeaders DescribeScalingPlanResources where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleScalingPlannerFrontendService.DescribeScalingPlanResources" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeScalingPlanResources where+  toJSON DescribeScalingPlanResources' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just+              ("ScalingPlanName" Data..= scalingPlanName),+            Prelude.Just+              ("ScalingPlanVersion" Data..= scalingPlanVersion)+          ]+      )++instance Data.ToPath DescribeScalingPlanResources where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeScalingPlanResources where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeScalingPlanResourcesResponse' smart constructor.+data DescribeScalingPlanResourcesResponse = DescribeScalingPlanResourcesResponse'+  { -- | 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 scalable resources.+    scalingPlanResources :: Prelude.Maybe [ScalingPlanResource],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalingPlanResourcesResponse' 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', 'describeScalingPlanResourcesResponse_nextToken' - The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+--+-- 'scalingPlanResources', 'describeScalingPlanResourcesResponse_scalingPlanResources' - Information about the scalable resources.+--+-- 'httpStatus', 'describeScalingPlanResourcesResponse_httpStatus' - The response's http status code.+newDescribeScalingPlanResourcesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeScalingPlanResourcesResponse+newDescribeScalingPlanResourcesResponse pHttpStatus_ =+  DescribeScalingPlanResourcesResponse'+    { nextToken =+        Prelude.Nothing,+      scalingPlanResources =+        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.+describeScalingPlanResourcesResponse_nextToken :: Lens.Lens' DescribeScalingPlanResourcesResponse (Prelude.Maybe Prelude.Text)+describeScalingPlanResourcesResponse_nextToken = Lens.lens (\DescribeScalingPlanResourcesResponse' {nextToken} -> nextToken) (\s@DescribeScalingPlanResourcesResponse' {} a -> s {nextToken = a} :: DescribeScalingPlanResourcesResponse)++-- | Information about the scalable resources.+describeScalingPlanResourcesResponse_scalingPlanResources :: Lens.Lens' DescribeScalingPlanResourcesResponse (Prelude.Maybe [ScalingPlanResource])+describeScalingPlanResourcesResponse_scalingPlanResources = Lens.lens (\DescribeScalingPlanResourcesResponse' {scalingPlanResources} -> scalingPlanResources) (\s@DescribeScalingPlanResourcesResponse' {} a -> s {scalingPlanResources = a} :: DescribeScalingPlanResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeScalingPlanResourcesResponse_httpStatus :: Lens.Lens' DescribeScalingPlanResourcesResponse Prelude.Int+describeScalingPlanResourcesResponse_httpStatus = Lens.lens (\DescribeScalingPlanResourcesResponse' {httpStatus} -> httpStatus) (\s@DescribeScalingPlanResourcesResponse' {} a -> s {httpStatus = a} :: DescribeScalingPlanResourcesResponse)++instance+  Prelude.NFData+    DescribeScalingPlanResourcesResponse+  where+  rnf DescribeScalingPlanResourcesResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf scalingPlanResources+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AutoScalingPlans/DescribeScalingPlans.hs view
@@ -0,0 +1,287 @@+{-# 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.AutoScalingPlans.DescribeScalingPlans+-- 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 one or more of your scaling plans.+--+-- This operation returns paginated results.+module Amazonka.AutoScalingPlans.DescribeScalingPlans+  ( -- * Creating a Request+    DescribeScalingPlans (..),+    newDescribeScalingPlans,++    -- * Request Lenses+    describeScalingPlans_applicationSources,+    describeScalingPlans_maxResults,+    describeScalingPlans_nextToken,+    describeScalingPlans_scalingPlanNames,+    describeScalingPlans_scalingPlanVersion,++    -- * Destructuring the Response+    DescribeScalingPlansResponse (..),+    newDescribeScalingPlansResponse,++    -- * Response Lenses+    describeScalingPlansResponse_nextToken,+    describeScalingPlansResponse_scalingPlans,+    describeScalingPlansResponse_httpStatus,+  )+where++import Amazonka.AutoScalingPlans.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:/ 'newDescribeScalingPlans' smart constructor.+data DescribeScalingPlans = DescribeScalingPlans'+  { -- | The sources for the applications (up to 10). If you specify scaling plan+    -- names, you cannot specify application sources.+    applicationSources :: Prelude.Maybe [ApplicationSource],+    -- | The maximum number of scalable resources to return. This value can be+    -- between 1 and 50. The default value is 50.+    maxResults :: Prelude.Maybe Prelude.Int,+    -- | The token for the next set of results.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The names of the scaling plans (up to 10). If you specify application+    -- sources, you cannot specify scaling plan names.+    scalingPlanNames :: Prelude.Maybe [Prelude.Text],+    -- | The version number of the scaling plan. Currently, the only valid value+    -- is @1@.+    --+    -- If you specify a scaling plan version, you must also specify a scaling+    -- plan name.+    scalingPlanVersion :: Prelude.Maybe Prelude.Integer+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalingPlans' 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:+--+-- 'applicationSources', 'describeScalingPlans_applicationSources' - The sources for the applications (up to 10). If you specify scaling plan+-- names, you cannot specify application sources.+--+-- 'maxResults', 'describeScalingPlans_maxResults' - The maximum number of scalable resources to return. This value can be+-- between 1 and 50. The default value is 50.+--+-- 'nextToken', 'describeScalingPlans_nextToken' - The token for the next set of results.+--+-- 'scalingPlanNames', 'describeScalingPlans_scalingPlanNames' - The names of the scaling plans (up to 10). If you specify application+-- sources, you cannot specify scaling plan names.+--+-- 'scalingPlanVersion', 'describeScalingPlans_scalingPlanVersion' - The version number of the scaling plan. Currently, the only valid value+-- is @1@.+--+-- If you specify a scaling plan version, you must also specify a scaling+-- plan name.+newDescribeScalingPlans ::+  DescribeScalingPlans+newDescribeScalingPlans =+  DescribeScalingPlans'+    { applicationSources =+        Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      scalingPlanNames = Prelude.Nothing,+      scalingPlanVersion = Prelude.Nothing+    }++-- | The sources for the applications (up to 10). If you specify scaling plan+-- names, you cannot specify application sources.+describeScalingPlans_applicationSources :: Lens.Lens' DescribeScalingPlans (Prelude.Maybe [ApplicationSource])+describeScalingPlans_applicationSources = Lens.lens (\DescribeScalingPlans' {applicationSources} -> applicationSources) (\s@DescribeScalingPlans' {} a -> s {applicationSources = a} :: DescribeScalingPlans) Prelude.. Lens.mapping Lens.coerced++-- | The maximum number of scalable resources to return. This value can be+-- between 1 and 50. The default value is 50.+describeScalingPlans_maxResults :: Lens.Lens' DescribeScalingPlans (Prelude.Maybe Prelude.Int)+describeScalingPlans_maxResults = Lens.lens (\DescribeScalingPlans' {maxResults} -> maxResults) (\s@DescribeScalingPlans' {} a -> s {maxResults = a} :: DescribeScalingPlans)++-- | The token for the next set of results.+describeScalingPlans_nextToken :: Lens.Lens' DescribeScalingPlans (Prelude.Maybe Prelude.Text)+describeScalingPlans_nextToken = Lens.lens (\DescribeScalingPlans' {nextToken} -> nextToken) (\s@DescribeScalingPlans' {} a -> s {nextToken = a} :: DescribeScalingPlans)++-- | The names of the scaling plans (up to 10). If you specify application+-- sources, you cannot specify scaling plan names.+describeScalingPlans_scalingPlanNames :: Lens.Lens' DescribeScalingPlans (Prelude.Maybe [Prelude.Text])+describeScalingPlans_scalingPlanNames = Lens.lens (\DescribeScalingPlans' {scalingPlanNames} -> scalingPlanNames) (\s@DescribeScalingPlans' {} a -> s {scalingPlanNames = a} :: DescribeScalingPlans) Prelude.. Lens.mapping Lens.coerced++-- | The version number of the scaling plan. Currently, the only valid value+-- is @1@.+--+-- If you specify a scaling plan version, you must also specify a scaling+-- plan name.+describeScalingPlans_scalingPlanVersion :: Lens.Lens' DescribeScalingPlans (Prelude.Maybe Prelude.Integer)+describeScalingPlans_scalingPlanVersion = Lens.lens (\DescribeScalingPlans' {scalingPlanVersion} -> scalingPlanVersion) (\s@DescribeScalingPlans' {} a -> s {scalingPlanVersion = a} :: DescribeScalingPlans)++instance Core.AWSPager DescribeScalingPlans where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeScalingPlansResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeScalingPlansResponse_scalingPlans+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeScalingPlans_nextToken+          Lens..~ rs+          Lens.^? describeScalingPlansResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeScalingPlans where+  type+    AWSResponse DescribeScalingPlans =+      DescribeScalingPlansResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeScalingPlansResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (x Data..?> "ScalingPlans" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeScalingPlans where+  hashWithSalt _salt DescribeScalingPlans' {..} =+    _salt+      `Prelude.hashWithSalt` applicationSources+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` scalingPlanNames+      `Prelude.hashWithSalt` scalingPlanVersion++instance Prelude.NFData DescribeScalingPlans where+  rnf DescribeScalingPlans' {..} =+    Prelude.rnf applicationSources+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf scalingPlanNames+      `Prelude.seq` Prelude.rnf scalingPlanVersion++instance Data.ToHeaders DescribeScalingPlans where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleScalingPlannerFrontendService.DescribeScalingPlans" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeScalingPlans where+  toJSON DescribeScalingPlans' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("ApplicationSources" Data..=)+              Prelude.<$> applicationSources,+            ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            ("ScalingPlanNames" Data..=)+              Prelude.<$> scalingPlanNames,+            ("ScalingPlanVersion" Data..=)+              Prelude.<$> scalingPlanVersion+          ]+      )++instance Data.ToPath DescribeScalingPlans where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeScalingPlans where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeScalingPlansResponse' smart constructor.+data DescribeScalingPlansResponse = DescribeScalingPlansResponse'+  { -- | 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 plans.+    scalingPlans :: Prelude.Maybe [ScalingPlan],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeScalingPlansResponse' 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', 'describeScalingPlansResponse_nextToken' - The token required to get the next set of results. This value is @null@+-- if there are no more results to return.+--+-- 'scalingPlans', 'describeScalingPlansResponse_scalingPlans' - Information about the scaling plans.+--+-- 'httpStatus', 'describeScalingPlansResponse_httpStatus' - The response's http status code.+newDescribeScalingPlansResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeScalingPlansResponse+newDescribeScalingPlansResponse pHttpStatus_ =+  DescribeScalingPlansResponse'+    { nextToken =+        Prelude.Nothing,+      scalingPlans = 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.+describeScalingPlansResponse_nextToken :: Lens.Lens' DescribeScalingPlansResponse (Prelude.Maybe Prelude.Text)+describeScalingPlansResponse_nextToken = Lens.lens (\DescribeScalingPlansResponse' {nextToken} -> nextToken) (\s@DescribeScalingPlansResponse' {} a -> s {nextToken = a} :: DescribeScalingPlansResponse)++-- | Information about the scaling plans.+describeScalingPlansResponse_scalingPlans :: Lens.Lens' DescribeScalingPlansResponse (Prelude.Maybe [ScalingPlan])+describeScalingPlansResponse_scalingPlans = Lens.lens (\DescribeScalingPlansResponse' {scalingPlans} -> scalingPlans) (\s@DescribeScalingPlansResponse' {} a -> s {scalingPlans = a} :: DescribeScalingPlansResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeScalingPlansResponse_httpStatus :: Lens.Lens' DescribeScalingPlansResponse Prelude.Int+describeScalingPlansResponse_httpStatus = Lens.lens (\DescribeScalingPlansResponse' {httpStatus} -> httpStatus) (\s@DescribeScalingPlansResponse' {} a -> s {httpStatus = a} :: DescribeScalingPlansResponse)++instance Prelude.NFData DescribeScalingPlansResponse where+  rnf DescribeScalingPlansResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf scalingPlans+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/AutoScalingPlans/GetScalingPlanResourceForecastData.hs view
@@ -0,0 +1,400 @@+{-# 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.AutoScalingPlans.GetScalingPlanResourceForecastData+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves the forecast data for a scalable resource.+--+-- Capacity forecasts are represented as predicted values, or data points,+-- that are calculated using historical data points from a specified+-- CloudWatch load metric. Data points are available for up to 56 days.+module Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData+  ( -- * Creating a Request+    GetScalingPlanResourceForecastData (..),+    newGetScalingPlanResourceForecastData,++    -- * Request Lenses+    getScalingPlanResourceForecastData_scalingPlanName,+    getScalingPlanResourceForecastData_scalingPlanVersion,+    getScalingPlanResourceForecastData_serviceNamespace,+    getScalingPlanResourceForecastData_resourceId,+    getScalingPlanResourceForecastData_scalableDimension,+    getScalingPlanResourceForecastData_forecastDataType,+    getScalingPlanResourceForecastData_startTime,+    getScalingPlanResourceForecastData_endTime,++    -- * Destructuring the Response+    GetScalingPlanResourceForecastDataResponse (..),+    newGetScalingPlanResourceForecastDataResponse,++    -- * Response Lenses+    getScalingPlanResourceForecastDataResponse_httpStatus,+    getScalingPlanResourceForecastDataResponse_datapoints,+  )+where++import Amazonka.AutoScalingPlans.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:/ 'newGetScalingPlanResourceForecastData' smart constructor.+data GetScalingPlanResourceForecastData = GetScalingPlanResourceForecastData'+  { -- | The name of the scaling plan.+    scalingPlanName :: Prelude.Text,+    -- | The version number of the scaling plan. Currently, the only valid value+    -- is @1@.+    scalingPlanVersion :: Prelude.Integer,+    -- | The namespace of the AWS service. The only valid value is @autoscaling@.+    serviceNamespace :: ServiceNamespace,+    -- | The ID of the resource. This string consists of a prefix+    -- (@autoScalingGroup@) followed by the name of a specified Auto Scaling+    -- group (@my-asg@). Example: @autoScalingGroup\/my-asg@.+    resourceId :: Prelude.Text,+    -- | The scalable dimension for the resource. The only valid value is+    -- @autoscaling:autoScalingGroup:DesiredCapacity@.+    scalableDimension :: ScalableDimension,+    -- | The type of forecast data to get.+    --+    -- -   @LoadForecast@: The load metric forecast.+    --+    -- -   @CapacityForecast@: The capacity forecast.+    --+    -- -   @ScheduledActionMinCapacity@: The minimum capacity for each+    --     scheduled scaling action. This data is calculated as the larger of+    --     two values: the capacity forecast or the minimum capacity in the+    --     scaling instruction.+    --+    -- -   @ScheduledActionMaxCapacity@: The maximum capacity for each+    --     scheduled scaling action. The calculation used is determined by the+    --     predictive scaling maximum capacity behavior setting in the scaling+    --     instruction.+    forecastDataType :: ForecastDataType,+    -- | The inclusive start time of the time range for the forecast data to get.+    -- The date and time can be at most 56 days before the current date and+    -- time.+    startTime :: Data.POSIX,+    -- | The exclusive end time of the time range for the forecast data to get.+    -- The maximum time duration between the start and end time is seven days.+    --+    -- Although this parameter can accept a date and time that is more than two+    -- days in the future, the availability of forecast data has limits. AWS+    -- Auto Scaling only issues forecasts for periods of two days in advance.+    endTime :: Data.POSIX+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetScalingPlanResourceForecastData' 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:+--+-- 'scalingPlanName', 'getScalingPlanResourceForecastData_scalingPlanName' - The name of the scaling plan.+--+-- 'scalingPlanVersion', 'getScalingPlanResourceForecastData_scalingPlanVersion' - The version number of the scaling plan. Currently, the only valid value+-- is @1@.+--+-- 'serviceNamespace', 'getScalingPlanResourceForecastData_serviceNamespace' - The namespace of the AWS service. The only valid value is @autoscaling@.+--+-- 'resourceId', 'getScalingPlanResourceForecastData_resourceId' - The ID of the resource. This string consists of a prefix+-- (@autoScalingGroup@) followed by the name of a specified Auto Scaling+-- group (@my-asg@). Example: @autoScalingGroup\/my-asg@.+--+-- 'scalableDimension', 'getScalingPlanResourceForecastData_scalableDimension' - The scalable dimension for the resource. The only valid value is+-- @autoscaling:autoScalingGroup:DesiredCapacity@.+--+-- 'forecastDataType', 'getScalingPlanResourceForecastData_forecastDataType' - The type of forecast data to get.+--+-- -   @LoadForecast@: The load metric forecast.+--+-- -   @CapacityForecast@: The capacity forecast.+--+-- -   @ScheduledActionMinCapacity@: The minimum capacity for each+--     scheduled scaling action. This data is calculated as the larger of+--     two values: the capacity forecast or the minimum capacity in the+--     scaling instruction.+--+-- -   @ScheduledActionMaxCapacity@: The maximum capacity for each+--     scheduled scaling action. The calculation used is determined by the+--     predictive scaling maximum capacity behavior setting in the scaling+--     instruction.+--+-- 'startTime', 'getScalingPlanResourceForecastData_startTime' - The inclusive start time of the time range for the forecast data to get.+-- The date and time can be at most 56 days before the current date and+-- time.+--+-- 'endTime', 'getScalingPlanResourceForecastData_endTime' - The exclusive end time of the time range for the forecast data to get.+-- The maximum time duration between the start and end time is seven days.+--+-- Although this parameter can accept a date and time that is more than two+-- days in the future, the availability of forecast data has limits. AWS+-- Auto Scaling only issues forecasts for periods of two days in advance.+newGetScalingPlanResourceForecastData ::+  -- | 'scalingPlanName'+  Prelude.Text ->+  -- | 'scalingPlanVersion'+  Prelude.Integer ->+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  -- | 'forecastDataType'+  ForecastDataType ->+  -- | 'startTime'+  Prelude.UTCTime ->+  -- | 'endTime'+  Prelude.UTCTime ->+  GetScalingPlanResourceForecastData+newGetScalingPlanResourceForecastData+  pScalingPlanName_+  pScalingPlanVersion_+  pServiceNamespace_+  pResourceId_+  pScalableDimension_+  pForecastDataType_+  pStartTime_+  pEndTime_ =+    GetScalingPlanResourceForecastData'+      { scalingPlanName =+          pScalingPlanName_,+        scalingPlanVersion =+          pScalingPlanVersion_,+        serviceNamespace = pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_,+        forecastDataType = pForecastDataType_,+        startTime =+          Data._Time Lens.# pStartTime_,+        endTime = Data._Time Lens.# pEndTime_+      }++-- | The name of the scaling plan.+getScalingPlanResourceForecastData_scalingPlanName :: Lens.Lens' GetScalingPlanResourceForecastData Prelude.Text+getScalingPlanResourceForecastData_scalingPlanName = Lens.lens (\GetScalingPlanResourceForecastData' {scalingPlanName} -> scalingPlanName) (\s@GetScalingPlanResourceForecastData' {} a -> s {scalingPlanName = a} :: GetScalingPlanResourceForecastData)++-- | The version number of the scaling plan. Currently, the only valid value+-- is @1@.+getScalingPlanResourceForecastData_scalingPlanVersion :: Lens.Lens' GetScalingPlanResourceForecastData Prelude.Integer+getScalingPlanResourceForecastData_scalingPlanVersion = Lens.lens (\GetScalingPlanResourceForecastData' {scalingPlanVersion} -> scalingPlanVersion) (\s@GetScalingPlanResourceForecastData' {} a -> s {scalingPlanVersion = a} :: GetScalingPlanResourceForecastData)++-- | The namespace of the AWS service. The only valid value is @autoscaling@.+getScalingPlanResourceForecastData_serviceNamespace :: Lens.Lens' GetScalingPlanResourceForecastData ServiceNamespace+getScalingPlanResourceForecastData_serviceNamespace = Lens.lens (\GetScalingPlanResourceForecastData' {serviceNamespace} -> serviceNamespace) (\s@GetScalingPlanResourceForecastData' {} a -> s {serviceNamespace = a} :: GetScalingPlanResourceForecastData)++-- | The ID of the resource. This string consists of a prefix+-- (@autoScalingGroup@) followed by the name of a specified Auto Scaling+-- group (@my-asg@). Example: @autoScalingGroup\/my-asg@.+getScalingPlanResourceForecastData_resourceId :: Lens.Lens' GetScalingPlanResourceForecastData Prelude.Text+getScalingPlanResourceForecastData_resourceId = Lens.lens (\GetScalingPlanResourceForecastData' {resourceId} -> resourceId) (\s@GetScalingPlanResourceForecastData' {} a -> s {resourceId = a} :: GetScalingPlanResourceForecastData)++-- | The scalable dimension for the resource. The only valid value is+-- @autoscaling:autoScalingGroup:DesiredCapacity@.+getScalingPlanResourceForecastData_scalableDimension :: Lens.Lens' GetScalingPlanResourceForecastData ScalableDimension+getScalingPlanResourceForecastData_scalableDimension = Lens.lens (\GetScalingPlanResourceForecastData' {scalableDimension} -> scalableDimension) (\s@GetScalingPlanResourceForecastData' {} a -> s {scalableDimension = a} :: GetScalingPlanResourceForecastData)++-- | The type of forecast data to get.+--+-- -   @LoadForecast@: The load metric forecast.+--+-- -   @CapacityForecast@: The capacity forecast.+--+-- -   @ScheduledActionMinCapacity@: The minimum capacity for each+--     scheduled scaling action. This data is calculated as the larger of+--     two values: the capacity forecast or the minimum capacity in the+--     scaling instruction.+--+-- -   @ScheduledActionMaxCapacity@: The maximum capacity for each+--     scheduled scaling action. The calculation used is determined by the+--     predictive scaling maximum capacity behavior setting in the scaling+--     instruction.+getScalingPlanResourceForecastData_forecastDataType :: Lens.Lens' GetScalingPlanResourceForecastData ForecastDataType+getScalingPlanResourceForecastData_forecastDataType = Lens.lens (\GetScalingPlanResourceForecastData' {forecastDataType} -> forecastDataType) (\s@GetScalingPlanResourceForecastData' {} a -> s {forecastDataType = a} :: GetScalingPlanResourceForecastData)++-- | The inclusive start time of the time range for the forecast data to get.+-- The date and time can be at most 56 days before the current date and+-- time.+getScalingPlanResourceForecastData_startTime :: Lens.Lens' GetScalingPlanResourceForecastData Prelude.UTCTime+getScalingPlanResourceForecastData_startTime = Lens.lens (\GetScalingPlanResourceForecastData' {startTime} -> startTime) (\s@GetScalingPlanResourceForecastData' {} a -> s {startTime = a} :: GetScalingPlanResourceForecastData) Prelude.. Data._Time++-- | The exclusive end time of the time range for the forecast data to get.+-- The maximum time duration between the start and end time is seven days.+--+-- Although this parameter can accept a date and time that is more than two+-- days in the future, the availability of forecast data has limits. AWS+-- Auto Scaling only issues forecasts for periods of two days in advance.+getScalingPlanResourceForecastData_endTime :: Lens.Lens' GetScalingPlanResourceForecastData Prelude.UTCTime+getScalingPlanResourceForecastData_endTime = Lens.lens (\GetScalingPlanResourceForecastData' {endTime} -> endTime) (\s@GetScalingPlanResourceForecastData' {} a -> s {endTime = a} :: GetScalingPlanResourceForecastData) Prelude.. Data._Time++instance+  Core.AWSRequest+    GetScalingPlanResourceForecastData+  where+  type+    AWSResponse GetScalingPlanResourceForecastData =+      GetScalingPlanResourceForecastDataResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          GetScalingPlanResourceForecastDataResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> (x Data..?> "Datapoints" Core..!@ Prelude.mempty)+      )++instance+  Prelude.Hashable+    GetScalingPlanResourceForecastData+  where+  hashWithSalt+    _salt+    GetScalingPlanResourceForecastData' {..} =+      _salt+        `Prelude.hashWithSalt` scalingPlanName+        `Prelude.hashWithSalt` scalingPlanVersion+        `Prelude.hashWithSalt` serviceNamespace+        `Prelude.hashWithSalt` resourceId+        `Prelude.hashWithSalt` scalableDimension+        `Prelude.hashWithSalt` forecastDataType+        `Prelude.hashWithSalt` startTime+        `Prelude.hashWithSalt` endTime++instance+  Prelude.NFData+    GetScalingPlanResourceForecastData+  where+  rnf GetScalingPlanResourceForecastData' {..} =+    Prelude.rnf scalingPlanName+      `Prelude.seq` Prelude.rnf scalingPlanVersion+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf forecastDataType+      `Prelude.seq` Prelude.rnf startTime+      `Prelude.seq` Prelude.rnf endTime++instance+  Data.ToHeaders+    GetScalingPlanResourceForecastData+  where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleScalingPlannerFrontendService.GetScalingPlanResourceForecastData" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance+  Data.ToJSON+    GetScalingPlanResourceForecastData+  where+  toJSON GetScalingPlanResourceForecastData' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ("ScalingPlanName" Data..= scalingPlanName),+            Prelude.Just+              ("ScalingPlanVersion" Data..= scalingPlanVersion),+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace),+            Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just+              ("ScalableDimension" Data..= scalableDimension),+            Prelude.Just+              ("ForecastDataType" Data..= forecastDataType),+            Prelude.Just ("StartTime" Data..= startTime),+            Prelude.Just ("EndTime" Data..= endTime)+          ]+      )++instance+  Data.ToPath+    GetScalingPlanResourceForecastData+  where+  toPath = Prelude.const "/"++instance+  Data.ToQuery+    GetScalingPlanResourceForecastData+  where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetScalingPlanResourceForecastDataResponse' smart constructor.+data GetScalingPlanResourceForecastDataResponse = GetScalingPlanResourceForecastDataResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | The data points to return.+    datapoints :: [Datapoint]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetScalingPlanResourceForecastDataResponse' 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', 'getScalingPlanResourceForecastDataResponse_httpStatus' - The response's http status code.+--+-- 'datapoints', 'getScalingPlanResourceForecastDataResponse_datapoints' - The data points to return.+newGetScalingPlanResourceForecastDataResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  GetScalingPlanResourceForecastDataResponse+newGetScalingPlanResourceForecastDataResponse+  pHttpStatus_ =+    GetScalingPlanResourceForecastDataResponse'+      { httpStatus =+          pHttpStatus_,+        datapoints = Prelude.mempty+      }++-- | The response's http status code.+getScalingPlanResourceForecastDataResponse_httpStatus :: Lens.Lens' GetScalingPlanResourceForecastDataResponse Prelude.Int+getScalingPlanResourceForecastDataResponse_httpStatus = Lens.lens (\GetScalingPlanResourceForecastDataResponse' {httpStatus} -> httpStatus) (\s@GetScalingPlanResourceForecastDataResponse' {} a -> s {httpStatus = a} :: GetScalingPlanResourceForecastDataResponse)++-- | The data points to return.+getScalingPlanResourceForecastDataResponse_datapoints :: Lens.Lens' GetScalingPlanResourceForecastDataResponse [Datapoint]+getScalingPlanResourceForecastDataResponse_datapoints = Lens.lens (\GetScalingPlanResourceForecastDataResponse' {datapoints} -> datapoints) (\s@GetScalingPlanResourceForecastDataResponse' {} a -> s {datapoints = a} :: GetScalingPlanResourceForecastDataResponse) Prelude.. Lens.coerced++instance+  Prelude.NFData+    GetScalingPlanResourceForecastDataResponse+  where+  rnf GetScalingPlanResourceForecastDataResponse' {..} =+    Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf datapoints
+ gen/Amazonka/AutoScalingPlans/Lens.hs view
@@ -0,0 +1,177 @@+{-# 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.AutoScalingPlans.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.AutoScalingPlans.Lens+  ( -- * Operations++    -- ** CreateScalingPlan+    createScalingPlan_scalingPlanName,+    createScalingPlan_applicationSource,+    createScalingPlan_scalingInstructions,+    createScalingPlanResponse_httpStatus,+    createScalingPlanResponse_scalingPlanVersion,++    -- ** DeleteScalingPlan+    deleteScalingPlan_scalingPlanName,+    deleteScalingPlan_scalingPlanVersion,+    deleteScalingPlanResponse_httpStatus,++    -- ** DescribeScalingPlanResources+    describeScalingPlanResources_maxResults,+    describeScalingPlanResources_nextToken,+    describeScalingPlanResources_scalingPlanName,+    describeScalingPlanResources_scalingPlanVersion,+    describeScalingPlanResourcesResponse_nextToken,+    describeScalingPlanResourcesResponse_scalingPlanResources,+    describeScalingPlanResourcesResponse_httpStatus,++    -- ** DescribeScalingPlans+    describeScalingPlans_applicationSources,+    describeScalingPlans_maxResults,+    describeScalingPlans_nextToken,+    describeScalingPlans_scalingPlanNames,+    describeScalingPlans_scalingPlanVersion,+    describeScalingPlansResponse_nextToken,+    describeScalingPlansResponse_scalingPlans,+    describeScalingPlansResponse_httpStatus,++    -- ** GetScalingPlanResourceForecastData+    getScalingPlanResourceForecastData_scalingPlanName,+    getScalingPlanResourceForecastData_scalingPlanVersion,+    getScalingPlanResourceForecastData_serviceNamespace,+    getScalingPlanResourceForecastData_resourceId,+    getScalingPlanResourceForecastData_scalableDimension,+    getScalingPlanResourceForecastData_forecastDataType,+    getScalingPlanResourceForecastData_startTime,+    getScalingPlanResourceForecastData_endTime,+    getScalingPlanResourceForecastDataResponse_httpStatus,+    getScalingPlanResourceForecastDataResponse_datapoints,++    -- ** UpdateScalingPlan+    updateScalingPlan_applicationSource,+    updateScalingPlan_scalingInstructions,+    updateScalingPlan_scalingPlanName,+    updateScalingPlan_scalingPlanVersion,+    updateScalingPlanResponse_httpStatus,++    -- * Types++    -- ** ApplicationSource+    applicationSource_cloudFormationStackARN,+    applicationSource_tagFilters,++    -- ** CustomizedLoadMetricSpecification+    customizedLoadMetricSpecification_dimensions,+    customizedLoadMetricSpecification_unit,+    customizedLoadMetricSpecification_metricName,+    customizedLoadMetricSpecification_namespace,+    customizedLoadMetricSpecification_statistic,++    -- ** CustomizedScalingMetricSpecification+    customizedScalingMetricSpecification_dimensions,+    customizedScalingMetricSpecification_unit,+    customizedScalingMetricSpecification_metricName,+    customizedScalingMetricSpecification_namespace,+    customizedScalingMetricSpecification_statistic,++    -- ** Datapoint+    datapoint_timestamp,+    datapoint_value,++    -- ** MetricDimension+    metricDimension_name,+    metricDimension_value,++    -- ** PredefinedLoadMetricSpecification+    predefinedLoadMetricSpecification_resourceLabel,+    predefinedLoadMetricSpecification_predefinedLoadMetricType,++    -- ** PredefinedScalingMetricSpecification+    predefinedScalingMetricSpecification_resourceLabel,+    predefinedScalingMetricSpecification_predefinedScalingMetricType,++    -- ** ScalingInstruction+    scalingInstruction_customizedLoadMetricSpecification,+    scalingInstruction_disableDynamicScaling,+    scalingInstruction_predefinedLoadMetricSpecification,+    scalingInstruction_predictiveScalingMaxCapacityBehavior,+    scalingInstruction_predictiveScalingMaxCapacityBuffer,+    scalingInstruction_predictiveScalingMode,+    scalingInstruction_scalingPolicyUpdateBehavior,+    scalingInstruction_scheduledActionBufferTime,+    scalingInstruction_serviceNamespace,+    scalingInstruction_resourceId,+    scalingInstruction_scalableDimension,+    scalingInstruction_minCapacity,+    scalingInstruction_maxCapacity,+    scalingInstruction_targetTrackingConfigurations,++    -- ** ScalingPlan+    scalingPlan_creationTime,+    scalingPlan_statusMessage,+    scalingPlan_statusStartTime,+    scalingPlan_scalingPlanName,+    scalingPlan_scalingPlanVersion,+    scalingPlan_applicationSource,+    scalingPlan_scalingInstructions,+    scalingPlan_statusCode,++    -- ** ScalingPlanResource+    scalingPlanResource_scalingPolicies,+    scalingPlanResource_scalingStatusMessage,+    scalingPlanResource_scalingPlanName,+    scalingPlanResource_scalingPlanVersion,+    scalingPlanResource_serviceNamespace,+    scalingPlanResource_resourceId,+    scalingPlanResource_scalableDimension,+    scalingPlanResource_scalingStatusCode,++    -- ** ScalingPolicy+    scalingPolicy_targetTrackingConfiguration,+    scalingPolicy_policyName,+    scalingPolicy_policyType,++    -- ** TagFilter+    tagFilter_key,+    tagFilter_values,++    -- ** TargetTrackingConfiguration+    targetTrackingConfiguration_customizedScalingMetricSpecification,+    targetTrackingConfiguration_disableScaleIn,+    targetTrackingConfiguration_estimatedInstanceWarmup,+    targetTrackingConfiguration_predefinedScalingMetricSpecification,+    targetTrackingConfiguration_scaleInCooldown,+    targetTrackingConfiguration_scaleOutCooldown,+    targetTrackingConfiguration_targetValue,+  )+where++import Amazonka.AutoScalingPlans.CreateScalingPlan+import Amazonka.AutoScalingPlans.DeleteScalingPlan+import Amazonka.AutoScalingPlans.DescribeScalingPlanResources+import Amazonka.AutoScalingPlans.DescribeScalingPlans+import Amazonka.AutoScalingPlans.GetScalingPlanResourceForecastData+import Amazonka.AutoScalingPlans.Types.ApplicationSource+import Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification+import Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification+import Amazonka.AutoScalingPlans.Types.Datapoint+import Amazonka.AutoScalingPlans.Types.MetricDimension+import Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification+import Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification+import Amazonka.AutoScalingPlans.Types.ScalingInstruction+import Amazonka.AutoScalingPlans.Types.ScalingPlan+import Amazonka.AutoScalingPlans.Types.ScalingPlanResource+import Amazonka.AutoScalingPlans.Types.ScalingPolicy+import Amazonka.AutoScalingPlans.Types.TagFilter+import Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration+import Amazonka.AutoScalingPlans.UpdateScalingPlan
+ gen/Amazonka/AutoScalingPlans/Types.hs view
@@ -0,0 +1,323 @@+{-# 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.AutoScalingPlans.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.AutoScalingPlans.Types+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    _ConcurrentUpdateException,+    _InternalServiceException,+    _InvalidNextTokenException,+    _LimitExceededException,+    _ObjectNotFoundException,+    _ValidationException,++    -- * ForecastDataType+    ForecastDataType (..),++    -- * LoadMetricType+    LoadMetricType (..),++    -- * MetricStatistic+    MetricStatistic (..),++    -- * PolicyType+    PolicyType (..),++    -- * PredictiveScalingMaxCapacityBehavior+    PredictiveScalingMaxCapacityBehavior (..),++    -- * PredictiveScalingMode+    PredictiveScalingMode (..),++    -- * ScalableDimension+    ScalableDimension (..),++    -- * ScalingMetricType+    ScalingMetricType (..),++    -- * ScalingPlanStatusCode+    ScalingPlanStatusCode (..),++    -- * ScalingPolicyUpdateBehavior+    ScalingPolicyUpdateBehavior (..),++    -- * ScalingStatusCode+    ScalingStatusCode (..),++    -- * ServiceNamespace+    ServiceNamespace (..),++    -- * ApplicationSource+    ApplicationSource (..),+    newApplicationSource,+    applicationSource_cloudFormationStackARN,+    applicationSource_tagFilters,++    -- * CustomizedLoadMetricSpecification+    CustomizedLoadMetricSpecification (..),+    newCustomizedLoadMetricSpecification,+    customizedLoadMetricSpecification_dimensions,+    customizedLoadMetricSpecification_unit,+    customizedLoadMetricSpecification_metricName,+    customizedLoadMetricSpecification_namespace,+    customizedLoadMetricSpecification_statistic,++    -- * CustomizedScalingMetricSpecification+    CustomizedScalingMetricSpecification (..),+    newCustomizedScalingMetricSpecification,+    customizedScalingMetricSpecification_dimensions,+    customizedScalingMetricSpecification_unit,+    customizedScalingMetricSpecification_metricName,+    customizedScalingMetricSpecification_namespace,+    customizedScalingMetricSpecification_statistic,++    -- * Datapoint+    Datapoint (..),+    newDatapoint,+    datapoint_timestamp,+    datapoint_value,++    -- * MetricDimension+    MetricDimension (..),+    newMetricDimension,+    metricDimension_name,+    metricDimension_value,++    -- * PredefinedLoadMetricSpecification+    PredefinedLoadMetricSpecification (..),+    newPredefinedLoadMetricSpecification,+    predefinedLoadMetricSpecification_resourceLabel,+    predefinedLoadMetricSpecification_predefinedLoadMetricType,++    -- * PredefinedScalingMetricSpecification+    PredefinedScalingMetricSpecification (..),+    newPredefinedScalingMetricSpecification,+    predefinedScalingMetricSpecification_resourceLabel,+    predefinedScalingMetricSpecification_predefinedScalingMetricType,++    -- * ScalingInstruction+    ScalingInstruction (..),+    newScalingInstruction,+    scalingInstruction_customizedLoadMetricSpecification,+    scalingInstruction_disableDynamicScaling,+    scalingInstruction_predefinedLoadMetricSpecification,+    scalingInstruction_predictiveScalingMaxCapacityBehavior,+    scalingInstruction_predictiveScalingMaxCapacityBuffer,+    scalingInstruction_predictiveScalingMode,+    scalingInstruction_scalingPolicyUpdateBehavior,+    scalingInstruction_scheduledActionBufferTime,+    scalingInstruction_serviceNamespace,+    scalingInstruction_resourceId,+    scalingInstruction_scalableDimension,+    scalingInstruction_minCapacity,+    scalingInstruction_maxCapacity,+    scalingInstruction_targetTrackingConfigurations,++    -- * ScalingPlan+    ScalingPlan (..),+    newScalingPlan,+    scalingPlan_creationTime,+    scalingPlan_statusMessage,+    scalingPlan_statusStartTime,+    scalingPlan_scalingPlanName,+    scalingPlan_scalingPlanVersion,+    scalingPlan_applicationSource,+    scalingPlan_scalingInstructions,+    scalingPlan_statusCode,++    -- * ScalingPlanResource+    ScalingPlanResource (..),+    newScalingPlanResource,+    scalingPlanResource_scalingPolicies,+    scalingPlanResource_scalingStatusMessage,+    scalingPlanResource_scalingPlanName,+    scalingPlanResource_scalingPlanVersion,+    scalingPlanResource_serviceNamespace,+    scalingPlanResource_resourceId,+    scalingPlanResource_scalableDimension,+    scalingPlanResource_scalingStatusCode,++    -- * ScalingPolicy+    ScalingPolicy (..),+    newScalingPolicy,+    scalingPolicy_targetTrackingConfiguration,+    scalingPolicy_policyName,+    scalingPolicy_policyType,++    -- * TagFilter+    TagFilter (..),+    newTagFilter,+    tagFilter_key,+    tagFilter_values,++    -- * TargetTrackingConfiguration+    TargetTrackingConfiguration (..),+    newTargetTrackingConfiguration,+    targetTrackingConfiguration_customizedScalingMetricSpecification,+    targetTrackingConfiguration_disableScaleIn,+    targetTrackingConfiguration_estimatedInstanceWarmup,+    targetTrackingConfiguration_predefinedScalingMetricSpecification,+    targetTrackingConfiguration_scaleInCooldown,+    targetTrackingConfiguration_scaleOutCooldown,+    targetTrackingConfiguration_targetValue,+  )+where++import Amazonka.AutoScalingPlans.Types.ApplicationSource+import Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification+import Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification+import Amazonka.AutoScalingPlans.Types.Datapoint+import Amazonka.AutoScalingPlans.Types.ForecastDataType+import Amazonka.AutoScalingPlans.Types.LoadMetricType+import Amazonka.AutoScalingPlans.Types.MetricDimension+import Amazonka.AutoScalingPlans.Types.MetricStatistic+import Amazonka.AutoScalingPlans.Types.PolicyType+import Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification+import Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification+import Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior+import Amazonka.AutoScalingPlans.Types.PredictiveScalingMode+import Amazonka.AutoScalingPlans.Types.ScalableDimension+import Amazonka.AutoScalingPlans.Types.ScalingInstruction+import Amazonka.AutoScalingPlans.Types.ScalingMetricType+import Amazonka.AutoScalingPlans.Types.ScalingPlan+import Amazonka.AutoScalingPlans.Types.ScalingPlanResource+import Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode+import Amazonka.AutoScalingPlans.Types.ScalingPolicy+import Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior+import Amazonka.AutoScalingPlans.Types.ScalingStatusCode+import Amazonka.AutoScalingPlans.Types.ServiceNamespace+import Amazonka.AutoScalingPlans.Types.TagFilter+import Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration+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 @2018-01-06@ of the Amazon Auto Scaling Plans SDK configuration.+defaultService :: Core.Service+defaultService =+  Core.Service+    { Core.abbrev = "AutoScalingPlans",+      Core.signer = Sign.v4,+      Core.endpointPrefix = "autoscaling-plans",+      Core.signingName = "autoscaling-plans",+      Core.version = "2018-01-06",+      Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+      Core.endpoint = Core.defaultEndpoint defaultService,+      Core.timeout = Prelude.Just 70,+      Core.check = Core.statusSuccess,+      Core.error = Core.parseJSONError "AutoScalingPlans",+      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 a scaling plan that already has a pending update.+_ConcurrentUpdateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConcurrentUpdateException =+  Core._MatchServiceError+    defaultService+    "ConcurrentUpdateException"++-- | The service encountered an internal error.+_InternalServiceException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InternalServiceException =+  Core._MatchServiceError+    defaultService+    "InternalServiceException"++-- | The token provided is not valid.+_InvalidNextTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidNextTokenException =+  Core._MatchServiceError+    defaultService+    "InvalidNextTokenException"++-- | Your account exceeded a limit. This exception is thrown when a+-- per-account resource limit is exceeded.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+  Core._MatchServiceError+    defaultService+    "LimitExceededException"++-- | The specified object could not 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 parameters+-- provided.+_ValidationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ValidationException =+  Core._MatchServiceError+    defaultService+    "ValidationException"
+ gen/Amazonka/AutoScalingPlans/Types/ApplicationSource.hs view
@@ -0,0 +1,96 @@+{-# 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.AutoScalingPlans.Types.ApplicationSource+-- 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.AutoScalingPlans.Types.ApplicationSource where++import Amazonka.AutoScalingPlans.Types.TagFilter+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 an application source.+--+-- /See:/ 'newApplicationSource' smart constructor.+data ApplicationSource = ApplicationSource'+  { -- | The Amazon Resource Name (ARN) of a AWS CloudFormation stack.+    cloudFormationStackARN :: Prelude.Maybe Prelude.Text,+    -- | A set of tags (up to 50).+    tagFilters :: Prelude.Maybe [TagFilter]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ApplicationSource' 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:+--+-- 'cloudFormationStackARN', 'applicationSource_cloudFormationStackARN' - The Amazon Resource Name (ARN) of a AWS CloudFormation stack.+--+-- 'tagFilters', 'applicationSource_tagFilters' - A set of tags (up to 50).+newApplicationSource ::+  ApplicationSource+newApplicationSource =+  ApplicationSource'+    { cloudFormationStackARN =+        Prelude.Nothing,+      tagFilters = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of a AWS CloudFormation stack.+applicationSource_cloudFormationStackARN :: Lens.Lens' ApplicationSource (Prelude.Maybe Prelude.Text)+applicationSource_cloudFormationStackARN = Lens.lens (\ApplicationSource' {cloudFormationStackARN} -> cloudFormationStackARN) (\s@ApplicationSource' {} a -> s {cloudFormationStackARN = a} :: ApplicationSource)++-- | A set of tags (up to 50).+applicationSource_tagFilters :: Lens.Lens' ApplicationSource (Prelude.Maybe [TagFilter])+applicationSource_tagFilters = Lens.lens (\ApplicationSource' {tagFilters} -> tagFilters) (\s@ApplicationSource' {} a -> s {tagFilters = a} :: ApplicationSource) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ApplicationSource where+  parseJSON =+    Data.withObject+      "ApplicationSource"+      ( \x ->+          ApplicationSource'+            Prelude.<$> (x Data..:? "CloudFormationStackARN")+            Prelude.<*> (x Data..:? "TagFilters" Data..!= Prelude.mempty)+      )++instance Prelude.Hashable ApplicationSource where+  hashWithSalt _salt ApplicationSource' {..} =+    _salt+      `Prelude.hashWithSalt` cloudFormationStackARN+      `Prelude.hashWithSalt` tagFilters++instance Prelude.NFData ApplicationSource where+  rnf ApplicationSource' {..} =+    Prelude.rnf cloudFormationStackARN+      `Prelude.seq` Prelude.rnf tagFilters++instance Data.ToJSON ApplicationSource where+  toJSON ApplicationSource' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("CloudFormationStackARN" Data..=)+              Prelude.<$> cloudFormationStackARN,+            ("TagFilters" Data..=) Prelude.<$> tagFilters+          ]+      )
+ gen/Amazonka/AutoScalingPlans/Types/CustomizedLoadMetricSpecification.hs view
@@ -0,0 +1,203 @@+{-# 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.AutoScalingPlans.Types.CustomizedLoadMetricSpecification+-- 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.AutoScalingPlans.Types.CustomizedLoadMetricSpecification where++import Amazonka.AutoScalingPlans.Types.MetricDimension+import Amazonka.AutoScalingPlans.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 that can be used for+-- predictive scaling.+--+-- For predictive scaling to work with a customized load metric+-- specification, AWS Auto Scaling needs access to the @Sum@ and @Average@+-- statistics that CloudWatch computes from metric data.+--+-- When you choose a load metric, make sure that the required @Sum@ and+-- @Average@ statistics for your metric are available in CloudWatch and+-- that they provide relevant data for predictive scaling. The @Sum@+-- statistic must represent the total load on the resource, and the+-- @Average@ statistic must represent the average load per capacity unit of+-- the resource. For example, there is a metric that counts the number of+-- requests processed by your Auto Scaling group. If the @Sum@ statistic+-- represents the total request count processed by the group, then the+-- @Average@ statistic for the specified metric must represent the average+-- request count processed by each instance of the group.+--+-- If you publish your own metrics, you can aggregate the data points at a+-- given interval and then publish the aggregated data points to+-- CloudWatch. Before AWS Auto Scaling generates the forecast, it sums up+-- all the metric data points that occurred within each hour to match the+-- granularity period that is used in the forecast (60 minutes).+--+-- For information about terminology, available metrics, or how to publish+-- new metrics, see+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html Amazon CloudWatch Concepts>+-- in the /Amazon CloudWatch User Guide/.+--+-- After creating your scaling plan, you can use the AWS Auto Scaling+-- console to visualize forecasts for the specified metric. For more+-- information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-create-scaling-plan.html#gs-view-resource View Scaling Information for a Resource>+-- in the /AWS Auto Scaling User Guide/.+--+-- /See:/ 'newCustomizedLoadMetricSpecification' smart constructor.+data CustomizedLoadMetricSpecification = CustomizedLoadMetricSpecification'+  { -- | The dimensions of the metric.+    --+    -- Conditional: If you published your metric with dimensions, you must+    -- specify the same dimensions in your customized load metric+    -- specification.+    dimensions :: Prelude.Maybe [MetricDimension],+    -- | The unit of the metric.+    unit :: Prelude.Maybe Prelude.Text,+    -- | The name of the metric.+    metricName :: Prelude.Text,+    -- | The namespace of the metric.+    namespace :: Prelude.Text,+    -- | The statistic of the metric. The only valid value is @Sum@.+    statistic :: MetricStatistic+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CustomizedLoadMetricSpecification' 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', 'customizedLoadMetricSpecification_dimensions' - The dimensions of the metric.+--+-- Conditional: If you published your metric with dimensions, you must+-- specify the same dimensions in your customized load metric+-- specification.+--+-- 'unit', 'customizedLoadMetricSpecification_unit' - The unit of the metric.+--+-- 'metricName', 'customizedLoadMetricSpecification_metricName' - The name of the metric.+--+-- 'namespace', 'customizedLoadMetricSpecification_namespace' - The namespace of the metric.+--+-- 'statistic', 'customizedLoadMetricSpecification_statistic' - The statistic of the metric. The only valid value is @Sum@.+newCustomizedLoadMetricSpecification ::+  -- | 'metricName'+  Prelude.Text ->+  -- | 'namespace'+  Prelude.Text ->+  -- | 'statistic'+  MetricStatistic ->+  CustomizedLoadMetricSpecification+newCustomizedLoadMetricSpecification+  pMetricName_+  pNamespace_+  pStatistic_ =+    CustomizedLoadMetricSpecification'+      { 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 customized load metric+-- specification.+customizedLoadMetricSpecification_dimensions :: Lens.Lens' CustomizedLoadMetricSpecification (Prelude.Maybe [MetricDimension])+customizedLoadMetricSpecification_dimensions = Lens.lens (\CustomizedLoadMetricSpecification' {dimensions} -> dimensions) (\s@CustomizedLoadMetricSpecification' {} a -> s {dimensions = a} :: CustomizedLoadMetricSpecification) Prelude.. Lens.mapping Lens.coerced++-- | The unit of the metric.+customizedLoadMetricSpecification_unit :: Lens.Lens' CustomizedLoadMetricSpecification (Prelude.Maybe Prelude.Text)+customizedLoadMetricSpecification_unit = Lens.lens (\CustomizedLoadMetricSpecification' {unit} -> unit) (\s@CustomizedLoadMetricSpecification' {} a -> s {unit = a} :: CustomizedLoadMetricSpecification)++-- | The name of the metric.+customizedLoadMetricSpecification_metricName :: Lens.Lens' CustomizedLoadMetricSpecification Prelude.Text+customizedLoadMetricSpecification_metricName = Lens.lens (\CustomizedLoadMetricSpecification' {metricName} -> metricName) (\s@CustomizedLoadMetricSpecification' {} a -> s {metricName = a} :: CustomizedLoadMetricSpecification)++-- | The namespace of the metric.+customizedLoadMetricSpecification_namespace :: Lens.Lens' CustomizedLoadMetricSpecification Prelude.Text+customizedLoadMetricSpecification_namespace = Lens.lens (\CustomizedLoadMetricSpecification' {namespace} -> namespace) (\s@CustomizedLoadMetricSpecification' {} a -> s {namespace = a} :: CustomizedLoadMetricSpecification)++-- | The statistic of the metric. The only valid value is @Sum@.+customizedLoadMetricSpecification_statistic :: Lens.Lens' CustomizedLoadMetricSpecification MetricStatistic+customizedLoadMetricSpecification_statistic = Lens.lens (\CustomizedLoadMetricSpecification' {statistic} -> statistic) (\s@CustomizedLoadMetricSpecification' {} a -> s {statistic = a} :: CustomizedLoadMetricSpecification)++instance+  Data.FromJSON+    CustomizedLoadMetricSpecification+  where+  parseJSON =+    Data.withObject+      "CustomizedLoadMetricSpecification"+      ( \x ->+          CustomizedLoadMetricSpecification'+            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+    CustomizedLoadMetricSpecification+  where+  hashWithSalt+    _salt+    CustomizedLoadMetricSpecification' {..} =+      _salt+        `Prelude.hashWithSalt` dimensions+        `Prelude.hashWithSalt` unit+        `Prelude.hashWithSalt` metricName+        `Prelude.hashWithSalt` namespace+        `Prelude.hashWithSalt` statistic++instance+  Prelude.NFData+    CustomizedLoadMetricSpecification+  where+  rnf CustomizedLoadMetricSpecification' {..} =+    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+    CustomizedLoadMetricSpecification+  where+  toJSON CustomizedLoadMetricSpecification' {..} =+    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/AutoScalingPlans/Types/CustomizedScalingMetricSpecification.hs view
@@ -0,0 +1,190 @@+{-# 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.AutoScalingPlans.Types.CustomizedScalingMetricSpecification+-- 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.AutoScalingPlans.Types.CustomizedScalingMetricSpecification where++import Amazonka.AutoScalingPlans.Types.MetricDimension+import Amazonka.AutoScalingPlans.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 that can be used for+-- dynamic scaling as part of a target tracking scaling policy.+--+-- To create your customized scaling 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.+--+-- For information about terminology, available metrics, or how to publish+-- new metrics, see+-- <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html Amazon CloudWatch Concepts>+-- in the /Amazon CloudWatch User Guide/.+--+-- /See:/ 'newCustomizedScalingMetricSpecification' smart constructor.+data CustomizedScalingMetricSpecification = CustomizedScalingMetricSpecification'+  { -- | The dimensions of the metric.+    --+    -- Conditional: If you published your metric with dimensions, you must+    -- specify the same dimensions in your customized scaling metric+    -- specification.+    dimensions :: Prelude.Maybe [MetricDimension],+    -- | The unit of the metric.+    unit :: Prelude.Maybe Prelude.Text,+    -- | The name of the metric.+    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 'CustomizedScalingMetricSpecification' 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', 'customizedScalingMetricSpecification_dimensions' - The dimensions of the metric.+--+-- Conditional: If you published your metric with dimensions, you must+-- specify the same dimensions in your customized scaling metric+-- specification.+--+-- 'unit', 'customizedScalingMetricSpecification_unit' - The unit of the metric.+--+-- 'metricName', 'customizedScalingMetricSpecification_metricName' - The name of the metric.+--+-- 'namespace', 'customizedScalingMetricSpecification_namespace' - The namespace of the metric.+--+-- 'statistic', 'customizedScalingMetricSpecification_statistic' - The statistic of the metric.+newCustomizedScalingMetricSpecification ::+  -- | 'metricName'+  Prelude.Text ->+  -- | 'namespace'+  Prelude.Text ->+  -- | 'statistic'+  MetricStatistic ->+  CustomizedScalingMetricSpecification+newCustomizedScalingMetricSpecification+  pMetricName_+  pNamespace_+  pStatistic_ =+    CustomizedScalingMetricSpecification'+      { 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 customized scaling metric+-- specification.+customizedScalingMetricSpecification_dimensions :: Lens.Lens' CustomizedScalingMetricSpecification (Prelude.Maybe [MetricDimension])+customizedScalingMetricSpecification_dimensions = Lens.lens (\CustomizedScalingMetricSpecification' {dimensions} -> dimensions) (\s@CustomizedScalingMetricSpecification' {} a -> s {dimensions = a} :: CustomizedScalingMetricSpecification) Prelude.. Lens.mapping Lens.coerced++-- | The unit of the metric.+customizedScalingMetricSpecification_unit :: Lens.Lens' CustomizedScalingMetricSpecification (Prelude.Maybe Prelude.Text)+customizedScalingMetricSpecification_unit = Lens.lens (\CustomizedScalingMetricSpecification' {unit} -> unit) (\s@CustomizedScalingMetricSpecification' {} a -> s {unit = a} :: CustomizedScalingMetricSpecification)++-- | The name of the metric.+customizedScalingMetricSpecification_metricName :: Lens.Lens' CustomizedScalingMetricSpecification Prelude.Text+customizedScalingMetricSpecification_metricName = Lens.lens (\CustomizedScalingMetricSpecification' {metricName} -> metricName) (\s@CustomizedScalingMetricSpecification' {} a -> s {metricName = a} :: CustomizedScalingMetricSpecification)++-- | The namespace of the metric.+customizedScalingMetricSpecification_namespace :: Lens.Lens' CustomizedScalingMetricSpecification Prelude.Text+customizedScalingMetricSpecification_namespace = Lens.lens (\CustomizedScalingMetricSpecification' {namespace} -> namespace) (\s@CustomizedScalingMetricSpecification' {} a -> s {namespace = a} :: CustomizedScalingMetricSpecification)++-- | The statistic of the metric.+customizedScalingMetricSpecification_statistic :: Lens.Lens' CustomizedScalingMetricSpecification MetricStatistic+customizedScalingMetricSpecification_statistic = Lens.lens (\CustomizedScalingMetricSpecification' {statistic} -> statistic) (\s@CustomizedScalingMetricSpecification' {} a -> s {statistic = a} :: CustomizedScalingMetricSpecification)++instance+  Data.FromJSON+    CustomizedScalingMetricSpecification+  where+  parseJSON =+    Data.withObject+      "CustomizedScalingMetricSpecification"+      ( \x ->+          CustomizedScalingMetricSpecification'+            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+    CustomizedScalingMetricSpecification+  where+  hashWithSalt+    _salt+    CustomizedScalingMetricSpecification' {..} =+      _salt+        `Prelude.hashWithSalt` dimensions+        `Prelude.hashWithSalt` unit+        `Prelude.hashWithSalt` metricName+        `Prelude.hashWithSalt` namespace+        `Prelude.hashWithSalt` statistic++instance+  Prelude.NFData+    CustomizedScalingMetricSpecification+  where+  rnf CustomizedScalingMetricSpecification' {..} =+    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+    CustomizedScalingMetricSpecification+  where+  toJSON CustomizedScalingMetricSpecification' {..} =+    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/AutoScalingPlans/Types/Datapoint.hs view
@@ -0,0 +1,85 @@+{-# 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.AutoScalingPlans.Types.Datapoint+-- 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.AutoScalingPlans.Types.Datapoint 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 single value in the forecast data used for predictive+-- scaling.+--+-- /See:/ 'newDatapoint' smart constructor.+data Datapoint = Datapoint'+  { -- | The time stamp for the data point in UTC format.+    timestamp :: Prelude.Maybe Data.POSIX,+    -- | The value of the data point.+    value :: Prelude.Maybe Prelude.Double+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Datapoint' 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:+--+-- 'timestamp', 'datapoint_timestamp' - The time stamp for the data point in UTC format.+--+-- 'value', 'datapoint_value' - The value of the data point.+newDatapoint ::+  Datapoint+newDatapoint =+  Datapoint'+    { timestamp = Prelude.Nothing,+      value = Prelude.Nothing+    }++-- | The time stamp for the data point in UTC format.+datapoint_timestamp :: Lens.Lens' Datapoint (Prelude.Maybe Prelude.UTCTime)+datapoint_timestamp = Lens.lens (\Datapoint' {timestamp} -> timestamp) (\s@Datapoint' {} a -> s {timestamp = a} :: Datapoint) Prelude.. Lens.mapping Data._Time++-- | The value of the data point.+datapoint_value :: Lens.Lens' Datapoint (Prelude.Maybe Prelude.Double)+datapoint_value = Lens.lens (\Datapoint' {value} -> value) (\s@Datapoint' {} a -> s {value = a} :: Datapoint)++instance Data.FromJSON Datapoint where+  parseJSON =+    Data.withObject+      "Datapoint"+      ( \x ->+          Datapoint'+            Prelude.<$> (x Data..:? "Timestamp")+            Prelude.<*> (x Data..:? "Value")+      )++instance Prelude.Hashable Datapoint where+  hashWithSalt _salt Datapoint' {..} =+    _salt+      `Prelude.hashWithSalt` timestamp+      `Prelude.hashWithSalt` value++instance Prelude.NFData Datapoint where+  rnf Datapoint' {..} =+    Prelude.rnf timestamp+      `Prelude.seq` Prelude.rnf value
+ gen/Amazonka/AutoScalingPlans/Types/ForecastDataType.hs view
@@ -0,0 +1,81 @@+{-# 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.AutoScalingPlans.Types.ForecastDataType+-- 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.AutoScalingPlans.Types.ForecastDataType+  ( ForecastDataType+      ( ..,+        ForecastDataType_CapacityForecast,+        ForecastDataType_LoadForecast,+        ForecastDataType_ScheduledActionMaxCapacity,+        ForecastDataType_ScheduledActionMinCapacity+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ForecastDataType = ForecastDataType'+  { fromForecastDataType ::+      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 ForecastDataType_CapacityForecast :: ForecastDataType+pattern ForecastDataType_CapacityForecast = ForecastDataType' "CapacityForecast"++pattern ForecastDataType_LoadForecast :: ForecastDataType+pattern ForecastDataType_LoadForecast = ForecastDataType' "LoadForecast"++pattern ForecastDataType_ScheduledActionMaxCapacity :: ForecastDataType+pattern ForecastDataType_ScheduledActionMaxCapacity = ForecastDataType' "ScheduledActionMaxCapacity"++pattern ForecastDataType_ScheduledActionMinCapacity :: ForecastDataType+pattern ForecastDataType_ScheduledActionMinCapacity = ForecastDataType' "ScheduledActionMinCapacity"++{-# COMPLETE+  ForecastDataType_CapacityForecast,+  ForecastDataType_LoadForecast,+  ForecastDataType_ScheduledActionMaxCapacity,+  ForecastDataType_ScheduledActionMinCapacity,+  ForecastDataType'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/LoadMetricType.hs view
@@ -0,0 +1,81 @@+{-# 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.AutoScalingPlans.Types.LoadMetricType+-- 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.AutoScalingPlans.Types.LoadMetricType+  ( LoadMetricType+      ( ..,+        LoadMetricType_ALBTargetGroupRequestCount,+        LoadMetricType_ASGTotalCPUUtilization,+        LoadMetricType_ASGTotalNetworkIn,+        LoadMetricType_ASGTotalNetworkOut+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype LoadMetricType = LoadMetricType'+  { fromLoadMetricType ::+      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 LoadMetricType_ALBTargetGroupRequestCount :: LoadMetricType+pattern LoadMetricType_ALBTargetGroupRequestCount = LoadMetricType' "ALBTargetGroupRequestCount"++pattern LoadMetricType_ASGTotalCPUUtilization :: LoadMetricType+pattern LoadMetricType_ASGTotalCPUUtilization = LoadMetricType' "ASGTotalCPUUtilization"++pattern LoadMetricType_ASGTotalNetworkIn :: LoadMetricType+pattern LoadMetricType_ASGTotalNetworkIn = LoadMetricType' "ASGTotalNetworkIn"++pattern LoadMetricType_ASGTotalNetworkOut :: LoadMetricType+pattern LoadMetricType_ASGTotalNetworkOut = LoadMetricType' "ASGTotalNetworkOut"++{-# COMPLETE+  LoadMetricType_ALBTargetGroupRequestCount,+  LoadMetricType_ASGTotalCPUUtilization,+  LoadMetricType_ASGTotalNetworkIn,+  LoadMetricType_ASGTotalNetworkOut,+  LoadMetricType'+  #-}
+ gen/Amazonka/AutoScalingPlans/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.AutoScalingPlans.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.AutoScalingPlans.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++-- | Represents a dimension for a customized 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/AutoScalingPlans/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.AutoScalingPlans.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.AutoScalingPlans.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/AutoScalingPlans/Types/PolicyType.hs view
@@ -0,0 +1,66 @@+{-# 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.AutoScalingPlans.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.AutoScalingPlans.Types.PolicyType+  ( PolicyType+      ( ..,+        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_TargetTrackingScaling :: PolicyType+pattern PolicyType_TargetTrackingScaling = PolicyType' "TargetTrackingScaling"++{-# COMPLETE+  PolicyType_TargetTrackingScaling,+  PolicyType'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/PredefinedLoadMetricSpecification.hs view
@@ -0,0 +1,194 @@+{-# 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.AutoScalingPlans.Types.PredefinedLoadMetricSpecification+-- 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.AutoScalingPlans.Types.PredefinedLoadMetricSpecification where++import Amazonka.AutoScalingPlans.Types.LoadMetricType+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 that can be used for predictive scaling.+--+-- After creating your scaling plan, you can use the AWS Auto Scaling+-- console to visualize forecasts for the specified metric. For more+-- information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-create-scaling-plan.html#gs-view-resource View Scaling Information for a Resource>+-- in the /AWS Auto Scaling User Guide/.+--+-- /See:/ 'newPredefinedLoadMetricSpecification' smart constructor.+data PredefinedLoadMetricSpecification = PredefinedLoadMetricSpecification'+  { -- | Identifies the resource associated with the metric type. You can\'t+    -- specify a resource label unless the metric type is+    -- @ALBTargetGroupRequestCount@ and there is a target group for an+    -- Application Load Balancer attached to the Auto Scaling group.+    --+    -- 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 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.+    --+    -- This is an example:+    -- app\/EC2Co-EcsEl-1TKLTMITMM0EO\/f37c06a68c1748aa\/targetgroup\/EC2Co-Defau-LDNM7Q3ZH1ZN\/6d4ea56ca2d6a18d.+    --+    -- 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.+    predefinedLoadMetricType :: LoadMetricType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PredefinedLoadMetricSpecification' 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', 'predefinedLoadMetricSpecification_resourceLabel' - Identifies the resource associated with the metric type. You can\'t+-- specify a resource label unless the metric type is+-- @ALBTargetGroupRequestCount@ and there is a target group for an+-- Application Load Balancer attached to the Auto Scaling group.+--+-- 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 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.+--+-- This is an example:+-- app\/EC2Co-EcsEl-1TKLTMITMM0EO\/f37c06a68c1748aa\/targetgroup\/EC2Co-Defau-LDNM7Q3ZH1ZN\/6d4ea56ca2d6a18d.+--+-- 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.+--+-- 'predefinedLoadMetricType', 'predefinedLoadMetricSpecification_predefinedLoadMetricType' - The metric type.+newPredefinedLoadMetricSpecification ::+  -- | 'predefinedLoadMetricType'+  LoadMetricType ->+  PredefinedLoadMetricSpecification+newPredefinedLoadMetricSpecification+  pPredefinedLoadMetricType_ =+    PredefinedLoadMetricSpecification'+      { resourceLabel =+          Prelude.Nothing,+        predefinedLoadMetricType =+          pPredefinedLoadMetricType_+      }++-- | Identifies the resource associated with the metric type. You can\'t+-- specify a resource label unless the metric type is+-- @ALBTargetGroupRequestCount@ and there is a target group for an+-- Application Load Balancer attached to the Auto Scaling group.+--+-- 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 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.+--+-- This is an example:+-- app\/EC2Co-EcsEl-1TKLTMITMM0EO\/f37c06a68c1748aa\/targetgroup\/EC2Co-Defau-LDNM7Q3ZH1ZN\/6d4ea56ca2d6a18d.+--+-- 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.+predefinedLoadMetricSpecification_resourceLabel :: Lens.Lens' PredefinedLoadMetricSpecification (Prelude.Maybe Prelude.Text)+predefinedLoadMetricSpecification_resourceLabel = Lens.lens (\PredefinedLoadMetricSpecification' {resourceLabel} -> resourceLabel) (\s@PredefinedLoadMetricSpecification' {} a -> s {resourceLabel = a} :: PredefinedLoadMetricSpecification)++-- | The metric type.+predefinedLoadMetricSpecification_predefinedLoadMetricType :: Lens.Lens' PredefinedLoadMetricSpecification LoadMetricType+predefinedLoadMetricSpecification_predefinedLoadMetricType = Lens.lens (\PredefinedLoadMetricSpecification' {predefinedLoadMetricType} -> predefinedLoadMetricType) (\s@PredefinedLoadMetricSpecification' {} a -> s {predefinedLoadMetricType = a} :: PredefinedLoadMetricSpecification)++instance+  Data.FromJSON+    PredefinedLoadMetricSpecification+  where+  parseJSON =+    Data.withObject+      "PredefinedLoadMetricSpecification"+      ( \x ->+          PredefinedLoadMetricSpecification'+            Prelude.<$> (x Data..:? "ResourceLabel")+            Prelude.<*> (x Data..: "PredefinedLoadMetricType")+      )++instance+  Prelude.Hashable+    PredefinedLoadMetricSpecification+  where+  hashWithSalt+    _salt+    PredefinedLoadMetricSpecification' {..} =+      _salt+        `Prelude.hashWithSalt` resourceLabel+        `Prelude.hashWithSalt` predefinedLoadMetricType++instance+  Prelude.NFData+    PredefinedLoadMetricSpecification+  where+  rnf PredefinedLoadMetricSpecification' {..} =+    Prelude.rnf resourceLabel+      `Prelude.seq` Prelude.rnf predefinedLoadMetricType++instance+  Data.ToJSON+    PredefinedLoadMetricSpecification+  where+  toJSON PredefinedLoadMetricSpecification' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("ResourceLabel" Data..=) Prelude.<$> resourceLabel,+            Prelude.Just+              ( "PredefinedLoadMetricType"+                  Data..= predefinedLoadMetricType+              )+          ]+      )
+ gen/Amazonka/AutoScalingPlans/Types/PredefinedScalingMetricSpecification.hs view
@@ -0,0 +1,195 @@+{-# 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.AutoScalingPlans.Types.PredefinedScalingMetricSpecification+-- 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.AutoScalingPlans.Types.PredefinedScalingMetricSpecification where++import Amazonka.AutoScalingPlans.Types.ScalingMetricType+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 that can be used for dynamic scaling as+-- part of a target tracking scaling policy.+--+-- /See:/ 'newPredefinedScalingMetricSpecification' smart constructor.+data PredefinedScalingMetricSpecification = PredefinedScalingMetricSpecification'+  { -- | 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 for an+    -- Application Load Balancer attached to the Auto Scaling group, Spot Fleet+    -- request, or ECS service.+    --+    -- You create the resource label by appending the final portion of the load+    -- balancer ARN and the final portion of the target group ARN into a single+    -- value, separated by a forward slash (\/). The format 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.+    --+    -- This is an example:+    -- app\/EC2Co-EcsEl-1TKLTMITMM0EO\/f37c06a68c1748aa\/targetgroup\/EC2Co-Defau-LDNM7Q3ZH1ZN\/6d4ea56ca2d6a18d.+    --+    -- 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 Auto Scaling groups, Spot Fleet requests, and ECS services.+    predefinedScalingMetricType :: ScalingMetricType+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PredefinedScalingMetricSpecification' 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', 'predefinedScalingMetricSpecification_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 for an+-- Application Load Balancer attached to the Auto Scaling group, Spot Fleet+-- request, or ECS service.+--+-- You create the resource label by appending the final portion of the load+-- balancer ARN and the final portion of the target group ARN into a single+-- value, separated by a forward slash (\/). The format 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.+--+-- This is an example:+-- app\/EC2Co-EcsEl-1TKLTMITMM0EO\/f37c06a68c1748aa\/targetgroup\/EC2Co-Defau-LDNM7Q3ZH1ZN\/6d4ea56ca2d6a18d.+--+-- 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.+--+-- 'predefinedScalingMetricType', 'predefinedScalingMetricSpecification_predefinedScalingMetricType' - The metric type. The @ALBRequestCountPerTarget@ metric type applies only+-- to Auto Scaling groups, Spot Fleet requests, and ECS services.+newPredefinedScalingMetricSpecification ::+  -- | 'predefinedScalingMetricType'+  ScalingMetricType ->+  PredefinedScalingMetricSpecification+newPredefinedScalingMetricSpecification+  pPredefinedScalingMetricType_ =+    PredefinedScalingMetricSpecification'+      { resourceLabel =+          Prelude.Nothing,+        predefinedScalingMetricType =+          pPredefinedScalingMetricType_+      }++-- | 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 for an+-- Application Load Balancer attached to the Auto Scaling group, Spot Fleet+-- request, or ECS service.+--+-- You create the resource label by appending the final portion of the load+-- balancer ARN and the final portion of the target group ARN into a single+-- value, separated by a forward slash (\/). The format 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.+--+-- This is an example:+-- app\/EC2Co-EcsEl-1TKLTMITMM0EO\/f37c06a68c1748aa\/targetgroup\/EC2Co-Defau-LDNM7Q3ZH1ZN\/6d4ea56ca2d6a18d.+--+-- 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.+predefinedScalingMetricSpecification_resourceLabel :: Lens.Lens' PredefinedScalingMetricSpecification (Prelude.Maybe Prelude.Text)+predefinedScalingMetricSpecification_resourceLabel = Lens.lens (\PredefinedScalingMetricSpecification' {resourceLabel} -> resourceLabel) (\s@PredefinedScalingMetricSpecification' {} a -> s {resourceLabel = a} :: PredefinedScalingMetricSpecification)++-- | The metric type. The @ALBRequestCountPerTarget@ metric type applies only+-- to Auto Scaling groups, Spot Fleet requests, and ECS services.+predefinedScalingMetricSpecification_predefinedScalingMetricType :: Lens.Lens' PredefinedScalingMetricSpecification ScalingMetricType+predefinedScalingMetricSpecification_predefinedScalingMetricType = Lens.lens (\PredefinedScalingMetricSpecification' {predefinedScalingMetricType} -> predefinedScalingMetricType) (\s@PredefinedScalingMetricSpecification' {} a -> s {predefinedScalingMetricType = a} :: PredefinedScalingMetricSpecification)++instance+  Data.FromJSON+    PredefinedScalingMetricSpecification+  where+  parseJSON =+    Data.withObject+      "PredefinedScalingMetricSpecification"+      ( \x ->+          PredefinedScalingMetricSpecification'+            Prelude.<$> (x Data..:? "ResourceLabel")+            Prelude.<*> (x Data..: "PredefinedScalingMetricType")+      )++instance+  Prelude.Hashable+    PredefinedScalingMetricSpecification+  where+  hashWithSalt+    _salt+    PredefinedScalingMetricSpecification' {..} =+      _salt+        `Prelude.hashWithSalt` resourceLabel+        `Prelude.hashWithSalt` predefinedScalingMetricType++instance+  Prelude.NFData+    PredefinedScalingMetricSpecification+  where+  rnf PredefinedScalingMetricSpecification' {..} =+    Prelude.rnf resourceLabel+      `Prelude.seq` Prelude.rnf predefinedScalingMetricType++instance+  Data.ToJSON+    PredefinedScalingMetricSpecification+  where+  toJSON PredefinedScalingMetricSpecification' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("ResourceLabel" Data..=) Prelude.<$> resourceLabel,+            Prelude.Just+              ( "PredefinedScalingMetricType"+                  Data..= predefinedScalingMetricType+              )+          ]+      )
+ gen/Amazonka/AutoScalingPlans/Types/PredictiveScalingMaxCapacityBehavior.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.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior+-- 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.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior+  ( PredictiveScalingMaxCapacityBehavior+      ( ..,+        PredictiveScalingMaxCapacityBehavior_SetForecastCapacityToMaxCapacity,+        PredictiveScalingMaxCapacityBehavior_SetMaxCapacityAboveForecastCapacity,+        PredictiveScalingMaxCapacityBehavior_SetMaxCapacityToForecastCapacity+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PredictiveScalingMaxCapacityBehavior = PredictiveScalingMaxCapacityBehavior'+  { fromPredictiveScalingMaxCapacityBehavior ::+      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 PredictiveScalingMaxCapacityBehavior_SetForecastCapacityToMaxCapacity :: PredictiveScalingMaxCapacityBehavior+pattern PredictiveScalingMaxCapacityBehavior_SetForecastCapacityToMaxCapacity = PredictiveScalingMaxCapacityBehavior' "SetForecastCapacityToMaxCapacity"++pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityAboveForecastCapacity :: PredictiveScalingMaxCapacityBehavior+pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityAboveForecastCapacity = PredictiveScalingMaxCapacityBehavior' "SetMaxCapacityAboveForecastCapacity"++pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityToForecastCapacity :: PredictiveScalingMaxCapacityBehavior+pattern PredictiveScalingMaxCapacityBehavior_SetMaxCapacityToForecastCapacity = PredictiveScalingMaxCapacityBehavior' "SetMaxCapacityToForecastCapacity"++{-# COMPLETE+  PredictiveScalingMaxCapacityBehavior_SetForecastCapacityToMaxCapacity,+  PredictiveScalingMaxCapacityBehavior_SetMaxCapacityAboveForecastCapacity,+  PredictiveScalingMaxCapacityBehavior_SetMaxCapacityToForecastCapacity,+  PredictiveScalingMaxCapacityBehavior'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/PredictiveScalingMode.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.AutoScalingPlans.Types.PredictiveScalingMode+-- 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.AutoScalingPlans.Types.PredictiveScalingMode+  ( PredictiveScalingMode+      ( ..,+        PredictiveScalingMode_ForecastAndScale,+        PredictiveScalingMode_ForecastOnly+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PredictiveScalingMode = PredictiveScalingMode'+  { fromPredictiveScalingMode ::+      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 PredictiveScalingMode_ForecastAndScale :: PredictiveScalingMode+pattern PredictiveScalingMode_ForecastAndScale = PredictiveScalingMode' "ForecastAndScale"++pattern PredictiveScalingMode_ForecastOnly :: PredictiveScalingMode+pattern PredictiveScalingMode_ForecastOnly = PredictiveScalingMode' "ForecastOnly"++{-# COMPLETE+  PredictiveScalingMode_ForecastAndScale,+  PredictiveScalingMode_ForecastOnly,+  PredictiveScalingMode'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/ScalableDimension.hs view
@@ -0,0 +1,101 @@+{-# 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.AutoScalingPlans.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.AutoScalingPlans.Types.ScalableDimension+  ( ScalableDimension+      ( ..,+        ScalableDimension_Autoscaling_autoScalingGroup_DesiredCapacity,+        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_Rds_cluster_ReadReplicaCount+      ),+  )+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_Autoscaling_autoScalingGroup_DesiredCapacity :: ScalableDimension+pattern ScalableDimension_Autoscaling_autoScalingGroup_DesiredCapacity = ScalableDimension' "autoscaling:autoScalingGroup:DesiredCapacity"++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_Rds_cluster_ReadReplicaCount :: ScalableDimension+pattern ScalableDimension_Rds_cluster_ReadReplicaCount = ScalableDimension' "rds:cluster:ReadReplicaCount"++{-# COMPLETE+  ScalableDimension_Autoscaling_autoScalingGroup_DesiredCapacity,+  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_Rds_cluster_ReadReplicaCount,+  ScalableDimension'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/ScalingInstruction.hs view
@@ -0,0 +1,661 @@+{-# 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.AutoScalingPlans.Types.ScalingInstruction+-- 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.AutoScalingPlans.Types.ScalingInstruction where++import Amazonka.AutoScalingPlans.Types.CustomizedLoadMetricSpecification+import Amazonka.AutoScalingPlans.Types.PredefinedLoadMetricSpecification+import Amazonka.AutoScalingPlans.Types.PredictiveScalingMaxCapacityBehavior+import Amazonka.AutoScalingPlans.Types.PredictiveScalingMode+import Amazonka.AutoScalingPlans.Types.ScalableDimension+import Amazonka.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior+import Amazonka.AutoScalingPlans.Types.ServiceNamespace+import Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration+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 a scaling instruction for a scalable resource in a scaling+-- plan. Each scaling instruction applies to one resource.+--+-- AWS Auto Scaling creates target tracking scaling policies based on the+-- scaling instructions. Target tracking scaling policies adjust the+-- capacity of your scalable resource as required to maintain resource+-- utilization at the target value that you specified.+--+-- AWS Auto Scaling also configures predictive scaling for your Amazon EC2+-- Auto Scaling groups using a subset of parameters, including the load+-- metric, the scaling metric, the target value for the scaling metric, the+-- predictive scaling mode (forecast and scale or forecast only), and the+-- desired behavior when the forecast capacity exceeds the maximum capacity+-- of the resource. With predictive scaling, AWS Auto Scaling generates+-- forecasts with traffic predictions for the two days ahead and schedules+-- scaling actions that proactively add and remove resource capacity to+-- match the forecast.+--+-- We recommend waiting a minimum of 24 hours after creating an Auto+-- Scaling group to configure predictive scaling. At minimum, there must be+-- 24 hours of historical data to generate a forecast. For more+-- information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-best-practices.html Best Practices for AWS Auto Scaling>+-- in the /AWS Auto Scaling User Guide/.+--+-- /See:/ 'newScalingInstruction' smart constructor.+data ScalingInstruction = ScalingInstruction'+  { -- | The customized load metric to use for predictive scaling. This parameter+    -- or a __PredefinedLoadMetricSpecification__ is required when configuring+    -- predictive scaling, and cannot be used otherwise.+    customizedLoadMetricSpecification :: Prelude.Maybe CustomizedLoadMetricSpecification,+    -- | Controls whether dynamic scaling by AWS Auto Scaling is disabled. When+    -- dynamic scaling is enabled, AWS Auto Scaling creates target tracking+    -- scaling policies based on the specified target tracking configurations.+    --+    -- The default is enabled (@false@).+    disableDynamicScaling :: Prelude.Maybe Prelude.Bool,+    -- | The predefined load metric to use for predictive scaling. This parameter+    -- or a __CustomizedLoadMetricSpecification__ is required when configuring+    -- predictive scaling, and cannot be used otherwise.+    predefinedLoadMetricSpecification :: Prelude.Maybe PredefinedLoadMetricSpecification,+    -- | Defines the behavior that should be applied if the forecast capacity+    -- approaches or exceeds the maximum capacity specified for the resource.+    -- The default value is @SetForecastCapacityToMaxCapacity@.+    --+    -- The following are possible values:+    --+    -- -   @SetForecastCapacityToMaxCapacity@ - AWS Auto Scaling cannot scale+    --     resource capacity higher than the maximum capacity. The maximum+    --     capacity is enforced as a hard limit.+    --+    -- -   @SetMaxCapacityToForecastCapacity@ - AWS Auto Scaling may scale+    --     resource capacity higher than the maximum capacity to equal but not+    --     exceed forecast capacity.+    --+    -- -   @SetMaxCapacityAboveForecastCapacity@ - AWS Auto Scaling may scale+    --     resource capacity higher than the maximum capacity by a specified+    --     buffer value. The intention is to give the target tracking scaling+    --     policy extra capacity if unexpected traffic occurs.+    --+    -- Only valid when configuring predictive scaling.+    predictiveScalingMaxCapacityBehavior :: Prelude.Maybe PredictiveScalingMaxCapacityBehavior,+    -- | The size of the capacity buffer to use when the forecast capacity is+    -- close to or exceeds the maximum capacity. The value is specified as a+    -- percentage relative to the forecast capacity. For example, if the buffer+    -- is 10, this means a 10 percent buffer, such that if the forecast+    -- capacity is 50, and the maximum capacity is 40, then the effective+    -- maximum capacity is 55.+    --+    -- Only valid when configuring predictive scaling. Required if the+    -- __PredictiveScalingMaxCapacityBehavior__ is set to+    -- @SetMaxCapacityAboveForecastCapacity@, and cannot be used otherwise.+    --+    -- The range is 1-100.+    predictiveScalingMaxCapacityBuffer :: Prelude.Maybe Prelude.Int,+    -- | The predictive scaling mode. The default value is @ForecastAndScale@.+    -- Otherwise, AWS Auto Scaling forecasts capacity but does not create any+    -- scheduled scaling actions based on the capacity forecast.+    predictiveScalingMode :: Prelude.Maybe PredictiveScalingMode,+    -- | Controls whether a resource\'s externally created scaling policies are+    -- kept or replaced.+    --+    -- The default value is @KeepExternalPolicies@. If the parameter is set to+    -- @ReplaceExternalPolicies@, any scaling policies that are external to AWS+    -- Auto Scaling are deleted and new target tracking scaling policies+    -- created.+    --+    -- Only valid when configuring dynamic scaling.+    --+    -- Condition: The number of existing policies to be replaced must be less+    -- than or equal to 50. If there are more than 50 policies to be replaced,+    -- AWS Auto Scaling keeps all existing policies and does not create new+    -- ones.+    scalingPolicyUpdateBehavior :: Prelude.Maybe ScalingPolicyUpdateBehavior,+    -- | The amount of time, in seconds, to buffer the run time of scheduled+    -- scaling actions when scaling out. For example, if the forecast says to+    -- add capacity at 10:00 AM, and the buffer time is 5 minutes, then the run+    -- time of the corresponding scheduled scaling action will be 9:55 AM. The+    -- intention is to give resources time to be provisioned. For example, it+    -- can take a few minutes to launch an EC2 instance. The actual amount of+    -- time required depends on several factors, such as the size of the+    -- instance and whether there are startup scripts to complete.+    --+    -- The value must be less than the forecast interval duration of 3600+    -- seconds (60 minutes). The default is 300 seconds.+    --+    -- Only valid when configuring predictive scaling.+    scheduledActionBufferTime :: Prelude.Maybe Prelude.Natural,+    -- | The namespace of the AWS service.+    serviceNamespace :: ServiceNamespace,+    -- | The ID of the resource. This string consists of the resource type and+    -- unique identifier.+    --+    -- -   Auto Scaling group - The resource type is @autoScalingGroup@ and the+    --     unique identifier is the name of the Auto Scaling group. Example:+    --     @autoScalingGroup\/my-asg@.+    --+    -- -   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@.+    --+    -- -   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@.+    resourceId :: Prelude.Text,+    -- | The scalable dimension associated with the resource.+    --+    -- -   @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired+    --     capacity of an Auto Scaling group.+    --+    -- -   @ecs:service:DesiredCount@ - The desired task count of an ECS+    --     service.+    --+    -- -   @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a+    --     Spot Fleet request.+    --+    -- -   @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.+    scalableDimension :: ScalableDimension,+    -- | The minimum capacity of the resource.+    minCapacity :: Prelude.Int,+    -- | The maximum capacity of the resource. The exception to this upper limit+    -- is if you specify a non-default setting for+    -- __PredictiveScalingMaxCapacityBehavior__.+    maxCapacity :: Prelude.Int,+    -- | The target tracking configurations (up to 10). Each of these structures+    -- must specify a unique scaling metric and a target value for the metric.+    targetTrackingConfigurations :: [TargetTrackingConfiguration]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ScalingInstruction' 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:+--+-- 'customizedLoadMetricSpecification', 'scalingInstruction_customizedLoadMetricSpecification' - The customized load metric to use for predictive scaling. This parameter+-- or a __PredefinedLoadMetricSpecification__ is required when configuring+-- predictive scaling, and cannot be used otherwise.+--+-- 'disableDynamicScaling', 'scalingInstruction_disableDynamicScaling' - Controls whether dynamic scaling by AWS Auto Scaling is disabled. When+-- dynamic scaling is enabled, AWS Auto Scaling creates target tracking+-- scaling policies based on the specified target tracking configurations.+--+-- The default is enabled (@false@).+--+-- 'predefinedLoadMetricSpecification', 'scalingInstruction_predefinedLoadMetricSpecification' - The predefined load metric to use for predictive scaling. This parameter+-- or a __CustomizedLoadMetricSpecification__ is required when configuring+-- predictive scaling, and cannot be used otherwise.+--+-- 'predictiveScalingMaxCapacityBehavior', 'scalingInstruction_predictiveScalingMaxCapacityBehavior' - Defines the behavior that should be applied if the forecast capacity+-- approaches or exceeds the maximum capacity specified for the resource.+-- The default value is @SetForecastCapacityToMaxCapacity@.+--+-- The following are possible values:+--+-- -   @SetForecastCapacityToMaxCapacity@ - AWS Auto Scaling cannot scale+--     resource capacity higher than the maximum capacity. The maximum+--     capacity is enforced as a hard limit.+--+-- -   @SetMaxCapacityToForecastCapacity@ - AWS Auto Scaling may scale+--     resource capacity higher than the maximum capacity to equal but not+--     exceed forecast capacity.+--+-- -   @SetMaxCapacityAboveForecastCapacity@ - AWS Auto Scaling may scale+--     resource capacity higher than the maximum capacity by a specified+--     buffer value. The intention is to give the target tracking scaling+--     policy extra capacity if unexpected traffic occurs.+--+-- Only valid when configuring predictive scaling.+--+-- 'predictiveScalingMaxCapacityBuffer', 'scalingInstruction_predictiveScalingMaxCapacityBuffer' - The size of the capacity buffer to use when the forecast capacity is+-- close to or exceeds the maximum capacity. The value is specified as a+-- percentage relative to the forecast capacity. For example, if the buffer+-- is 10, this means a 10 percent buffer, such that if the forecast+-- capacity is 50, and the maximum capacity is 40, then the effective+-- maximum capacity is 55.+--+-- Only valid when configuring predictive scaling. Required if the+-- __PredictiveScalingMaxCapacityBehavior__ is set to+-- @SetMaxCapacityAboveForecastCapacity@, and cannot be used otherwise.+--+-- The range is 1-100.+--+-- 'predictiveScalingMode', 'scalingInstruction_predictiveScalingMode' - The predictive scaling mode. The default value is @ForecastAndScale@.+-- Otherwise, AWS Auto Scaling forecasts capacity but does not create any+-- scheduled scaling actions based on the capacity forecast.+--+-- 'scalingPolicyUpdateBehavior', 'scalingInstruction_scalingPolicyUpdateBehavior' - Controls whether a resource\'s externally created scaling policies are+-- kept or replaced.+--+-- The default value is @KeepExternalPolicies@. If the parameter is set to+-- @ReplaceExternalPolicies@, any scaling policies that are external to AWS+-- Auto Scaling are deleted and new target tracking scaling policies+-- created.+--+-- Only valid when configuring dynamic scaling.+--+-- Condition: The number of existing policies to be replaced must be less+-- than or equal to 50. If there are more than 50 policies to be replaced,+-- AWS Auto Scaling keeps all existing policies and does not create new+-- ones.+--+-- 'scheduledActionBufferTime', 'scalingInstruction_scheduledActionBufferTime' - The amount of time, in seconds, to buffer the run time of scheduled+-- scaling actions when scaling out. For example, if the forecast says to+-- add capacity at 10:00 AM, and the buffer time is 5 minutes, then the run+-- time of the corresponding scheduled scaling action will be 9:55 AM. The+-- intention is to give resources time to be provisioned. For example, it+-- can take a few minutes to launch an EC2 instance. The actual amount of+-- time required depends on several factors, such as the size of the+-- instance and whether there are startup scripts to complete.+--+-- The value must be less than the forecast interval duration of 3600+-- seconds (60 minutes). The default is 300 seconds.+--+-- Only valid when configuring predictive scaling.+--+-- 'serviceNamespace', 'scalingInstruction_serviceNamespace' - The namespace of the AWS service.+--+-- 'resourceId', 'scalingInstruction_resourceId' - The ID of the resource. This string consists of the resource type and+-- unique identifier.+--+-- -   Auto Scaling group - The resource type is @autoScalingGroup@ and the+--     unique identifier is the name of the Auto Scaling group. Example:+--     @autoScalingGroup\/my-asg@.+--+-- -   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@.+--+-- -   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@.+--+-- 'scalableDimension', 'scalingInstruction_scalableDimension' - The scalable dimension associated with the resource.+--+-- -   @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired+--     capacity of an Auto Scaling group.+--+-- -   @ecs:service:DesiredCount@ - The desired task count of an ECS+--     service.+--+-- -   @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a+--     Spot Fleet request.+--+-- -   @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.+--+-- 'minCapacity', 'scalingInstruction_minCapacity' - The minimum capacity of the resource.+--+-- 'maxCapacity', 'scalingInstruction_maxCapacity' - The maximum capacity of the resource. The exception to this upper limit+-- is if you specify a non-default setting for+-- __PredictiveScalingMaxCapacityBehavior__.+--+-- 'targetTrackingConfigurations', 'scalingInstruction_targetTrackingConfigurations' - The target tracking configurations (up to 10). Each of these structures+-- must specify a unique scaling metric and a target value for the metric.+newScalingInstruction ::+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  -- | 'minCapacity'+  Prelude.Int ->+  -- | 'maxCapacity'+  Prelude.Int ->+  ScalingInstruction+newScalingInstruction+  pServiceNamespace_+  pResourceId_+  pScalableDimension_+  pMinCapacity_+  pMaxCapacity_ =+    ScalingInstruction'+      { customizedLoadMetricSpecification =+          Prelude.Nothing,+        disableDynamicScaling = Prelude.Nothing,+        predefinedLoadMetricSpecification = Prelude.Nothing,+        predictiveScalingMaxCapacityBehavior =+          Prelude.Nothing,+        predictiveScalingMaxCapacityBuffer = Prelude.Nothing,+        predictiveScalingMode = Prelude.Nothing,+        scalingPolicyUpdateBehavior = Prelude.Nothing,+        scheduledActionBufferTime = Prelude.Nothing,+        serviceNamespace = pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_,+        minCapacity = pMinCapacity_,+        maxCapacity = pMaxCapacity_,+        targetTrackingConfigurations = Prelude.mempty+      }++-- | The customized load metric to use for predictive scaling. This parameter+-- or a __PredefinedLoadMetricSpecification__ is required when configuring+-- predictive scaling, and cannot be used otherwise.+scalingInstruction_customizedLoadMetricSpecification :: Lens.Lens' ScalingInstruction (Prelude.Maybe CustomizedLoadMetricSpecification)+scalingInstruction_customizedLoadMetricSpecification = Lens.lens (\ScalingInstruction' {customizedLoadMetricSpecification} -> customizedLoadMetricSpecification) (\s@ScalingInstruction' {} a -> s {customizedLoadMetricSpecification = a} :: ScalingInstruction)++-- | Controls whether dynamic scaling by AWS Auto Scaling is disabled. When+-- dynamic scaling is enabled, AWS Auto Scaling creates target tracking+-- scaling policies based on the specified target tracking configurations.+--+-- The default is enabled (@false@).+scalingInstruction_disableDynamicScaling :: Lens.Lens' ScalingInstruction (Prelude.Maybe Prelude.Bool)+scalingInstruction_disableDynamicScaling = Lens.lens (\ScalingInstruction' {disableDynamicScaling} -> disableDynamicScaling) (\s@ScalingInstruction' {} a -> s {disableDynamicScaling = a} :: ScalingInstruction)++-- | The predefined load metric to use for predictive scaling. This parameter+-- or a __CustomizedLoadMetricSpecification__ is required when configuring+-- predictive scaling, and cannot be used otherwise.+scalingInstruction_predefinedLoadMetricSpecification :: Lens.Lens' ScalingInstruction (Prelude.Maybe PredefinedLoadMetricSpecification)+scalingInstruction_predefinedLoadMetricSpecification = Lens.lens (\ScalingInstruction' {predefinedLoadMetricSpecification} -> predefinedLoadMetricSpecification) (\s@ScalingInstruction' {} a -> s {predefinedLoadMetricSpecification = a} :: ScalingInstruction)++-- | Defines the behavior that should be applied if the forecast capacity+-- approaches or exceeds the maximum capacity specified for the resource.+-- The default value is @SetForecastCapacityToMaxCapacity@.+--+-- The following are possible values:+--+-- -   @SetForecastCapacityToMaxCapacity@ - AWS Auto Scaling cannot scale+--     resource capacity higher than the maximum capacity. The maximum+--     capacity is enforced as a hard limit.+--+-- -   @SetMaxCapacityToForecastCapacity@ - AWS Auto Scaling may scale+--     resource capacity higher than the maximum capacity to equal but not+--     exceed forecast capacity.+--+-- -   @SetMaxCapacityAboveForecastCapacity@ - AWS Auto Scaling may scale+--     resource capacity higher than the maximum capacity by a specified+--     buffer value. The intention is to give the target tracking scaling+--     policy extra capacity if unexpected traffic occurs.+--+-- Only valid when configuring predictive scaling.+scalingInstruction_predictiveScalingMaxCapacityBehavior :: Lens.Lens' ScalingInstruction (Prelude.Maybe PredictiveScalingMaxCapacityBehavior)+scalingInstruction_predictiveScalingMaxCapacityBehavior = Lens.lens (\ScalingInstruction' {predictiveScalingMaxCapacityBehavior} -> predictiveScalingMaxCapacityBehavior) (\s@ScalingInstruction' {} a -> s {predictiveScalingMaxCapacityBehavior = a} :: ScalingInstruction)++-- | The size of the capacity buffer to use when the forecast capacity is+-- close to or exceeds the maximum capacity. The value is specified as a+-- percentage relative to the forecast capacity. For example, if the buffer+-- is 10, this means a 10 percent buffer, such that if the forecast+-- capacity is 50, and the maximum capacity is 40, then the effective+-- maximum capacity is 55.+--+-- Only valid when configuring predictive scaling. Required if the+-- __PredictiveScalingMaxCapacityBehavior__ is set to+-- @SetMaxCapacityAboveForecastCapacity@, and cannot be used otherwise.+--+-- The range is 1-100.+scalingInstruction_predictiveScalingMaxCapacityBuffer :: Lens.Lens' ScalingInstruction (Prelude.Maybe Prelude.Int)+scalingInstruction_predictiveScalingMaxCapacityBuffer = Lens.lens (\ScalingInstruction' {predictiveScalingMaxCapacityBuffer} -> predictiveScalingMaxCapacityBuffer) (\s@ScalingInstruction' {} a -> s {predictiveScalingMaxCapacityBuffer = a} :: ScalingInstruction)++-- | The predictive scaling mode. The default value is @ForecastAndScale@.+-- Otherwise, AWS Auto Scaling forecasts capacity but does not create any+-- scheduled scaling actions based on the capacity forecast.+scalingInstruction_predictiveScalingMode :: Lens.Lens' ScalingInstruction (Prelude.Maybe PredictiveScalingMode)+scalingInstruction_predictiveScalingMode = Lens.lens (\ScalingInstruction' {predictiveScalingMode} -> predictiveScalingMode) (\s@ScalingInstruction' {} a -> s {predictiveScalingMode = a} :: ScalingInstruction)++-- | Controls whether a resource\'s externally created scaling policies are+-- kept or replaced.+--+-- The default value is @KeepExternalPolicies@. If the parameter is set to+-- @ReplaceExternalPolicies@, any scaling policies that are external to AWS+-- Auto Scaling are deleted and new target tracking scaling policies+-- created.+--+-- Only valid when configuring dynamic scaling.+--+-- Condition: The number of existing policies to be replaced must be less+-- than or equal to 50. If there are more than 50 policies to be replaced,+-- AWS Auto Scaling keeps all existing policies and does not create new+-- ones.+scalingInstruction_scalingPolicyUpdateBehavior :: Lens.Lens' ScalingInstruction (Prelude.Maybe ScalingPolicyUpdateBehavior)+scalingInstruction_scalingPolicyUpdateBehavior = Lens.lens (\ScalingInstruction' {scalingPolicyUpdateBehavior} -> scalingPolicyUpdateBehavior) (\s@ScalingInstruction' {} a -> s {scalingPolicyUpdateBehavior = a} :: ScalingInstruction)++-- | The amount of time, in seconds, to buffer the run time of scheduled+-- scaling actions when scaling out. For example, if the forecast says to+-- add capacity at 10:00 AM, and the buffer time is 5 minutes, then the run+-- time of the corresponding scheduled scaling action will be 9:55 AM. The+-- intention is to give resources time to be provisioned. For example, it+-- can take a few minutes to launch an EC2 instance. The actual amount of+-- time required depends on several factors, such as the size of the+-- instance and whether there are startup scripts to complete.+--+-- The value must be less than the forecast interval duration of 3600+-- seconds (60 minutes). The default is 300 seconds.+--+-- Only valid when configuring predictive scaling.+scalingInstruction_scheduledActionBufferTime :: Lens.Lens' ScalingInstruction (Prelude.Maybe Prelude.Natural)+scalingInstruction_scheduledActionBufferTime = Lens.lens (\ScalingInstruction' {scheduledActionBufferTime} -> scheduledActionBufferTime) (\s@ScalingInstruction' {} a -> s {scheduledActionBufferTime = a} :: ScalingInstruction)++-- | The namespace of the AWS service.+scalingInstruction_serviceNamespace :: Lens.Lens' ScalingInstruction ServiceNamespace+scalingInstruction_serviceNamespace = Lens.lens (\ScalingInstruction' {serviceNamespace} -> serviceNamespace) (\s@ScalingInstruction' {} a -> s {serviceNamespace = a} :: ScalingInstruction)++-- | The ID of the resource. This string consists of the resource type and+-- unique identifier.+--+-- -   Auto Scaling group - The resource type is @autoScalingGroup@ and the+--     unique identifier is the name of the Auto Scaling group. Example:+--     @autoScalingGroup\/my-asg@.+--+-- -   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@.+--+-- -   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@.+scalingInstruction_resourceId :: Lens.Lens' ScalingInstruction Prelude.Text+scalingInstruction_resourceId = Lens.lens (\ScalingInstruction' {resourceId} -> resourceId) (\s@ScalingInstruction' {} a -> s {resourceId = a} :: ScalingInstruction)++-- | The scalable dimension associated with the resource.+--+-- -   @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired+--     capacity of an Auto Scaling group.+--+-- -   @ecs:service:DesiredCount@ - The desired task count of an ECS+--     service.+--+-- -   @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a+--     Spot Fleet request.+--+-- -   @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.+scalingInstruction_scalableDimension :: Lens.Lens' ScalingInstruction ScalableDimension+scalingInstruction_scalableDimension = Lens.lens (\ScalingInstruction' {scalableDimension} -> scalableDimension) (\s@ScalingInstruction' {} a -> s {scalableDimension = a} :: ScalingInstruction)++-- | The minimum capacity of the resource.+scalingInstruction_minCapacity :: Lens.Lens' ScalingInstruction Prelude.Int+scalingInstruction_minCapacity = Lens.lens (\ScalingInstruction' {minCapacity} -> minCapacity) (\s@ScalingInstruction' {} a -> s {minCapacity = a} :: ScalingInstruction)++-- | The maximum capacity of the resource. The exception to this upper limit+-- is if you specify a non-default setting for+-- __PredictiveScalingMaxCapacityBehavior__.+scalingInstruction_maxCapacity :: Lens.Lens' ScalingInstruction Prelude.Int+scalingInstruction_maxCapacity = Lens.lens (\ScalingInstruction' {maxCapacity} -> maxCapacity) (\s@ScalingInstruction' {} a -> s {maxCapacity = a} :: ScalingInstruction)++-- | The target tracking configurations (up to 10). Each of these structures+-- must specify a unique scaling metric and a target value for the metric.+scalingInstruction_targetTrackingConfigurations :: Lens.Lens' ScalingInstruction [TargetTrackingConfiguration]+scalingInstruction_targetTrackingConfigurations = Lens.lens (\ScalingInstruction' {targetTrackingConfigurations} -> targetTrackingConfigurations) (\s@ScalingInstruction' {} a -> s {targetTrackingConfigurations = a} :: ScalingInstruction) Prelude.. Lens.coerced++instance Data.FromJSON ScalingInstruction where+  parseJSON =+    Data.withObject+      "ScalingInstruction"+      ( \x ->+          ScalingInstruction'+            Prelude.<$> (x Data..:? "CustomizedLoadMetricSpecification")+            Prelude.<*> (x Data..:? "DisableDynamicScaling")+            Prelude.<*> (x Data..:? "PredefinedLoadMetricSpecification")+            Prelude.<*> (x Data..:? "PredictiveScalingMaxCapacityBehavior")+            Prelude.<*> (x Data..:? "PredictiveScalingMaxCapacityBuffer")+            Prelude.<*> (x Data..:? "PredictiveScalingMode")+            Prelude.<*> (x Data..:? "ScalingPolicyUpdateBehavior")+            Prelude.<*> (x Data..:? "ScheduledActionBufferTime")+            Prelude.<*> (x Data..: "ServiceNamespace")+            Prelude.<*> (x Data..: "ResourceId")+            Prelude.<*> (x Data..: "ScalableDimension")+            Prelude.<*> (x Data..: "MinCapacity")+            Prelude.<*> (x Data..: "MaxCapacity")+            Prelude.<*> ( x+                            Data..:? "TargetTrackingConfigurations"+                            Data..!= Prelude.mempty+                        )+      )++instance Prelude.Hashable ScalingInstruction where+  hashWithSalt _salt ScalingInstruction' {..} =+    _salt+      `Prelude.hashWithSalt` customizedLoadMetricSpecification+      `Prelude.hashWithSalt` disableDynamicScaling+      `Prelude.hashWithSalt` predefinedLoadMetricSpecification+      `Prelude.hashWithSalt` predictiveScalingMaxCapacityBehavior+      `Prelude.hashWithSalt` predictiveScalingMaxCapacityBuffer+      `Prelude.hashWithSalt` predictiveScalingMode+      `Prelude.hashWithSalt` scalingPolicyUpdateBehavior+      `Prelude.hashWithSalt` scheduledActionBufferTime+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` minCapacity+      `Prelude.hashWithSalt` maxCapacity+      `Prelude.hashWithSalt` targetTrackingConfigurations++instance Prelude.NFData ScalingInstruction where+  rnf ScalingInstruction' {..} =+    Prelude.rnf customizedLoadMetricSpecification+      `Prelude.seq` Prelude.rnf disableDynamicScaling+      `Prelude.seq` Prelude.rnf predefinedLoadMetricSpecification+      `Prelude.seq` Prelude.rnf predictiveScalingMaxCapacityBehavior+      `Prelude.seq` Prelude.rnf predictiveScalingMaxCapacityBuffer+      `Prelude.seq` Prelude.rnf predictiveScalingMode+      `Prelude.seq` Prelude.rnf scalingPolicyUpdateBehavior+      `Prelude.seq` Prelude.rnf scheduledActionBufferTime+      `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 targetTrackingConfigurations++instance Data.ToJSON ScalingInstruction where+  toJSON ScalingInstruction' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("CustomizedLoadMetricSpecification" Data..=)+              Prelude.<$> customizedLoadMetricSpecification,+            ("DisableDynamicScaling" Data..=)+              Prelude.<$> disableDynamicScaling,+            ("PredefinedLoadMetricSpecification" Data..=)+              Prelude.<$> predefinedLoadMetricSpecification,+            ("PredictiveScalingMaxCapacityBehavior" Data..=)+              Prelude.<$> predictiveScalingMaxCapacityBehavior,+            ("PredictiveScalingMaxCapacityBuffer" Data..=)+              Prelude.<$> predictiveScalingMaxCapacityBuffer,+            ("PredictiveScalingMode" Data..=)+              Prelude.<$> predictiveScalingMode,+            ("ScalingPolicyUpdateBehavior" Data..=)+              Prelude.<$> scalingPolicyUpdateBehavior,+            ("ScheduledActionBufferTime" Data..=)+              Prelude.<$> scheduledActionBufferTime,+            Prelude.Just+              ("ServiceNamespace" Data..= serviceNamespace),+            Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just+              ("ScalableDimension" Data..= scalableDimension),+            Prelude.Just ("MinCapacity" Data..= minCapacity),+            Prelude.Just ("MaxCapacity" Data..= maxCapacity),+            Prelude.Just+              ( "TargetTrackingConfigurations"+                  Data..= targetTrackingConfigurations+              )+          ]+      )
+ gen/Amazonka/AutoScalingPlans/Types/ScalingMetricType.hs view
@@ -0,0 +1,126 @@+{-# 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.AutoScalingPlans.Types.ScalingMetricType+-- 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.AutoScalingPlans.Types.ScalingMetricType+  ( ScalingMetricType+      ( ..,+        ScalingMetricType_ALBRequestCountPerTarget,+        ScalingMetricType_ASGAverageCPUUtilization,+        ScalingMetricType_ASGAverageNetworkIn,+        ScalingMetricType_ASGAverageNetworkOut,+        ScalingMetricType_DynamoDBReadCapacityUtilization,+        ScalingMetricType_DynamoDBWriteCapacityUtilization,+        ScalingMetricType_EC2SpotFleetRequestAverageCPUUtilization,+        ScalingMetricType_EC2SpotFleetRequestAverageNetworkIn,+        ScalingMetricType_EC2SpotFleetRequestAverageNetworkOut,+        ScalingMetricType_ECSServiceAverageCPUUtilization,+        ScalingMetricType_ECSServiceAverageMemoryUtilization,+        ScalingMetricType_RDSReaderAverageCPUUtilization,+        ScalingMetricType_RDSReaderAverageDatabaseConnections+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ScalingMetricType = ScalingMetricType'+  { fromScalingMetricType ::+      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 ScalingMetricType_ALBRequestCountPerTarget :: ScalingMetricType+pattern ScalingMetricType_ALBRequestCountPerTarget = ScalingMetricType' "ALBRequestCountPerTarget"++pattern ScalingMetricType_ASGAverageCPUUtilization :: ScalingMetricType+pattern ScalingMetricType_ASGAverageCPUUtilization = ScalingMetricType' "ASGAverageCPUUtilization"++pattern ScalingMetricType_ASGAverageNetworkIn :: ScalingMetricType+pattern ScalingMetricType_ASGAverageNetworkIn = ScalingMetricType' "ASGAverageNetworkIn"++pattern ScalingMetricType_ASGAverageNetworkOut :: ScalingMetricType+pattern ScalingMetricType_ASGAverageNetworkOut = ScalingMetricType' "ASGAverageNetworkOut"++pattern ScalingMetricType_DynamoDBReadCapacityUtilization :: ScalingMetricType+pattern ScalingMetricType_DynamoDBReadCapacityUtilization = ScalingMetricType' "DynamoDBReadCapacityUtilization"++pattern ScalingMetricType_DynamoDBWriteCapacityUtilization :: ScalingMetricType+pattern ScalingMetricType_DynamoDBWriteCapacityUtilization = ScalingMetricType' "DynamoDBWriteCapacityUtilization"++pattern ScalingMetricType_EC2SpotFleetRequestAverageCPUUtilization :: ScalingMetricType+pattern ScalingMetricType_EC2SpotFleetRequestAverageCPUUtilization = ScalingMetricType' "EC2SpotFleetRequestAverageCPUUtilization"++pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkIn :: ScalingMetricType+pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkIn = ScalingMetricType' "EC2SpotFleetRequestAverageNetworkIn"++pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkOut :: ScalingMetricType+pattern ScalingMetricType_EC2SpotFleetRequestAverageNetworkOut = ScalingMetricType' "EC2SpotFleetRequestAverageNetworkOut"++pattern ScalingMetricType_ECSServiceAverageCPUUtilization :: ScalingMetricType+pattern ScalingMetricType_ECSServiceAverageCPUUtilization = ScalingMetricType' "ECSServiceAverageCPUUtilization"++pattern ScalingMetricType_ECSServiceAverageMemoryUtilization :: ScalingMetricType+pattern ScalingMetricType_ECSServiceAverageMemoryUtilization = ScalingMetricType' "ECSServiceAverageMemoryUtilization"++pattern ScalingMetricType_RDSReaderAverageCPUUtilization :: ScalingMetricType+pattern ScalingMetricType_RDSReaderAverageCPUUtilization = ScalingMetricType' "RDSReaderAverageCPUUtilization"++pattern ScalingMetricType_RDSReaderAverageDatabaseConnections :: ScalingMetricType+pattern ScalingMetricType_RDSReaderAverageDatabaseConnections = ScalingMetricType' "RDSReaderAverageDatabaseConnections"++{-# COMPLETE+  ScalingMetricType_ALBRequestCountPerTarget,+  ScalingMetricType_ASGAverageCPUUtilization,+  ScalingMetricType_ASGAverageNetworkIn,+  ScalingMetricType_ASGAverageNetworkOut,+  ScalingMetricType_DynamoDBReadCapacityUtilization,+  ScalingMetricType_DynamoDBWriteCapacityUtilization,+  ScalingMetricType_EC2SpotFleetRequestAverageCPUUtilization,+  ScalingMetricType_EC2SpotFleetRequestAverageNetworkIn,+  ScalingMetricType_EC2SpotFleetRequestAverageNetworkOut,+  ScalingMetricType_ECSServiceAverageCPUUtilization,+  ScalingMetricType_ECSServiceAverageMemoryUtilization,+  ScalingMetricType_RDSReaderAverageCPUUtilization,+  ScalingMetricType_RDSReaderAverageDatabaseConnections,+  ScalingMetricType'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/ScalingPlan.hs view
@@ -0,0 +1,228 @@+{-# 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.AutoScalingPlans.Types.ScalingPlan+-- 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.AutoScalingPlans.Types.ScalingPlan where++import Amazonka.AutoScalingPlans.Types.ApplicationSource+import Amazonka.AutoScalingPlans.Types.ScalingInstruction+import Amazonka.AutoScalingPlans.Types.ScalingPlanStatusCode+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 plan.+--+-- /See:/ 'newScalingPlan' smart constructor.+data ScalingPlan = ScalingPlan'+  { -- | The Unix time stamp when the scaling plan was created.+    creationTime :: Prelude.Maybe Data.POSIX,+    -- | A simple message about the current status of the scaling plan.+    statusMessage :: Prelude.Maybe Prelude.Text,+    -- | The Unix time stamp when the scaling plan entered the current status.+    statusStartTime :: Prelude.Maybe Data.POSIX,+    -- | The name of the scaling plan.+    scalingPlanName :: Prelude.Text,+    -- | The version number of the scaling plan.+    scalingPlanVersion :: Prelude.Integer,+    -- | A CloudFormation stack or a set of tags. You can create one scaling plan+    -- per application source.+    applicationSource :: ApplicationSource,+    -- | The scaling instructions.+    scalingInstructions :: [ScalingInstruction],+    -- | The status of the scaling plan.+    --+    -- -   @Active@ - The scaling plan is active.+    --+    -- -   @ActiveWithProblems@ - The scaling plan is active, but the scaling+    --     configuration for one or more resources could not be applied.+    --+    -- -   @CreationInProgress@ - The scaling plan is being created.+    --+    -- -   @CreationFailed@ - The scaling plan could not be created.+    --+    -- -   @DeletionInProgress@ - The scaling plan is being deleted.+    --+    -- -   @DeletionFailed@ - The scaling plan could not be deleted.+    --+    -- -   @UpdateInProgress@ - The scaling plan is being updated.+    --+    -- -   @UpdateFailed@ - The scaling plan could not be updated.+    statusCode :: ScalingPlanStatusCode+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ScalingPlan' 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:+--+-- 'creationTime', 'scalingPlan_creationTime' - The Unix time stamp when the scaling plan was created.+--+-- 'statusMessage', 'scalingPlan_statusMessage' - A simple message about the current status of the scaling plan.+--+-- 'statusStartTime', 'scalingPlan_statusStartTime' - The Unix time stamp when the scaling plan entered the current status.+--+-- 'scalingPlanName', 'scalingPlan_scalingPlanName' - The name of the scaling plan.+--+-- 'scalingPlanVersion', 'scalingPlan_scalingPlanVersion' - The version number of the scaling plan.+--+-- 'applicationSource', 'scalingPlan_applicationSource' - A CloudFormation stack or a set of tags. You can create one scaling plan+-- per application source.+--+-- 'scalingInstructions', 'scalingPlan_scalingInstructions' - The scaling instructions.+--+-- 'statusCode', 'scalingPlan_statusCode' - The status of the scaling plan.+--+-- -   @Active@ - The scaling plan is active.+--+-- -   @ActiveWithProblems@ - The scaling plan is active, but the scaling+--     configuration for one or more resources could not be applied.+--+-- -   @CreationInProgress@ - The scaling plan is being created.+--+-- -   @CreationFailed@ - The scaling plan could not be created.+--+-- -   @DeletionInProgress@ - The scaling plan is being deleted.+--+-- -   @DeletionFailed@ - The scaling plan could not be deleted.+--+-- -   @UpdateInProgress@ - The scaling plan is being updated.+--+-- -   @UpdateFailed@ - The scaling plan could not be updated.+newScalingPlan ::+  -- | 'scalingPlanName'+  Prelude.Text ->+  -- | 'scalingPlanVersion'+  Prelude.Integer ->+  -- | 'applicationSource'+  ApplicationSource ->+  -- | 'statusCode'+  ScalingPlanStatusCode ->+  ScalingPlan+newScalingPlan+  pScalingPlanName_+  pScalingPlanVersion_+  pApplicationSource_+  pStatusCode_ =+    ScalingPlan'+      { creationTime = Prelude.Nothing,+        statusMessage = Prelude.Nothing,+        statusStartTime = Prelude.Nothing,+        scalingPlanName = pScalingPlanName_,+        scalingPlanVersion = pScalingPlanVersion_,+        applicationSource = pApplicationSource_,+        scalingInstructions = Prelude.mempty,+        statusCode = pStatusCode_+      }++-- | The Unix time stamp when the scaling plan was created.+scalingPlan_creationTime :: Lens.Lens' ScalingPlan (Prelude.Maybe Prelude.UTCTime)+scalingPlan_creationTime = Lens.lens (\ScalingPlan' {creationTime} -> creationTime) (\s@ScalingPlan' {} a -> s {creationTime = a} :: ScalingPlan) Prelude.. Lens.mapping Data._Time++-- | A simple message about the current status of the scaling plan.+scalingPlan_statusMessage :: Lens.Lens' ScalingPlan (Prelude.Maybe Prelude.Text)+scalingPlan_statusMessage = Lens.lens (\ScalingPlan' {statusMessage} -> statusMessage) (\s@ScalingPlan' {} a -> s {statusMessage = a} :: ScalingPlan)++-- | The Unix time stamp when the scaling plan entered the current status.+scalingPlan_statusStartTime :: Lens.Lens' ScalingPlan (Prelude.Maybe Prelude.UTCTime)+scalingPlan_statusStartTime = Lens.lens (\ScalingPlan' {statusStartTime} -> statusStartTime) (\s@ScalingPlan' {} a -> s {statusStartTime = a} :: ScalingPlan) Prelude.. Lens.mapping Data._Time++-- | The name of the scaling plan.+scalingPlan_scalingPlanName :: Lens.Lens' ScalingPlan Prelude.Text+scalingPlan_scalingPlanName = Lens.lens (\ScalingPlan' {scalingPlanName} -> scalingPlanName) (\s@ScalingPlan' {} a -> s {scalingPlanName = a} :: ScalingPlan)++-- | The version number of the scaling plan.+scalingPlan_scalingPlanVersion :: Lens.Lens' ScalingPlan Prelude.Integer+scalingPlan_scalingPlanVersion = Lens.lens (\ScalingPlan' {scalingPlanVersion} -> scalingPlanVersion) (\s@ScalingPlan' {} a -> s {scalingPlanVersion = a} :: ScalingPlan)++-- | A CloudFormation stack or a set of tags. You can create one scaling plan+-- per application source.+scalingPlan_applicationSource :: Lens.Lens' ScalingPlan ApplicationSource+scalingPlan_applicationSource = Lens.lens (\ScalingPlan' {applicationSource} -> applicationSource) (\s@ScalingPlan' {} a -> s {applicationSource = a} :: ScalingPlan)++-- | The scaling instructions.+scalingPlan_scalingInstructions :: Lens.Lens' ScalingPlan [ScalingInstruction]+scalingPlan_scalingInstructions = Lens.lens (\ScalingPlan' {scalingInstructions} -> scalingInstructions) (\s@ScalingPlan' {} a -> s {scalingInstructions = a} :: ScalingPlan) Prelude.. Lens.coerced++-- | The status of the scaling plan.+--+-- -   @Active@ - The scaling plan is active.+--+-- -   @ActiveWithProblems@ - The scaling plan is active, but the scaling+--     configuration for one or more resources could not be applied.+--+-- -   @CreationInProgress@ - The scaling plan is being created.+--+-- -   @CreationFailed@ - The scaling plan could not be created.+--+-- -   @DeletionInProgress@ - The scaling plan is being deleted.+--+-- -   @DeletionFailed@ - The scaling plan could not be deleted.+--+-- -   @UpdateInProgress@ - The scaling plan is being updated.+--+-- -   @UpdateFailed@ - The scaling plan could not be updated.+scalingPlan_statusCode :: Lens.Lens' ScalingPlan ScalingPlanStatusCode+scalingPlan_statusCode = Lens.lens (\ScalingPlan' {statusCode} -> statusCode) (\s@ScalingPlan' {} a -> s {statusCode = a} :: ScalingPlan)++instance Data.FromJSON ScalingPlan where+  parseJSON =+    Data.withObject+      "ScalingPlan"+      ( \x ->+          ScalingPlan'+            Prelude.<$> (x Data..:? "CreationTime")+            Prelude.<*> (x Data..:? "StatusMessage")+            Prelude.<*> (x Data..:? "StatusStartTime")+            Prelude.<*> (x Data..: "ScalingPlanName")+            Prelude.<*> (x Data..: "ScalingPlanVersion")+            Prelude.<*> (x Data..: "ApplicationSource")+            Prelude.<*> ( x+                            Data..:? "ScalingInstructions"+                            Data..!= Prelude.mempty+                        )+            Prelude.<*> (x Data..: "StatusCode")+      )++instance Prelude.Hashable ScalingPlan where+  hashWithSalt _salt ScalingPlan' {..} =+    _salt+      `Prelude.hashWithSalt` creationTime+      `Prelude.hashWithSalt` statusMessage+      `Prelude.hashWithSalt` statusStartTime+      `Prelude.hashWithSalt` scalingPlanName+      `Prelude.hashWithSalt` scalingPlanVersion+      `Prelude.hashWithSalt` applicationSource+      `Prelude.hashWithSalt` scalingInstructions+      `Prelude.hashWithSalt` statusCode++instance Prelude.NFData ScalingPlan where+  rnf ScalingPlan' {..} =+    Prelude.rnf creationTime+      `Prelude.seq` Prelude.rnf statusMessage+      `Prelude.seq` Prelude.rnf statusStartTime+      `Prelude.seq` Prelude.rnf scalingPlanName+      `Prelude.seq` Prelude.rnf scalingPlanVersion+      `Prelude.seq` Prelude.rnf applicationSource+      `Prelude.seq` Prelude.rnf scalingInstructions+      `Prelude.seq` Prelude.rnf statusCode
+ gen/Amazonka/AutoScalingPlans/Types/ScalingPlanResource.hs view
@@ -0,0 +1,359 @@+{-# 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.AutoScalingPlans.Types.ScalingPlanResource+-- 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.AutoScalingPlans.Types.ScalingPlanResource where++import Amazonka.AutoScalingPlans.Types.ScalableDimension+import Amazonka.AutoScalingPlans.Types.ScalingPolicy+import Amazonka.AutoScalingPlans.Types.ScalingStatusCode+import Amazonka.AutoScalingPlans.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 scalable resource.+--+-- /See:/ 'newScalingPlanResource' smart constructor.+data ScalingPlanResource = ScalingPlanResource'+  { -- | The scaling policies.+    scalingPolicies :: Prelude.Maybe [ScalingPolicy],+    -- | A simple message about the current scaling status of the resource.+    scalingStatusMessage :: Prelude.Maybe Prelude.Text,+    -- | The name of the scaling plan.+    scalingPlanName :: Prelude.Text,+    -- | The version number of the scaling plan.+    scalingPlanVersion :: Prelude.Integer,+    -- | The namespace of the AWS service.+    serviceNamespace :: ServiceNamespace,+    -- | The ID of the resource. This string consists of the resource type and+    -- unique identifier.+    --+    -- -   Auto Scaling group - The resource type is @autoScalingGroup@ and the+    --     unique identifier is the name of the Auto Scaling group. Example:+    --     @autoScalingGroup\/my-asg@.+    --+    -- -   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@.+    --+    -- -   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@.+    resourceId :: Prelude.Text,+    -- | The scalable dimension for the resource.+    --+    -- -   @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired+    --     capacity of an Auto Scaling group.+    --+    -- -   @ecs:service:DesiredCount@ - The desired task count of an ECS+    --     service.+    --+    -- -   @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a+    --     Spot Fleet request.+    --+    -- -   @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.+    scalableDimension :: ScalableDimension,+    -- | The scaling status of the resource.+    --+    -- -   @Active@ - The scaling configuration is active.+    --+    -- -   @Inactive@ - The scaling configuration is not active because the+    --     scaling plan is being created or the scaling configuration could not+    --     be applied. Check the status message for more information.+    --+    -- -   @PartiallyActive@ - The scaling configuration is partially active+    --     because the scaling plan is being created or deleted or the scaling+    --     configuration could not be fully applied. Check the status message+    --     for more information.+    scalingStatusCode :: ScalingStatusCode+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ScalingPlanResource' 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:+--+-- 'scalingPolicies', 'scalingPlanResource_scalingPolicies' - The scaling policies.+--+-- 'scalingStatusMessage', 'scalingPlanResource_scalingStatusMessage' - A simple message about the current scaling status of the resource.+--+-- 'scalingPlanName', 'scalingPlanResource_scalingPlanName' - The name of the scaling plan.+--+-- 'scalingPlanVersion', 'scalingPlanResource_scalingPlanVersion' - The version number of the scaling plan.+--+-- 'serviceNamespace', 'scalingPlanResource_serviceNamespace' - The namespace of the AWS service.+--+-- 'resourceId', 'scalingPlanResource_resourceId' - The ID of the resource. This string consists of the resource type and+-- unique identifier.+--+-- -   Auto Scaling group - The resource type is @autoScalingGroup@ and the+--     unique identifier is the name of the Auto Scaling group. Example:+--     @autoScalingGroup\/my-asg@.+--+-- -   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@.+--+-- -   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@.+--+-- 'scalableDimension', 'scalingPlanResource_scalableDimension' - The scalable dimension for the resource.+--+-- -   @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired+--     capacity of an Auto Scaling group.+--+-- -   @ecs:service:DesiredCount@ - The desired task count of an ECS+--     service.+--+-- -   @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a+--     Spot Fleet request.+--+-- -   @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.+--+-- 'scalingStatusCode', 'scalingPlanResource_scalingStatusCode' - The scaling status of the resource.+--+-- -   @Active@ - The scaling configuration is active.+--+-- -   @Inactive@ - The scaling configuration is not active because the+--     scaling plan is being created or the scaling configuration could not+--     be applied. Check the status message for more information.+--+-- -   @PartiallyActive@ - The scaling configuration is partially active+--     because the scaling plan is being created or deleted or the scaling+--     configuration could not be fully applied. Check the status message+--     for more information.+newScalingPlanResource ::+  -- | 'scalingPlanName'+  Prelude.Text ->+  -- | 'scalingPlanVersion'+  Prelude.Integer ->+  -- | 'serviceNamespace'+  ServiceNamespace ->+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'scalableDimension'+  ScalableDimension ->+  -- | 'scalingStatusCode'+  ScalingStatusCode ->+  ScalingPlanResource+newScalingPlanResource+  pScalingPlanName_+  pScalingPlanVersion_+  pServiceNamespace_+  pResourceId_+  pScalableDimension_+  pScalingStatusCode_ =+    ScalingPlanResource'+      { scalingPolicies =+          Prelude.Nothing,+        scalingStatusMessage = Prelude.Nothing,+        scalingPlanName = pScalingPlanName_,+        scalingPlanVersion = pScalingPlanVersion_,+        serviceNamespace = pServiceNamespace_,+        resourceId = pResourceId_,+        scalableDimension = pScalableDimension_,+        scalingStatusCode = pScalingStatusCode_+      }++-- | The scaling policies.+scalingPlanResource_scalingPolicies :: Lens.Lens' ScalingPlanResource (Prelude.Maybe [ScalingPolicy])+scalingPlanResource_scalingPolicies = Lens.lens (\ScalingPlanResource' {scalingPolicies} -> scalingPolicies) (\s@ScalingPlanResource' {} a -> s {scalingPolicies = a} :: ScalingPlanResource) Prelude.. Lens.mapping Lens.coerced++-- | A simple message about the current scaling status of the resource.+scalingPlanResource_scalingStatusMessage :: Lens.Lens' ScalingPlanResource (Prelude.Maybe Prelude.Text)+scalingPlanResource_scalingStatusMessage = Lens.lens (\ScalingPlanResource' {scalingStatusMessage} -> scalingStatusMessage) (\s@ScalingPlanResource' {} a -> s {scalingStatusMessage = a} :: ScalingPlanResource)++-- | The name of the scaling plan.+scalingPlanResource_scalingPlanName :: Lens.Lens' ScalingPlanResource Prelude.Text+scalingPlanResource_scalingPlanName = Lens.lens (\ScalingPlanResource' {scalingPlanName} -> scalingPlanName) (\s@ScalingPlanResource' {} a -> s {scalingPlanName = a} :: ScalingPlanResource)++-- | The version number of the scaling plan.+scalingPlanResource_scalingPlanVersion :: Lens.Lens' ScalingPlanResource Prelude.Integer+scalingPlanResource_scalingPlanVersion = Lens.lens (\ScalingPlanResource' {scalingPlanVersion} -> scalingPlanVersion) (\s@ScalingPlanResource' {} a -> s {scalingPlanVersion = a} :: ScalingPlanResource)++-- | The namespace of the AWS service.+scalingPlanResource_serviceNamespace :: Lens.Lens' ScalingPlanResource ServiceNamespace+scalingPlanResource_serviceNamespace = Lens.lens (\ScalingPlanResource' {serviceNamespace} -> serviceNamespace) (\s@ScalingPlanResource' {} a -> s {serviceNamespace = a} :: ScalingPlanResource)++-- | The ID of the resource. This string consists of the resource type and+-- unique identifier.+--+-- -   Auto Scaling group - The resource type is @autoScalingGroup@ and the+--     unique identifier is the name of the Auto Scaling group. Example:+--     @autoScalingGroup\/my-asg@.+--+-- -   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@.+--+-- -   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@.+scalingPlanResource_resourceId :: Lens.Lens' ScalingPlanResource Prelude.Text+scalingPlanResource_resourceId = Lens.lens (\ScalingPlanResource' {resourceId} -> resourceId) (\s@ScalingPlanResource' {} a -> s {resourceId = a} :: ScalingPlanResource)++-- | The scalable dimension for the resource.+--+-- -   @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired+--     capacity of an Auto Scaling group.+--+-- -   @ecs:service:DesiredCount@ - The desired task count of an ECS+--     service.+--+-- -   @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a+--     Spot Fleet request.+--+-- -   @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.+scalingPlanResource_scalableDimension :: Lens.Lens' ScalingPlanResource ScalableDimension+scalingPlanResource_scalableDimension = Lens.lens (\ScalingPlanResource' {scalableDimension} -> scalableDimension) (\s@ScalingPlanResource' {} a -> s {scalableDimension = a} :: ScalingPlanResource)++-- | The scaling status of the resource.+--+-- -   @Active@ - The scaling configuration is active.+--+-- -   @Inactive@ - The scaling configuration is not active because the+--     scaling plan is being created or the scaling configuration could not+--     be applied. Check the status message for more information.+--+-- -   @PartiallyActive@ - The scaling configuration is partially active+--     because the scaling plan is being created or deleted or the scaling+--     configuration could not be fully applied. Check the status message+--     for more information.+scalingPlanResource_scalingStatusCode :: Lens.Lens' ScalingPlanResource ScalingStatusCode+scalingPlanResource_scalingStatusCode = Lens.lens (\ScalingPlanResource' {scalingStatusCode} -> scalingStatusCode) (\s@ScalingPlanResource' {} a -> s {scalingStatusCode = a} :: ScalingPlanResource)++instance Data.FromJSON ScalingPlanResource where+  parseJSON =+    Data.withObject+      "ScalingPlanResource"+      ( \x ->+          ScalingPlanResource'+            Prelude.<$> ( x+                            Data..:? "ScalingPolicies"+                            Data..!= Prelude.mempty+                        )+            Prelude.<*> (x Data..:? "ScalingStatusMessage")+            Prelude.<*> (x Data..: "ScalingPlanName")+            Prelude.<*> (x Data..: "ScalingPlanVersion")+            Prelude.<*> (x Data..: "ServiceNamespace")+            Prelude.<*> (x Data..: "ResourceId")+            Prelude.<*> (x Data..: "ScalableDimension")+            Prelude.<*> (x Data..: "ScalingStatusCode")+      )++instance Prelude.Hashable ScalingPlanResource where+  hashWithSalt _salt ScalingPlanResource' {..} =+    _salt+      `Prelude.hashWithSalt` scalingPolicies+      `Prelude.hashWithSalt` scalingStatusMessage+      `Prelude.hashWithSalt` scalingPlanName+      `Prelude.hashWithSalt` scalingPlanVersion+      `Prelude.hashWithSalt` serviceNamespace+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` scalableDimension+      `Prelude.hashWithSalt` scalingStatusCode++instance Prelude.NFData ScalingPlanResource where+  rnf ScalingPlanResource' {..} =+    Prelude.rnf scalingPolicies+      `Prelude.seq` Prelude.rnf scalingStatusMessage+      `Prelude.seq` Prelude.rnf scalingPlanName+      `Prelude.seq` Prelude.rnf scalingPlanVersion+      `Prelude.seq` Prelude.rnf serviceNamespace+      `Prelude.seq` Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf scalableDimension+      `Prelude.seq` Prelude.rnf scalingStatusCode
+ gen/Amazonka/AutoScalingPlans/Types/ScalingPlanStatusCode.hs view
@@ -0,0 +1,101 @@+{-# 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.AutoScalingPlans.Types.ScalingPlanStatusCode+-- 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.AutoScalingPlans.Types.ScalingPlanStatusCode+  ( ScalingPlanStatusCode+      ( ..,+        ScalingPlanStatusCode_Active,+        ScalingPlanStatusCode_ActiveWithProblems,+        ScalingPlanStatusCode_CreationFailed,+        ScalingPlanStatusCode_CreationInProgress,+        ScalingPlanStatusCode_DeletionFailed,+        ScalingPlanStatusCode_DeletionInProgress,+        ScalingPlanStatusCode_UpdateFailed,+        ScalingPlanStatusCode_UpdateInProgress+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ScalingPlanStatusCode = ScalingPlanStatusCode'+  { fromScalingPlanStatusCode ::+      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 ScalingPlanStatusCode_Active :: ScalingPlanStatusCode+pattern ScalingPlanStatusCode_Active = ScalingPlanStatusCode' "Active"++pattern ScalingPlanStatusCode_ActiveWithProblems :: ScalingPlanStatusCode+pattern ScalingPlanStatusCode_ActiveWithProblems = ScalingPlanStatusCode' "ActiveWithProblems"++pattern ScalingPlanStatusCode_CreationFailed :: ScalingPlanStatusCode+pattern ScalingPlanStatusCode_CreationFailed = ScalingPlanStatusCode' "CreationFailed"++pattern ScalingPlanStatusCode_CreationInProgress :: ScalingPlanStatusCode+pattern ScalingPlanStatusCode_CreationInProgress = ScalingPlanStatusCode' "CreationInProgress"++pattern ScalingPlanStatusCode_DeletionFailed :: ScalingPlanStatusCode+pattern ScalingPlanStatusCode_DeletionFailed = ScalingPlanStatusCode' "DeletionFailed"++pattern ScalingPlanStatusCode_DeletionInProgress :: ScalingPlanStatusCode+pattern ScalingPlanStatusCode_DeletionInProgress = ScalingPlanStatusCode' "DeletionInProgress"++pattern ScalingPlanStatusCode_UpdateFailed :: ScalingPlanStatusCode+pattern ScalingPlanStatusCode_UpdateFailed = ScalingPlanStatusCode' "UpdateFailed"++pattern ScalingPlanStatusCode_UpdateInProgress :: ScalingPlanStatusCode+pattern ScalingPlanStatusCode_UpdateInProgress = ScalingPlanStatusCode' "UpdateInProgress"++{-# COMPLETE+  ScalingPlanStatusCode_Active,+  ScalingPlanStatusCode_ActiveWithProblems,+  ScalingPlanStatusCode_CreationFailed,+  ScalingPlanStatusCode_CreationInProgress,+  ScalingPlanStatusCode_DeletionFailed,+  ScalingPlanStatusCode_DeletionInProgress,+  ScalingPlanStatusCode_UpdateFailed,+  ScalingPlanStatusCode_UpdateInProgress,+  ScalingPlanStatusCode'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/ScalingPolicy.hs view
@@ -0,0 +1,106 @@+{-# 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.AutoScalingPlans.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.AutoScalingPlans.Types.ScalingPolicy where++import Amazonka.AutoScalingPlans.Types.PolicyType+import Amazonka.AutoScalingPlans.Types.TargetTrackingConfiguration+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.+--+-- /See:/ 'newScalingPolicy' smart constructor.+data ScalingPolicy = ScalingPolicy'+  { -- | The target tracking scaling policy. Includes support for predefined or+    -- customized metrics.+    targetTrackingConfiguration :: Prelude.Maybe TargetTrackingConfiguration,+    -- | The name of the scaling policy.+    policyName :: Prelude.Text,+    -- | The type of scaling policy.+    policyType :: PolicyType+  }+  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:+--+-- 'targetTrackingConfiguration', 'scalingPolicy_targetTrackingConfiguration' - The target tracking scaling policy. Includes support for predefined or+-- customized metrics.+--+-- 'policyName', 'scalingPolicy_policyName' - The name of the scaling policy.+--+-- 'policyType', 'scalingPolicy_policyType' - The type of scaling policy.+newScalingPolicy ::+  -- | 'policyName'+  Prelude.Text ->+  -- | 'policyType'+  PolicyType ->+  ScalingPolicy+newScalingPolicy pPolicyName_ pPolicyType_ =+  ScalingPolicy'+    { targetTrackingConfiguration =+        Prelude.Nothing,+      policyName = pPolicyName_,+      policyType = pPolicyType_+    }++-- | The target tracking scaling policy. Includes support for predefined or+-- customized metrics.+scalingPolicy_targetTrackingConfiguration :: Lens.Lens' ScalingPolicy (Prelude.Maybe TargetTrackingConfiguration)+scalingPolicy_targetTrackingConfiguration = Lens.lens (\ScalingPolicy' {targetTrackingConfiguration} -> targetTrackingConfiguration) (\s@ScalingPolicy' {} a -> s {targetTrackingConfiguration = 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 type of scaling policy.+scalingPolicy_policyType :: Lens.Lens' ScalingPolicy PolicyType+scalingPolicy_policyType = Lens.lens (\ScalingPolicy' {policyType} -> policyType) (\s@ScalingPolicy' {} a -> s {policyType = a} :: ScalingPolicy)++instance Data.FromJSON ScalingPolicy where+  parseJSON =+    Data.withObject+      "ScalingPolicy"+      ( \x ->+          ScalingPolicy'+            Prelude.<$> (x Data..:? "TargetTrackingConfiguration")+            Prelude.<*> (x Data..: "PolicyName")+            Prelude.<*> (x Data..: "PolicyType")+      )++instance Prelude.Hashable ScalingPolicy where+  hashWithSalt _salt ScalingPolicy' {..} =+    _salt+      `Prelude.hashWithSalt` targetTrackingConfiguration+      `Prelude.hashWithSalt` policyName+      `Prelude.hashWithSalt` policyType++instance Prelude.NFData ScalingPolicy where+  rnf ScalingPolicy' {..} =+    Prelude.rnf targetTrackingConfiguration+      `Prelude.seq` Prelude.rnf policyName+      `Prelude.seq` Prelude.rnf policyType
+ gen/Amazonka/AutoScalingPlans/Types/ScalingPolicyUpdateBehavior.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.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior+-- 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.AutoScalingPlans.Types.ScalingPolicyUpdateBehavior+  ( ScalingPolicyUpdateBehavior+      ( ..,+        ScalingPolicyUpdateBehavior_KeepExternalPolicies,+        ScalingPolicyUpdateBehavior_ReplaceExternalPolicies+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ScalingPolicyUpdateBehavior = ScalingPolicyUpdateBehavior'+  { fromScalingPolicyUpdateBehavior ::+      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 ScalingPolicyUpdateBehavior_KeepExternalPolicies :: ScalingPolicyUpdateBehavior+pattern ScalingPolicyUpdateBehavior_KeepExternalPolicies = ScalingPolicyUpdateBehavior' "KeepExternalPolicies"++pattern ScalingPolicyUpdateBehavior_ReplaceExternalPolicies :: ScalingPolicyUpdateBehavior+pattern ScalingPolicyUpdateBehavior_ReplaceExternalPolicies = ScalingPolicyUpdateBehavior' "ReplaceExternalPolicies"++{-# COMPLETE+  ScalingPolicyUpdateBehavior_KeepExternalPolicies,+  ScalingPolicyUpdateBehavior_ReplaceExternalPolicies,+  ScalingPolicyUpdateBehavior'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/ScalingStatusCode.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.AutoScalingPlans.Types.ScalingStatusCode+-- 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.AutoScalingPlans.Types.ScalingStatusCode+  ( ScalingStatusCode+      ( ..,+        ScalingStatusCode_Active,+        ScalingStatusCode_Inactive,+        ScalingStatusCode_PartiallyActive+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ScalingStatusCode = ScalingStatusCode'+  { fromScalingStatusCode ::+      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 ScalingStatusCode_Active :: ScalingStatusCode+pattern ScalingStatusCode_Active = ScalingStatusCode' "Active"++pattern ScalingStatusCode_Inactive :: ScalingStatusCode+pattern ScalingStatusCode_Inactive = ScalingStatusCode' "Inactive"++pattern ScalingStatusCode_PartiallyActive :: ScalingStatusCode+pattern ScalingStatusCode_PartiallyActive = ScalingStatusCode' "PartiallyActive"++{-# COMPLETE+  ScalingStatusCode_Active,+  ScalingStatusCode_Inactive,+  ScalingStatusCode_PartiallyActive,+  ScalingStatusCode'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/ServiceNamespace.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.AutoScalingPlans.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.AutoScalingPlans.Types.ServiceNamespace+  ( ServiceNamespace+      ( ..,+        ServiceNamespace_Autoscaling,+        ServiceNamespace_Dynamodb,+        ServiceNamespace_Ec2,+        ServiceNamespace_Ecs,+        ServiceNamespace_Rds+      ),+  )+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_Autoscaling :: ServiceNamespace+pattern ServiceNamespace_Autoscaling = ServiceNamespace' "autoscaling"++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_Rds :: ServiceNamespace+pattern ServiceNamespace_Rds = ServiceNamespace' "rds"++{-# COMPLETE+  ServiceNamespace_Autoscaling,+  ServiceNamespace_Dynamodb,+  ServiceNamespace_Ec2,+  ServiceNamespace_Ecs,+  ServiceNamespace_Rds,+  ServiceNamespace'+  #-}
+ gen/Amazonka/AutoScalingPlans/Types/TagFilter.hs view
@@ -0,0 +1,92 @@+{-# 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.AutoScalingPlans.Types.TagFilter+-- 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.AutoScalingPlans.Types.TagFilter 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 tag.+--+-- /See:/ 'newTagFilter' smart constructor.+data TagFilter = TagFilter'+  { -- | The tag key.+    key :: Prelude.Maybe Prelude.Text,+    -- | The tag values (0 to 20).+    values :: Prelude.Maybe [Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagFilter' 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:+--+-- 'key', 'tagFilter_key' - The tag key.+--+-- 'values', 'tagFilter_values' - The tag values (0 to 20).+newTagFilter ::+  TagFilter+newTagFilter =+  TagFilter'+    { key = Prelude.Nothing,+      values = Prelude.Nothing+    }++-- | The tag key.+tagFilter_key :: Lens.Lens' TagFilter (Prelude.Maybe Prelude.Text)+tagFilter_key = Lens.lens (\TagFilter' {key} -> key) (\s@TagFilter' {} a -> s {key = a} :: TagFilter)++-- | The tag values (0 to 20).+tagFilter_values :: Lens.Lens' TagFilter (Prelude.Maybe [Prelude.Text])+tagFilter_values = Lens.lens (\TagFilter' {values} -> values) (\s@TagFilter' {} a -> s {values = a} :: TagFilter) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON TagFilter where+  parseJSON =+    Data.withObject+      "TagFilter"+      ( \x ->+          TagFilter'+            Prelude.<$> (x Data..:? "Key")+            Prelude.<*> (x Data..:? "Values" Data..!= Prelude.mempty)+      )++instance Prelude.Hashable TagFilter where+  hashWithSalt _salt TagFilter' {..} =+    _salt+      `Prelude.hashWithSalt` key+      `Prelude.hashWithSalt` values++instance Prelude.NFData TagFilter where+  rnf TagFilter' {..} =+    Prelude.rnf key `Prelude.seq` Prelude.rnf values++instance Data.ToJSON TagFilter where+  toJSON TagFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Key" Data..=) Prelude.<$> key,+            ("Values" Data..=) Prelude.<$> values+          ]+      )
+ gen/Amazonka/AutoScalingPlans/Types/TargetTrackingConfiguration.hs view
@@ -0,0 +1,261 @@+{-# 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.AutoScalingPlans.Types.TargetTrackingConfiguration+-- 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.AutoScalingPlans.Types.TargetTrackingConfiguration where++import Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification+import Amazonka.AutoScalingPlans.Types.PredefinedScalingMetricSpecification+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 a target tracking configuration to use with AWS Auto Scaling.+-- Used with ScalingInstruction and ScalingPolicy.+--+-- /See:/ 'newTargetTrackingConfiguration' smart constructor.+data TargetTrackingConfiguration = TargetTrackingConfiguration'+  { -- | A customized metric. You can specify either a predefined metric or a+    -- customized metric.+    customizedScalingMetricSpecification :: Prelude.Maybe CustomizedScalingMetricSpecification,+    -- | 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 doesn\'t remove capacity from the scalable+    -- resource. Otherwise, scale in is enabled and the target tracking scaling+    -- policy can remove capacity from the scalable resource.+    --+    -- The default value is @false@.+    disableScaleIn :: Prelude.Maybe Prelude.Bool,+    -- | The estimated time, in seconds, until a newly launched instance can+    -- contribute to the CloudWatch metrics. This value is used only if the+    -- resource is an Auto Scaling group.+    estimatedInstanceWarmup :: Prelude.Maybe Prelude.Int,+    -- | A predefined metric. You can specify either a predefined metric or a+    -- customized metric.+    predefinedScalingMetricSpecification :: Prelude.Maybe PredefinedScalingMetricSpecification,+    -- | The amount of time, in seconds, after a scale-in activity completes+    -- before another scale-in activity can start. This property is not used if+    -- the scalable resource is an Auto Scaling group.+    --+    -- 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, Auto Scaling scales out the target immediately. In this+    -- case, the scale-in cooldown period stops and doesn\'t complete.+    scaleInCooldown :: Prelude.Maybe Prelude.Int,+    -- | The amount of time, in seconds, to wait for a previous scale-out+    -- activity to take effect. This property is not used if the scalable+    -- resource is an Auto Scaling group.+    --+    -- With the /scale-out cooldown period/, the intention is to continuously+    -- (but not excessively) scale out. After 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.+    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.+    targetValue :: Prelude.Double+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TargetTrackingConfiguration' 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:+--+-- 'customizedScalingMetricSpecification', 'targetTrackingConfiguration_customizedScalingMetricSpecification' - A customized metric. You can specify either a predefined metric or a+-- customized metric.+--+-- 'disableScaleIn', 'targetTrackingConfiguration_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 doesn\'t remove capacity from the scalable+-- resource. Otherwise, scale in is enabled and the target tracking scaling+-- policy can remove capacity from the scalable resource.+--+-- The default value is @false@.+--+-- 'estimatedInstanceWarmup', 'targetTrackingConfiguration_estimatedInstanceWarmup' - The estimated time, in seconds, until a newly launched instance can+-- contribute to the CloudWatch metrics. This value is used only if the+-- resource is an Auto Scaling group.+--+-- 'predefinedScalingMetricSpecification', 'targetTrackingConfiguration_predefinedScalingMetricSpecification' - A predefined metric. You can specify either a predefined metric or a+-- customized metric.+--+-- 'scaleInCooldown', 'targetTrackingConfiguration_scaleInCooldown' - The amount of time, in seconds, after a scale-in activity completes+-- before another scale-in activity can start. This property is not used if+-- the scalable resource is an Auto Scaling group.+--+-- 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, Auto Scaling scales out the target immediately. In this+-- case, the scale-in cooldown period stops and doesn\'t complete.+--+-- 'scaleOutCooldown', 'targetTrackingConfiguration_scaleOutCooldown' - The amount of time, in seconds, to wait for a previous scale-out+-- activity to take effect. This property is not used if the scalable+-- resource is an Auto Scaling group.+--+-- With the /scale-out cooldown period/, the intention is to continuously+-- (but not excessively) scale out. After 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.+--+-- 'targetValue', 'targetTrackingConfiguration_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.+newTargetTrackingConfiguration ::+  -- | 'targetValue'+  Prelude.Double ->+  TargetTrackingConfiguration+newTargetTrackingConfiguration pTargetValue_ =+  TargetTrackingConfiguration'+    { customizedScalingMetricSpecification =+        Prelude.Nothing,+      disableScaleIn = Prelude.Nothing,+      estimatedInstanceWarmup = Prelude.Nothing,+      predefinedScalingMetricSpecification =+        Prelude.Nothing,+      scaleInCooldown = Prelude.Nothing,+      scaleOutCooldown = Prelude.Nothing,+      targetValue = pTargetValue_+    }++-- | A customized metric. You can specify either a predefined metric or a+-- customized metric.+targetTrackingConfiguration_customizedScalingMetricSpecification :: Lens.Lens' TargetTrackingConfiguration (Prelude.Maybe CustomizedScalingMetricSpecification)+targetTrackingConfiguration_customizedScalingMetricSpecification = Lens.lens (\TargetTrackingConfiguration' {customizedScalingMetricSpecification} -> customizedScalingMetricSpecification) (\s@TargetTrackingConfiguration' {} a -> s {customizedScalingMetricSpecification = a} :: TargetTrackingConfiguration)++-- | 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 doesn\'t remove capacity from the scalable+-- resource. Otherwise, scale in is enabled and the target tracking scaling+-- policy can remove capacity from the scalable resource.+--+-- The default value is @false@.+targetTrackingConfiguration_disableScaleIn :: Lens.Lens' TargetTrackingConfiguration (Prelude.Maybe Prelude.Bool)+targetTrackingConfiguration_disableScaleIn = Lens.lens (\TargetTrackingConfiguration' {disableScaleIn} -> disableScaleIn) (\s@TargetTrackingConfiguration' {} a -> s {disableScaleIn = a} :: TargetTrackingConfiguration)++-- | The estimated time, in seconds, until a newly launched instance can+-- contribute to the CloudWatch metrics. This value is used only if the+-- resource is an Auto Scaling group.+targetTrackingConfiguration_estimatedInstanceWarmup :: Lens.Lens' TargetTrackingConfiguration (Prelude.Maybe Prelude.Int)+targetTrackingConfiguration_estimatedInstanceWarmup = Lens.lens (\TargetTrackingConfiguration' {estimatedInstanceWarmup} -> estimatedInstanceWarmup) (\s@TargetTrackingConfiguration' {} a -> s {estimatedInstanceWarmup = a} :: TargetTrackingConfiguration)++-- | A predefined metric. You can specify either a predefined metric or a+-- customized metric.+targetTrackingConfiguration_predefinedScalingMetricSpecification :: Lens.Lens' TargetTrackingConfiguration (Prelude.Maybe PredefinedScalingMetricSpecification)+targetTrackingConfiguration_predefinedScalingMetricSpecification = Lens.lens (\TargetTrackingConfiguration' {predefinedScalingMetricSpecification} -> predefinedScalingMetricSpecification) (\s@TargetTrackingConfiguration' {} a -> s {predefinedScalingMetricSpecification = a} :: TargetTrackingConfiguration)++-- | The amount of time, in seconds, after a scale-in activity completes+-- before another scale-in activity can start. This property is not used if+-- the scalable resource is an Auto Scaling group.+--+-- 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, Auto Scaling scales out the target immediately. In this+-- case, the scale-in cooldown period stops and doesn\'t complete.+targetTrackingConfiguration_scaleInCooldown :: Lens.Lens' TargetTrackingConfiguration (Prelude.Maybe Prelude.Int)+targetTrackingConfiguration_scaleInCooldown = Lens.lens (\TargetTrackingConfiguration' {scaleInCooldown} -> scaleInCooldown) (\s@TargetTrackingConfiguration' {} a -> s {scaleInCooldown = a} :: TargetTrackingConfiguration)++-- | The amount of time, in seconds, to wait for a previous scale-out+-- activity to take effect. This property is not used if the scalable+-- resource is an Auto Scaling group.+--+-- With the /scale-out cooldown period/, the intention is to continuously+-- (but not excessively) scale out. After 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.+targetTrackingConfiguration_scaleOutCooldown :: Lens.Lens' TargetTrackingConfiguration (Prelude.Maybe Prelude.Int)+targetTrackingConfiguration_scaleOutCooldown = Lens.lens (\TargetTrackingConfiguration' {scaleOutCooldown} -> scaleOutCooldown) (\s@TargetTrackingConfiguration' {} a -> s {scaleOutCooldown = a} :: TargetTrackingConfiguration)++-- | 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.+targetTrackingConfiguration_targetValue :: Lens.Lens' TargetTrackingConfiguration Prelude.Double+targetTrackingConfiguration_targetValue = Lens.lens (\TargetTrackingConfiguration' {targetValue} -> targetValue) (\s@TargetTrackingConfiguration' {} a -> s {targetValue = a} :: TargetTrackingConfiguration)++instance Data.FromJSON TargetTrackingConfiguration where+  parseJSON =+    Data.withObject+      "TargetTrackingConfiguration"+      ( \x ->+          TargetTrackingConfiguration'+            Prelude.<$> (x Data..:? "CustomizedScalingMetricSpecification")+            Prelude.<*> (x Data..:? "DisableScaleIn")+            Prelude.<*> (x Data..:? "EstimatedInstanceWarmup")+            Prelude.<*> (x Data..:? "PredefinedScalingMetricSpecification")+            Prelude.<*> (x Data..:? "ScaleInCooldown")+            Prelude.<*> (x Data..:? "ScaleOutCooldown")+            Prelude.<*> (x Data..: "TargetValue")+      )++instance Prelude.Hashable TargetTrackingConfiguration where+  hashWithSalt _salt TargetTrackingConfiguration' {..} =+    _salt+      `Prelude.hashWithSalt` customizedScalingMetricSpecification+      `Prelude.hashWithSalt` disableScaleIn+      `Prelude.hashWithSalt` estimatedInstanceWarmup+      `Prelude.hashWithSalt` predefinedScalingMetricSpecification+      `Prelude.hashWithSalt` scaleInCooldown+      `Prelude.hashWithSalt` scaleOutCooldown+      `Prelude.hashWithSalt` targetValue++instance Prelude.NFData TargetTrackingConfiguration where+  rnf TargetTrackingConfiguration' {..} =+    Prelude.rnf customizedScalingMetricSpecification+      `Prelude.seq` Prelude.rnf disableScaleIn+      `Prelude.seq` Prelude.rnf estimatedInstanceWarmup+      `Prelude.seq` Prelude.rnf predefinedScalingMetricSpecification+      `Prelude.seq` Prelude.rnf scaleInCooldown+      `Prelude.seq` Prelude.rnf scaleOutCooldown+      `Prelude.seq` Prelude.rnf targetValue++instance Data.ToJSON TargetTrackingConfiguration where+  toJSON TargetTrackingConfiguration' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("CustomizedScalingMetricSpecification" Data..=)+              Prelude.<$> customizedScalingMetricSpecification,+            ("DisableScaleIn" Data..=)+              Prelude.<$> disableScaleIn,+            ("EstimatedInstanceWarmup" Data..=)+              Prelude.<$> estimatedInstanceWarmup,+            ("PredefinedScalingMetricSpecification" Data..=)+              Prelude.<$> predefinedScalingMetricSpecification,+            ("ScaleInCooldown" Data..=)+              Prelude.<$> scaleInCooldown,+            ("ScaleOutCooldown" Data..=)+              Prelude.<$> scaleOutCooldown,+            Prelude.Just ("TargetValue" Data..= targetValue)+          ]+      )
+ gen/Amazonka/AutoScalingPlans/UpdateScalingPlan.hs view
@@ -0,0 +1,239 @@+{-# 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.AutoScalingPlans.UpdateScalingPlan+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the specified scaling plan.+--+-- You cannot update a scaling plan if it is in the process of being+-- created, updated, or deleted.+module Amazonka.AutoScalingPlans.UpdateScalingPlan+  ( -- * Creating a Request+    UpdateScalingPlan (..),+    newUpdateScalingPlan,++    -- * Request Lenses+    updateScalingPlan_applicationSource,+    updateScalingPlan_scalingInstructions,+    updateScalingPlan_scalingPlanName,+    updateScalingPlan_scalingPlanVersion,++    -- * Destructuring the Response+    UpdateScalingPlanResponse (..),+    newUpdateScalingPlanResponse,++    -- * Response Lenses+    updateScalingPlanResponse_httpStatus,+  )+where++import Amazonka.AutoScalingPlans.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:/ 'newUpdateScalingPlan' smart constructor.+data UpdateScalingPlan = UpdateScalingPlan'+  { -- | A CloudFormation stack or set of tags.+    --+    -- For more information, see+    -- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html ApplicationSource>+    -- in the /AWS Auto Scaling API Reference/.+    applicationSource :: Prelude.Maybe ApplicationSource,+    -- | The scaling instructions.+    --+    -- For more information, see+    -- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html ScalingInstruction>+    -- in the /AWS Auto Scaling API Reference/.+    scalingInstructions :: Prelude.Maybe [ScalingInstruction],+    -- | The name of the scaling plan.+    scalingPlanName :: Prelude.Text,+    -- | The version number of the scaling plan. The only valid value is @1@.+    -- Currently, you cannot have multiple scaling plan versions.+    scalingPlanVersion :: Prelude.Integer+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateScalingPlan' 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:+--+-- 'applicationSource', 'updateScalingPlan_applicationSource' - A CloudFormation stack or set of tags.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html ApplicationSource>+-- in the /AWS Auto Scaling API Reference/.+--+-- 'scalingInstructions', 'updateScalingPlan_scalingInstructions' - The scaling instructions.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html ScalingInstruction>+-- in the /AWS Auto Scaling API Reference/.+--+-- 'scalingPlanName', 'updateScalingPlan_scalingPlanName' - The name of the scaling plan.+--+-- 'scalingPlanVersion', 'updateScalingPlan_scalingPlanVersion' - The version number of the scaling plan. The only valid value is @1@.+-- Currently, you cannot have multiple scaling plan versions.+newUpdateScalingPlan ::+  -- | 'scalingPlanName'+  Prelude.Text ->+  -- | 'scalingPlanVersion'+  Prelude.Integer ->+  UpdateScalingPlan+newUpdateScalingPlan+  pScalingPlanName_+  pScalingPlanVersion_ =+    UpdateScalingPlan'+      { applicationSource =+          Prelude.Nothing,+        scalingInstructions = Prelude.Nothing,+        scalingPlanName = pScalingPlanName_,+        scalingPlanVersion = pScalingPlanVersion_+      }++-- | A CloudFormation stack or set of tags.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html ApplicationSource>+-- in the /AWS Auto Scaling API Reference/.+updateScalingPlan_applicationSource :: Lens.Lens' UpdateScalingPlan (Prelude.Maybe ApplicationSource)+updateScalingPlan_applicationSource = Lens.lens (\UpdateScalingPlan' {applicationSource} -> applicationSource) (\s@UpdateScalingPlan' {} a -> s {applicationSource = a} :: UpdateScalingPlan)++-- | The scaling instructions.+--+-- For more information, see+-- <https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html ScalingInstruction>+-- in the /AWS Auto Scaling API Reference/.+updateScalingPlan_scalingInstructions :: Lens.Lens' UpdateScalingPlan (Prelude.Maybe [ScalingInstruction])+updateScalingPlan_scalingInstructions = Lens.lens (\UpdateScalingPlan' {scalingInstructions} -> scalingInstructions) (\s@UpdateScalingPlan' {} a -> s {scalingInstructions = a} :: UpdateScalingPlan) Prelude.. Lens.mapping Lens.coerced++-- | The name of the scaling plan.+updateScalingPlan_scalingPlanName :: Lens.Lens' UpdateScalingPlan Prelude.Text+updateScalingPlan_scalingPlanName = Lens.lens (\UpdateScalingPlan' {scalingPlanName} -> scalingPlanName) (\s@UpdateScalingPlan' {} a -> s {scalingPlanName = a} :: UpdateScalingPlan)++-- | The version number of the scaling plan. The only valid value is @1@.+-- Currently, you cannot have multiple scaling plan versions.+updateScalingPlan_scalingPlanVersion :: Lens.Lens' UpdateScalingPlan Prelude.Integer+updateScalingPlan_scalingPlanVersion = Lens.lens (\UpdateScalingPlan' {scalingPlanVersion} -> scalingPlanVersion) (\s@UpdateScalingPlan' {} a -> s {scalingPlanVersion = a} :: UpdateScalingPlan)++instance Core.AWSRequest UpdateScalingPlan where+  type+    AWSResponse UpdateScalingPlan =+      UpdateScalingPlanResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          UpdateScalingPlanResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable UpdateScalingPlan where+  hashWithSalt _salt UpdateScalingPlan' {..} =+    _salt+      `Prelude.hashWithSalt` applicationSource+      `Prelude.hashWithSalt` scalingInstructions+      `Prelude.hashWithSalt` scalingPlanName+      `Prelude.hashWithSalt` scalingPlanVersion++instance Prelude.NFData UpdateScalingPlan where+  rnf UpdateScalingPlan' {..} =+    Prelude.rnf applicationSource+      `Prelude.seq` Prelude.rnf scalingInstructions+      `Prelude.seq` Prelude.rnf scalingPlanName+      `Prelude.seq` Prelude.rnf scalingPlanVersion++instance Data.ToHeaders UpdateScalingPlan where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AnyScaleScalingPlannerFrontendService.UpdateScalingPlan" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON UpdateScalingPlan where+  toJSON UpdateScalingPlan' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("ApplicationSource" Data..=)+              Prelude.<$> applicationSource,+            ("ScalingInstructions" Data..=)+              Prelude.<$> scalingInstructions,+            Prelude.Just+              ("ScalingPlanName" Data..= scalingPlanName),+            Prelude.Just+              ("ScalingPlanVersion" Data..= scalingPlanVersion)+          ]+      )++instance Data.ToPath UpdateScalingPlan where+  toPath = Prelude.const "/"++instance Data.ToQuery UpdateScalingPlan where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateScalingPlanResponse' smart constructor.+data UpdateScalingPlanResponse = UpdateScalingPlanResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateScalingPlanResponse' 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', 'updateScalingPlanResponse_httpStatus' - The response's http status code.+newUpdateScalingPlanResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UpdateScalingPlanResponse+newUpdateScalingPlanResponse pHttpStatus_ =+  UpdateScalingPlanResponse'+    { httpStatus =+        pHttpStatus_+    }++-- | The response's http status code.+updateScalingPlanResponse_httpStatus :: Lens.Lens' UpdateScalingPlanResponse Prelude.Int+updateScalingPlanResponse_httpStatus = Lens.lens (\UpdateScalingPlanResponse' {httpStatus} -> httpStatus) (\s@UpdateScalingPlanResponse' {} a -> s {httpStatus = a} :: UpdateScalingPlanResponse)++instance Prelude.NFData UpdateScalingPlanResponse where+  rnf UpdateScalingPlanResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/AutoScalingPlans/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.AutoScalingPlans.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.AutoScalingPlans.Waiters where++import Amazonka.AutoScalingPlans.Lens+import Amazonka.AutoScalingPlans.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/AutoScalingPlans.hs
@@ -1,212 +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.AutoScalingPlans--- 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)------ __AWS Auto Scaling__------ Use AWS Auto Scaling to quickly discover all the scalable AWS resources for your application and configure dynamic scaling for your scalable resources.------ To get started, create a scaling plan with a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies for the scalable resources in your scaling plan. Target tracking scaling policies adjust the capacity of your scalable resource as required to maintain resource utilization at the target value that you specified.----module Network.AWS.AutoScalingPlans-    (-    -- * Service Configuration-      autoScalingPlans--    -- * Errors-    -- $errors--    -- ** ValidationException-    , _ValidationException--    -- ** InvalidNextTokenException-    , _InvalidNextTokenException--    -- ** ConcurrentUpdateException-    , _ConcurrentUpdateException--    -- ** InternalServiceException-    , _InternalServiceException--    -- ** ObjectNotFoundException-    , _ObjectNotFoundException--    -- ** LimitExceededException-    , _LimitExceededException--    -- * Waiters-    -- $waiters--    -- * Operations-    -- $operations--    -- ** DescribeScalingPlanResources-    , module Network.AWS.AutoScalingPlans.DescribeScalingPlanResources--    -- ** CreateScalingPlan-    , module Network.AWS.AutoScalingPlans.CreateScalingPlan--    -- ** DeleteScalingPlan-    , module Network.AWS.AutoScalingPlans.DeleteScalingPlan--    -- ** UpdateScalingPlan-    , module Network.AWS.AutoScalingPlans.UpdateScalingPlan--    -- ** DescribeScalingPlans-    , module Network.AWS.AutoScalingPlans.DescribeScalingPlans--    -- * Types--    -- ** MetricStatistic-    , MetricStatistic (..)--    -- ** PolicyType-    , PolicyType (..)--    -- ** ScalableDimension-    , ScalableDimension (..)--    -- ** ScalingMetricType-    , ScalingMetricType (..)--    -- ** ScalingPlanStatusCode-    , ScalingPlanStatusCode (..)--    -- ** ScalingStatusCode-    , ScalingStatusCode (..)--    -- ** ServiceNamespace-    , ServiceNamespace (..)--    -- ** ApplicationSource-    , ApplicationSource-    , applicationSource-    , asTagFilters-    , asCloudFormationStackARN--    -- ** CustomizedScalingMetricSpecification-    , CustomizedScalingMetricSpecification-    , customizedScalingMetricSpecification-    , csmsDimensions-    , csmsUnit-    , csmsMetricName-    , csmsNamespace-    , csmsStatistic--    -- ** MetricDimension-    , MetricDimension-    , metricDimension-    , mdName-    , mdValue--    -- ** PredefinedScalingMetricSpecification-    , PredefinedScalingMetricSpecification-    , predefinedScalingMetricSpecification-    , psmsResourceLabel-    , psmsPredefinedScalingMetricType--    -- ** ScalingInstruction-    , ScalingInstruction-    , scalingInstruction-    , siServiceNamespace-    , siResourceId-    , siScalableDimension-    , siMinCapacity-    , siMaxCapacity-    , siTargetTrackingConfigurations--    -- ** ScalingPlan-    , ScalingPlan-    , scalingPlan-    , spCreationTime-    , spStatusStartTime-    , spStatusMessage-    , spScalingPlanName-    , spScalingPlanVersion-    , spApplicationSource-    , spScalingInstructions-    , spStatusCode--    -- ** ScalingPlanResource-    , ScalingPlanResource-    , scalingPlanResource-    , sprScalingStatusMessage-    , sprScalingPolicies-    , sprScalingPlanName-    , sprScalingPlanVersion-    , sprServiceNamespace-    , sprResourceId-    , sprScalableDimension-    , sprScalingStatusCode--    -- ** ScalingPolicy-    , ScalingPolicy-    , scalingPolicy-    , spTargetTrackingConfiguration-    , spPolicyName-    , spPolicyType--    -- ** TagFilter-    , TagFilter-    , tagFilter-    , tfValues-    , tfKey--    -- ** TargetTrackingConfiguration-    , TargetTrackingConfiguration-    , targetTrackingConfiguration-    , ttcEstimatedInstanceWarmup-    , ttcPredefinedScalingMetricSpecification-    , ttcScaleInCooldown-    , ttcDisableScaleIn-    , ttcCustomizedScalingMetricSpecification-    , ttcScaleOutCooldown-    , ttcTargetValue-    ) where--import Network.AWS.AutoScalingPlans.CreateScalingPlan-import Network.AWS.AutoScalingPlans.DeleteScalingPlan-import Network.AWS.AutoScalingPlans.DescribeScalingPlanResources-import Network.AWS.AutoScalingPlans.DescribeScalingPlans-import Network.AWS.AutoScalingPlans.Types-import Network.AWS.AutoScalingPlans.UpdateScalingPlan-import Network.AWS.AutoScalingPlans.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 'AutoScalingPlans'.--}--{- $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/AutoScalingPlans/CreateScalingPlan.hs
@@ -1,163 +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.AutoScalingPlans.CreateScalingPlan--- 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 a scaling plan.--------- A scaling plan contains a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies based on the scaling instructions in your scaling plan.----module Network.AWS.AutoScalingPlans.CreateScalingPlan-    (-    -- * Creating a Request-      createScalingPlan-    , CreateScalingPlan-    -- * Request Lenses-    , cspScalingPlanName-    , cspApplicationSource-    , cspScalingInstructions--    -- * Destructuring the Response-    , createScalingPlanResponse-    , CreateScalingPlanResponse-    -- * Response Lenses-    , csprsResponseStatus-    , csprsScalingPlanVersion-    ) where--import Network.AWS.AutoScalingPlans.Types-import Network.AWS.AutoScalingPlans.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createScalingPlan' smart constructor.-data CreateScalingPlan = CreateScalingPlan'-  { _cspScalingPlanName     :: !Text-  , _cspApplicationSource   :: !ApplicationSource-  , _cspScalingInstructions :: ![ScalingInstruction]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateScalingPlan' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cspScalingPlanName' - The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.------ * 'cspApplicationSource' - A CloudFormation stack or set of tags. You can create one scaling plan per application source.------ * 'cspScalingInstructions' - The scaling instructions.-createScalingPlan-    :: Text -- ^ 'cspScalingPlanName'-    -> ApplicationSource -- ^ 'cspApplicationSource'-    -> CreateScalingPlan-createScalingPlan pScalingPlanName_ pApplicationSource_ =-  CreateScalingPlan'-    { _cspScalingPlanName = pScalingPlanName_-    , _cspApplicationSource = pApplicationSource_-    , _cspScalingInstructions = mempty-    }----- | The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.-cspScalingPlanName :: Lens' CreateScalingPlan Text-cspScalingPlanName = lens _cspScalingPlanName (\ s a -> s{_cspScalingPlanName = a})---- | A CloudFormation stack or set of tags. You can create one scaling plan per application source.-cspApplicationSource :: Lens' CreateScalingPlan ApplicationSource-cspApplicationSource = lens _cspApplicationSource (\ s a -> s{_cspApplicationSource = a})---- | The scaling instructions.-cspScalingInstructions :: Lens' CreateScalingPlan [ScalingInstruction]-cspScalingInstructions = lens _cspScalingInstructions (\ s a -> s{_cspScalingInstructions = a}) . _Coerce--instance AWSRequest CreateScalingPlan where-        type Rs CreateScalingPlan = CreateScalingPlanResponse-        request = postJSON autoScalingPlans-        response-          = receiveJSON-              (\ s h x ->-                 CreateScalingPlanResponse' <$>-                   (pure (fromEnum s)) <*> (x .:> "ScalingPlanVersion"))--instance Hashable CreateScalingPlan where--instance NFData CreateScalingPlan where--instance ToHeaders CreateScalingPlan where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleScalingPlannerFrontendService.CreateScalingPlan"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateScalingPlan where-        toJSON CreateScalingPlan'{..}-          = object-              (catMaybes-                 [Just ("ScalingPlanName" .= _cspScalingPlanName),-                  Just ("ApplicationSource" .= _cspApplicationSource),-                  Just-                    ("ScalingInstructions" .= _cspScalingInstructions)])--instance ToPath CreateScalingPlan where-        toPath = const "/"--instance ToQuery CreateScalingPlan where-        toQuery = const mempty---- | /See:/ 'createScalingPlanResponse' smart constructor.-data CreateScalingPlanResponse = CreateScalingPlanResponse'-  { _csprsResponseStatus     :: !Int-  , _csprsScalingPlanVersion :: !Integer-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateScalingPlanResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csprsResponseStatus' - -- | The response status code.------ * 'csprsScalingPlanVersion' - The version of the scaling plan. This value is always 1.-createScalingPlanResponse-    :: Int -- ^ 'csprsResponseStatus'-    -> Integer -- ^ 'csprsScalingPlanVersion'-    -> CreateScalingPlanResponse-createScalingPlanResponse pResponseStatus_ pScalingPlanVersion_ =-  CreateScalingPlanResponse'-    { _csprsResponseStatus = pResponseStatus_-    , _csprsScalingPlanVersion = pScalingPlanVersion_-    }----- | -- | The response status code.-csprsResponseStatus :: Lens' CreateScalingPlanResponse Int-csprsResponseStatus = lens _csprsResponseStatus (\ s a -> s{_csprsResponseStatus = a})---- | The version of the scaling plan. This value is always 1.-csprsScalingPlanVersion :: Lens' CreateScalingPlanResponse Integer-csprsScalingPlanVersion = lens _csprsScalingPlanVersion (\ s a -> s{_csprsScalingPlanVersion = a})--instance NFData CreateScalingPlanResponse where
− gen/Network/AWS/AutoScalingPlans/DeleteScalingPlan.hs
@@ -1,138 +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.AutoScalingPlans.DeleteScalingPlan--- 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 scaling plan.-------module Network.AWS.AutoScalingPlans.DeleteScalingPlan-    (-    -- * Creating a Request-      deleteScalingPlan-    , DeleteScalingPlan-    -- * Request Lenses-    , dspScalingPlanName-    , dspScalingPlanVersion--    -- * Destructuring the Response-    , deleteScalingPlanResponse-    , DeleteScalingPlanResponse-    -- * Response Lenses-    , dsprsResponseStatus-    ) where--import Network.AWS.AutoScalingPlans.Types-import Network.AWS.AutoScalingPlans.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteScalingPlan' smart constructor.-data DeleteScalingPlan = DeleteScalingPlan'-  { _dspScalingPlanName    :: !Text-  , _dspScalingPlanVersion :: !Integer-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteScalingPlan' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dspScalingPlanName' - The name of the scaling plan.------ * 'dspScalingPlanVersion' - The version of the scaling plan.-deleteScalingPlan-    :: Text -- ^ 'dspScalingPlanName'-    -> Integer -- ^ 'dspScalingPlanVersion'-    -> DeleteScalingPlan-deleteScalingPlan pScalingPlanName_ pScalingPlanVersion_ =-  DeleteScalingPlan'-    { _dspScalingPlanName = pScalingPlanName_-    , _dspScalingPlanVersion = pScalingPlanVersion_-    }----- | The name of the scaling plan.-dspScalingPlanName :: Lens' DeleteScalingPlan Text-dspScalingPlanName = lens _dspScalingPlanName (\ s a -> s{_dspScalingPlanName = a})---- | The version of the scaling plan.-dspScalingPlanVersion :: Lens' DeleteScalingPlan Integer-dspScalingPlanVersion = lens _dspScalingPlanVersion (\ s a -> s{_dspScalingPlanVersion = a})--instance AWSRequest DeleteScalingPlan where-        type Rs DeleteScalingPlan = DeleteScalingPlanResponse-        request = postJSON autoScalingPlans-        response-          = receiveEmpty-              (\ s h x ->-                 DeleteScalingPlanResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteScalingPlan where--instance NFData DeleteScalingPlan where--instance ToHeaders DeleteScalingPlan where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleScalingPlannerFrontendService.DeleteScalingPlan"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteScalingPlan where-        toJSON DeleteScalingPlan'{..}-          = object-              (catMaybes-                 [Just ("ScalingPlanName" .= _dspScalingPlanName),-                  Just-                    ("ScalingPlanVersion" .= _dspScalingPlanVersion)])--instance ToPath DeleteScalingPlan where-        toPath = const "/"--instance ToQuery DeleteScalingPlan where-        toQuery = const mempty---- | /See:/ 'deleteScalingPlanResponse' smart constructor.-newtype DeleteScalingPlanResponse = DeleteScalingPlanResponse'-  { _dsprsResponseStatus :: Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteScalingPlanResponse' 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.-deleteScalingPlanResponse-    :: Int -- ^ 'dsprsResponseStatus'-    -> DeleteScalingPlanResponse-deleteScalingPlanResponse pResponseStatus_ =-  DeleteScalingPlanResponse' {_dsprsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dsprsResponseStatus :: Lens' DeleteScalingPlanResponse Int-dsprsResponseStatus = lens _dsprsResponseStatus (\ s a -> s{_dsprsResponseStatus = a})--instance NFData DeleteScalingPlanResponse where
− gen/Network/AWS/AutoScalingPlans/DescribeScalingPlanResources.hs
@@ -1,184 +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.AutoScalingPlans.DescribeScalingPlanResources--- 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 scalable resources in the specified scaling plan.-------module Network.AWS.AutoScalingPlans.DescribeScalingPlanResources-    (-    -- * Creating a Request-      describeScalingPlanResources-    , DescribeScalingPlanResources-    -- * Request Lenses-    , dsprNextToken-    , dsprMaxResults-    , dsprScalingPlanName-    , dsprScalingPlanVersion--    -- * Destructuring the Response-    , describeScalingPlanResourcesResponse-    , DescribeScalingPlanResourcesResponse-    -- * Response Lenses-    , dsprrsNextToken-    , dsprrsScalingPlanResources-    , dsprrsResponseStatus-    ) where--import Network.AWS.AutoScalingPlans.Types-import Network.AWS.AutoScalingPlans.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeScalingPlanResources' smart constructor.-data DescribeScalingPlanResources = DescribeScalingPlanResources'-  { _dsprNextToken          :: !(Maybe Text)-  , _dsprMaxResults         :: !(Maybe Int)-  , _dsprScalingPlanName    :: !Text-  , _dsprScalingPlanVersion :: !Integer-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalingPlanResources' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsprNextToken' - The token for the next set of results.------ * 'dsprMaxResults' - The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.------ * 'dsprScalingPlanName' - The name of the scaling plan.------ * 'dsprScalingPlanVersion' - The version of the scaling plan.-describeScalingPlanResources-    :: Text -- ^ 'dsprScalingPlanName'-    -> Integer -- ^ 'dsprScalingPlanVersion'-    -> DescribeScalingPlanResources-describeScalingPlanResources pScalingPlanName_ pScalingPlanVersion_ =-  DescribeScalingPlanResources'-    { _dsprNextToken = Nothing-    , _dsprMaxResults = Nothing-    , _dsprScalingPlanName = pScalingPlanName_-    , _dsprScalingPlanVersion = pScalingPlanVersion_-    }----- | The token for the next set of results.-dsprNextToken :: Lens' DescribeScalingPlanResources (Maybe Text)-dsprNextToken = lens _dsprNextToken (\ s a -> s{_dsprNextToken = a})---- | The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.-dsprMaxResults :: Lens' DescribeScalingPlanResources (Maybe Int)-dsprMaxResults = lens _dsprMaxResults (\ s a -> s{_dsprMaxResults = a})---- | The name of the scaling plan.-dsprScalingPlanName :: Lens' DescribeScalingPlanResources Text-dsprScalingPlanName = lens _dsprScalingPlanName (\ s a -> s{_dsprScalingPlanName = a})---- | The version of the scaling plan.-dsprScalingPlanVersion :: Lens' DescribeScalingPlanResources Integer-dsprScalingPlanVersion = lens _dsprScalingPlanVersion (\ s a -> s{_dsprScalingPlanVersion = a})--instance AWSRequest DescribeScalingPlanResources-         where-        type Rs DescribeScalingPlanResources =-             DescribeScalingPlanResourcesResponse-        request = postJSON autoScalingPlans-        response-          = receiveJSON-              (\ s h x ->-                 DescribeScalingPlanResourcesResponse' <$>-                   (x .?> "NextToken") <*>-                     (x .?> "ScalingPlanResources" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable DescribeScalingPlanResources where--instance NFData DescribeScalingPlanResources where--instance ToHeaders DescribeScalingPlanResources where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleScalingPlannerFrontendService.DescribeScalingPlanResources"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeScalingPlanResources where-        toJSON DescribeScalingPlanResources'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _dsprNextToken,-                  ("MaxResults" .=) <$> _dsprMaxResults,-                  Just ("ScalingPlanName" .= _dsprScalingPlanName),-                  Just-                    ("ScalingPlanVersion" .= _dsprScalingPlanVersion)])--instance ToPath DescribeScalingPlanResources where-        toPath = const "/"--instance ToQuery DescribeScalingPlanResources where-        toQuery = const mempty---- | /See:/ 'describeScalingPlanResourcesResponse' smart constructor.-data DescribeScalingPlanResourcesResponse = DescribeScalingPlanResourcesResponse'-  { _dsprrsNextToken            :: !(Maybe Text)-  , _dsprrsScalingPlanResources :: !(Maybe [ScalingPlanResource])-  , _dsprrsResponseStatus       :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalingPlanResourcesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsprrsNextToken' - The token required to get the next set of results. This value is @null@ if there are no more results to return.------ * 'dsprrsScalingPlanResources' - Information about the scalable resources.------ * 'dsprrsResponseStatus' - -- | The response status code.-describeScalingPlanResourcesResponse-    :: Int -- ^ 'dsprrsResponseStatus'-    -> DescribeScalingPlanResourcesResponse-describeScalingPlanResourcesResponse pResponseStatus_ =-  DescribeScalingPlanResourcesResponse'-    { _dsprrsNextToken = Nothing-    , _dsprrsScalingPlanResources = Nothing-    , _dsprrsResponseStatus = pResponseStatus_-    }----- | The token required to get the next set of results. This value is @null@ if there are no more results to return.-dsprrsNextToken :: Lens' DescribeScalingPlanResourcesResponse (Maybe Text)-dsprrsNextToken = lens _dsprrsNextToken (\ s a -> s{_dsprrsNextToken = a})---- | Information about the scalable resources.-dsprrsScalingPlanResources :: Lens' DescribeScalingPlanResourcesResponse [ScalingPlanResource]-dsprrsScalingPlanResources = lens _dsprrsScalingPlanResources (\ s a -> s{_dsprrsScalingPlanResources = a}) . _Default . _Coerce---- | -- | The response status code.-dsprrsResponseStatus :: Lens' DescribeScalingPlanResourcesResponse Int-dsprrsResponseStatus = lens _dsprrsResponseStatus (\ s a -> s{_dsprrsResponseStatus = a})--instance NFData DescribeScalingPlanResourcesResponse-         where
− gen/Network/AWS/AutoScalingPlans/DescribeScalingPlans.hs
@@ -1,189 +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.AutoScalingPlans.DescribeScalingPlans--- 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 specified scaling plans or all of your scaling plans.-------module Network.AWS.AutoScalingPlans.DescribeScalingPlans-    (-    -- * Creating a Request-      describeScalingPlans-    , DescribeScalingPlans-    -- * Request Lenses-    , dScalingPlanVersion-    , dScalingPlanNames-    , dNextToken-    , dApplicationSources-    , dMaxResults--    -- * Destructuring the Response-    , describeScalingPlansResponse-    , DescribeScalingPlansResponse-    -- * Response Lenses-    , drsScalingPlans-    , drsNextToken-    , drsResponseStatus-    ) where--import Network.AWS.AutoScalingPlans.Types-import Network.AWS.AutoScalingPlans.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeScalingPlans' smart constructor.-data DescribeScalingPlans = DescribeScalingPlans'-  { _dScalingPlanVersion :: !(Maybe Integer)-  , _dScalingPlanNames   :: !(Maybe [Text])-  , _dNextToken          :: !(Maybe Text)-  , _dApplicationSources :: !(Maybe [ApplicationSource])-  , _dMaxResults         :: !(Maybe Int)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalingPlans' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dScalingPlanVersion' - The version of the scaling plan. If you specify a scaling plan version, you must also specify a scaling plan name.------ * 'dScalingPlanNames' - The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.------ * 'dNextToken' - The token for the next set of results.------ * 'dApplicationSources' - The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.------ * 'dMaxResults' - The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.-describeScalingPlans-    :: DescribeScalingPlans-describeScalingPlans =-  DescribeScalingPlans'-    { _dScalingPlanVersion = Nothing-    , _dScalingPlanNames = Nothing-    , _dNextToken = Nothing-    , _dApplicationSources = Nothing-    , _dMaxResults = Nothing-    }----- | The version of the scaling plan. If you specify a scaling plan version, you must also specify a scaling plan name.-dScalingPlanVersion :: Lens' DescribeScalingPlans (Maybe Integer)-dScalingPlanVersion = lens _dScalingPlanVersion (\ s a -> s{_dScalingPlanVersion = a})---- | The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.-dScalingPlanNames :: Lens' DescribeScalingPlans [Text]-dScalingPlanNames = lens _dScalingPlanNames (\ s a -> s{_dScalingPlanNames = a}) . _Default . _Coerce---- | The token for the next set of results.-dNextToken :: Lens' DescribeScalingPlans (Maybe Text)-dNextToken = lens _dNextToken (\ s a -> s{_dNextToken = a})---- | The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.-dApplicationSources :: Lens' DescribeScalingPlans [ApplicationSource]-dApplicationSources = lens _dApplicationSources (\ s a -> s{_dApplicationSources = a}) . _Default . _Coerce---- | The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.-dMaxResults :: Lens' DescribeScalingPlans (Maybe Int)-dMaxResults = lens _dMaxResults (\ s a -> s{_dMaxResults = a})--instance AWSRequest DescribeScalingPlans where-        type Rs DescribeScalingPlans =-             DescribeScalingPlansResponse-        request = postJSON autoScalingPlans-        response-          = receiveJSON-              (\ s h x ->-                 DescribeScalingPlansResponse' <$>-                   (x .?> "ScalingPlans" .!@ mempty) <*>-                     (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable DescribeScalingPlans where--instance NFData DescribeScalingPlans where--instance ToHeaders DescribeScalingPlans where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleScalingPlannerFrontendService.DescribeScalingPlans"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeScalingPlans where-        toJSON DescribeScalingPlans'{..}-          = object-              (catMaybes-                 [("ScalingPlanVersion" .=) <$> _dScalingPlanVersion,-                  ("ScalingPlanNames" .=) <$> _dScalingPlanNames,-                  ("NextToken" .=) <$> _dNextToken,-                  ("ApplicationSources" .=) <$> _dApplicationSources,-                  ("MaxResults" .=) <$> _dMaxResults])--instance ToPath DescribeScalingPlans where-        toPath = const "/"--instance ToQuery DescribeScalingPlans where-        toQuery = const mempty---- | /See:/ 'describeScalingPlansResponse' smart constructor.-data DescribeScalingPlansResponse = DescribeScalingPlansResponse'-  { _drsScalingPlans   :: !(Maybe [ScalingPlan])-  , _drsNextToken      :: !(Maybe Text)-  , _drsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeScalingPlansResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsScalingPlans' - Information about the scaling plans.------ * 'drsNextToken' - The token required to get the next set of results. This value is @null@ if there are no more results to return.------ * 'drsResponseStatus' - -- | The response status code.-describeScalingPlansResponse-    :: Int -- ^ 'drsResponseStatus'-    -> DescribeScalingPlansResponse-describeScalingPlansResponse pResponseStatus_ =-  DescribeScalingPlansResponse'-    { _drsScalingPlans = Nothing-    , _drsNextToken = Nothing-    , _drsResponseStatus = pResponseStatus_-    }----- | Information about the scaling plans.-drsScalingPlans :: Lens' DescribeScalingPlansResponse [ScalingPlan]-drsScalingPlans = lens _drsScalingPlans (\ s a -> s{_drsScalingPlans = 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.-drsNextToken :: Lens' DescribeScalingPlansResponse (Maybe Text)-drsNextToken = lens _drsNextToken (\ s a -> s{_drsNextToken = a})---- | -- | The response status code.-drsResponseStatus :: Lens' DescribeScalingPlansResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DescribeScalingPlansResponse where
− gen/Network/AWS/AutoScalingPlans/Types.hs
@@ -1,223 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.AutoScalingPlans.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.AutoScalingPlans.Types-    (-    -- * Service Configuration-      autoScalingPlans--    -- * Errors-    , _ValidationException-    , _InvalidNextTokenException-    , _ConcurrentUpdateException-    , _InternalServiceException-    , _ObjectNotFoundException-    , _LimitExceededException--    -- * MetricStatistic-    , MetricStatistic (..)--    -- * PolicyType-    , PolicyType (..)--    -- * ScalableDimension-    , ScalableDimension (..)--    -- * ScalingMetricType-    , ScalingMetricType (..)--    -- * ScalingPlanStatusCode-    , ScalingPlanStatusCode (..)--    -- * ScalingStatusCode-    , ScalingStatusCode (..)--    -- * ServiceNamespace-    , ServiceNamespace (..)--    -- * ApplicationSource-    , ApplicationSource-    , applicationSource-    , asTagFilters-    , asCloudFormationStackARN--    -- * CustomizedScalingMetricSpecification-    , CustomizedScalingMetricSpecification-    , customizedScalingMetricSpecification-    , csmsDimensions-    , csmsUnit-    , csmsMetricName-    , csmsNamespace-    , csmsStatistic--    -- * MetricDimension-    , MetricDimension-    , metricDimension-    , mdName-    , mdValue--    -- * PredefinedScalingMetricSpecification-    , PredefinedScalingMetricSpecification-    , predefinedScalingMetricSpecification-    , psmsResourceLabel-    , psmsPredefinedScalingMetricType--    -- * ScalingInstruction-    , ScalingInstruction-    , scalingInstruction-    , siServiceNamespace-    , siResourceId-    , siScalableDimension-    , siMinCapacity-    , siMaxCapacity-    , siTargetTrackingConfigurations--    -- * ScalingPlan-    , ScalingPlan-    , scalingPlan-    , spCreationTime-    , spStatusStartTime-    , spStatusMessage-    , spScalingPlanName-    , spScalingPlanVersion-    , spApplicationSource-    , spScalingInstructions-    , spStatusCode--    -- * ScalingPlanResource-    , ScalingPlanResource-    , scalingPlanResource-    , sprScalingStatusMessage-    , sprScalingPolicies-    , sprScalingPlanName-    , sprScalingPlanVersion-    , sprServiceNamespace-    , sprResourceId-    , sprScalableDimension-    , sprScalingStatusCode--    -- * ScalingPolicy-    , ScalingPolicy-    , scalingPolicy-    , spTargetTrackingConfiguration-    , spPolicyName-    , spPolicyType--    -- * TagFilter-    , TagFilter-    , tagFilter-    , tfValues-    , tfKey--    -- * TargetTrackingConfiguration-    , TargetTrackingConfiguration-    , targetTrackingConfiguration-    , ttcEstimatedInstanceWarmup-    , ttcPredefinedScalingMetricSpecification-    , ttcScaleInCooldown-    , ttcDisableScaleIn-    , ttcCustomizedScalingMetricSpecification-    , ttcScaleOutCooldown-    , ttcTargetValue-    ) where--import Network.AWS.AutoScalingPlans.Types.Product-import Network.AWS.AutoScalingPlans.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2018-01-06@ of the Amazon Auto Scaling Plans SDK configuration.-autoScalingPlans :: Service-autoScalingPlans =-  Service-    { _svcAbbrev = "AutoScalingPlans"-    , _svcSigner = v4-    , _svcPrefix = "autoscaling"-    , _svcVersion = "2018-01-06"-    , _svcEndpoint = defaultEndpoint autoScalingPlans-    , _svcTimeout = Just 70-    , _svcCheck = statusSuccess-    , _svcError = parseJSONError "AutoScalingPlans"-    , _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 parameters provided.-------_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError-_ValidationException = _MatchServiceError autoScalingPlans "ValidationException"----- | The token provided is not valid.-------_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidNextTokenException =-  _MatchServiceError autoScalingPlans "InvalidNextTokenException"----- | Concurrent updates caused an exception, for example, if you request an update to a scaling plan that already has a pending update.-------_ConcurrentUpdateException :: AsError a => Getting (First ServiceError) a ServiceError-_ConcurrentUpdateException =-  _MatchServiceError autoScalingPlans "ConcurrentUpdateException"----- | The service encountered an internal error.-------_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError-_InternalServiceException =-  _MatchServiceError autoScalingPlans "InternalServiceException"----- | The specified object could not be found.-------_ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ObjectNotFoundException =-  _MatchServiceError autoScalingPlans "ObjectNotFoundException"----- | Your account exceeded a limit. This exception is thrown when a per-account resource limit is exceeded.-------_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_LimitExceededException =-  _MatchServiceError autoScalingPlans "LimitExceededException"-
− gen/Network/AWS/AutoScalingPlans/Types/Product.hs
@@ -1,808 +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.AutoScalingPlans.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.AutoScalingPlans.Types.Product where--import Network.AWS.AutoScalingPlans.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | Represents an application source.------------ /See:/ 'applicationSource' smart constructor.-data ApplicationSource = ApplicationSource'-  { _asTagFilters             :: !(Maybe [TagFilter])-  , _asCloudFormationStackARN :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ApplicationSource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'asTagFilters' - A set of tags (up to 50).------ * 'asCloudFormationStackARN' - The Amazon Resource Name (ARN) of a CloudFormation stack.-applicationSource-    :: ApplicationSource-applicationSource =-  ApplicationSource'-    {_asTagFilters = Nothing, _asCloudFormationStackARN = Nothing}----- | A set of tags (up to 50).-asTagFilters :: Lens' ApplicationSource [TagFilter]-asTagFilters = lens _asTagFilters (\ s a -> s{_asTagFilters = a}) . _Default . _Coerce---- | The Amazon Resource Name (ARN) of a CloudFormation stack.-asCloudFormationStackARN :: Lens' ApplicationSource (Maybe Text)-asCloudFormationStackARN = lens _asCloudFormationStackARN (\ s a -> s{_asCloudFormationStackARN = a})--instance FromJSON ApplicationSource where-        parseJSON-          = withObject "ApplicationSource"-              (\ x ->-                 ApplicationSource' <$>-                   (x .:? "TagFilters" .!= mempty) <*>-                     (x .:? "CloudFormationStackARN"))--instance Hashable ApplicationSource where--instance NFData ApplicationSource where--instance ToJSON ApplicationSource where-        toJSON ApplicationSource'{..}-          = object-              (catMaybes-                 [("TagFilters" .=) <$> _asTagFilters,-                  ("CloudFormationStackARN" .=) <$>-                    _asCloudFormationStackARN])---- | Represents a customized metric for a target tracking policy.------------ /See:/ 'customizedScalingMetricSpecification' smart constructor.-data CustomizedScalingMetricSpecification = CustomizedScalingMetricSpecification'-  { _csmsDimensions :: !(Maybe [MetricDimension])-  , _csmsUnit       :: !(Maybe Text)-  , _csmsMetricName :: !Text-  , _csmsNamespace  :: !Text-  , _csmsStatistic  :: !MetricStatistic-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CustomizedScalingMetricSpecification' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csmsDimensions' - The dimensions of the metric.------ * 'csmsUnit' - The unit of the metric.------ * 'csmsMetricName' - The name of the metric.------ * 'csmsNamespace' - The namespace of the metric.------ * 'csmsStatistic' - The statistic of the metric.-customizedScalingMetricSpecification-    :: Text -- ^ 'csmsMetricName'-    -> Text -- ^ 'csmsNamespace'-    -> MetricStatistic -- ^ 'csmsStatistic'-    -> CustomizedScalingMetricSpecification-customizedScalingMetricSpecification pMetricName_ pNamespace_ pStatistic_ =-  CustomizedScalingMetricSpecification'-    { _csmsDimensions = Nothing-    , _csmsUnit = Nothing-    , _csmsMetricName = pMetricName_-    , _csmsNamespace = pNamespace_-    , _csmsStatistic = pStatistic_-    }----- | The dimensions of the metric.-csmsDimensions :: Lens' CustomizedScalingMetricSpecification [MetricDimension]-csmsDimensions = lens _csmsDimensions (\ s a -> s{_csmsDimensions = a}) . _Default . _Coerce---- | The unit of the metric.-csmsUnit :: Lens' CustomizedScalingMetricSpecification (Maybe Text)-csmsUnit = lens _csmsUnit (\ s a -> s{_csmsUnit = a})---- | The name of the metric.-csmsMetricName :: Lens' CustomizedScalingMetricSpecification Text-csmsMetricName = lens _csmsMetricName (\ s a -> s{_csmsMetricName = a})---- | The namespace of the metric.-csmsNamespace :: Lens' CustomizedScalingMetricSpecification Text-csmsNamespace = lens _csmsNamespace (\ s a -> s{_csmsNamespace = a})---- | The statistic of the metric.-csmsStatistic :: Lens' CustomizedScalingMetricSpecification MetricStatistic-csmsStatistic = lens _csmsStatistic (\ s a -> s{_csmsStatistic = a})--instance FromJSON-           CustomizedScalingMetricSpecification-         where-        parseJSON-          = withObject "CustomizedScalingMetricSpecification"-              (\ x ->-                 CustomizedScalingMetricSpecification' <$>-                   (x .:? "Dimensions" .!= mempty) <*> (x .:? "Unit")-                     <*> (x .: "MetricName")-                     <*> (x .: "Namespace")-                     <*> (x .: "Statistic"))--instance Hashable-           CustomizedScalingMetricSpecification-         where--instance NFData CustomizedScalingMetricSpecification-         where--instance ToJSON CustomizedScalingMetricSpecification-         where-        toJSON CustomizedScalingMetricSpecification'{..}-          = object-              (catMaybes-                 [("Dimensions" .=) <$> _csmsDimensions,-                  ("Unit" .=) <$> _csmsUnit,-                  Just ("MetricName" .= _csmsMetricName),-                  Just ("Namespace" .= _csmsNamespace),-                  Just ("Statistic" .= _csmsStatistic)])---- | Represents a dimension for a customized 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)])---- | Represents a predefined metric for a target tracking policy.------------ /See:/ 'predefinedScalingMetricSpecification' smart constructor.-data PredefinedScalingMetricSpecification = PredefinedScalingMetricSpecification'-  { _psmsResourceLabel               :: !(Maybe Text)-  , _psmsPredefinedScalingMetricType :: !ScalingMetricType-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PredefinedScalingMetricSpecification' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psmsResourceLabel' - 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 for an Application Load Balancer attached to the Auto Scaling group, 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.------ * 'psmsPredefinedScalingMetricType' - The metric type. The @ALBRequestCountPerTarget@ metric type applies only to Auto Scaling groups, Sport Fleet requests, and ECS services.-predefinedScalingMetricSpecification-    :: ScalingMetricType -- ^ 'psmsPredefinedScalingMetricType'-    -> PredefinedScalingMetricSpecification-predefinedScalingMetricSpecification pPredefinedScalingMetricType_ =-  PredefinedScalingMetricSpecification'-    { _psmsResourceLabel = Nothing-    , _psmsPredefinedScalingMetricType = pPredefinedScalingMetricType_-    }----- | 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 for an Application Load Balancer attached to the Auto Scaling group, 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.-psmsResourceLabel :: Lens' PredefinedScalingMetricSpecification (Maybe Text)-psmsResourceLabel = lens _psmsResourceLabel (\ s a -> s{_psmsResourceLabel = a})---- | The metric type. The @ALBRequestCountPerTarget@ metric type applies only to Auto Scaling groups, Sport Fleet requests, and ECS services.-psmsPredefinedScalingMetricType :: Lens' PredefinedScalingMetricSpecification ScalingMetricType-psmsPredefinedScalingMetricType = lens _psmsPredefinedScalingMetricType (\ s a -> s{_psmsPredefinedScalingMetricType = a})--instance FromJSON-           PredefinedScalingMetricSpecification-         where-        parseJSON-          = withObject "PredefinedScalingMetricSpecification"-              (\ x ->-                 PredefinedScalingMetricSpecification' <$>-                   (x .:? "ResourceLabel") <*>-                     (x .: "PredefinedScalingMetricType"))--instance Hashable-           PredefinedScalingMetricSpecification-         where--instance NFData PredefinedScalingMetricSpecification-         where--instance ToJSON PredefinedScalingMetricSpecification-         where-        toJSON PredefinedScalingMetricSpecification'{..}-          = object-              (catMaybes-                 [("ResourceLabel" .=) <$> _psmsResourceLabel,-                  Just-                    ("PredefinedScalingMetricType" .=-                       _psmsPredefinedScalingMetricType)])---- | Specifies the scaling configuration for a scalable resource.------------ /See:/ 'scalingInstruction' smart constructor.-data ScalingInstruction = ScalingInstruction'-  { _siServiceNamespace             :: !ServiceNamespace-  , _siResourceId                   :: !Text-  , _siScalableDimension            :: !ScalableDimension-  , _siMinCapacity                  :: !Int-  , _siMaxCapacity                  :: !Int-  , _siTargetTrackingConfigurations :: ![TargetTrackingConfiguration]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ScalingInstruction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'siServiceNamespace' - The namespace of the AWS service.------ * 'siResourceId' - The ID of the resource. This string consists of the resource type and unique identifier.     * Auto Scaling group - The resource type is @autoScalingGroup@ and the unique identifier is the name of the Auto Scaling group. Example: @autoScalingGroup/my-asg@ .     * 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@ .     * 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@ .------ * 'siScalableDimension' - The scalable dimension associated with the resource.     * @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired capacity of an Auto Scaling group.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @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.------ * 'siMinCapacity' - The minimum value to scale to in response to a scale in event.------ * 'siMaxCapacity' - The maximum value to scale to in response to a scale out event.------ * 'siTargetTrackingConfigurations' - The target tracking scaling policies (up to 10).-scalingInstruction-    :: ServiceNamespace -- ^ 'siServiceNamespace'-    -> Text -- ^ 'siResourceId'-    -> ScalableDimension -- ^ 'siScalableDimension'-    -> Int -- ^ 'siMinCapacity'-    -> Int -- ^ 'siMaxCapacity'-    -> ScalingInstruction-scalingInstruction pServiceNamespace_ pResourceId_ pScalableDimension_ pMinCapacity_ pMaxCapacity_ =-  ScalingInstruction'-    { _siServiceNamespace = pServiceNamespace_-    , _siResourceId = pResourceId_-    , _siScalableDimension = pScalableDimension_-    , _siMinCapacity = pMinCapacity_-    , _siMaxCapacity = pMaxCapacity_-    , _siTargetTrackingConfigurations = mempty-    }----- | The namespace of the AWS service.-siServiceNamespace :: Lens' ScalingInstruction ServiceNamespace-siServiceNamespace = lens _siServiceNamespace (\ s a -> s{_siServiceNamespace = a})---- | The ID of the resource. This string consists of the resource type and unique identifier.     * Auto Scaling group - The resource type is @autoScalingGroup@ and the unique identifier is the name of the Auto Scaling group. Example: @autoScalingGroup/my-asg@ .     * 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@ .     * 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@ .-siResourceId :: Lens' ScalingInstruction Text-siResourceId = lens _siResourceId (\ s a -> s{_siResourceId = a})---- | The scalable dimension associated with the resource.     * @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired capacity of an Auto Scaling group.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @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.-siScalableDimension :: Lens' ScalingInstruction ScalableDimension-siScalableDimension = lens _siScalableDimension (\ s a -> s{_siScalableDimension = a})---- | The minimum value to scale to in response to a scale in event.-siMinCapacity :: Lens' ScalingInstruction Int-siMinCapacity = lens _siMinCapacity (\ s a -> s{_siMinCapacity = a})---- | The maximum value to scale to in response to a scale out event.-siMaxCapacity :: Lens' ScalingInstruction Int-siMaxCapacity = lens _siMaxCapacity (\ s a -> s{_siMaxCapacity = a})---- | The target tracking scaling policies (up to 10).-siTargetTrackingConfigurations :: Lens' ScalingInstruction [TargetTrackingConfiguration]-siTargetTrackingConfigurations = lens _siTargetTrackingConfigurations (\ s a -> s{_siTargetTrackingConfigurations = a}) . _Coerce--instance FromJSON ScalingInstruction where-        parseJSON-          = withObject "ScalingInstruction"-              (\ x ->-                 ScalingInstruction' <$>-                   (x .: "ServiceNamespace") <*> (x .: "ResourceId") <*>-                     (x .: "ScalableDimension")-                     <*> (x .: "MinCapacity")-                     <*> (x .: "MaxCapacity")-                     <*>-                     (x .:? "TargetTrackingConfigurations" .!= mempty))--instance Hashable ScalingInstruction where--instance NFData ScalingInstruction where--instance ToJSON ScalingInstruction where-        toJSON ScalingInstruction'{..}-          = object-              (catMaybes-                 [Just ("ServiceNamespace" .= _siServiceNamespace),-                  Just ("ResourceId" .= _siResourceId),-                  Just ("ScalableDimension" .= _siScalableDimension),-                  Just ("MinCapacity" .= _siMinCapacity),-                  Just ("MaxCapacity" .= _siMaxCapacity),-                  Just-                    ("TargetTrackingConfigurations" .=-                       _siTargetTrackingConfigurations)])---- | Represents a scaling plan.------------ /See:/ 'scalingPlan' smart constructor.-data ScalingPlan = ScalingPlan'-  { _spCreationTime        :: !(Maybe POSIX)-  , _spStatusStartTime     :: !(Maybe POSIX)-  , _spStatusMessage       :: !(Maybe Text)-  , _spScalingPlanName     :: !Text-  , _spScalingPlanVersion  :: !Integer-  , _spApplicationSource   :: !ApplicationSource-  , _spScalingInstructions :: ![ScalingInstruction]-  , _spStatusCode          :: !ScalingPlanStatusCode-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ScalingPlan' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'spCreationTime' - The Unix timestamp when the scaling plan was created.------ * 'spStatusStartTime' - The Unix timestamp when the scaling plan entered the current status.------ * 'spStatusMessage' - A simple message about the current status of the scaling plan.------ * 'spScalingPlanName' - The name of the scaling plan.------ * 'spScalingPlanVersion' - The version of the scaling plan.------ * 'spApplicationSource' - The application source.------ * 'spScalingInstructions' - The scaling instructions.------ * 'spStatusCode' - The status of the scaling plan.     * @Active@ - The scaling plan is active.     * @ActiveWithProblems@ - The scaling plan is active, but the scaling configuration for one or more resources could not be applied.     * @CreationInProgress@ - The scaling plan is being created.     * @CreationFailed@ - The scaling plan could not be created.     * @DeletionInProgress@ - The scaling plan is being deleted.     * @DeletionFailed@ - The scaling plan could not be deleted.-scalingPlan-    :: Text -- ^ 'spScalingPlanName'-    -> Integer -- ^ 'spScalingPlanVersion'-    -> ApplicationSource -- ^ 'spApplicationSource'-    -> ScalingPlanStatusCode -- ^ 'spStatusCode'-    -> ScalingPlan-scalingPlan pScalingPlanName_ pScalingPlanVersion_ pApplicationSource_ pStatusCode_ =-  ScalingPlan'-    { _spCreationTime = Nothing-    , _spStatusStartTime = Nothing-    , _spStatusMessage = Nothing-    , _spScalingPlanName = pScalingPlanName_-    , _spScalingPlanVersion = pScalingPlanVersion_-    , _spApplicationSource = pApplicationSource_-    , _spScalingInstructions = mempty-    , _spStatusCode = pStatusCode_-    }----- | The Unix timestamp when the scaling plan was created.-spCreationTime :: Lens' ScalingPlan (Maybe UTCTime)-spCreationTime = lens _spCreationTime (\ s a -> s{_spCreationTime = a}) . mapping _Time---- | The Unix timestamp when the scaling plan entered the current status.-spStatusStartTime :: Lens' ScalingPlan (Maybe UTCTime)-spStatusStartTime = lens _spStatusStartTime (\ s a -> s{_spStatusStartTime = a}) . mapping _Time---- | A simple message about the current status of the scaling plan.-spStatusMessage :: Lens' ScalingPlan (Maybe Text)-spStatusMessage = lens _spStatusMessage (\ s a -> s{_spStatusMessage = a})---- | The name of the scaling plan.-spScalingPlanName :: Lens' ScalingPlan Text-spScalingPlanName = lens _spScalingPlanName (\ s a -> s{_spScalingPlanName = a})---- | The version of the scaling plan.-spScalingPlanVersion :: Lens' ScalingPlan Integer-spScalingPlanVersion = lens _spScalingPlanVersion (\ s a -> s{_spScalingPlanVersion = a})---- | The application source.-spApplicationSource :: Lens' ScalingPlan ApplicationSource-spApplicationSource = lens _spApplicationSource (\ s a -> s{_spApplicationSource = a})---- | The scaling instructions.-spScalingInstructions :: Lens' ScalingPlan [ScalingInstruction]-spScalingInstructions = lens _spScalingInstructions (\ s a -> s{_spScalingInstructions = a}) . _Coerce---- | The status of the scaling plan.     * @Active@ - The scaling plan is active.     * @ActiveWithProblems@ - The scaling plan is active, but the scaling configuration for one or more resources could not be applied.     * @CreationInProgress@ - The scaling plan is being created.     * @CreationFailed@ - The scaling plan could not be created.     * @DeletionInProgress@ - The scaling plan is being deleted.     * @DeletionFailed@ - The scaling plan could not be deleted.-spStatusCode :: Lens' ScalingPlan ScalingPlanStatusCode-spStatusCode = lens _spStatusCode (\ s a -> s{_spStatusCode = a})--instance FromJSON ScalingPlan where-        parseJSON-          = withObject "ScalingPlan"-              (\ x ->-                 ScalingPlan' <$>-                   (x .:? "CreationTime") <*> (x .:? "StatusStartTime")-                     <*> (x .:? "StatusMessage")-                     <*> (x .: "ScalingPlanName")-                     <*> (x .: "ScalingPlanVersion")-                     <*> (x .: "ApplicationSource")-                     <*> (x .:? "ScalingInstructions" .!= mempty)-                     <*> (x .: "StatusCode"))--instance Hashable ScalingPlan where--instance NFData ScalingPlan where---- | Represents a scalable resource.------------ /See:/ 'scalingPlanResource' smart constructor.-data ScalingPlanResource = ScalingPlanResource'-  { _sprScalingStatusMessage :: !(Maybe Text)-  , _sprScalingPolicies      :: !(Maybe [ScalingPolicy])-  , _sprScalingPlanName      :: !Text-  , _sprScalingPlanVersion   :: !Integer-  , _sprServiceNamespace     :: !ServiceNamespace-  , _sprResourceId           :: !Text-  , _sprScalableDimension    :: !ScalableDimension-  , _sprScalingStatusCode    :: !ScalingStatusCode-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ScalingPlanResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sprScalingStatusMessage' - A simple message about the current scaling status of the resource.------ * 'sprScalingPolicies' - The scaling policies.------ * 'sprScalingPlanName' - The name of the scaling plan.------ * 'sprScalingPlanVersion' - The version of the scaling plan.------ * 'sprServiceNamespace' - The namespace of the AWS service.------ * 'sprResourceId' - The ID of the resource. This string consists of the resource type and unique identifier.     * Auto Scaling group - The resource type is @autoScalingGroup@ and the unique identifier is the name of the Auto Scaling group. Example: @autoScalingGroup/my-asg@ .     * 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@ .     * 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@ .------ * 'sprScalableDimension' - The scalable dimension for the resource.     * @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired capacity of an Auto Scaling group.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @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.------ * 'sprScalingStatusCode' - The scaling status of the resource.     * @Active@ - The scaling configuration is active.     * @Inactive@ - The scaling configuration is not active because the scaling plan is being created or the scaling configuration could not be applied. Check the status message for more information.     * @PartiallyActive@ - The scaling configuration is partially active because the scaling plan is being created or deleted or the scaling configuration could not be fully applied. Check the status message for more information.-scalingPlanResource-    :: Text -- ^ 'sprScalingPlanName'-    -> Integer -- ^ 'sprScalingPlanVersion'-    -> ServiceNamespace -- ^ 'sprServiceNamespace'-    -> Text -- ^ 'sprResourceId'-    -> ScalableDimension -- ^ 'sprScalableDimension'-    -> ScalingStatusCode -- ^ 'sprScalingStatusCode'-    -> ScalingPlanResource-scalingPlanResource pScalingPlanName_ pScalingPlanVersion_ pServiceNamespace_ pResourceId_ pScalableDimension_ pScalingStatusCode_ =-  ScalingPlanResource'-    { _sprScalingStatusMessage = Nothing-    , _sprScalingPolicies = Nothing-    , _sprScalingPlanName = pScalingPlanName_-    , _sprScalingPlanVersion = pScalingPlanVersion_-    , _sprServiceNamespace = pServiceNamespace_-    , _sprResourceId = pResourceId_-    , _sprScalableDimension = pScalableDimension_-    , _sprScalingStatusCode = pScalingStatusCode_-    }----- | A simple message about the current scaling status of the resource.-sprScalingStatusMessage :: Lens' ScalingPlanResource (Maybe Text)-sprScalingStatusMessage = lens _sprScalingStatusMessage (\ s a -> s{_sprScalingStatusMessage = a})---- | The scaling policies.-sprScalingPolicies :: Lens' ScalingPlanResource [ScalingPolicy]-sprScalingPolicies = lens _sprScalingPolicies (\ s a -> s{_sprScalingPolicies = a}) . _Default . _Coerce---- | The name of the scaling plan.-sprScalingPlanName :: Lens' ScalingPlanResource Text-sprScalingPlanName = lens _sprScalingPlanName (\ s a -> s{_sprScalingPlanName = a})---- | The version of the scaling plan.-sprScalingPlanVersion :: Lens' ScalingPlanResource Integer-sprScalingPlanVersion = lens _sprScalingPlanVersion (\ s a -> s{_sprScalingPlanVersion = a})---- | The namespace of the AWS service.-sprServiceNamespace :: Lens' ScalingPlanResource ServiceNamespace-sprServiceNamespace = lens _sprServiceNamespace (\ s a -> s{_sprServiceNamespace = a})---- | The ID of the resource. This string consists of the resource type and unique identifier.     * Auto Scaling group - The resource type is @autoScalingGroup@ and the unique identifier is the name of the Auto Scaling group. Example: @autoScalingGroup/my-asg@ .     * 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@ .     * 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@ .-sprResourceId :: Lens' ScalingPlanResource Text-sprResourceId = lens _sprResourceId (\ s a -> s{_sprResourceId = a})---- | The scalable dimension for the resource.     * @autoscaling:autoScalingGroup:DesiredCapacity@ - The desired capacity of an Auto Scaling group.     * @ecs:service:DesiredCount@ - The desired task count of an ECS service.     * @ec2:spot-fleet-request:TargetCapacity@ - The target capacity of a Spot fleet request.     * @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.-sprScalableDimension :: Lens' ScalingPlanResource ScalableDimension-sprScalableDimension = lens _sprScalableDimension (\ s a -> s{_sprScalableDimension = a})---- | The scaling status of the resource.     * @Active@ - The scaling configuration is active.     * @Inactive@ - The scaling configuration is not active because the scaling plan is being created or the scaling configuration could not be applied. Check the status message for more information.     * @PartiallyActive@ - The scaling configuration is partially active because the scaling plan is being created or deleted or the scaling configuration could not be fully applied. Check the status message for more information.-sprScalingStatusCode :: Lens' ScalingPlanResource ScalingStatusCode-sprScalingStatusCode = lens _sprScalingStatusCode (\ s a -> s{_sprScalingStatusCode = a})--instance FromJSON ScalingPlanResource where-        parseJSON-          = withObject "ScalingPlanResource"-              (\ x ->-                 ScalingPlanResource' <$>-                   (x .:? "ScalingStatusMessage") <*>-                     (x .:? "ScalingPolicies" .!= mempty)-                     <*> (x .: "ScalingPlanName")-                     <*> (x .: "ScalingPlanVersion")-                     <*> (x .: "ServiceNamespace")-                     <*> (x .: "ResourceId")-                     <*> (x .: "ScalableDimension")-                     <*> (x .: "ScalingStatusCode"))--instance Hashable ScalingPlanResource where--instance NFData ScalingPlanResource where---- | Represents a scaling policy.------------ /See:/ 'scalingPolicy' smart constructor.-data ScalingPolicy = ScalingPolicy'-  { _spTargetTrackingConfiguration :: !(Maybe TargetTrackingConfiguration)-  , _spPolicyName                  :: !Text-  , _spPolicyType                  :: !PolicyType-  } 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:------ * 'spTargetTrackingConfiguration' - The target tracking scaling policy.------ * 'spPolicyName' - The name of the scaling policy.------ * 'spPolicyType' - The type of scaling policy.-scalingPolicy-    :: Text -- ^ 'spPolicyName'-    -> PolicyType -- ^ 'spPolicyType'-    -> ScalingPolicy-scalingPolicy pPolicyName_ pPolicyType_ =-  ScalingPolicy'-    { _spTargetTrackingConfiguration = Nothing-    , _spPolicyName = pPolicyName_-    , _spPolicyType = pPolicyType_-    }----- | The target tracking scaling policy.-spTargetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration)-spTargetTrackingConfiguration = lens _spTargetTrackingConfiguration (\ s a -> s{_spTargetTrackingConfiguration = a})---- | The name of the scaling policy.-spPolicyName :: Lens' ScalingPolicy Text-spPolicyName = lens _spPolicyName (\ s a -> s{_spPolicyName = a})---- | The type of scaling policy.-spPolicyType :: Lens' ScalingPolicy PolicyType-spPolicyType = lens _spPolicyType (\ s a -> s{_spPolicyType = a})--instance FromJSON ScalingPolicy where-        parseJSON-          = withObject "ScalingPolicy"-              (\ x ->-                 ScalingPolicy' <$>-                   (x .:? "TargetTrackingConfiguration") <*>-                     (x .: "PolicyName")-                     <*> (x .: "PolicyType"))--instance Hashable ScalingPolicy where--instance NFData ScalingPolicy where---- | Represents a tag.------------ /See:/ 'tagFilter' smart constructor.-data TagFilter = TagFilter'-  { _tfValues :: !(Maybe [Text])-  , _tfKey    :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TagFilter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tfValues' - The tag values (0 to 20).------ * 'tfKey' - The tag key.-tagFilter-    :: TagFilter-tagFilter = TagFilter' {_tfValues = Nothing, _tfKey = Nothing}----- | The tag values (0 to 20).-tfValues :: Lens' TagFilter [Text]-tfValues = lens _tfValues (\ s a -> s{_tfValues = a}) . _Default . _Coerce---- | The tag key.-tfKey :: Lens' TagFilter (Maybe Text)-tfKey = lens _tfKey (\ s a -> s{_tfKey = a})--instance FromJSON TagFilter where-        parseJSON-          = withObject "TagFilter"-              (\ x ->-                 TagFilter' <$>-                   (x .:? "Values" .!= mempty) <*> (x .:? "Key"))--instance Hashable TagFilter where--instance NFData TagFilter where--instance ToJSON TagFilter where-        toJSON TagFilter'{..}-          = object-              (catMaybes-                 [("Values" .=) <$> _tfValues, ("Key" .=) <$> _tfKey])---- | Represents a target tracking scaling policy.------------ /See:/ 'targetTrackingConfiguration' smart constructor.-data TargetTrackingConfiguration = TargetTrackingConfiguration'-  { _ttcEstimatedInstanceWarmup :: !(Maybe Int)-  , _ttcPredefinedScalingMetricSpecification :: !(Maybe PredefinedScalingMetricSpecification)-  , _ttcScaleInCooldown :: !(Maybe Int)-  , _ttcDisableScaleIn :: !(Maybe Bool)-  , _ttcCustomizedScalingMetricSpecification :: !(Maybe CustomizedScalingMetricSpecification)-  , _ttcScaleOutCooldown :: !(Maybe Int)-  , _ttcTargetValue :: !Double-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TargetTrackingConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ttcEstimatedInstanceWarmup' - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.------ * 'ttcPredefinedScalingMetricSpecification' - A predefined metric.------ * 'ttcScaleInCooldown' - The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group. 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, AWS Auto Scaling scales out your scalable target immediately.------ * 'ttcDisableScaleIn' - 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@ .------ * 'ttcCustomizedScalingMetricSpecification' - A customized metric.------ * 'ttcScaleOutCooldown' - The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. This value is not used if the scalable resource is an Auto Scaling group. 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.------ * 'ttcTargetValue' - 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).-targetTrackingConfiguration-    :: Double -- ^ 'ttcTargetValue'-    -> TargetTrackingConfiguration-targetTrackingConfiguration pTargetValue_ =-  TargetTrackingConfiguration'-    { _ttcEstimatedInstanceWarmup = Nothing-    , _ttcPredefinedScalingMetricSpecification = Nothing-    , _ttcScaleInCooldown = Nothing-    , _ttcDisableScaleIn = Nothing-    , _ttcCustomizedScalingMetricSpecification = Nothing-    , _ttcScaleOutCooldown = Nothing-    , _ttcTargetValue = pTargetValue_-    }----- | The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.-ttcEstimatedInstanceWarmup :: Lens' TargetTrackingConfiguration (Maybe Int)-ttcEstimatedInstanceWarmup = lens _ttcEstimatedInstanceWarmup (\ s a -> s{_ttcEstimatedInstanceWarmup = a})---- | A predefined metric.-ttcPredefinedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedScalingMetricSpecification)-ttcPredefinedScalingMetricSpecification = lens _ttcPredefinedScalingMetricSpecification (\ s a -> s{_ttcPredefinedScalingMetricSpecification = a})---- | The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group. 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, AWS Auto Scaling scales out your scalable target immediately.-ttcScaleInCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)-ttcScaleInCooldown = lens _ttcScaleInCooldown (\ s a -> s{_ttcScaleInCooldown = 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@ .-ttcDisableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool)-ttcDisableScaleIn = lens _ttcDisableScaleIn (\ s a -> s{_ttcDisableScaleIn = a})---- | A customized metric.-ttcCustomizedScalingMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedScalingMetricSpecification)-ttcCustomizedScalingMetricSpecification = lens _ttcCustomizedScalingMetricSpecification (\ s a -> s{_ttcCustomizedScalingMetricSpecification = a})---- | The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. This value is not used if the scalable resource is an Auto Scaling group. 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.-ttcScaleOutCooldown :: Lens' TargetTrackingConfiguration (Maybe Int)-ttcScaleOutCooldown = lens _ttcScaleOutCooldown (\ s a -> s{_ttcScaleOutCooldown = 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).-ttcTargetValue :: Lens' TargetTrackingConfiguration Double-ttcTargetValue = lens _ttcTargetValue (\ s a -> s{_ttcTargetValue = a})--instance FromJSON TargetTrackingConfiguration where-        parseJSON-          = withObject "TargetTrackingConfiguration"-              (\ x ->-                 TargetTrackingConfiguration' <$>-                   (x .:? "EstimatedInstanceWarmup") <*>-                     (x .:? "PredefinedScalingMetricSpecification")-                     <*> (x .:? "ScaleInCooldown")-                     <*> (x .:? "DisableScaleIn")-                     <*> (x .:? "CustomizedScalingMetricSpecification")-                     <*> (x .:? "ScaleOutCooldown")-                     <*> (x .: "TargetValue"))--instance Hashable TargetTrackingConfiguration where--instance NFData TargetTrackingConfiguration where--instance ToJSON TargetTrackingConfiguration where-        toJSON TargetTrackingConfiguration'{..}-          = object-              (catMaybes-                 [("EstimatedInstanceWarmup" .=) <$>-                    _ttcEstimatedInstanceWarmup,-                  ("PredefinedScalingMetricSpecification" .=) <$>-                    _ttcPredefinedScalingMetricSpecification,-                  ("ScaleInCooldown" .=) <$> _ttcScaleInCooldown,-                  ("DisableScaleIn" .=) <$> _ttcDisableScaleIn,-                  ("CustomizedScalingMetricSpecification" .=) <$>-                    _ttcCustomizedScalingMetricSpecification,-                  ("ScaleOutCooldown" .=) <$> _ttcScaleOutCooldown,-                  Just ("TargetValue" .= _ttcTargetValue)])
− gen/Network/AWS/AutoScalingPlans/Types/Sum.hs
@@ -1,308 +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.AutoScalingPlans.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.AutoScalingPlans.Types.Sum where--import Network.AWS.Prelude--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 PolicyType =-  TargetTrackingScaling-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText PolicyType where-    parser = takeLowerText >>= \case-        "targettrackingscaling" -> pure TargetTrackingScaling-        e -> fromTextError $ "Failure parsing PolicyType from value: '" <> e-           <> "'. Accepted values: targettrackingscaling"--instance ToText PolicyType where-    toText = \case-        TargetTrackingScaling -> "TargetTrackingScaling"--instance Hashable     PolicyType-instance NFData       PolicyType-instance ToByteString PolicyType-instance ToQuery      PolicyType-instance ToHeader     PolicyType--instance FromJSON PolicyType where-    parseJSON = parseJSONText "PolicyType"--data ScalableDimension-  = AutoscalingAutoScalingGroupDesiredCapacity-  | DynamodbIndexReadCapacityUnits-  | DynamodbIndexWriteCapacityUnits-  | DynamodbTableReadCapacityUnits-  | DynamodbTableWriteCapacityUnits-  | EC2SpotFleetRequestTargetCapacity-  | EcsServiceDesiredCount-  | RDSClusterReadReplicaCount-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ScalableDimension where-    parser = takeLowerText >>= \case-        "autoscaling:autoscalinggroup:desiredcapacity" -> pure AutoscalingAutoScalingGroupDesiredCapacity-        "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-        "rds:cluster:readreplicacount" -> pure RDSClusterReadReplicaCount-        e -> fromTextError $ "Failure parsing ScalableDimension from value: '" <> e-           <> "'. Accepted values: autoscaling:autoscalinggroup:desiredcapacity, dynamodb:index:readcapacityunits, dynamodb:index:writecapacityunits, dynamodb:table:readcapacityunits, dynamodb:table:writecapacityunits, ec2:spot-fleet-request:targetcapacity, ecs:service:desiredcount, rds:cluster:readreplicacount"--instance ToText ScalableDimension where-    toText = \case-        AutoscalingAutoScalingGroupDesiredCapacity -> "autoscaling:autoScalingGroup: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"-        RDSClusterReadReplicaCount -> "rds:cluster:ReadReplicaCount"--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 ScalingMetricType-  = ALBRequestCountPerTarget-  | ASGAverageCPUUtilization-  | ASGAverageNetworkIn-  | ASGAverageNetworkOut-  | DynamoDBReadCapacityUtilization-  | DynamoDBWriteCapacityUtilization-  | EC2SpotFleetRequestAverageCPUUtilization-  | EC2SpotFleetRequestAverageNetworkIn-  | EC2SpotFleetRequestAverageNetworkOut-  | ECSServiceAverageCPUUtilization-  | ECSServiceAverageMemoryUtilization-  | RDSReaderAverageCPUUtilization-  | RDSReaderAverageDatabaseConnections-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ScalingMetricType where-    parser = takeLowerText >>= \case-        "albrequestcountpertarget" -> pure ALBRequestCountPerTarget-        "asgaveragecpuutilization" -> pure ASGAverageCPUUtilization-        "asgaveragenetworkin" -> pure ASGAverageNetworkIn-        "asgaveragenetworkout" -> pure ASGAverageNetworkOut-        "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-        e -> fromTextError $ "Failure parsing ScalingMetricType from value: '" <> e-           <> "'. Accepted values: albrequestcountpertarget, asgaveragecpuutilization, asgaveragenetworkin, asgaveragenetworkout, dynamodbreadcapacityutilization, dynamodbwritecapacityutilization, ec2spotfleetrequestaveragecpuutilization, ec2spotfleetrequestaveragenetworkin, ec2spotfleetrequestaveragenetworkout, ecsserviceaveragecpuutilization, ecsserviceaveragememoryutilization, rdsreaderaveragecpuutilization, rdsreaderaveragedatabaseconnections"--instance ToText ScalingMetricType where-    toText = \case-        ALBRequestCountPerTarget -> "ALBRequestCountPerTarget"-        ASGAverageCPUUtilization -> "ASGAverageCPUUtilization"-        ASGAverageNetworkIn -> "ASGAverageNetworkIn"-        ASGAverageNetworkOut -> "ASGAverageNetworkOut"-        DynamoDBReadCapacityUtilization -> "DynamoDBReadCapacityUtilization"-        DynamoDBWriteCapacityUtilization -> "DynamoDBWriteCapacityUtilization"-        EC2SpotFleetRequestAverageCPUUtilization -> "EC2SpotFleetRequestAverageCPUUtilization"-        EC2SpotFleetRequestAverageNetworkIn -> "EC2SpotFleetRequestAverageNetworkIn"-        EC2SpotFleetRequestAverageNetworkOut -> "EC2SpotFleetRequestAverageNetworkOut"-        ECSServiceAverageCPUUtilization -> "ECSServiceAverageCPUUtilization"-        ECSServiceAverageMemoryUtilization -> "ECSServiceAverageMemoryUtilization"-        RDSReaderAverageCPUUtilization -> "RDSReaderAverageCPUUtilization"-        RDSReaderAverageDatabaseConnections -> "RDSReaderAverageDatabaseConnections"--instance Hashable     ScalingMetricType-instance NFData       ScalingMetricType-instance ToByteString ScalingMetricType-instance ToQuery      ScalingMetricType-instance ToHeader     ScalingMetricType--instance ToJSON ScalingMetricType where-    toJSON = toJSONText--instance FromJSON ScalingMetricType where-    parseJSON = parseJSONText "ScalingMetricType"--data ScalingPlanStatusCode-  = SPSCActive-  | SPSCActiveWithProblems-  | SPSCCreationFailed-  | SPSCCreationInProgress-  | SPSCDeletionFailed-  | SPSCDeletionInProgress-  | SPSCUpdateFailed-  | SPSCUpdateInProgress-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ScalingPlanStatusCode where-    parser = takeLowerText >>= \case-        "active" -> pure SPSCActive-        "activewithproblems" -> pure SPSCActiveWithProblems-        "creationfailed" -> pure SPSCCreationFailed-        "creationinprogress" -> pure SPSCCreationInProgress-        "deletionfailed" -> pure SPSCDeletionFailed-        "deletioninprogress" -> pure SPSCDeletionInProgress-        "updatefailed" -> pure SPSCUpdateFailed-        "updateinprogress" -> pure SPSCUpdateInProgress-        e -> fromTextError $ "Failure parsing ScalingPlanStatusCode from value: '" <> e-           <> "'. Accepted values: active, activewithproblems, creationfailed, creationinprogress, deletionfailed, deletioninprogress, updatefailed, updateinprogress"--instance ToText ScalingPlanStatusCode where-    toText = \case-        SPSCActive -> "Active"-        SPSCActiveWithProblems -> "ActiveWithProblems"-        SPSCCreationFailed -> "CreationFailed"-        SPSCCreationInProgress -> "CreationInProgress"-        SPSCDeletionFailed -> "DeletionFailed"-        SPSCDeletionInProgress -> "DeletionInProgress"-        SPSCUpdateFailed -> "UpdateFailed"-        SPSCUpdateInProgress -> "UpdateInProgress"--instance Hashable     ScalingPlanStatusCode-instance NFData       ScalingPlanStatusCode-instance ToByteString ScalingPlanStatusCode-instance ToQuery      ScalingPlanStatusCode-instance ToHeader     ScalingPlanStatusCode--instance FromJSON ScalingPlanStatusCode where-    parseJSON = parseJSONText "ScalingPlanStatusCode"--data ScalingStatusCode-  = Active-  | Inactive-  | PartiallyActive-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ScalingStatusCode where-    parser = takeLowerText >>= \case-        "active" -> pure Active-        "inactive" -> pure Inactive-        "partiallyactive" -> pure PartiallyActive-        e -> fromTextError $ "Failure parsing ScalingStatusCode from value: '" <> e-           <> "'. Accepted values: active, inactive, partiallyactive"--instance ToText ScalingStatusCode where-    toText = \case-        Active -> "Active"-        Inactive -> "Inactive"-        PartiallyActive -> "PartiallyActive"--instance Hashable     ScalingStatusCode-instance NFData       ScalingStatusCode-instance ToByteString ScalingStatusCode-instance ToQuery      ScalingStatusCode-instance ToHeader     ScalingStatusCode--instance FromJSON ScalingStatusCode where-    parseJSON = parseJSONText "ScalingStatusCode"--data ServiceNamespace-  = Autoscaling-  | Dynamodb-  | EC2-  | Ecs-  | RDS-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ServiceNamespace where-    parser = takeLowerText >>= \case-        "autoscaling" -> pure Autoscaling-        "dynamodb" -> pure Dynamodb-        "ec2" -> pure EC2-        "ecs" -> pure Ecs-        "rds" -> pure RDS-        e -> fromTextError $ "Failure parsing ServiceNamespace from value: '" <> e-           <> "'. Accepted values: autoscaling, dynamodb, ec2, ecs, rds"--instance ToText ServiceNamespace where-    toText = \case-        Autoscaling -> "autoscaling"-        Dynamodb -> "dynamodb"-        EC2 -> "ec2"-        Ecs -> "ecs"-        RDS -> "rds"--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/AutoScalingPlans/UpdateScalingPlan.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.AutoScalingPlans.UpdateScalingPlan--- 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)------ Updates the scaling plan for the specified scaling plan.--------- You cannot update a scaling plan if it is in the process of being created, updated, or deleted.----module Network.AWS.AutoScalingPlans.UpdateScalingPlan-    (-    -- * Creating a Request-      updateScalingPlan-    , UpdateScalingPlan-    -- * Request Lenses-    , uspScalingInstructions-    , uspApplicationSource-    , uspScalingPlanName-    , uspScalingPlanVersion--    -- * Destructuring the Response-    , updateScalingPlanResponse-    , UpdateScalingPlanResponse-    -- * Response Lenses-    , usprsResponseStatus-    ) where--import Network.AWS.AutoScalingPlans.Types-import Network.AWS.AutoScalingPlans.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateScalingPlan' smart constructor.-data UpdateScalingPlan = UpdateScalingPlan'-  { _uspScalingInstructions :: !(Maybe [ScalingInstruction])-  , _uspApplicationSource   :: !(Maybe ApplicationSource)-  , _uspScalingPlanName     :: !Text-  , _uspScalingPlanVersion  :: !Integer-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateScalingPlan' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uspScalingInstructions' - The scaling instructions.------ * 'uspApplicationSource' - A CloudFormation stack or set of tags.------ * 'uspScalingPlanName' - The name of the scaling plan.------ * 'uspScalingPlanVersion' - The version number.-updateScalingPlan-    :: Text -- ^ 'uspScalingPlanName'-    -> Integer -- ^ 'uspScalingPlanVersion'-    -> UpdateScalingPlan-updateScalingPlan pScalingPlanName_ pScalingPlanVersion_ =-  UpdateScalingPlan'-    { _uspScalingInstructions = Nothing-    , _uspApplicationSource = Nothing-    , _uspScalingPlanName = pScalingPlanName_-    , _uspScalingPlanVersion = pScalingPlanVersion_-    }----- | The scaling instructions.-uspScalingInstructions :: Lens' UpdateScalingPlan [ScalingInstruction]-uspScalingInstructions = lens _uspScalingInstructions (\ s a -> s{_uspScalingInstructions = a}) . _Default . _Coerce---- | A CloudFormation stack or set of tags.-uspApplicationSource :: Lens' UpdateScalingPlan (Maybe ApplicationSource)-uspApplicationSource = lens _uspApplicationSource (\ s a -> s{_uspApplicationSource = a})---- | The name of the scaling plan.-uspScalingPlanName :: Lens' UpdateScalingPlan Text-uspScalingPlanName = lens _uspScalingPlanName (\ s a -> s{_uspScalingPlanName = a})---- | The version number.-uspScalingPlanVersion :: Lens' UpdateScalingPlan Integer-uspScalingPlanVersion = lens _uspScalingPlanVersion (\ s a -> s{_uspScalingPlanVersion = a})--instance AWSRequest UpdateScalingPlan where-        type Rs UpdateScalingPlan = UpdateScalingPlanResponse-        request = postJSON autoScalingPlans-        response-          = receiveEmpty-              (\ s h x ->-                 UpdateScalingPlanResponse' <$> (pure (fromEnum s)))--instance Hashable UpdateScalingPlan where--instance NFData UpdateScalingPlan where--instance ToHeaders UpdateScalingPlan where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AnyScaleScalingPlannerFrontendService.UpdateScalingPlan"-                       :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateScalingPlan where-        toJSON UpdateScalingPlan'{..}-          = object-              (catMaybes-                 [("ScalingInstructions" .=) <$>-                    _uspScalingInstructions,-                  ("ApplicationSource" .=) <$> _uspApplicationSource,-                  Just ("ScalingPlanName" .= _uspScalingPlanName),-                  Just-                    ("ScalingPlanVersion" .= _uspScalingPlanVersion)])--instance ToPath UpdateScalingPlan where-        toPath = const "/"--instance ToQuery UpdateScalingPlan where-        toQuery = const mempty---- | /See:/ 'updateScalingPlanResponse' smart constructor.-newtype UpdateScalingPlanResponse = UpdateScalingPlanResponse'-  { _usprsResponseStatus :: Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateScalingPlanResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'usprsResponseStatus' - -- | The response status code.-updateScalingPlanResponse-    :: Int -- ^ 'usprsResponseStatus'-    -> UpdateScalingPlanResponse-updateScalingPlanResponse pResponseStatus_ =-  UpdateScalingPlanResponse' {_usprsResponseStatus = pResponseStatus_}----- | -- | The response status code.-usprsResponseStatus :: Lens' UpdateScalingPlanResponse Int-usprsResponseStatus = lens _usprsResponseStatus (\ s a -> s{_usprsResponseStatus = a})--instance NFData UpdateScalingPlanResponse where
− gen/Network/AWS/AutoScalingPlans/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.AutoScalingPlans.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.AutoScalingPlans.Waiters where--import Network.AWS.AutoScalingPlans.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.AutoScalingPlans+import Test.Amazonka.AutoScalingPlans.Internal import Test.Tasty-import Test.AWS.AutoScalingPlans-import Test.AWS.AutoScalingPlans.Internal  main :: IO ()-main = defaultMain $ testGroup "AutoScalingPlans"-    [ testGroup "tests"    tests-    , testGroup "fixtures" fixtures-    ]+main =+  defaultMain $+    testGroup+      "AutoScalingPlans"+      [ testGroup "tests" tests,+        testGroup "fixtures" fixtures+      ]
− test/Test/AWS/AutoScalingPlans.hs
@@ -1,20 +0,0 @@--- |--- Module      : Test.AWS.AutoScalingPlans--- 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.AutoScalingPlans-    ( tests-    , fixtures-    ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/AutoScalingPlans/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module      : Test.AWS.AutoScalingPlans.Internal--- 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.AutoScalingPlans.Internal where
− test/Test/AWS/Gen/AutoScalingPlans.hs
@@ -1,129 +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.AutoScalingPlans--- 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.AutoScalingPlans where--import Data.Proxy-import Network.AWS.AutoScalingPlans-import Test.AWS.AutoScalingPlans.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"---         [ requestDescribeScalingPlanResources $---             describeScalingPlanResources------         , requestCreateScalingPlan $---             createScalingPlan------         , requestDeleteScalingPlan $---             deleteScalingPlan------         , requestUpdateScalingPlan $---             updateScalingPlan------         , requestDescribeScalingPlans $---             describeScalingPlans------           ]----     , testGroup "response"---         [ responseDescribeScalingPlanResources $---             describeScalingPlanResourcesResponse------         , responseCreateScalingPlan $---             createScalingPlanResponse------         , responseDeleteScalingPlan $---             deleteScalingPlanResponse------         , responseUpdateScalingPlan $---             updateScalingPlanResponse------         , responseDescribeScalingPlans $---             describeScalingPlansResponse------           ]---     ]---- Requests--requestDescribeScalingPlanResources :: DescribeScalingPlanResources -> TestTree-requestDescribeScalingPlanResources = req-    "DescribeScalingPlanResources"-    "fixture/DescribeScalingPlanResources.yaml"--requestCreateScalingPlan :: CreateScalingPlan -> TestTree-requestCreateScalingPlan = req-    "CreateScalingPlan"-    "fixture/CreateScalingPlan.yaml"--requestDeleteScalingPlan :: DeleteScalingPlan -> TestTree-requestDeleteScalingPlan = req-    "DeleteScalingPlan"-    "fixture/DeleteScalingPlan.yaml"--requestUpdateScalingPlan :: UpdateScalingPlan -> TestTree-requestUpdateScalingPlan = req-    "UpdateScalingPlan"-    "fixture/UpdateScalingPlan.yaml"--requestDescribeScalingPlans :: DescribeScalingPlans -> TestTree-requestDescribeScalingPlans = req-    "DescribeScalingPlans"-    "fixture/DescribeScalingPlans.yaml"---- Responses--responseDescribeScalingPlanResources :: DescribeScalingPlanResourcesResponse -> TestTree-responseDescribeScalingPlanResources = res-    "DescribeScalingPlanResourcesResponse"-    "fixture/DescribeScalingPlanResourcesResponse.proto"-    autoScalingPlans-    (Proxy :: Proxy DescribeScalingPlanResources)--responseCreateScalingPlan :: CreateScalingPlanResponse -> TestTree-responseCreateScalingPlan = res-    "CreateScalingPlanResponse"-    "fixture/CreateScalingPlanResponse.proto"-    autoScalingPlans-    (Proxy :: Proxy CreateScalingPlan)--responseDeleteScalingPlan :: DeleteScalingPlanResponse -> TestTree-responseDeleteScalingPlan = res-    "DeleteScalingPlanResponse"-    "fixture/DeleteScalingPlanResponse.proto"-    autoScalingPlans-    (Proxy :: Proxy DeleteScalingPlan)--responseUpdateScalingPlan :: UpdateScalingPlanResponse -> TestTree-responseUpdateScalingPlan = res-    "UpdateScalingPlanResponse"-    "fixture/UpdateScalingPlanResponse.proto"-    autoScalingPlans-    (Proxy :: Proxy UpdateScalingPlan)--responseDescribeScalingPlans :: DescribeScalingPlansResponse -> TestTree-responseDescribeScalingPlans = res-    "DescribeScalingPlansResponse"-    "fixture/DescribeScalingPlansResponse.proto"-    autoScalingPlans-    (Proxy :: Proxy DescribeScalingPlans)
+ test/Test/Amazonka/AutoScalingPlans.hs view
@@ -0,0 +1,20 @@+-- |+-- Module      : Test.Amazonka.AutoScalingPlans+-- 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.AutoScalingPlans+  ( tests,+    fixtures,+  )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/AutoScalingPlans/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module      : Test.Amazonka.AutoScalingPlans.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.AutoScalingPlans.Internal where
+ test/Test/Amazonka/Gen/AutoScalingPlans.hs view
@@ -0,0 +1,158 @@+{-# 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.AutoScalingPlans+-- 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.AutoScalingPlans where++import Amazonka.AutoScalingPlans+import qualified Data.Proxy as Proxy+import Test.Amazonka.AutoScalingPlans.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"+--         [ requestCreateScalingPlan $+--             newCreateScalingPlan+--+--         , requestDeleteScalingPlan $+--             newDeleteScalingPlan+--+--         , requestDescribeScalingPlanResources $+--             newDescribeScalingPlanResources+--+--         , requestDescribeScalingPlans $+--             newDescribeScalingPlans+--+--         , requestGetScalingPlanResourceForecastData $+--             newGetScalingPlanResourceForecastData+--+--         , requestUpdateScalingPlan $+--             newUpdateScalingPlan+--+--           ]++--     , testGroup "response"+--         [ responseCreateScalingPlan $+--             newCreateScalingPlanResponse+--+--         , responseDeleteScalingPlan $+--             newDeleteScalingPlanResponse+--+--         , responseDescribeScalingPlanResources $+--             newDescribeScalingPlanResourcesResponse+--+--         , responseDescribeScalingPlans $+--             newDescribeScalingPlansResponse+--+--         , responseGetScalingPlanResourceForecastData $+--             newGetScalingPlanResourceForecastDataResponse+--+--         , responseUpdateScalingPlan $+--             newUpdateScalingPlanResponse+--+--           ]+--     ]++-- Requests++requestCreateScalingPlan :: CreateScalingPlan -> TestTree+requestCreateScalingPlan =+  req+    "CreateScalingPlan"+    "fixture/CreateScalingPlan.yaml"++requestDeleteScalingPlan :: DeleteScalingPlan -> TestTree+requestDeleteScalingPlan =+  req+    "DeleteScalingPlan"+    "fixture/DeleteScalingPlan.yaml"++requestDescribeScalingPlanResources :: DescribeScalingPlanResources -> TestTree+requestDescribeScalingPlanResources =+  req+    "DescribeScalingPlanResources"+    "fixture/DescribeScalingPlanResources.yaml"++requestDescribeScalingPlans :: DescribeScalingPlans -> TestTree+requestDescribeScalingPlans =+  req+    "DescribeScalingPlans"+    "fixture/DescribeScalingPlans.yaml"++requestGetScalingPlanResourceForecastData :: GetScalingPlanResourceForecastData -> TestTree+requestGetScalingPlanResourceForecastData =+  req+    "GetScalingPlanResourceForecastData"+    "fixture/GetScalingPlanResourceForecastData.yaml"++requestUpdateScalingPlan :: UpdateScalingPlan -> TestTree+requestUpdateScalingPlan =+  req+    "UpdateScalingPlan"+    "fixture/UpdateScalingPlan.yaml"++-- Responses++responseCreateScalingPlan :: CreateScalingPlanResponse -> TestTree+responseCreateScalingPlan =+  res+    "CreateScalingPlanResponse"+    "fixture/CreateScalingPlanResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateScalingPlan)++responseDeleteScalingPlan :: DeleteScalingPlanResponse -> TestTree+responseDeleteScalingPlan =+  res+    "DeleteScalingPlanResponse"+    "fixture/DeleteScalingPlanResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteScalingPlan)++responseDescribeScalingPlanResources :: DescribeScalingPlanResourcesResponse -> TestTree+responseDescribeScalingPlanResources =+  res+    "DescribeScalingPlanResourcesResponse"+    "fixture/DescribeScalingPlanResourcesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeScalingPlanResources)++responseDescribeScalingPlans :: DescribeScalingPlansResponse -> TestTree+responseDescribeScalingPlans =+  res+    "DescribeScalingPlansResponse"+    "fixture/DescribeScalingPlansResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeScalingPlans)++responseGetScalingPlanResourceForecastData :: GetScalingPlanResourceForecastDataResponse -> TestTree+responseGetScalingPlanResourceForecastData =+  res+    "GetScalingPlanResourceForecastDataResponse"+    "fixture/GetScalingPlanResourceForecastDataResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GetScalingPlanResourceForecastData)++responseUpdateScalingPlan :: UpdateScalingPlanResponse -> TestTree+responseUpdateScalingPlan =+  res+    "UpdateScalingPlanResponse"+    "fixture/UpdateScalingPlanResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UpdateScalingPlan)