Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.ComputeOptimizer.Types
Contents
- Service Configuration
- Errors
- AutoScalingConfiguration
- CpuVendorArchitecture
- Currency
- CurrentPerformanceRisk
- EBSFilterName
- EBSFinding
- EBSMetricName
- ECSServiceLaunchType
- ECSServiceMetricName
- ECSServiceMetricStatistic
- ECSServiceRecommendationFilterName
- ECSServiceRecommendationFinding
- ECSServiceRecommendationFindingReasonCode
- EnhancedInfrastructureMetrics
- EnrollmentFilterName
- ExportableAutoScalingGroupField
- ExportableECSServiceField
- ExportableInstanceField
- ExportableLambdaFunctionField
- ExportableVolumeField
- ExternalMetricsSource
- FileFormat
- FilterName
- Finding
- FindingReasonCode
- InferredWorkloadType
- InferredWorkloadTypesPreference
- InstanceRecommendationFindingReasonCode
- JobFilterName
- JobStatus
- LambdaFunctionMemoryMetricName
- LambdaFunctionMemoryMetricStatistic
- LambdaFunctionMetricName
- LambdaFunctionMetricStatistic
- LambdaFunctionRecommendationFilterName
- LambdaFunctionRecommendationFinding
- LambdaFunctionRecommendationFindingReasonCode
- MetricName
- MetricStatistic
- MigrationEffort
- PlatformDifference
- RecommendationPreferenceName
- RecommendationSourceType
- ResourceType
- ScopeName
- Status
- AccountEnrollmentStatus
- AutoScalingGroupConfiguration
- AutoScalingGroupRecommendation
- AutoScalingGroupRecommendationOption
- ContainerConfiguration
- ContainerRecommendation
- CurrentPerformanceRiskRatings
- EBSFilter
- EBSUtilizationMetric
- ECSServiceProjectedMetric
- ECSServiceProjectedUtilizationMetric
- ECSServiceRecommendation
- ECSServiceRecommendationFilter
- ECSServiceRecommendationOption
- ECSServiceRecommendedOptionProjectedMetric
- ECSServiceUtilizationMetric
- EffectiveRecommendationPreferences
- EnrollmentFilter
- EstimatedMonthlySavings
- ExportDestination
- ExternalMetricsPreference
- Filter
- GetRecommendationError
- InstanceRecommendation
- InstanceRecommendationOption
- JobFilter
- LambdaFunctionMemoryProjectedMetric
- LambdaFunctionMemoryRecommendationOption
- LambdaFunctionRecommendation
- LambdaFunctionRecommendationFilter
- LambdaFunctionUtilizationMetric
- MemorySizeConfiguration
- ProjectedMetric
- ReasonCodeSummary
- RecommendationExportJob
- RecommendationPreferences
- RecommendationPreferencesDetail
- RecommendationSource
- RecommendationSummary
- RecommendedOptionProjectedMetric
- S3Destination
- S3DestinationConfig
- SavingsOpportunity
- Scope
- ServiceConfiguration
- Summary
- UtilizationMetric
- VolumeConfiguration
- VolumeRecommendation
- VolumeRecommendationOption
Description
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _InvalidParameterValueException :: AsError a => Fold a ServiceError
- _LimitExceededException :: AsError a => Fold a ServiceError
- _MissingAuthenticationToken :: AsError a => Fold a ServiceError
- _OptInRequiredException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceUnavailableException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- newtype AutoScalingConfiguration where
- newtype CpuVendorArchitecture where
- newtype Currency where
- Currency' {
- fromCurrency :: Text
- pattern Currency_CNY :: Currency
- pattern Currency_USD :: Currency
- Currency' {
- newtype CurrentPerformanceRisk where
- newtype EBSFilterName where
- EBSFilterName' { }
- pattern EBSFilterName_Finding :: EBSFilterName
- newtype EBSFinding where
- EBSFinding' { }
- pattern EBSFinding_NotOptimized :: EBSFinding
- pattern EBSFinding_Optimized :: EBSFinding
- newtype EBSMetricName where
- newtype ECSServiceLaunchType where
- newtype ECSServiceMetricName where
- newtype ECSServiceMetricStatistic where
- newtype ECSServiceRecommendationFilterName where
- newtype ECSServiceRecommendationFinding where
- ECSServiceRecommendationFinding' { }
- pattern ECSServiceRecommendationFinding_Optimized :: ECSServiceRecommendationFinding
- pattern ECSServiceRecommendationFinding_Overprovisioned :: ECSServiceRecommendationFinding
- pattern ECSServiceRecommendationFinding_Underprovisioned :: ECSServiceRecommendationFinding
- newtype ECSServiceRecommendationFindingReasonCode where
- ECSServiceRecommendationFindingReasonCode' { }
- pattern ECSServiceRecommendationFindingReasonCode_CPUOverprovisioned :: ECSServiceRecommendationFindingReasonCode
- pattern ECSServiceRecommendationFindingReasonCode_CPUUnderprovisioned :: ECSServiceRecommendationFindingReasonCode
- pattern ECSServiceRecommendationFindingReasonCode_MemoryOverprovisioned :: ECSServiceRecommendationFindingReasonCode
- pattern ECSServiceRecommendationFindingReasonCode_MemoryUnderprovisioned :: ECSServiceRecommendationFindingReasonCode
- newtype EnhancedInfrastructureMetrics where
- newtype EnrollmentFilterName where
- newtype ExportableAutoScalingGroupField where
- ExportableAutoScalingGroupField' { }
- pattern ExportableAutoScalingGroupField_AccountId :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_AutoScalingGroupArn :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_AutoScalingGroupName :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentConfigurationDesiredCapacity :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentConfigurationInstanceType :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentConfigurationMaxSize :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentConfigurationMinSize :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentMemory :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentNetwork :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentOnDemandPrice :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentPerformanceRisk :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentStandardOneYearNoUpfrontReservedPrice :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentStandardThreeYearNoUpfrontReservedPrice :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentStorage :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentVCpus :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_EffectiveRecommendationPreferencesCpuVendorArchitectures :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_EffectiveRecommendationPreferencesInferredWorkloadTypes :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_Finding :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_InferredWorkloadTypes :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_LastRefreshTimestamp :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_LookbackPeriodInDays :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsConfigurationDesiredCapacity :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsConfigurationInstanceType :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsConfigurationMaxSize :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsConfigurationMinSize :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsEstimatedMonthlySavingsCurrency :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsEstimatedMonthlySavingsValue :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsMemory :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsMigrationEffort :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsNetwork :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsOnDemandPrice :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsPerformanceRisk :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsProjectedUtilizationMetricsCpuMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsSavingsOpportunityPercentage :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsStandardOneYearNoUpfrontReservedPrice :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsStorage :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsVcpus :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsCpuMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsDiskReadBytesPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsDiskReadOpsPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsDiskWriteBytesPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsDiskWriteOpsPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsEbsReadBytesPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsEbsReadOpsPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsEbsWriteBytesPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsEbsWriteOpsPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsMemoryMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsNetworkInBytesPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsNetworkOutBytesPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsNetworkPacketsInPerSecondMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_UtilizationMetricsNetworkPacketsOutPerSecondMaximum :: ExportableAutoScalingGroupField
- newtype ExportableECSServiceField where
- ExportableECSServiceField' { }
- pattern ExportableECSServiceField_AccountId :: ExportableECSServiceField
- pattern ExportableECSServiceField_CurrentPerformanceRisk :: ExportableECSServiceField
- pattern ExportableECSServiceField_CurrentServiceConfigurationAutoScalingConfiguration :: ExportableECSServiceField
- pattern ExportableECSServiceField_CurrentServiceConfigurationCpu :: ExportableECSServiceField
- pattern ExportableECSServiceField_CurrentServiceConfigurationMemory :: ExportableECSServiceField
- pattern ExportableECSServiceField_CurrentServiceConfigurationTaskDefinitionArn :: ExportableECSServiceField
- pattern ExportableECSServiceField_CurrentServiceContainerConfigurations :: ExportableECSServiceField
- pattern ExportableECSServiceField_Finding :: ExportableECSServiceField
- pattern ExportableECSServiceField_FindingReasonCodes :: ExportableECSServiceField
- pattern ExportableECSServiceField_LastRefreshTimestamp :: ExportableECSServiceField
- pattern ExportableECSServiceField_LaunchType :: ExportableECSServiceField
- pattern ExportableECSServiceField_LookbackPeriodInDays :: ExportableECSServiceField
- pattern ExportableECSServiceField_RecommendationOptionsContainerRecommendations :: ExportableECSServiceField
- pattern ExportableECSServiceField_RecommendationOptionsCpu :: ExportableECSServiceField
- pattern ExportableECSServiceField_RecommendationOptionsEstimatedMonthlySavingsCurrency :: ExportableECSServiceField
- pattern ExportableECSServiceField_RecommendationOptionsEstimatedMonthlySavingsValue :: ExportableECSServiceField
- pattern ExportableECSServiceField_RecommendationOptionsMemory :: ExportableECSServiceField
- pattern ExportableECSServiceField_RecommendationOptionsProjectedUtilizationMetricsCpuMaximum :: ExportableECSServiceField
- pattern ExportableECSServiceField_RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum :: ExportableECSServiceField
- pattern ExportableECSServiceField_RecommendationOptionsSavingsOpportunityPercentage :: ExportableECSServiceField
- pattern ExportableECSServiceField_ServiceArn :: ExportableECSServiceField
- pattern ExportableECSServiceField_UtilizationMetricsCpuMaximum :: ExportableECSServiceField
- pattern ExportableECSServiceField_UtilizationMetricsMemoryMaximum :: ExportableECSServiceField
- newtype ExportableInstanceField where
- ExportableInstanceField' { }
- pattern ExportableInstanceField_AccountId :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentInstanceType :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentMemory :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentNetwork :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentOnDemandPrice :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentPerformanceRisk :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentStandardOneYearNoUpfrontReservedPrice :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentStandardThreeYearNoUpfrontReservedPrice :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentStorage :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentVCpus :: ExportableInstanceField
- pattern ExportableInstanceField_EffectiveRecommendationPreferencesCpuVendorArchitectures :: ExportableInstanceField
- pattern ExportableInstanceField_EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics :: ExportableInstanceField
- pattern ExportableInstanceField_EffectiveRecommendationPreferencesExternalMetricsSource :: ExportableInstanceField
- pattern ExportableInstanceField_EffectiveRecommendationPreferencesInferredWorkloadTypes :: ExportableInstanceField
- pattern ExportableInstanceField_Finding :: ExportableInstanceField
- pattern ExportableInstanceField_FindingReasonCodes :: ExportableInstanceField
- pattern ExportableInstanceField_InferredWorkloadTypes :: ExportableInstanceField
- pattern ExportableInstanceField_InstanceArn :: ExportableInstanceField
- pattern ExportableInstanceField_InstanceName :: ExportableInstanceField
- pattern ExportableInstanceField_LastRefreshTimestamp :: ExportableInstanceField
- pattern ExportableInstanceField_LookbackPeriodInDays :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsEstimatedMonthlySavingsCurrency :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsEstimatedMonthlySavingsValue :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsInstanceType :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsMemory :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsMigrationEffort :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsNetwork :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsOnDemandPrice :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsPerformanceRisk :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsPlatformDifferences :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsProjectedUtilizationMetricsCpuMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsSavingsOpportunityPercentage :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsStandardOneYearNoUpfrontReservedPrice :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsStorage :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsVcpus :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationsSourcesRecommendationSourceArn :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationsSourcesRecommendationSourceType :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsCpuMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsDiskReadBytesPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsDiskReadOpsPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsDiskWriteBytesPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsDiskWriteOpsPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsEbsReadBytesPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsEbsReadOpsPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsEbsWriteBytesPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsEbsWriteOpsPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsMemoryMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsNetworkInBytesPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsNetworkOutBytesPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsNetworkPacketsInPerSecondMaximum :: ExportableInstanceField
- pattern ExportableInstanceField_UtilizationMetricsNetworkPacketsOutPerSecondMaximum :: ExportableInstanceField
- newtype ExportableLambdaFunctionField where
- ExportableLambdaFunctionField' { }
- pattern ExportableLambdaFunctionField_AccountId :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_CurrentConfigurationMemorySize :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_CurrentConfigurationTimeout :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_CurrentCostAverage :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_CurrentCostTotal :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_CurrentPerformanceRisk :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_Finding :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_FindingReasonCodes :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_FunctionArn :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_FunctionVersion :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_LastRefreshTimestamp :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_LookbackPeriodInDays :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_NumberOfInvocations :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsConfigurationMemorySize :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsCostHigh :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsCostLow :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsEstimatedMonthlySavingsCurrency :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsEstimatedMonthlySavingsValue :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsProjectedUtilizationMetricsDurationExpected :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsSavingsOpportunityPercentage :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_UtilizationMetricsDurationAverage :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_UtilizationMetricsDurationMaximum :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_UtilizationMetricsMemoryAverage :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_UtilizationMetricsMemoryMaximum :: ExportableLambdaFunctionField
- newtype ExportableVolumeField where
- ExportableVolumeField' { }
- pattern ExportableVolumeField_AccountId :: ExportableVolumeField
- pattern ExportableVolumeField_CurrentConfigurationVolumeBaselineIOPS :: ExportableVolumeField
- pattern ExportableVolumeField_CurrentConfigurationVolumeBaselineThroughput :: ExportableVolumeField
- pattern ExportableVolumeField_CurrentConfigurationVolumeBurstIOPS :: ExportableVolumeField
- pattern ExportableVolumeField_CurrentConfigurationVolumeBurstThroughput :: ExportableVolumeField
- pattern ExportableVolumeField_CurrentConfigurationVolumeSize :: ExportableVolumeField
- pattern ExportableVolumeField_CurrentConfigurationVolumeType :: ExportableVolumeField
- pattern ExportableVolumeField_CurrentMonthlyPrice :: ExportableVolumeField
- pattern ExportableVolumeField_CurrentPerformanceRisk :: ExportableVolumeField
- pattern ExportableVolumeField_Finding :: ExportableVolumeField
- pattern ExportableVolumeField_LastRefreshTimestamp :: ExportableVolumeField
- pattern ExportableVolumeField_LookbackPeriodInDays :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsConfigurationVolumeBaselineIOPS :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsConfigurationVolumeBaselineThroughput :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsConfigurationVolumeBurstIOPS :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsConfigurationVolumeBurstThroughput :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsConfigurationVolumeSize :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsConfigurationVolumeType :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsEstimatedMonthlySavingsCurrency :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsEstimatedMonthlySavingsValue :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsMonthlyPrice :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsPerformanceRisk :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsSavingsOpportunityPercentage :: ExportableVolumeField
- pattern ExportableVolumeField_UtilizationMetricsVolumeReadBytesPerSecondMaximum :: ExportableVolumeField
- pattern ExportableVolumeField_UtilizationMetricsVolumeReadOpsPerSecondMaximum :: ExportableVolumeField
- pattern ExportableVolumeField_UtilizationMetricsVolumeWriteBytesPerSecondMaximum :: ExportableVolumeField
- pattern ExportableVolumeField_UtilizationMetricsVolumeWriteOpsPerSecondMaximum :: ExportableVolumeField
- pattern ExportableVolumeField_VolumeArn :: ExportableVolumeField
- newtype ExternalMetricsSource where
- newtype FileFormat where
- FileFormat' { }
- pattern FileFormat_Csv :: FileFormat
- newtype FilterName where
- FilterName' { }
- pattern FilterName_Finding :: FilterName
- pattern FilterName_FindingReasonCodes :: FilterName
- pattern FilterName_RecommendationSourceType :: FilterName
- newtype Finding where
- Finding' {
- fromFinding :: Text
- pattern Finding_NotOptimized :: Finding
- pattern Finding_Optimized :: Finding
- pattern Finding_Overprovisioned :: Finding
- pattern Finding_Underprovisioned :: Finding
- Finding' {
- newtype FindingReasonCode where
- newtype InferredWorkloadType where
- InferredWorkloadType' { }
- pattern InferredWorkloadType_AmazonEmr :: InferredWorkloadType
- pattern InferredWorkloadType_ApacheCassandra :: InferredWorkloadType
- pattern InferredWorkloadType_ApacheHadoop :: InferredWorkloadType
- pattern InferredWorkloadType_Memcached :: InferredWorkloadType
- pattern InferredWorkloadType_Nginx :: InferredWorkloadType
- pattern InferredWorkloadType_PostgreSql :: InferredWorkloadType
- pattern InferredWorkloadType_Redis :: InferredWorkloadType
- newtype InferredWorkloadTypesPreference where
- newtype InstanceRecommendationFindingReasonCode where
- InstanceRecommendationFindingReasonCode' { }
- pattern InstanceRecommendationFindingReasonCode_CPUOverprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_CPUUnderprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_DiskIOPSOverprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_DiskIOPSUnderprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_DiskThroughputOverprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_DiskThroughputUnderprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_EBSIOPSOverprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_EBSIOPSUnderprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_EBSThroughputOverprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_EBSThroughputUnderprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_MemoryOverprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_MemoryUnderprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_NetworkBandwidthOverprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_NetworkBandwidthUnderprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_NetworkPPSOverprovisioned :: InstanceRecommendationFindingReasonCode
- pattern InstanceRecommendationFindingReasonCode_NetworkPPSUnderprovisioned :: InstanceRecommendationFindingReasonCode
- newtype JobFilterName where
- JobFilterName' { }
- pattern JobFilterName_JobStatus :: JobFilterName
- pattern JobFilterName_ResourceType :: JobFilterName
- newtype JobStatus where
- JobStatus' { }
- pattern JobStatus_Complete :: JobStatus
- pattern JobStatus_Failed :: JobStatus
- pattern JobStatus_InProgress :: JobStatus
- pattern JobStatus_Queued :: JobStatus
- newtype LambdaFunctionMemoryMetricName where
- newtype LambdaFunctionMemoryMetricStatistic where
- LambdaFunctionMemoryMetricStatistic' { }
- pattern LambdaFunctionMemoryMetricStatistic_Expected :: LambdaFunctionMemoryMetricStatistic
- pattern LambdaFunctionMemoryMetricStatistic_LowerBound :: LambdaFunctionMemoryMetricStatistic
- pattern LambdaFunctionMemoryMetricStatistic_UpperBound :: LambdaFunctionMemoryMetricStatistic
- newtype LambdaFunctionMetricName where
- newtype LambdaFunctionMetricStatistic where
- newtype LambdaFunctionRecommendationFilterName where
- newtype LambdaFunctionRecommendationFinding where
- LambdaFunctionRecommendationFinding' { }
- pattern LambdaFunctionRecommendationFinding_NotOptimized :: LambdaFunctionRecommendationFinding
- pattern LambdaFunctionRecommendationFinding_Optimized :: LambdaFunctionRecommendationFinding
- pattern LambdaFunctionRecommendationFinding_Unavailable :: LambdaFunctionRecommendationFinding
- newtype LambdaFunctionRecommendationFindingReasonCode where
- LambdaFunctionRecommendationFindingReasonCode' { }
- pattern LambdaFunctionRecommendationFindingReasonCode_Inconclusive :: LambdaFunctionRecommendationFindingReasonCode
- pattern LambdaFunctionRecommendationFindingReasonCode_InsufficientData :: LambdaFunctionRecommendationFindingReasonCode
- pattern LambdaFunctionRecommendationFindingReasonCode_MemoryOverprovisioned :: LambdaFunctionRecommendationFindingReasonCode
- pattern LambdaFunctionRecommendationFindingReasonCode_MemoryUnderprovisioned :: LambdaFunctionRecommendationFindingReasonCode
- newtype MetricName where
- MetricName' { }
- pattern MetricName_Cpu :: MetricName
- pattern MetricName_DISK_READ_BYTES_PER_SECOND :: MetricName
- pattern MetricName_DISK_READ_OPS_PER_SECOND :: MetricName
- pattern MetricName_DISK_WRITE_BYTES_PER_SECOND :: MetricName
- pattern MetricName_DISK_WRITE_OPS_PER_SECOND :: MetricName
- pattern MetricName_EBS_READ_BYTES_PER_SECOND :: MetricName
- pattern MetricName_EBS_READ_OPS_PER_SECOND :: MetricName
- pattern MetricName_EBS_WRITE_BYTES_PER_SECOND :: MetricName
- pattern MetricName_EBS_WRITE_OPS_PER_SECOND :: MetricName
- pattern MetricName_Memory :: MetricName
- pattern MetricName_NETWORK_IN_BYTES_PER_SECOND :: MetricName
- pattern MetricName_NETWORK_OUT_BYTES_PER_SECOND :: MetricName
- pattern MetricName_NETWORK_PACKETS_IN_PER_SECOND :: MetricName
- pattern MetricName_NETWORK_PACKETS_OUT_PER_SECOND :: MetricName
- newtype MetricStatistic where
- MetricStatistic' { }
- pattern MetricStatistic_Average :: MetricStatistic
- pattern MetricStatistic_Maximum :: MetricStatistic
- newtype MigrationEffort where
- MigrationEffort' { }
- pattern MigrationEffort_High :: MigrationEffort
- pattern MigrationEffort_Low :: MigrationEffort
- pattern MigrationEffort_Medium :: MigrationEffort
- pattern MigrationEffort_VeryLow :: MigrationEffort
- newtype PlatformDifference where
- PlatformDifference' { }
- pattern PlatformDifference_Architecture :: PlatformDifference
- pattern PlatformDifference_Hypervisor :: PlatformDifference
- pattern PlatformDifference_InstanceStoreAvailability :: PlatformDifference
- pattern PlatformDifference_NetworkInterface :: PlatformDifference
- pattern PlatformDifference_StorageInterface :: PlatformDifference
- pattern PlatformDifference_VirtualizationType :: PlatformDifference
- newtype RecommendationPreferenceName where
- RecommendationPreferenceName' { }
- pattern RecommendationPreferenceName_EnhancedInfrastructureMetrics :: RecommendationPreferenceName
- pattern RecommendationPreferenceName_ExternalMetricsPreference :: RecommendationPreferenceName
- pattern RecommendationPreferenceName_InferredWorkloadTypes :: RecommendationPreferenceName
- newtype RecommendationSourceType where
- RecommendationSourceType' { }
- pattern RecommendationSourceType_AutoScalingGroup :: RecommendationSourceType
- pattern RecommendationSourceType_EbsVolume :: RecommendationSourceType
- pattern RecommendationSourceType_Ec2Instance :: RecommendationSourceType
- pattern RecommendationSourceType_EcsService :: RecommendationSourceType
- pattern RecommendationSourceType_LambdaFunction :: RecommendationSourceType
- newtype ResourceType where
- ResourceType' { }
- pattern ResourceType_AutoScalingGroup :: ResourceType
- pattern ResourceType_EbsVolume :: ResourceType
- pattern ResourceType_Ec2Instance :: ResourceType
- pattern ResourceType_EcsService :: ResourceType
- pattern ResourceType_LambdaFunction :: ResourceType
- pattern ResourceType_NotApplicable :: ResourceType
- newtype ScopeName where
- ScopeName' { }
- pattern ScopeName_AccountId :: ScopeName
- pattern ScopeName_Organization :: ScopeName
- pattern ScopeName_ResourceArn :: ScopeName
- newtype Status where
- Status' {
- fromStatus :: Text
- pattern Status_Active :: Status
- pattern Status_Failed :: Status
- pattern Status_Inactive :: Status
- pattern Status_Pending :: Status
- Status' {
- data AccountEnrollmentStatus = AccountEnrollmentStatus' {}
- newAccountEnrollmentStatus :: AccountEnrollmentStatus
- accountEnrollmentStatus_accountId :: Lens' AccountEnrollmentStatus (Maybe Text)
- accountEnrollmentStatus_lastUpdatedTimestamp :: Lens' AccountEnrollmentStatus (Maybe UTCTime)
- accountEnrollmentStatus_status :: Lens' AccountEnrollmentStatus (Maybe Status)
- accountEnrollmentStatus_statusReason :: Lens' AccountEnrollmentStatus (Maybe Text)
- data AutoScalingGroupConfiguration = AutoScalingGroupConfiguration' {}
- newAutoScalingGroupConfiguration :: AutoScalingGroupConfiguration
- autoScalingGroupConfiguration_desiredCapacity :: Lens' AutoScalingGroupConfiguration (Maybe Int)
- autoScalingGroupConfiguration_instanceType :: Lens' AutoScalingGroupConfiguration (Maybe Text)
- autoScalingGroupConfiguration_maxSize :: Lens' AutoScalingGroupConfiguration (Maybe Int)
- autoScalingGroupConfiguration_minSize :: Lens' AutoScalingGroupConfiguration (Maybe Int)
- data AutoScalingGroupRecommendation = AutoScalingGroupRecommendation' {
- accountId :: Maybe Text
- autoScalingGroupArn :: Maybe Text
- autoScalingGroupName :: Maybe Text
- currentConfiguration :: Maybe AutoScalingGroupConfiguration
- currentPerformanceRisk :: Maybe CurrentPerformanceRisk
- effectiveRecommendationPreferences :: Maybe EffectiveRecommendationPreferences
- finding :: Maybe Finding
- inferredWorkloadTypes :: Maybe [InferredWorkloadType]
- lastRefreshTimestamp :: Maybe POSIX
- lookBackPeriodInDays :: Maybe Double
- recommendationOptions :: Maybe [AutoScalingGroupRecommendationOption]
- utilizationMetrics :: Maybe [UtilizationMetric]
- newAutoScalingGroupRecommendation :: AutoScalingGroupRecommendation
- autoScalingGroupRecommendation_accountId :: Lens' AutoScalingGroupRecommendation (Maybe Text)
- autoScalingGroupRecommendation_autoScalingGroupArn :: Lens' AutoScalingGroupRecommendation (Maybe Text)
- autoScalingGroupRecommendation_autoScalingGroupName :: Lens' AutoScalingGroupRecommendation (Maybe Text)
- autoScalingGroupRecommendation_currentConfiguration :: Lens' AutoScalingGroupRecommendation (Maybe AutoScalingGroupConfiguration)
- autoScalingGroupRecommendation_currentPerformanceRisk :: Lens' AutoScalingGroupRecommendation (Maybe CurrentPerformanceRisk)
- autoScalingGroupRecommendation_effectiveRecommendationPreferences :: Lens' AutoScalingGroupRecommendation (Maybe EffectiveRecommendationPreferences)
- autoScalingGroupRecommendation_finding :: Lens' AutoScalingGroupRecommendation (Maybe Finding)
- autoScalingGroupRecommendation_inferredWorkloadTypes :: Lens' AutoScalingGroupRecommendation (Maybe [InferredWorkloadType])
- autoScalingGroupRecommendation_lastRefreshTimestamp :: Lens' AutoScalingGroupRecommendation (Maybe UTCTime)
- autoScalingGroupRecommendation_lookBackPeriodInDays :: Lens' AutoScalingGroupRecommendation (Maybe Double)
- autoScalingGroupRecommendation_recommendationOptions :: Lens' AutoScalingGroupRecommendation (Maybe [AutoScalingGroupRecommendationOption])
- autoScalingGroupRecommendation_utilizationMetrics :: Lens' AutoScalingGroupRecommendation (Maybe [UtilizationMetric])
- data AutoScalingGroupRecommendationOption = AutoScalingGroupRecommendationOption' {}
- newAutoScalingGroupRecommendationOption :: AutoScalingGroupRecommendationOption
- autoScalingGroupRecommendationOption_configuration :: Lens' AutoScalingGroupRecommendationOption (Maybe AutoScalingGroupConfiguration)
- autoScalingGroupRecommendationOption_migrationEffort :: Lens' AutoScalingGroupRecommendationOption (Maybe MigrationEffort)
- autoScalingGroupRecommendationOption_performanceRisk :: Lens' AutoScalingGroupRecommendationOption (Maybe Double)
- autoScalingGroupRecommendationOption_projectedUtilizationMetrics :: Lens' AutoScalingGroupRecommendationOption (Maybe [UtilizationMetric])
- autoScalingGroupRecommendationOption_rank :: Lens' AutoScalingGroupRecommendationOption (Maybe Int)
- autoScalingGroupRecommendationOption_savingsOpportunity :: Lens' AutoScalingGroupRecommendationOption (Maybe SavingsOpportunity)
- data ContainerConfiguration = ContainerConfiguration' {}
- newContainerConfiguration :: ContainerConfiguration
- containerConfiguration_containerName :: Lens' ContainerConfiguration (Maybe Text)
- containerConfiguration_cpu :: Lens' ContainerConfiguration (Maybe Int)
- containerConfiguration_memorySizeConfiguration :: Lens' ContainerConfiguration (Maybe MemorySizeConfiguration)
- data ContainerRecommendation = ContainerRecommendation' {}
- newContainerRecommendation :: ContainerRecommendation
- containerRecommendation_containerName :: Lens' ContainerRecommendation (Maybe Text)
- containerRecommendation_cpu :: Lens' ContainerRecommendation (Maybe Int)
- containerRecommendation_memorySizeConfiguration :: Lens' ContainerRecommendation (Maybe MemorySizeConfiguration)
- data CurrentPerformanceRiskRatings = CurrentPerformanceRiskRatings' {}
- newCurrentPerformanceRiskRatings :: CurrentPerformanceRiskRatings
- currentPerformanceRiskRatings_high :: Lens' CurrentPerformanceRiskRatings (Maybe Integer)
- currentPerformanceRiskRatings_low :: Lens' CurrentPerformanceRiskRatings (Maybe Integer)
- currentPerformanceRiskRatings_medium :: Lens' CurrentPerformanceRiskRatings (Maybe Integer)
- currentPerformanceRiskRatings_veryLow :: Lens' CurrentPerformanceRiskRatings (Maybe Integer)
- data EBSFilter = EBSFilter' {}
- newEBSFilter :: EBSFilter
- eBSFilter_name :: Lens' EBSFilter (Maybe EBSFilterName)
- eBSFilter_values :: Lens' EBSFilter (Maybe [Text])
- data EBSUtilizationMetric = EBSUtilizationMetric' {}
- newEBSUtilizationMetric :: EBSUtilizationMetric
- eBSUtilizationMetric_name :: Lens' EBSUtilizationMetric (Maybe EBSMetricName)
- eBSUtilizationMetric_statistic :: Lens' EBSUtilizationMetric (Maybe MetricStatistic)
- eBSUtilizationMetric_value :: Lens' EBSUtilizationMetric (Maybe Double)
- data ECSServiceProjectedMetric = ECSServiceProjectedMetric' {
- lowerBoundValues :: Maybe [Double]
- name :: Maybe ECSServiceMetricName
- timestamps :: Maybe [POSIX]
- upperBoundValues :: Maybe [Double]
- newECSServiceProjectedMetric :: ECSServiceProjectedMetric
- eCSServiceProjectedMetric_lowerBoundValues :: Lens' ECSServiceProjectedMetric (Maybe [Double])
- eCSServiceProjectedMetric_name :: Lens' ECSServiceProjectedMetric (Maybe ECSServiceMetricName)
- eCSServiceProjectedMetric_timestamps :: Lens' ECSServiceProjectedMetric (Maybe [UTCTime])
- eCSServiceProjectedMetric_upperBoundValues :: Lens' ECSServiceProjectedMetric (Maybe [Double])
- data ECSServiceProjectedUtilizationMetric = ECSServiceProjectedUtilizationMetric' {}
- newECSServiceProjectedUtilizationMetric :: ECSServiceProjectedUtilizationMetric
- eCSServiceProjectedUtilizationMetric_lowerBoundValue :: Lens' ECSServiceProjectedUtilizationMetric (Maybe Double)
- eCSServiceProjectedUtilizationMetric_name :: Lens' ECSServiceProjectedUtilizationMetric (Maybe ECSServiceMetricName)
- eCSServiceProjectedUtilizationMetric_statistic :: Lens' ECSServiceProjectedUtilizationMetric (Maybe ECSServiceMetricStatistic)
- eCSServiceProjectedUtilizationMetric_upperBoundValue :: Lens' ECSServiceProjectedUtilizationMetric (Maybe Double)
- data ECSServiceRecommendation = ECSServiceRecommendation' {
- accountId :: Maybe Text
- currentPerformanceRisk :: Maybe CurrentPerformanceRisk
- currentServiceConfiguration :: Maybe ServiceConfiguration
- finding :: Maybe ECSServiceRecommendationFinding
- findingReasonCodes :: Maybe [ECSServiceRecommendationFindingReasonCode]
- lastRefreshTimestamp :: Maybe POSIX
- launchType :: Maybe ECSServiceLaunchType
- lookbackPeriodInDays :: Maybe Double
- serviceArn :: Maybe Text
- serviceRecommendationOptions :: Maybe [ECSServiceRecommendationOption]
- utilizationMetrics :: Maybe [ECSServiceUtilizationMetric]
- newECSServiceRecommendation :: ECSServiceRecommendation
- eCSServiceRecommendation_accountId :: Lens' ECSServiceRecommendation (Maybe Text)
- eCSServiceRecommendation_currentPerformanceRisk :: Lens' ECSServiceRecommendation (Maybe CurrentPerformanceRisk)
- eCSServiceRecommendation_currentServiceConfiguration :: Lens' ECSServiceRecommendation (Maybe ServiceConfiguration)
- eCSServiceRecommendation_finding :: Lens' ECSServiceRecommendation (Maybe ECSServiceRecommendationFinding)
- eCSServiceRecommendation_findingReasonCodes :: Lens' ECSServiceRecommendation (Maybe [ECSServiceRecommendationFindingReasonCode])
- eCSServiceRecommendation_lastRefreshTimestamp :: Lens' ECSServiceRecommendation (Maybe UTCTime)
- eCSServiceRecommendation_launchType :: Lens' ECSServiceRecommendation (Maybe ECSServiceLaunchType)
- eCSServiceRecommendation_lookbackPeriodInDays :: Lens' ECSServiceRecommendation (Maybe Double)
- eCSServiceRecommendation_serviceArn :: Lens' ECSServiceRecommendation (Maybe Text)
- eCSServiceRecommendation_serviceRecommendationOptions :: Lens' ECSServiceRecommendation (Maybe [ECSServiceRecommendationOption])
- eCSServiceRecommendation_utilizationMetrics :: Lens' ECSServiceRecommendation (Maybe [ECSServiceUtilizationMetric])
- data ECSServiceRecommendationFilter = ECSServiceRecommendationFilter' {}
- newECSServiceRecommendationFilter :: ECSServiceRecommendationFilter
- eCSServiceRecommendationFilter_name :: Lens' ECSServiceRecommendationFilter (Maybe ECSServiceRecommendationFilterName)
- eCSServiceRecommendationFilter_values :: Lens' ECSServiceRecommendationFilter (Maybe [Text])
- data ECSServiceRecommendationOption = ECSServiceRecommendationOption' {}
- newECSServiceRecommendationOption :: ECSServiceRecommendationOption
- eCSServiceRecommendationOption_containerRecommendations :: Lens' ECSServiceRecommendationOption (Maybe [ContainerRecommendation])
- eCSServiceRecommendationOption_cpu :: Lens' ECSServiceRecommendationOption (Maybe Int)
- eCSServiceRecommendationOption_memory :: Lens' ECSServiceRecommendationOption (Maybe Int)
- eCSServiceRecommendationOption_projectedUtilizationMetrics :: Lens' ECSServiceRecommendationOption (Maybe [ECSServiceProjectedUtilizationMetric])
- eCSServiceRecommendationOption_savingsOpportunity :: Lens' ECSServiceRecommendationOption (Maybe SavingsOpportunity)
- data ECSServiceRecommendedOptionProjectedMetric = ECSServiceRecommendedOptionProjectedMetric' {}
- newECSServiceRecommendedOptionProjectedMetric :: ECSServiceRecommendedOptionProjectedMetric
- eCSServiceRecommendedOptionProjectedMetric_projectedMetrics :: Lens' ECSServiceRecommendedOptionProjectedMetric (Maybe [ECSServiceProjectedMetric])
- eCSServiceRecommendedOptionProjectedMetric_recommendedCpuUnits :: Lens' ECSServiceRecommendedOptionProjectedMetric (Maybe Int)
- eCSServiceRecommendedOptionProjectedMetric_recommendedMemorySize :: Lens' ECSServiceRecommendedOptionProjectedMetric (Maybe Int)
- data ECSServiceUtilizationMetric = ECSServiceUtilizationMetric' {}
- newECSServiceUtilizationMetric :: ECSServiceUtilizationMetric
- eCSServiceUtilizationMetric_name :: Lens' ECSServiceUtilizationMetric (Maybe ECSServiceMetricName)
- eCSServiceUtilizationMetric_statistic :: Lens' ECSServiceUtilizationMetric (Maybe ECSServiceMetricStatistic)
- eCSServiceUtilizationMetric_value :: Lens' ECSServiceUtilizationMetric (Maybe Double)
- data EffectiveRecommendationPreferences = EffectiveRecommendationPreferences' {}
- newEffectiveRecommendationPreferences :: EffectiveRecommendationPreferences
- effectiveRecommendationPreferences_cpuVendorArchitectures :: Lens' EffectiveRecommendationPreferences (Maybe [CpuVendorArchitecture])
- effectiveRecommendationPreferences_enhancedInfrastructureMetrics :: Lens' EffectiveRecommendationPreferences (Maybe EnhancedInfrastructureMetrics)
- effectiveRecommendationPreferences_externalMetricsPreference :: Lens' EffectiveRecommendationPreferences (Maybe ExternalMetricsPreference)
- effectiveRecommendationPreferences_inferredWorkloadTypes :: Lens' EffectiveRecommendationPreferences (Maybe InferredWorkloadTypesPreference)
- data EnrollmentFilter = EnrollmentFilter' {}
- newEnrollmentFilter :: EnrollmentFilter
- enrollmentFilter_name :: Lens' EnrollmentFilter (Maybe EnrollmentFilterName)
- enrollmentFilter_values :: Lens' EnrollmentFilter (Maybe [Text])
- data EstimatedMonthlySavings = EstimatedMonthlySavings' {}
- newEstimatedMonthlySavings :: EstimatedMonthlySavings
- estimatedMonthlySavings_currency :: Lens' EstimatedMonthlySavings (Maybe Currency)
- estimatedMonthlySavings_value :: Lens' EstimatedMonthlySavings (Maybe Double)
- data ExportDestination = ExportDestination' {
- s3 :: Maybe S3Destination
- newExportDestination :: ExportDestination
- exportDestination_s3 :: Lens' ExportDestination (Maybe S3Destination)
- data ExternalMetricsPreference = ExternalMetricsPreference' {}
- newExternalMetricsPreference :: ExternalMetricsPreference
- externalMetricsPreference_source :: Lens' ExternalMetricsPreference (Maybe ExternalMetricsSource)
- data Filter = Filter' {}
- newFilter :: Filter
- filter_name :: Lens' Filter (Maybe FilterName)
- filter_values :: Lens' Filter (Maybe [Text])
- data GetRecommendationError = GetRecommendationError' {}
- newGetRecommendationError :: GetRecommendationError
- getRecommendationError_code :: Lens' GetRecommendationError (Maybe Text)
- getRecommendationError_identifier :: Lens' GetRecommendationError (Maybe Text)
- getRecommendationError_message :: Lens' GetRecommendationError (Maybe Text)
- data InstanceRecommendation = InstanceRecommendation' {
- accountId :: Maybe Text
- currentInstanceType :: Maybe Text
- currentPerformanceRisk :: Maybe CurrentPerformanceRisk
- effectiveRecommendationPreferences :: Maybe EffectiveRecommendationPreferences
- finding :: Maybe Finding
- findingReasonCodes :: Maybe [InstanceRecommendationFindingReasonCode]
- inferredWorkloadTypes :: Maybe [InferredWorkloadType]
- instanceArn :: Maybe Text
- instanceName :: Maybe Text
- lastRefreshTimestamp :: Maybe POSIX
- lookBackPeriodInDays :: Maybe Double
- recommendationOptions :: Maybe [InstanceRecommendationOption]
- recommendationSources :: Maybe [RecommendationSource]
- utilizationMetrics :: Maybe [UtilizationMetric]
- newInstanceRecommendation :: InstanceRecommendation
- instanceRecommendation_accountId :: Lens' InstanceRecommendation (Maybe Text)
- instanceRecommendation_currentInstanceType :: Lens' InstanceRecommendation (Maybe Text)
- instanceRecommendation_currentPerformanceRisk :: Lens' InstanceRecommendation (Maybe CurrentPerformanceRisk)
- instanceRecommendation_effectiveRecommendationPreferences :: Lens' InstanceRecommendation (Maybe EffectiveRecommendationPreferences)
- instanceRecommendation_finding :: Lens' InstanceRecommendation (Maybe Finding)
- instanceRecommendation_findingReasonCodes :: Lens' InstanceRecommendation (Maybe [InstanceRecommendationFindingReasonCode])
- instanceRecommendation_inferredWorkloadTypes :: Lens' InstanceRecommendation (Maybe [InferredWorkloadType])
- instanceRecommendation_instanceArn :: Lens' InstanceRecommendation (Maybe Text)
- instanceRecommendation_instanceName :: Lens' InstanceRecommendation (Maybe Text)
- instanceRecommendation_lastRefreshTimestamp :: Lens' InstanceRecommendation (Maybe UTCTime)
- instanceRecommendation_lookBackPeriodInDays :: Lens' InstanceRecommendation (Maybe Double)
- instanceRecommendation_recommendationOptions :: Lens' InstanceRecommendation (Maybe [InstanceRecommendationOption])
- instanceRecommendation_recommendationSources :: Lens' InstanceRecommendation (Maybe [RecommendationSource])
- instanceRecommendation_utilizationMetrics :: Lens' InstanceRecommendation (Maybe [UtilizationMetric])
- data InstanceRecommendationOption = InstanceRecommendationOption' {}
- newInstanceRecommendationOption :: InstanceRecommendationOption
- instanceRecommendationOption_instanceType :: Lens' InstanceRecommendationOption (Maybe Text)
- instanceRecommendationOption_migrationEffort :: Lens' InstanceRecommendationOption (Maybe MigrationEffort)
- instanceRecommendationOption_performanceRisk :: Lens' InstanceRecommendationOption (Maybe Double)
- instanceRecommendationOption_platformDifferences :: Lens' InstanceRecommendationOption (Maybe [PlatformDifference])
- instanceRecommendationOption_projectedUtilizationMetrics :: Lens' InstanceRecommendationOption (Maybe [UtilizationMetric])
- instanceRecommendationOption_rank :: Lens' InstanceRecommendationOption (Maybe Int)
- instanceRecommendationOption_savingsOpportunity :: Lens' InstanceRecommendationOption (Maybe SavingsOpportunity)
- data JobFilter = JobFilter' {}
- newJobFilter :: JobFilter
- jobFilter_name :: Lens' JobFilter (Maybe JobFilterName)
- jobFilter_values :: Lens' JobFilter (Maybe [Text])
- data LambdaFunctionMemoryProjectedMetric = LambdaFunctionMemoryProjectedMetric' {}
- newLambdaFunctionMemoryProjectedMetric :: LambdaFunctionMemoryProjectedMetric
- lambdaFunctionMemoryProjectedMetric_name :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe LambdaFunctionMemoryMetricName)
- lambdaFunctionMemoryProjectedMetric_statistic :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe LambdaFunctionMemoryMetricStatistic)
- lambdaFunctionMemoryProjectedMetric_value :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe Double)
- data LambdaFunctionMemoryRecommendationOption = LambdaFunctionMemoryRecommendationOption' {}
- newLambdaFunctionMemoryRecommendationOption :: LambdaFunctionMemoryRecommendationOption
- lambdaFunctionMemoryRecommendationOption_memorySize :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int)
- lambdaFunctionMemoryRecommendationOption_projectedUtilizationMetrics :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe [LambdaFunctionMemoryProjectedMetric])
- lambdaFunctionMemoryRecommendationOption_rank :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int)
- lambdaFunctionMemoryRecommendationOption_savingsOpportunity :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe SavingsOpportunity)
- data LambdaFunctionRecommendation = LambdaFunctionRecommendation' {
- accountId :: Maybe Text
- currentMemorySize :: Maybe Int
- currentPerformanceRisk :: Maybe CurrentPerformanceRisk
- finding :: Maybe LambdaFunctionRecommendationFinding
- findingReasonCodes :: Maybe [LambdaFunctionRecommendationFindingReasonCode]
- functionArn :: Maybe Text
- functionVersion :: Maybe Text
- lastRefreshTimestamp :: Maybe POSIX
- lookbackPeriodInDays :: Maybe Double
- memorySizeRecommendationOptions :: Maybe [LambdaFunctionMemoryRecommendationOption]
- numberOfInvocations :: Maybe Integer
- utilizationMetrics :: Maybe [LambdaFunctionUtilizationMetric]
- newLambdaFunctionRecommendation :: LambdaFunctionRecommendation
- lambdaFunctionRecommendation_accountId :: Lens' LambdaFunctionRecommendation (Maybe Text)
- lambdaFunctionRecommendation_currentMemorySize :: Lens' LambdaFunctionRecommendation (Maybe Int)
- lambdaFunctionRecommendation_currentPerformanceRisk :: Lens' LambdaFunctionRecommendation (Maybe CurrentPerformanceRisk)
- lambdaFunctionRecommendation_finding :: Lens' LambdaFunctionRecommendation (Maybe LambdaFunctionRecommendationFinding)
- lambdaFunctionRecommendation_findingReasonCodes :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionRecommendationFindingReasonCode])
- lambdaFunctionRecommendation_functionArn :: Lens' LambdaFunctionRecommendation (Maybe Text)
- lambdaFunctionRecommendation_functionVersion :: Lens' LambdaFunctionRecommendation (Maybe Text)
- lambdaFunctionRecommendation_lastRefreshTimestamp :: Lens' LambdaFunctionRecommendation (Maybe UTCTime)
- lambdaFunctionRecommendation_lookbackPeriodInDays :: Lens' LambdaFunctionRecommendation (Maybe Double)
- lambdaFunctionRecommendation_memorySizeRecommendationOptions :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionMemoryRecommendationOption])
- lambdaFunctionRecommendation_numberOfInvocations :: Lens' LambdaFunctionRecommendation (Maybe Integer)
- lambdaFunctionRecommendation_utilizationMetrics :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionUtilizationMetric])
- data LambdaFunctionRecommendationFilter = LambdaFunctionRecommendationFilter' {}
- newLambdaFunctionRecommendationFilter :: LambdaFunctionRecommendationFilter
- lambdaFunctionRecommendationFilter_name :: Lens' LambdaFunctionRecommendationFilter (Maybe LambdaFunctionRecommendationFilterName)
- lambdaFunctionRecommendationFilter_values :: Lens' LambdaFunctionRecommendationFilter (Maybe [Text])
- data LambdaFunctionUtilizationMetric = LambdaFunctionUtilizationMetric' {}
- newLambdaFunctionUtilizationMetric :: LambdaFunctionUtilizationMetric
- lambdaFunctionUtilizationMetric_name :: Lens' LambdaFunctionUtilizationMetric (Maybe LambdaFunctionMetricName)
- lambdaFunctionUtilizationMetric_statistic :: Lens' LambdaFunctionUtilizationMetric (Maybe LambdaFunctionMetricStatistic)
- lambdaFunctionUtilizationMetric_value :: Lens' LambdaFunctionUtilizationMetric (Maybe Double)
- data MemorySizeConfiguration = MemorySizeConfiguration' {}
- newMemorySizeConfiguration :: MemorySizeConfiguration
- memorySizeConfiguration_memory :: Lens' MemorySizeConfiguration (Maybe Int)
- memorySizeConfiguration_memoryReservation :: Lens' MemorySizeConfiguration (Maybe Int)
- data ProjectedMetric = ProjectedMetric' {
- name :: Maybe MetricName
- timestamps :: Maybe [POSIX]
- values :: Maybe [Double]
- newProjectedMetric :: ProjectedMetric
- projectedMetric_name :: Lens' ProjectedMetric (Maybe MetricName)
- projectedMetric_timestamps :: Lens' ProjectedMetric (Maybe [UTCTime])
- projectedMetric_values :: Lens' ProjectedMetric (Maybe [Double])
- data ReasonCodeSummary = ReasonCodeSummary' {}
- newReasonCodeSummary :: ReasonCodeSummary
- reasonCodeSummary_name :: Lens' ReasonCodeSummary (Maybe FindingReasonCode)
- reasonCodeSummary_value :: Lens' ReasonCodeSummary (Maybe Double)
- data RecommendationExportJob = RecommendationExportJob' {}
- newRecommendationExportJob :: RecommendationExportJob
- recommendationExportJob_creationTimestamp :: Lens' RecommendationExportJob (Maybe UTCTime)
- recommendationExportJob_destination :: Lens' RecommendationExportJob (Maybe ExportDestination)
- recommendationExportJob_failureReason :: Lens' RecommendationExportJob (Maybe Text)
- recommendationExportJob_jobId :: Lens' RecommendationExportJob (Maybe Text)
- recommendationExportJob_lastUpdatedTimestamp :: Lens' RecommendationExportJob (Maybe UTCTime)
- recommendationExportJob_resourceType :: Lens' RecommendationExportJob (Maybe ResourceType)
- recommendationExportJob_status :: Lens' RecommendationExportJob (Maybe JobStatus)
- data RecommendationPreferences = RecommendationPreferences' {}
- newRecommendationPreferences :: RecommendationPreferences
- recommendationPreferences_cpuVendorArchitectures :: Lens' RecommendationPreferences (Maybe [CpuVendorArchitecture])
- data RecommendationPreferencesDetail = RecommendationPreferencesDetail' {}
- newRecommendationPreferencesDetail :: RecommendationPreferencesDetail
- recommendationPreferencesDetail_enhancedInfrastructureMetrics :: Lens' RecommendationPreferencesDetail (Maybe EnhancedInfrastructureMetrics)
- recommendationPreferencesDetail_externalMetricsPreference :: Lens' RecommendationPreferencesDetail (Maybe ExternalMetricsPreference)
- recommendationPreferencesDetail_inferredWorkloadTypes :: Lens' RecommendationPreferencesDetail (Maybe InferredWorkloadTypesPreference)
- recommendationPreferencesDetail_resourceType :: Lens' RecommendationPreferencesDetail (Maybe ResourceType)
- recommendationPreferencesDetail_scope :: Lens' RecommendationPreferencesDetail (Maybe Scope)
- data RecommendationSource = RecommendationSource' {}
- newRecommendationSource :: RecommendationSource
- recommendationSource_recommendationSourceArn :: Lens' RecommendationSource (Maybe Text)
- recommendationSource_recommendationSourceType :: Lens' RecommendationSource (Maybe RecommendationSourceType)
- data RecommendationSummary = RecommendationSummary' {}
- newRecommendationSummary :: RecommendationSummary
- recommendationSummary_accountId :: Lens' RecommendationSummary (Maybe Text)
- recommendationSummary_currentPerformanceRiskRatings :: Lens' RecommendationSummary (Maybe CurrentPerformanceRiskRatings)
- recommendationSummary_recommendationResourceType :: Lens' RecommendationSummary (Maybe RecommendationSourceType)
- recommendationSummary_savingsOpportunity :: Lens' RecommendationSummary (Maybe SavingsOpportunity)
- recommendationSummary_summaries :: Lens' RecommendationSummary (Maybe [Summary])
- data RecommendedOptionProjectedMetric = RecommendedOptionProjectedMetric' {}
- newRecommendedOptionProjectedMetric :: RecommendedOptionProjectedMetric
- recommendedOptionProjectedMetric_projectedMetrics :: Lens' RecommendedOptionProjectedMetric (Maybe [ProjectedMetric])
- recommendedOptionProjectedMetric_rank :: Lens' RecommendedOptionProjectedMetric (Maybe Int)
- recommendedOptionProjectedMetric_recommendedInstanceType :: Lens' RecommendedOptionProjectedMetric (Maybe Text)
- data S3Destination = S3Destination' {}
- newS3Destination :: S3Destination
- s3Destination_bucket :: Lens' S3Destination (Maybe Text)
- s3Destination_key :: Lens' S3Destination (Maybe Text)
- s3Destination_metadataKey :: Lens' S3Destination (Maybe Text)
- data S3DestinationConfig = S3DestinationConfig' {}
- newS3DestinationConfig :: S3DestinationConfig
- s3DestinationConfig_bucket :: Lens' S3DestinationConfig (Maybe Text)
- s3DestinationConfig_keyPrefix :: Lens' S3DestinationConfig (Maybe Text)
- data SavingsOpportunity = SavingsOpportunity' {}
- newSavingsOpportunity :: SavingsOpportunity
- savingsOpportunity_estimatedMonthlySavings :: Lens' SavingsOpportunity (Maybe EstimatedMonthlySavings)
- savingsOpportunity_savingsOpportunityPercentage :: Lens' SavingsOpportunity (Maybe Double)
- data Scope = Scope' {}
- newScope :: Scope
- scope_name :: Lens' Scope (Maybe ScopeName)
- scope_value :: Lens' Scope (Maybe Text)
- data ServiceConfiguration = ServiceConfiguration' {}
- newServiceConfiguration :: ServiceConfiguration
- serviceConfiguration_autoScalingConfiguration :: Lens' ServiceConfiguration (Maybe AutoScalingConfiguration)
- serviceConfiguration_containerConfigurations :: Lens' ServiceConfiguration (Maybe [ContainerConfiguration])
- serviceConfiguration_cpu :: Lens' ServiceConfiguration (Maybe Int)
- serviceConfiguration_memory :: Lens' ServiceConfiguration (Maybe Int)
- serviceConfiguration_taskDefinitionArn :: Lens' ServiceConfiguration (Maybe Text)
- data Summary = Summary' {}
- newSummary :: Summary
- summary_name :: Lens' Summary (Maybe Finding)
- summary_reasonCodeSummaries :: Lens' Summary (Maybe [ReasonCodeSummary])
- summary_value :: Lens' Summary (Maybe Double)
- data UtilizationMetric = UtilizationMetric' {}
- newUtilizationMetric :: UtilizationMetric
- utilizationMetric_name :: Lens' UtilizationMetric (Maybe MetricName)
- utilizationMetric_statistic :: Lens' UtilizationMetric (Maybe MetricStatistic)
- utilizationMetric_value :: Lens' UtilizationMetric (Maybe Double)
- data VolumeConfiguration = VolumeConfiguration' {}
- newVolumeConfiguration :: VolumeConfiguration
- volumeConfiguration_volumeBaselineIOPS :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_volumeBaselineThroughput :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_volumeBurstIOPS :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_volumeBurstThroughput :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_volumeSize :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_volumeType :: Lens' VolumeConfiguration (Maybe Text)
- data VolumeRecommendation = VolumeRecommendation' {
- accountId :: Maybe Text
- currentConfiguration :: Maybe VolumeConfiguration
- currentPerformanceRisk :: Maybe CurrentPerformanceRisk
- finding :: Maybe EBSFinding
- lastRefreshTimestamp :: Maybe POSIX
- lookBackPeriodInDays :: Maybe Double
- utilizationMetrics :: Maybe [EBSUtilizationMetric]
- volumeArn :: Maybe Text
- volumeRecommendationOptions :: Maybe [VolumeRecommendationOption]
- newVolumeRecommendation :: VolumeRecommendation
- volumeRecommendation_accountId :: Lens' VolumeRecommendation (Maybe Text)
- volumeRecommendation_currentConfiguration :: Lens' VolumeRecommendation (Maybe VolumeConfiguration)
- volumeRecommendation_currentPerformanceRisk :: Lens' VolumeRecommendation (Maybe CurrentPerformanceRisk)
- volumeRecommendation_finding :: Lens' VolumeRecommendation (Maybe EBSFinding)
- volumeRecommendation_lastRefreshTimestamp :: Lens' VolumeRecommendation (Maybe UTCTime)
- volumeRecommendation_lookBackPeriodInDays :: Lens' VolumeRecommendation (Maybe Double)
- volumeRecommendation_utilizationMetrics :: Lens' VolumeRecommendation (Maybe [EBSUtilizationMetric])
- volumeRecommendation_volumeArn :: Lens' VolumeRecommendation (Maybe Text)
- volumeRecommendation_volumeRecommendationOptions :: Lens' VolumeRecommendation (Maybe [VolumeRecommendationOption])
- data VolumeRecommendationOption = VolumeRecommendationOption' {}
- newVolumeRecommendationOption :: VolumeRecommendationOption
- volumeRecommendationOption_configuration :: Lens' VolumeRecommendationOption (Maybe VolumeConfiguration)
- volumeRecommendationOption_performanceRisk :: Lens' VolumeRecommendationOption (Maybe Double)
- volumeRecommendationOption_rank :: Lens' VolumeRecommendationOption (Maybe Int)
- volumeRecommendationOption_savingsOpportunity :: Lens' VolumeRecommendationOption (Maybe SavingsOpportunity)
Service Configuration
defaultService :: Service Source #
API version 2019-11-01
of the Amazon Compute Optimizer SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You do not have sufficient access to perform this action.
_InternalServerException :: AsError a => Fold a ServiceError Source #
An internal error has occurred. Try your call again.
_InvalidParameterValueException :: AsError a => Fold a ServiceError Source #
The value supplied for the input parameter is out of range or not valid.
_LimitExceededException :: AsError a => Fold a ServiceError Source #
The request exceeds a limit of the service.
_MissingAuthenticationToken :: AsError a => Fold a ServiceError Source #
The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
_OptInRequiredException :: AsError a => Fold a ServiceError Source #
The account is not opted in to Compute Optimizer.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
A resource that is required for the action doesn't exist.
_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #
The request has failed due to a temporary failure of the server.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The request was denied due to request throttling.
AutoScalingConfiguration
newtype AutoScalingConfiguration Source #
Constructors
AutoScalingConfiguration' | |
Fields |
Bundled Patterns
pattern AutoScalingConfiguration_TargetTrackingScalingCpu :: AutoScalingConfiguration | |
pattern AutoScalingConfiguration_TargetTrackingScalingMemory :: AutoScalingConfiguration |
Instances
CpuVendorArchitecture
newtype CpuVendorArchitecture Source #
Constructors
CpuVendorArchitecture' | |
Fields |
Bundled Patterns
pattern CpuVendorArchitecture_AWS_ARM64 :: CpuVendorArchitecture | |
pattern CpuVendorArchitecture_CURRENT :: CpuVendorArchitecture |
Instances
Currency
Constructors
Currency' | |
Fields
|
Bundled Patterns
pattern Currency_CNY :: Currency | |
pattern Currency_USD :: Currency |
Instances
CurrentPerformanceRisk
newtype CurrentPerformanceRisk Source #
Constructors
CurrentPerformanceRisk' | |
Fields |
Bundled Patterns
pattern CurrentPerformanceRisk_High :: CurrentPerformanceRisk | |
pattern CurrentPerformanceRisk_Low :: CurrentPerformanceRisk | |
pattern CurrentPerformanceRisk_Medium :: CurrentPerformanceRisk | |
pattern CurrentPerformanceRisk_VeryLow :: CurrentPerformanceRisk |
Instances
EBSFilterName
newtype EBSFilterName Source #
Constructors
EBSFilterName' | |
Fields |
Bundled Patterns
pattern EBSFilterName_Finding :: EBSFilterName |
Instances
EBSFinding
newtype EBSFinding Source #
Constructors
EBSFinding' | |
Fields |
Bundled Patterns
pattern EBSFinding_NotOptimized :: EBSFinding | |
pattern EBSFinding_Optimized :: EBSFinding |
Instances
EBSMetricName
newtype EBSMetricName Source #
Constructors
EBSMetricName' | |
Fields |
Bundled Patterns
pattern EBSMetricName_VolumeReadBytesPerSecond :: EBSMetricName | |
pattern EBSMetricName_VolumeReadOpsPerSecond :: EBSMetricName | |
pattern EBSMetricName_VolumeWriteBytesPerSecond :: EBSMetricName | |
pattern EBSMetricName_VolumeWriteOpsPerSecond :: EBSMetricName |
Instances
ECSServiceLaunchType
newtype ECSServiceLaunchType Source #
Constructors
ECSServiceLaunchType' | |
Fields |
Bundled Patterns
pattern ECSServiceLaunchType_EC2 :: ECSServiceLaunchType | |
pattern ECSServiceLaunchType_Fargate :: ECSServiceLaunchType |
Instances
ECSServiceMetricName
newtype ECSServiceMetricName Source #
Constructors
ECSServiceMetricName' | |
Fields |
Bundled Patterns
pattern ECSServiceMetricName_Cpu :: ECSServiceMetricName | |
pattern ECSServiceMetricName_Memory :: ECSServiceMetricName |
Instances
ECSServiceMetricStatistic
newtype ECSServiceMetricStatistic Source #
Constructors
ECSServiceMetricStatistic' | |
Fields |
Bundled Patterns
pattern ECSServiceMetricStatistic_Average :: ECSServiceMetricStatistic | |
pattern ECSServiceMetricStatistic_Maximum :: ECSServiceMetricStatistic |
Instances
ECSServiceRecommendationFilterName
newtype ECSServiceRecommendationFilterName Source #
Constructors
ECSServiceRecommendationFilterName' | |
Bundled Patterns
pattern ECSServiceRecommendationFilterName_Finding :: ECSServiceRecommendationFilterName | |
pattern ECSServiceRecommendationFilterName_FindingReasonCode :: ECSServiceRecommendationFilterName |
Instances
ECSServiceRecommendationFinding
newtype ECSServiceRecommendationFinding Source #
Constructors
ECSServiceRecommendationFinding' | |
Fields |
Bundled Patterns
Instances
ECSServiceRecommendationFindingReasonCode
newtype ECSServiceRecommendationFindingReasonCode Source #
Constructors
ECSServiceRecommendationFindingReasonCode' | |
Bundled Patterns
Instances
EnhancedInfrastructureMetrics
newtype EnhancedInfrastructureMetrics Source #
Constructors
EnhancedInfrastructureMetrics' | |
Fields |
Bundled Patterns
pattern EnhancedInfrastructureMetrics_Active :: EnhancedInfrastructureMetrics | |
pattern EnhancedInfrastructureMetrics_Inactive :: EnhancedInfrastructureMetrics |
Instances
EnrollmentFilterName
newtype EnrollmentFilterName Source #
Constructors
EnrollmentFilterName' | |
Fields |
Bundled Patterns
pattern EnrollmentFilterName_Status :: EnrollmentFilterName |
Instances
ExportableAutoScalingGroupField
newtype ExportableAutoScalingGroupField Source #
Constructors
ExportableAutoScalingGroupField' | |
Fields |
Bundled Patterns
Instances
ExportableECSServiceField
newtype ExportableECSServiceField Source #
Constructors
ExportableECSServiceField' | |
Fields |
Bundled Patterns
Instances
ExportableInstanceField
newtype ExportableInstanceField Source #
Constructors
ExportableInstanceField' | |
Fields |
Bundled Patterns
Instances
ExportableLambdaFunctionField
newtype ExportableLambdaFunctionField Source #
Constructors
ExportableLambdaFunctionField' | |
Fields |
Bundled Patterns
Instances
ExportableVolumeField
newtype ExportableVolumeField Source #
Constructors
ExportableVolumeField' | |
Fields |
Bundled Patterns
Instances
ExternalMetricsSource
newtype ExternalMetricsSource Source #
Constructors
ExternalMetricsSource' | |
Fields |
Bundled Patterns
pattern ExternalMetricsSource_Datadog :: ExternalMetricsSource | |
pattern ExternalMetricsSource_Dynatrace :: ExternalMetricsSource | |
pattern ExternalMetricsSource_Instana :: ExternalMetricsSource | |
pattern ExternalMetricsSource_NewRelic :: ExternalMetricsSource |
Instances
FileFormat
newtype FileFormat Source #
Constructors
FileFormat' | |
Fields |
Bundled Patterns
pattern FileFormat_Csv :: FileFormat |
Instances
FilterName
newtype FilterName Source #
Constructors
FilterName' | |
Fields |
Bundled Patterns
pattern FilterName_Finding :: FilterName | |
pattern FilterName_FindingReasonCodes :: FilterName | |
pattern FilterName_RecommendationSourceType :: FilterName |
Instances
Finding
Constructors
Finding' | |
Fields
|
Bundled Patterns
pattern Finding_NotOptimized :: Finding | |
pattern Finding_Optimized :: Finding | |
pattern Finding_Overprovisioned :: Finding | |
pattern Finding_Underprovisioned :: Finding |
Instances
FindingReasonCode
newtype FindingReasonCode Source #
Constructors
FindingReasonCode' | |
Fields |
Bundled Patterns
pattern FindingReasonCode_MemoryOverprovisioned :: FindingReasonCode | |
pattern FindingReasonCode_MemoryUnderprovisioned :: FindingReasonCode |
Instances
InferredWorkloadType
newtype InferredWorkloadType Source #
Constructors
InferredWorkloadType' | |
Fields |
Bundled Patterns
pattern InferredWorkloadType_AmazonEmr :: InferredWorkloadType | |
pattern InferredWorkloadType_ApacheCassandra :: InferredWorkloadType | |
pattern InferredWorkloadType_ApacheHadoop :: InferredWorkloadType | |
pattern InferredWorkloadType_Memcached :: InferredWorkloadType | |
pattern InferredWorkloadType_Nginx :: InferredWorkloadType | |
pattern InferredWorkloadType_PostgreSql :: InferredWorkloadType | |
pattern InferredWorkloadType_Redis :: InferredWorkloadType |
Instances
InferredWorkloadTypesPreference
newtype InferredWorkloadTypesPreference Source #
Constructors
InferredWorkloadTypesPreference' | |
Fields |
Bundled Patterns
pattern InferredWorkloadTypesPreference_Active :: InferredWorkloadTypesPreference | |
pattern InferredWorkloadTypesPreference_Inactive :: InferredWorkloadTypesPreference |
Instances
InstanceRecommendationFindingReasonCode
newtype InstanceRecommendationFindingReasonCode Source #
Constructors
InstanceRecommendationFindingReasonCode' | |
Bundled Patterns
Instances
JobFilterName
newtype JobFilterName Source #
Constructors
JobFilterName' | |
Fields |
Bundled Patterns
pattern JobFilterName_JobStatus :: JobFilterName | |
pattern JobFilterName_ResourceType :: JobFilterName |
Instances
JobStatus
Constructors
JobStatus' | |
Fields |
Bundled Patterns
pattern JobStatus_Complete :: JobStatus | |
pattern JobStatus_Failed :: JobStatus | |
pattern JobStatus_InProgress :: JobStatus | |
pattern JobStatus_Queued :: JobStatus |
Instances
LambdaFunctionMemoryMetricName
newtype LambdaFunctionMemoryMetricName Source #
Constructors
LambdaFunctionMemoryMetricName' | |
Fields |
Bundled Patterns
pattern LambdaFunctionMemoryMetricName_Duration :: LambdaFunctionMemoryMetricName |
Instances
LambdaFunctionMemoryMetricStatistic
newtype LambdaFunctionMemoryMetricStatistic Source #
Constructors
LambdaFunctionMemoryMetricStatistic' | |
Bundled Patterns
Instances
LambdaFunctionMetricName
newtype LambdaFunctionMetricName Source #
Constructors
LambdaFunctionMetricName' | |
Fields |
Bundled Patterns
pattern LambdaFunctionMetricName_Duration :: LambdaFunctionMetricName | |
pattern LambdaFunctionMetricName_Memory :: LambdaFunctionMetricName |
Instances
LambdaFunctionMetricStatistic
newtype LambdaFunctionMetricStatistic Source #
Constructors
LambdaFunctionMetricStatistic' | |
Fields |
Bundled Patterns
pattern LambdaFunctionMetricStatistic_Average :: LambdaFunctionMetricStatistic | |
pattern LambdaFunctionMetricStatistic_Maximum :: LambdaFunctionMetricStatistic |
Instances
LambdaFunctionRecommendationFilterName
newtype LambdaFunctionRecommendationFilterName Source #
Constructors
LambdaFunctionRecommendationFilterName' | |
Bundled Patterns
Instances
LambdaFunctionRecommendationFinding
newtype LambdaFunctionRecommendationFinding Source #
Constructors
LambdaFunctionRecommendationFinding' | |
Bundled Patterns
Instances
LambdaFunctionRecommendationFindingReasonCode
newtype LambdaFunctionRecommendationFindingReasonCode Source #
Constructors
LambdaFunctionRecommendationFindingReasonCode' | |
Bundled Patterns
Instances
MetricName
newtype MetricName Source #
Constructors
MetricName' | |
Fields |
Bundled Patterns
pattern MetricName_Cpu :: MetricName | |
pattern MetricName_DISK_READ_BYTES_PER_SECOND :: MetricName | |
pattern MetricName_DISK_READ_OPS_PER_SECOND :: MetricName | |
pattern MetricName_DISK_WRITE_BYTES_PER_SECOND :: MetricName | |
pattern MetricName_DISK_WRITE_OPS_PER_SECOND :: MetricName | |
pattern MetricName_EBS_READ_BYTES_PER_SECOND :: MetricName | |
pattern MetricName_EBS_READ_OPS_PER_SECOND :: MetricName | |
pattern MetricName_EBS_WRITE_BYTES_PER_SECOND :: MetricName | |
pattern MetricName_EBS_WRITE_OPS_PER_SECOND :: MetricName | |
pattern MetricName_Memory :: MetricName | |
pattern MetricName_NETWORK_IN_BYTES_PER_SECOND :: MetricName | |
pattern MetricName_NETWORK_OUT_BYTES_PER_SECOND :: MetricName | |
pattern MetricName_NETWORK_PACKETS_IN_PER_SECOND :: MetricName | |
pattern MetricName_NETWORK_PACKETS_OUT_PER_SECOND :: MetricName |
Instances
MetricStatistic
newtype MetricStatistic Source #
Constructors
MetricStatistic' | |
Fields |
Bundled Patterns
pattern MetricStatistic_Average :: MetricStatistic | |
pattern MetricStatistic_Maximum :: MetricStatistic |
Instances
MigrationEffort
newtype MigrationEffort Source #
Constructors
MigrationEffort' | |
Fields |
Bundled Patterns
pattern MigrationEffort_High :: MigrationEffort | |
pattern MigrationEffort_Low :: MigrationEffort | |
pattern MigrationEffort_Medium :: MigrationEffort | |
pattern MigrationEffort_VeryLow :: MigrationEffort |
Instances
PlatformDifference
newtype PlatformDifference Source #
Constructors
PlatformDifference' | |
Fields |
Bundled Patterns
Instances
RecommendationPreferenceName
newtype RecommendationPreferenceName Source #
Constructors
RecommendationPreferenceName' | |
Fields |
Bundled Patterns
Instances
RecommendationSourceType
newtype RecommendationSourceType Source #
Constructors
RecommendationSourceType' | |
Fields |
Bundled Patterns
Instances
ResourceType
newtype ResourceType Source #
Constructors
ResourceType' | |
Fields |
Bundled Patterns
pattern ResourceType_AutoScalingGroup :: ResourceType | |
pattern ResourceType_EbsVolume :: ResourceType | |
pattern ResourceType_Ec2Instance :: ResourceType | |
pattern ResourceType_EcsService :: ResourceType | |
pattern ResourceType_LambdaFunction :: ResourceType | |
pattern ResourceType_NotApplicable :: ResourceType |
Instances
ScopeName
Constructors
ScopeName' | |
Fields |
Bundled Patterns
pattern ScopeName_AccountId :: ScopeName | |
pattern ScopeName_Organization :: ScopeName | |
pattern ScopeName_ResourceArn :: ScopeName |
Instances
Status
Constructors
Status' | |
Fields
|
Bundled Patterns
pattern Status_Active :: Status | |
pattern Status_Failed :: Status | |
pattern Status_Inactive :: Status | |
pattern Status_Pending :: Status |
Instances
AccountEnrollmentStatus
data AccountEnrollmentStatus Source #
Describes the enrollment status of an organization's member accounts in Compute Optimizer.
See: newAccountEnrollmentStatus
smart constructor.
Constructors
AccountEnrollmentStatus' | |
Fields
|
Instances
newAccountEnrollmentStatus :: AccountEnrollmentStatus Source #
Create a value of AccountEnrollmentStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:AccountEnrollmentStatus'
, accountEnrollmentStatus_accountId
- The Amazon Web Services account ID.
$sel:lastUpdatedTimestamp:AccountEnrollmentStatus'
, accountEnrollmentStatus_lastUpdatedTimestamp
- The Unix epoch timestamp, in seconds, of when the account enrollment
status was last updated.
$sel:status:AccountEnrollmentStatus'
, accountEnrollmentStatus_status
- The account enrollment status.
$sel:statusReason:AccountEnrollmentStatus'
, accountEnrollmentStatus_statusReason
- The reason for the account enrollment status.
For example, an account might show a status of Pending
because member
accounts of an organization require more time to be enrolled in the
service.
accountEnrollmentStatus_accountId :: Lens' AccountEnrollmentStatus (Maybe Text) Source #
The Amazon Web Services account ID.
accountEnrollmentStatus_lastUpdatedTimestamp :: Lens' AccountEnrollmentStatus (Maybe UTCTime) Source #
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
accountEnrollmentStatus_status :: Lens' AccountEnrollmentStatus (Maybe Status) Source #
The account enrollment status.
accountEnrollmentStatus_statusReason :: Lens' AccountEnrollmentStatus (Maybe Text) Source #
The reason for the account enrollment status.
For example, an account might show a status of Pending
because member
accounts of an organization require more time to be enrolled in the
service.
AutoScalingGroupConfiguration
data AutoScalingGroupConfiguration Source #
Describes the configuration of an Auto Scaling group.
See: newAutoScalingGroupConfiguration
smart constructor.
Constructors
AutoScalingGroupConfiguration' | |
Fields
|
Instances
newAutoScalingGroupConfiguration :: AutoScalingGroupConfiguration Source #
Create a value of AutoScalingGroupConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:desiredCapacity:AutoScalingGroupConfiguration'
, autoScalingGroupConfiguration_desiredCapacity
- The desired capacity, or number of instances, for the Auto Scaling
group.
$sel:instanceType:AutoScalingGroupConfiguration'
, autoScalingGroupConfiguration_instanceType
- The instance type for the Auto Scaling group.
$sel:maxSize:AutoScalingGroupConfiguration'
, autoScalingGroupConfiguration_maxSize
- The maximum size, or maximum number of instances, for the Auto Scaling
group.
$sel:minSize:AutoScalingGroupConfiguration'
, autoScalingGroupConfiguration_minSize
- The minimum size, or minimum number of instances, for the Auto Scaling
group.
autoScalingGroupConfiguration_desiredCapacity :: Lens' AutoScalingGroupConfiguration (Maybe Int) Source #
The desired capacity, or number of instances, for the Auto Scaling group.
autoScalingGroupConfiguration_instanceType :: Lens' AutoScalingGroupConfiguration (Maybe Text) Source #
The instance type for the Auto Scaling group.
autoScalingGroupConfiguration_maxSize :: Lens' AutoScalingGroupConfiguration (Maybe Int) Source #
The maximum size, or maximum number of instances, for the Auto Scaling group.
autoScalingGroupConfiguration_minSize :: Lens' AutoScalingGroupConfiguration (Maybe Int) Source #
The minimum size, or minimum number of instances, for the Auto Scaling group.
AutoScalingGroupRecommendation
data AutoScalingGroupRecommendation Source #
Describes an Auto Scaling group recommendation.
See: newAutoScalingGroupRecommendation
smart constructor.
Constructors
AutoScalingGroupRecommendation' | |
Fields
|
Instances
newAutoScalingGroupRecommendation :: AutoScalingGroupRecommendation Source #
Create a value of AutoScalingGroupRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_accountId
- The Amazon Web Services account ID of the Auto Scaling group.
$sel:autoScalingGroupArn:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_autoScalingGroupArn
- The Amazon Resource Name (ARN) of the Auto Scaling group.
$sel:autoScalingGroupName:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:currentConfiguration:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_currentConfiguration
- An array of objects that describe the current configuration of the Auto
Scaling group.
$sel:currentPerformanceRisk:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_currentPerformanceRisk
- The risk of the current Auto Scaling group not meeting the performance
needs of its workloads. The higher the risk, the more likely the current
Auto Scaling group configuration has insufficient capacity and cannot
meet workload requirements.
$sel:effectiveRecommendationPreferences:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_effectiveRecommendationPreferences
- An object that describes the effective recommendation preferences for
the Auto Scaling group.
$sel:finding:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_finding
- The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
AutoScalingGroupRecommendation
, autoScalingGroupRecommendation_inferredWorkloadTypes
- The applications that might be running on the instances in the Auto
Scaling group as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr
- Infers that Amazon EMR might be running on the instances.ApacheCassandra
- Infers that Apache Cassandra might be running on the instances.ApacheHadoop
- Infers that Apache Hadoop might be running on the instances.Memcached
- Infers that Memcached might be running on the instances.NGINX
- Infers that NGINX might be running on the instances.PostgreSql
- Infers that PostgreSQL might be running on the instances.Redis
- Infers that Redis might be running on the instances.
$sel:lastRefreshTimestamp:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_lastRefreshTimestamp
- The timestamp of when the Auto Scaling group recommendation was last
generated.
$sel:lookBackPeriodInDays:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_lookBackPeriodInDays
- The number of days for which utilization metrics were analyzed for the
Auto Scaling group.
$sel:recommendationOptions:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_recommendationOptions
- An array of objects that describe the recommendation options for the
Auto Scaling group.
$sel:utilizationMetrics:AutoScalingGroupRecommendation'
, autoScalingGroupRecommendation_utilizationMetrics
- An array of objects that describe the utilization metrics of the Auto
Scaling group.
autoScalingGroupRecommendation_accountId :: Lens' AutoScalingGroupRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the Auto Scaling group.
autoScalingGroupRecommendation_autoScalingGroupArn :: Lens' AutoScalingGroupRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Auto Scaling group.
autoScalingGroupRecommendation_autoScalingGroupName :: Lens' AutoScalingGroupRecommendation (Maybe Text) Source #
The name of the Auto Scaling group.
autoScalingGroupRecommendation_currentConfiguration :: Lens' AutoScalingGroupRecommendation (Maybe AutoScalingGroupConfiguration) Source #
An array of objects that describe the current configuration of the Auto Scaling group.
autoScalingGroupRecommendation_currentPerformanceRisk :: Lens' AutoScalingGroupRecommendation (Maybe CurrentPerformanceRisk) Source #
The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The higher the risk, the more likely the current Auto Scaling group configuration has insufficient capacity and cannot meet workload requirements.
autoScalingGroupRecommendation_effectiveRecommendationPreferences :: Lens' AutoScalingGroupRecommendation (Maybe EffectiveRecommendationPreferences) Source #
An object that describes the effective recommendation preferences for the Auto Scaling group.
autoScalingGroupRecommendation_finding :: Lens' AutoScalingGroupRecommendation (Maybe Finding) Source #
The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
autoScalingGroupRecommendation_inferredWorkloadTypes :: Lens' AutoScalingGroupRecommendation (Maybe [InferredWorkloadType]) Source #
The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instances:
AmazonEmr
- Infers that Amazon EMR might be running on the instances.ApacheCassandra
- Infers that Apache Cassandra might be running on the instances.ApacheHadoop
- Infers that Apache Hadoop might be running on the instances.Memcached
- Infers that Memcached might be running on the instances.NGINX
- Infers that NGINX might be running on the instances.PostgreSql
- Infers that PostgreSQL might be running on the instances.Redis
- Infers that Redis might be running on the instances.
autoScalingGroupRecommendation_lastRefreshTimestamp :: Lens' AutoScalingGroupRecommendation (Maybe UTCTime) Source #
The timestamp of when the Auto Scaling group recommendation was last generated.
autoScalingGroupRecommendation_lookBackPeriodInDays :: Lens' AutoScalingGroupRecommendation (Maybe Double) Source #
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
autoScalingGroupRecommendation_recommendationOptions :: Lens' AutoScalingGroupRecommendation (Maybe [AutoScalingGroupRecommendationOption]) Source #
An array of objects that describe the recommendation options for the Auto Scaling group.
autoScalingGroupRecommendation_utilizationMetrics :: Lens' AutoScalingGroupRecommendation (Maybe [UtilizationMetric]) Source #
An array of objects that describe the utilization metrics of the Auto Scaling group.
AutoScalingGroupRecommendationOption
data AutoScalingGroupRecommendationOption Source #
Describes a recommendation option for an Auto Scaling group.
See: newAutoScalingGroupRecommendationOption
smart constructor.
Constructors
AutoScalingGroupRecommendationOption' | |
Fields
|
Instances
newAutoScalingGroupRecommendationOption :: AutoScalingGroupRecommendationOption Source #
Create a value of AutoScalingGroupRecommendationOption
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:configuration:AutoScalingGroupRecommendationOption'
, autoScalingGroupRecommendationOption_configuration
- An array of objects that describe an Auto Scaling group configuration.
$sel:migrationEffort:AutoScalingGroupRecommendationOption'
, autoScalingGroupRecommendationOption_migrationEffort
- The level of effort required to migrate from the current instance type
to the recommended instance type.
For example, the migration effort is Low
if Amazon EMR is the inferred
workload type and an Amazon Web Services Graviton instance type is
recommended. The migration effort is Medium
if a workload type
couldn't be inferred but an Amazon Web Services Graviton instance type
is recommended. The migration effort is VeryLow
if both the current
and recommended instance types are of the same CPU architecture.
$sel:performanceRisk:AutoScalingGroupRecommendationOption'
, autoScalingGroupRecommendationOption_performanceRisk
- The performance risk of the Auto Scaling group configuration
recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The
higher the performance risk is, the more likely you should validate
whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
$sel:projectedUtilizationMetrics:AutoScalingGroupRecommendationOption'
, autoScalingGroupRecommendationOption_projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of
the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization
metrics returned. Additionally, the Memory
metric is returned only for
resources that have the unified CloudWatch agent installed on them. For
more information, see
Enabling Memory Utilization with the CloudWatch Agent.
$sel:rank:AutoScalingGroupRecommendationOption'
, autoScalingGroupRecommendationOption_rank
- The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
$sel:savingsOpportunity:AutoScalingGroupRecommendationOption'
, autoScalingGroupRecommendationOption_savingsOpportunity
- An object that describes the savings opportunity for the Auto Scaling
group recommendation option. Savings opportunity includes the estimated
monthly savings amount and percentage.
autoScalingGroupRecommendationOption_configuration :: Lens' AutoScalingGroupRecommendationOption (Maybe AutoScalingGroupConfiguration) Source #
An array of objects that describe an Auto Scaling group configuration.
autoScalingGroupRecommendationOption_migrationEffort :: Lens' AutoScalingGroupRecommendationOption (Maybe MigrationEffort) Source #
The level of effort required to migrate from the current instance type to the recommended instance type.
For example, the migration effort is Low
if Amazon EMR is the inferred
workload type and an Amazon Web Services Graviton instance type is
recommended. The migration effort is Medium
if a workload type
couldn't be inferred but an Amazon Web Services Graviton instance type
is recommended. The migration effort is VeryLow
if both the current
and recommended instance types are of the same CPU architecture.
autoScalingGroupRecommendationOption_performanceRisk :: Lens' AutoScalingGroupRecommendationOption (Maybe Double) Source #
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The
higher the performance risk is, the more likely you should validate
whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
autoScalingGroupRecommendationOption_projectedUtilizationMetrics :: Lens' AutoScalingGroupRecommendationOption (Maybe [UtilizationMetric]) Source #
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization
metrics returned. Additionally, the Memory
metric is returned only for
resources that have the unified CloudWatch agent installed on them. For
more information, see
Enabling Memory Utilization with the CloudWatch Agent.
autoScalingGroupRecommendationOption_rank :: Lens' AutoScalingGroupRecommendationOption (Maybe Int) Source #
The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
autoScalingGroupRecommendationOption_savingsOpportunity :: Lens' AutoScalingGroupRecommendationOption (Maybe SavingsOpportunity) Source #
An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
ContainerConfiguration
data ContainerConfiguration Source #
Describes the container configurations within the tasks of your Amazon ECS service.
See: newContainerConfiguration
smart constructor.
Constructors
ContainerConfiguration' | |
Fields
|
Instances
newContainerConfiguration :: ContainerConfiguration Source #
Create a value of ContainerConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerName:ContainerConfiguration'
, containerConfiguration_containerName
- The name of the container.
$sel:cpu:ContainerConfiguration'
, containerConfiguration_cpu
- The number of CPU units reserved for the container.
$sel:memorySizeConfiguration:ContainerConfiguration'
, containerConfiguration_memorySizeConfiguration
- The memory size configurations for the container.
containerConfiguration_containerName :: Lens' ContainerConfiguration (Maybe Text) Source #
The name of the container.
containerConfiguration_cpu :: Lens' ContainerConfiguration (Maybe Int) Source #
The number of CPU units reserved for the container.
containerConfiguration_memorySizeConfiguration :: Lens' ContainerConfiguration (Maybe MemorySizeConfiguration) Source #
The memory size configurations for the container.
ContainerRecommendation
data ContainerRecommendation Source #
The CPU and memory recommendations for a container within the tasks of your Amazon ECS service.
See: newContainerRecommendation
smart constructor.
Constructors
ContainerRecommendation' | |
Fields
|
Instances
newContainerRecommendation :: ContainerRecommendation Source #
Create a value of ContainerRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerName:ContainerRecommendation'
, containerRecommendation_containerName
- The name of the container.
$sel:cpu:ContainerRecommendation'
, containerRecommendation_cpu
- The recommended number of CPU units reserved for the container.
$sel:memorySizeConfiguration:ContainerRecommendation'
, containerRecommendation_memorySizeConfiguration
- The recommended memory size configurations for the container.
containerRecommendation_containerName :: Lens' ContainerRecommendation (Maybe Text) Source #
The name of the container.
containerRecommendation_cpu :: Lens' ContainerRecommendation (Maybe Int) Source #
The recommended number of CPU units reserved for the container.
containerRecommendation_memorySizeConfiguration :: Lens' ContainerRecommendation (Maybe MemorySizeConfiguration) Source #
The recommended memory size configurations for the container.
CurrentPerformanceRiskRatings
data CurrentPerformanceRiskRatings Source #
Describes the performance risk ratings for a given resource type.
Resources with a high
or medium
rating are at risk of not meeting
the performance needs of their workloads, while resources with a low
rating are performing well in their workloads.
See: newCurrentPerformanceRiskRatings
smart constructor.
Constructors
CurrentPerformanceRiskRatings' | |
Fields
|
Instances
newCurrentPerformanceRiskRatings :: CurrentPerformanceRiskRatings Source #
Create a value of CurrentPerformanceRiskRatings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:high:CurrentPerformanceRiskRatings'
, currentPerformanceRiskRatings_high
- A count of the applicable resource types with a high performance risk
rating.
$sel:low:CurrentPerformanceRiskRatings'
, currentPerformanceRiskRatings_low
- A count of the applicable resource types with a low performance risk
rating.
$sel:medium:CurrentPerformanceRiskRatings'
, currentPerformanceRiskRatings_medium
- A count of the applicable resource types with a medium performance risk
rating.
$sel:veryLow:CurrentPerformanceRiskRatings'
, currentPerformanceRiskRatings_veryLow
- A count of the applicable resource types with a very low performance
risk rating.
currentPerformanceRiskRatings_high :: Lens' CurrentPerformanceRiskRatings (Maybe Integer) Source #
A count of the applicable resource types with a high performance risk rating.
currentPerformanceRiskRatings_low :: Lens' CurrentPerformanceRiskRatings (Maybe Integer) Source #
A count of the applicable resource types with a low performance risk rating.
currentPerformanceRiskRatings_medium :: Lens' CurrentPerformanceRiskRatings (Maybe Integer) Source #
A count of the applicable resource types with a medium performance risk rating.
currentPerformanceRiskRatings_veryLow :: Lens' CurrentPerformanceRiskRatings (Maybe Integer) Source #
A count of the applicable resource types with a very low performance risk rating.
EBSFilter
Describes a filter that returns a more specific list of Amazon Elastic Block Store (Amazon EBS) volume recommendations. Use this filter with the GetEBSVolumeRecommendations action.
You can use LambdaFunctionRecommendationFilter
with the
GetLambdaFunctionRecommendations action, JobFilter
with the
DescribeRecommendationExportJobs action, and Filter
with the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations
actions.
See: newEBSFilter
smart constructor.
Constructors
EBSFilter' | |
Instances
ToJSON EBSFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.EBSFilter | |
Generic EBSFilter Source # | |
Read EBSFilter Source # | |
Show EBSFilter Source # | |
NFData EBSFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.EBSFilter | |
Eq EBSFilter Source # | |
Hashable EBSFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.EBSFilter | |
type Rep EBSFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.EBSFilter type Rep EBSFilter = D1 ('MetaData "EBSFilter" "Amazonka.ComputeOptimizer.Types.EBSFilter" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "EBSFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EBSFilterName)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
newEBSFilter :: EBSFilter Source #
Create a value of EBSFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:EBSFilter'
, eBSFilter_name
- The name of the filter.
Specify Finding
to return recommendations with a specific finding
classification (for example, NotOptimized
).
$sel:values:EBSFilter'
, eBSFilter_values
- The value of the filter.
The valid values are Optimized
, or NotOptimized
.
eBSFilter_name :: Lens' EBSFilter (Maybe EBSFilterName) Source #
The name of the filter.
Specify Finding
to return recommendations with a specific finding
classification (for example, NotOptimized
).
eBSFilter_values :: Lens' EBSFilter (Maybe [Text]) Source #
The value of the filter.
The valid values are Optimized
, or NotOptimized
.
EBSUtilizationMetric
data EBSUtilizationMetric Source #
Describes a utilization metric of an Amazon Elastic Block Store (Amazon EBS) volume.
Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.
See: newEBSUtilizationMetric
smart constructor.
Constructors
EBSUtilizationMetric' | |
Fields
|
Instances
newEBSUtilizationMetric :: EBSUtilizationMetric Source #
Create a value of EBSUtilizationMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:EBSUtilizationMetric'
, eBSUtilizationMetric_name
- The name of the utilization metric.
The following utilization metrics are available:
VolumeReadOpsPerSecond
- The completed read operations per second from the volume in a specified period of time.Unit: Count
VolumeWriteOpsPerSecond
- The completed write operations per second to the volume in a specified period of time.Unit: Count
VolumeReadBytesPerSecond
- The bytes read per second from the volume in a specified period of time.Unit: Bytes
VolumeWriteBytesPerSecond
- The bytes written to the volume in a specified period of time.Unit: Bytes
$sel:statistic:EBSUtilizationMetric'
, eBSUtilizationMetric_statistic
- The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
$sel:value:EBSUtilizationMetric'
, eBSUtilizationMetric_value
- The value of the utilization metric.
eBSUtilizationMetric_name :: Lens' EBSUtilizationMetric (Maybe EBSMetricName) Source #
The name of the utilization metric.
The following utilization metrics are available:
VolumeReadOpsPerSecond
- The completed read operations per second from the volume in a specified period of time.Unit: Count
VolumeWriteOpsPerSecond
- The completed write operations per second to the volume in a specified period of time.Unit: Count
VolumeReadBytesPerSecond
- The bytes read per second from the volume in a specified period of time.Unit: Bytes
VolumeWriteBytesPerSecond
- The bytes written to the volume in a specified period of time.Unit: Bytes
eBSUtilizationMetric_statistic :: Lens' EBSUtilizationMetric (Maybe MetricStatistic) Source #
The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
eBSUtilizationMetric_value :: Lens' EBSUtilizationMetric (Maybe Double) Source #
The value of the utilization metric.
ECSServiceProjectedMetric
data ECSServiceProjectedMetric Source #
Describes the projected metrics of an Amazon ECS service recommendation option.
To determine the performance difference between your current ECS service and the recommended option, compare the metric data of your service against its projected metric data.
See: newECSServiceProjectedMetric
smart constructor.
Constructors
ECSServiceProjectedMetric' | |
Fields
|
Instances
newECSServiceProjectedMetric :: ECSServiceProjectedMetric Source #
Create a value of ECSServiceProjectedMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lowerBoundValues:ECSServiceProjectedMetric'
, eCSServiceProjectedMetric_lowerBoundValues
- The lower bound values for the projected metric.
$sel:name:ECSServiceProjectedMetric'
, eCSServiceProjectedMetric_name
- The name of the projected metric.
The following metrics are available:
CPU
— The percentage of allocated compute units that are currently in use on the ECS service tasks.Memory
— The percentage of memory that is currently in use on the ECS service tasks.
$sel:timestamps:ECSServiceProjectedMetric'
, eCSServiceProjectedMetric_timestamps
- The timestamps of the projected metric.
$sel:upperBoundValues:ECSServiceProjectedMetric'
, eCSServiceProjectedMetric_upperBoundValues
- The upper bound values for the projected metric.
eCSServiceProjectedMetric_lowerBoundValues :: Lens' ECSServiceProjectedMetric (Maybe [Double]) Source #
The lower bound values for the projected metric.
eCSServiceProjectedMetric_name :: Lens' ECSServiceProjectedMetric (Maybe ECSServiceMetricName) Source #
The name of the projected metric.
The following metrics are available:
CPU
— The percentage of allocated compute units that are currently in use on the ECS service tasks.Memory
— The percentage of memory that is currently in use on the ECS service tasks.
eCSServiceProjectedMetric_timestamps :: Lens' ECSServiceProjectedMetric (Maybe [UTCTime]) Source #
The timestamps of the projected metric.
eCSServiceProjectedMetric_upperBoundValues :: Lens' ECSServiceProjectedMetric (Maybe [Double]) Source #
The upper bound values for the projected metric.
ECSServiceProjectedUtilizationMetric
data ECSServiceProjectedUtilizationMetric Source #
Describes the projected utilization metrics of an Amazon ECS service recommendation option.
To determine the performance difference between your current ECS service and the recommended option, compare the utilization metric data of your service against its projected utilization metric data.
See: newECSServiceProjectedUtilizationMetric
smart constructor.
Constructors
ECSServiceProjectedUtilizationMetric' | |
Fields
|
Instances
newECSServiceProjectedUtilizationMetric :: ECSServiceProjectedUtilizationMetric Source #
Create a value of ECSServiceProjectedUtilizationMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lowerBoundValue:ECSServiceProjectedUtilizationMetric'
, eCSServiceProjectedUtilizationMetric_lowerBoundValue
- The lower bound values for the projected utilization metrics.
$sel:name:ECSServiceProjectedUtilizationMetric'
, eCSServiceProjectedUtilizationMetric_name
- The name of the projected utilization metric.
The following utilization metrics are available:
CPU
— The percentage of allocated compute units that are currently in use on the ECS service tasks.Memory
— The percentage of memory that is currently in use on the ECS service tasks.
$sel:statistic:ECSServiceProjectedUtilizationMetric'
, eCSServiceProjectedUtilizationMetric_statistic
- The statistic of the projected utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
$sel:upperBoundValue:ECSServiceProjectedUtilizationMetric'
, eCSServiceProjectedUtilizationMetric_upperBoundValue
- The upper bound values for the projected utilization metrics.
eCSServiceProjectedUtilizationMetric_lowerBoundValue :: Lens' ECSServiceProjectedUtilizationMetric (Maybe Double) Source #
The lower bound values for the projected utilization metrics.
eCSServiceProjectedUtilizationMetric_name :: Lens' ECSServiceProjectedUtilizationMetric (Maybe ECSServiceMetricName) Source #
The name of the projected utilization metric.
The following utilization metrics are available:
CPU
— The percentage of allocated compute units that are currently in use on the ECS service tasks.Memory
— The percentage of memory that is currently in use on the ECS service tasks.
eCSServiceProjectedUtilizationMetric_statistic :: Lens' ECSServiceProjectedUtilizationMetric (Maybe ECSServiceMetricStatistic) Source #
The statistic of the projected utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
eCSServiceProjectedUtilizationMetric_upperBoundValue :: Lens' ECSServiceProjectedUtilizationMetric (Maybe Double) Source #
The upper bound values for the projected utilization metrics.
ECSServiceRecommendation
data ECSServiceRecommendation Source #
Describes an Amazon ECS service recommendation.
See: newECSServiceRecommendation
smart constructor.
Constructors
ECSServiceRecommendation' | |
Fields
|
Instances
newECSServiceRecommendation :: ECSServiceRecommendation Source #
Create a value of ECSServiceRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:ECSServiceRecommendation'
, eCSServiceRecommendation_accountId
- The Amazon Web Services account ID of the ECS service.
$sel:currentPerformanceRisk:ECSServiceRecommendation'
, eCSServiceRecommendation_currentPerformanceRisk
- The risk of the current ECS service not meeting the performance needs of
its workloads. The higher the risk, the more likely the current service
can't meet the performance requirements of its workload.
$sel:currentServiceConfiguration:ECSServiceRecommendation'
, eCSServiceRecommendation_currentServiceConfiguration
- The configuration of the current ECS service.
$sel:finding:ECSServiceRecommendation'
, eCSServiceRecommendation_finding
- The finding classification of an ECS service.
Findings for ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or CPU, an ECS service is considered under-provisioned. An under-provisioned ECS service might result in poor application performance.Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or CPU, an ECS service is considered over-provisioned. An over-provisioned ECS service might result in additional infrastructure costs.Optimized
— When both the CPU and memory of your ECS service meet the performance requirements of your workload, the service is considered optimized.
$sel:findingReasonCodes:ECSServiceRecommendation'
, eCSServiceRecommendation_findingReasonCodes
- The reason for the finding classification of an ECS service.
Finding reason codes for ECS services include:
CPUUnderprovisioned
— The ECS service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilization
metric of the current service during the look-back period.CPUOverprovisioned
— The ECS service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilization
metric of the current service during the look-back period.MemoryUnderprovisioned
— The ECS service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilization
metric of the current service during the look-back period.MemoryOverprovisioned
— The ECS service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilization
metric of the current service during the look-back period.
$sel:lastRefreshTimestamp:ECSServiceRecommendation'
, eCSServiceRecommendation_lastRefreshTimestamp
- The timestamp of when the ECS service recommendation was last generated.
$sel:launchType:ECSServiceRecommendation'
, eCSServiceRecommendation_launchType
- The launch type the ECS service is using.
Compute Optimizer only supports the Fargate launch type.
$sel:lookbackPeriodInDays:ECSServiceRecommendation'
, eCSServiceRecommendation_lookbackPeriodInDays
- The number of days the ECS service utilization metrics were analyzed.
$sel:serviceArn:ECSServiceRecommendation'
, eCSServiceRecommendation_serviceArn
- The Amazon Resource Name (ARN) of the current ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
$sel:serviceRecommendationOptions:ECSServiceRecommendation'
, eCSServiceRecommendation_serviceRecommendationOptions
- An array of objects that describe the recommendation options for the ECS
service.
$sel:utilizationMetrics:ECSServiceRecommendation'
, eCSServiceRecommendation_utilizationMetrics
- An array of objects that describe the utilization metrics of the ECS
service.
eCSServiceRecommendation_accountId :: Lens' ECSServiceRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the ECS service.
eCSServiceRecommendation_currentPerformanceRisk :: Lens' ECSServiceRecommendation (Maybe CurrentPerformanceRisk) Source #
The risk of the current ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
eCSServiceRecommendation_currentServiceConfiguration :: Lens' ECSServiceRecommendation (Maybe ServiceConfiguration) Source #
The configuration of the current ECS service.
eCSServiceRecommendation_finding :: Lens' ECSServiceRecommendation (Maybe ECSServiceRecommendationFinding) Source #
The finding classification of an ECS service.
Findings for ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or CPU, an ECS service is considered under-provisioned. An under-provisioned ECS service might result in poor application performance.Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or CPU, an ECS service is considered over-provisioned. An over-provisioned ECS service might result in additional infrastructure costs.Optimized
— When both the CPU and memory of your ECS service meet the performance requirements of your workload, the service is considered optimized.
eCSServiceRecommendation_findingReasonCodes :: Lens' ECSServiceRecommendation (Maybe [ECSServiceRecommendationFindingReasonCode]) Source #
The reason for the finding classification of an ECS service.
Finding reason codes for ECS services include:
CPUUnderprovisioned
— The ECS service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilization
metric of the current service during the look-back period.CPUOverprovisioned
— The ECS service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilization
metric of the current service during the look-back period.MemoryUnderprovisioned
— The ECS service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilization
metric of the current service during the look-back period.MemoryOverprovisioned
— The ECS service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilization
metric of the current service during the look-back period.
eCSServiceRecommendation_lastRefreshTimestamp :: Lens' ECSServiceRecommendation (Maybe UTCTime) Source #
The timestamp of when the ECS service recommendation was last generated.
eCSServiceRecommendation_launchType :: Lens' ECSServiceRecommendation (Maybe ECSServiceLaunchType) Source #
The launch type the ECS service is using.
Compute Optimizer only supports the Fargate launch type.
eCSServiceRecommendation_lookbackPeriodInDays :: Lens' ECSServiceRecommendation (Maybe Double) Source #
The number of days the ECS service utilization metrics were analyzed.
eCSServiceRecommendation_serviceArn :: Lens' ECSServiceRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the current ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
eCSServiceRecommendation_serviceRecommendationOptions :: Lens' ECSServiceRecommendation (Maybe [ECSServiceRecommendationOption]) Source #
An array of objects that describe the recommendation options for the ECS service.
eCSServiceRecommendation_utilizationMetrics :: Lens' ECSServiceRecommendation (Maybe [ECSServiceUtilizationMetric]) Source #
An array of objects that describe the utilization metrics of the ECS service.
ECSServiceRecommendationFilter
data ECSServiceRecommendationFilter Source #
Describes a filter that returns a more specific list of Amazon ECS service recommendations. Use this filter with the GetECSServiceRecommendations action.
See: newECSServiceRecommendationFilter
smart constructor.
Constructors
ECSServiceRecommendationFilter' | |
Fields
|
Instances
newECSServiceRecommendationFilter :: ECSServiceRecommendationFilter Source #
Create a value of ECSServiceRecommendationFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ECSServiceRecommendationFilter'
, eCSServiceRecommendationFilter_name
- The name of the filter.
Specify Finding
to return recommendations with a specific finding
classification.
Specify FindingReasonCode
to return recommendations with a specific
finding reason code.
$sel:values:ECSServiceRecommendationFilter'
, eCSServiceRecommendationFilter_values
- The value of the filter.
The valid values for this parameter are as follows:
- If you specify the
name
parameter asFinding
, specifyOptimized
,NotOptimized
, orUnavailable
. - If you specify the
name
parameter asFindingReasonCode
, specifyCPUUnderprovisioned
,CPUOverprovisioned
,MemoryUnderprovisioned
, orMemoryOverprovisioned
.
eCSServiceRecommendationFilter_name :: Lens' ECSServiceRecommendationFilter (Maybe ECSServiceRecommendationFilterName) Source #
The name of the filter.
Specify Finding
to return recommendations with a specific finding
classification.
Specify FindingReasonCode
to return recommendations with a specific
finding reason code.
eCSServiceRecommendationFilter_values :: Lens' ECSServiceRecommendationFilter (Maybe [Text]) Source #
The value of the filter.
The valid values for this parameter are as follows:
- If you specify the
name
parameter asFinding
, specifyOptimized
,NotOptimized
, orUnavailable
. - If you specify the
name
parameter asFindingReasonCode
, specifyCPUUnderprovisioned
,CPUOverprovisioned
,MemoryUnderprovisioned
, orMemoryOverprovisioned
.
ECSServiceRecommendationOption
data ECSServiceRecommendationOption Source #
Describes the recommendation options for an Amazon ECS service.
See: newECSServiceRecommendationOption
smart constructor.
Constructors
ECSServiceRecommendationOption' | |
Fields
|
Instances
newECSServiceRecommendationOption :: ECSServiceRecommendationOption Source #
Create a value of ECSServiceRecommendationOption
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerRecommendations:ECSServiceRecommendationOption'
, eCSServiceRecommendationOption_containerRecommendations
- The CPU and memory size recommendations for the containers within the
task of your ECS service.
ECSServiceRecommendationOption
, eCSServiceRecommendationOption_cpu
- The CPU size of the ECS service recommendation option.
$sel:memory:ECSServiceRecommendationOption'
, eCSServiceRecommendationOption_memory
- The memory size of the ECS service recommendation option.
$sel:projectedUtilizationMetrics:ECSServiceRecommendationOption'
, eCSServiceRecommendationOption_projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of
the ECS service recommendation option.
$sel:savingsOpportunity:ECSServiceRecommendationOption'
, eCSServiceRecommendationOption_savingsOpportunity
- Undocumented member.
eCSServiceRecommendationOption_containerRecommendations :: Lens' ECSServiceRecommendationOption (Maybe [ContainerRecommendation]) Source #
The CPU and memory size recommendations for the containers within the task of your ECS service.
eCSServiceRecommendationOption_cpu :: Lens' ECSServiceRecommendationOption (Maybe Int) Source #
The CPU size of the ECS service recommendation option.
eCSServiceRecommendationOption_memory :: Lens' ECSServiceRecommendationOption (Maybe Int) Source #
The memory size of the ECS service recommendation option.
eCSServiceRecommendationOption_projectedUtilizationMetrics :: Lens' ECSServiceRecommendationOption (Maybe [ECSServiceProjectedUtilizationMetric]) Source #
An array of objects that describe the projected utilization metrics of the ECS service recommendation option.
eCSServiceRecommendationOption_savingsOpportunity :: Lens' ECSServiceRecommendationOption (Maybe SavingsOpportunity) Source #
Undocumented member.
ECSServiceRecommendedOptionProjectedMetric
data ECSServiceRecommendedOptionProjectedMetric Source #
Describes the projected metrics of an Amazon ECS service recommendation option.
To determine the performance difference between your current ECS service and the recommended option, compare the metric data of your service against its projected metric data.
See: newECSServiceRecommendedOptionProjectedMetric
smart constructor.
Constructors
ECSServiceRecommendedOptionProjectedMetric' | |
Fields
|
Instances
newECSServiceRecommendedOptionProjectedMetric :: ECSServiceRecommendedOptionProjectedMetric Source #
Create a value of ECSServiceRecommendedOptionProjectedMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:projectedMetrics:ECSServiceRecommendedOptionProjectedMetric'
, eCSServiceRecommendedOptionProjectedMetric_projectedMetrics
- An array of objects that describe the projected metric.
$sel:recommendedCpuUnits:ECSServiceRecommendedOptionProjectedMetric'
, eCSServiceRecommendedOptionProjectedMetric_recommendedCpuUnits
- The recommended CPU size for the ECS service.
$sel:recommendedMemorySize:ECSServiceRecommendedOptionProjectedMetric'
, eCSServiceRecommendedOptionProjectedMetric_recommendedMemorySize
- The recommended memory size for the ECS service.
eCSServiceRecommendedOptionProjectedMetric_projectedMetrics :: Lens' ECSServiceRecommendedOptionProjectedMetric (Maybe [ECSServiceProjectedMetric]) Source #
An array of objects that describe the projected metric.
eCSServiceRecommendedOptionProjectedMetric_recommendedCpuUnits :: Lens' ECSServiceRecommendedOptionProjectedMetric (Maybe Int) Source #
The recommended CPU size for the ECS service.
eCSServiceRecommendedOptionProjectedMetric_recommendedMemorySize :: Lens' ECSServiceRecommendedOptionProjectedMetric (Maybe Int) Source #
The recommended memory size for the ECS service.
ECSServiceUtilizationMetric
data ECSServiceUtilizationMetric Source #
Describes the utilization metric of an Amazon ECS service.
To determine the performance difference between your current ECS service and the recommended option, compare the utilization metric data of your service against its projected utilization metric data.
See: newECSServiceUtilizationMetric
smart constructor.
Constructors
ECSServiceUtilizationMetric' | |
Fields
|
Instances
newECSServiceUtilizationMetric :: ECSServiceUtilizationMetric Source #
Create a value of ECSServiceUtilizationMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ECSServiceUtilizationMetric'
, eCSServiceUtilizationMetric_name
- The name of the utilization metric.
The following utilization metrics are available:
Cpu
— The amount of CPU units that are used in the service.Memory
— The amount of memory that is used in the service.
$sel:statistic:ECSServiceUtilizationMetric'
, eCSServiceUtilizationMetric_statistic
- The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
$sel:value:ECSServiceUtilizationMetric'
, eCSServiceUtilizationMetric_value
- The value of the utilization metric.
eCSServiceUtilizationMetric_name :: Lens' ECSServiceUtilizationMetric (Maybe ECSServiceMetricName) Source #
The name of the utilization metric.
The following utilization metrics are available:
Cpu
— The amount of CPU units that are used in the service.Memory
— The amount of memory that is used in the service.
eCSServiceUtilizationMetric_statistic :: Lens' ECSServiceUtilizationMetric (Maybe ECSServiceMetricStatistic) Source #
The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
eCSServiceUtilizationMetric_value :: Lens' ECSServiceUtilizationMetric (Maybe Double) Source #
The value of the utilization metric.
EffectiveRecommendationPreferences
data EffectiveRecommendationPreferences Source #
Describes the effective recommendation preferences for a resource.
See: newEffectiveRecommendationPreferences
smart constructor.
Constructors
EffectiveRecommendationPreferences' | |
Fields
|
Instances
newEffectiveRecommendationPreferences :: EffectiveRecommendationPreferences Source #
Create a value of EffectiveRecommendationPreferences
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cpuVendorArchitectures:EffectiveRecommendationPreferences'
, effectiveRecommendationPreferences_cpuVendorArchitectures
- Describes the CPU vendor and architecture for an instance or Auto
Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
- A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
- A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
- A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
$sel:enhancedInfrastructureMetrics:EffectiveRecommendationPreferences'
, effectiveRecommendationPreferences_enhancedInfrastructureMetrics
- Describes the activation status of the enhanced infrastructure metrics
preference.
A status of Active
confirms that the preference is applied in the
latest recommendation refresh, and a status of Inactive
confirms that
it's not yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
$sel:externalMetricsPreference:EffectiveRecommendationPreferences'
, effectiveRecommendationPreferences_externalMetricsPreference
- An object that describes the external metrics recommendation preference.
If the preference is applied in the latest recommendation refresh, an
object with a valid source
value appears in the response. If the
preference isn't applied to the recommendations already, then this
object doesn't appear in the response.
$sel:inferredWorkloadTypes:EffectiveRecommendationPreferences'
, effectiveRecommendationPreferences_inferredWorkloadTypes
- Describes the activation status of the inferred workload types
preference.
A status of Active
confirms that the preference is applied in the
latest recommendation refresh. A status of Inactive
confirms that
it's not yet applied to recommendations.
effectiveRecommendationPreferences_cpuVendorArchitectures :: Lens' EffectiveRecommendationPreferences (Maybe [CpuVendorArchitecture]) Source #
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
- A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
- A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
- A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
effectiveRecommendationPreferences_enhancedInfrastructureMetrics :: Lens' EffectiveRecommendationPreferences (Maybe EnhancedInfrastructureMetrics) Source #
Describes the activation status of the enhanced infrastructure metrics preference.
A status of Active
confirms that the preference is applied in the
latest recommendation refresh, and a status of Inactive
confirms that
it's not yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
effectiveRecommendationPreferences_externalMetricsPreference :: Lens' EffectiveRecommendationPreferences (Maybe ExternalMetricsPreference) Source #
An object that describes the external metrics recommendation preference.
If the preference is applied in the latest recommendation refresh, an
object with a valid source
value appears in the response. If the
preference isn't applied to the recommendations already, then this
object doesn't appear in the response.
effectiveRecommendationPreferences_inferredWorkloadTypes :: Lens' EffectiveRecommendationPreferences (Maybe InferredWorkloadTypesPreference) Source #
Describes the activation status of the inferred workload types preference.
A status of Active
confirms that the preference is applied in the
latest recommendation refresh. A status of Inactive
confirms that
it's not yet applied to recommendations.
EnrollmentFilter
data EnrollmentFilter Source #
Describes a filter that returns a more specific list of account enrollment statuses. Use this filter with the GetEnrollmentStatusesForOrganization action.
See: newEnrollmentFilter
smart constructor.
Constructors
EnrollmentFilter' | |
Instances
newEnrollmentFilter :: EnrollmentFilter Source #
Create a value of EnrollmentFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:EnrollmentFilter'
, enrollmentFilter_name
- The name of the filter.
Specify Status
to return accounts with a specific enrollment status
(for example, Active
).
$sel:values:EnrollmentFilter'
, enrollmentFilter_values
- The value of the filter.
The valid values are Active
, Inactive
, Pending
, and Failed
.
enrollmentFilter_name :: Lens' EnrollmentFilter (Maybe EnrollmentFilterName) Source #
The name of the filter.
Specify Status
to return accounts with a specific enrollment status
(for example, Active
).
enrollmentFilter_values :: Lens' EnrollmentFilter (Maybe [Text]) Source #
The value of the filter.
The valid values are Active
, Inactive
, Pending
, and Failed
.
EstimatedMonthlySavings
data EstimatedMonthlySavings Source #
Describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource.
For more information, see Estimated monthly savings and savings opportunities in the Compute Optimizer User Guide.
See: newEstimatedMonthlySavings
smart constructor.
Constructors
EstimatedMonthlySavings' | |
Instances
newEstimatedMonthlySavings :: EstimatedMonthlySavings Source #
Create a value of EstimatedMonthlySavings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:currency:EstimatedMonthlySavings'
, estimatedMonthlySavings_currency
- The currency of the estimated monthly savings.
$sel:value:EstimatedMonthlySavings'
, estimatedMonthlySavings_value
- The value of the estimated monthly savings.
estimatedMonthlySavings_currency :: Lens' EstimatedMonthlySavings (Maybe Currency) Source #
The currency of the estimated monthly savings.
estimatedMonthlySavings_value :: Lens' EstimatedMonthlySavings (Maybe Double) Source #
The value of the estimated monthly savings.
ExportDestination
data ExportDestination Source #
Describes the destination of the recommendations export and metadata files.
See: newExportDestination
smart constructor.
Constructors
ExportDestination' | |
Fields
|
Instances
newExportDestination :: ExportDestination Source #
Create a value of ExportDestination
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3:ExportDestination'
, exportDestination_s3
- An object that describes the destination Amazon Simple Storage Service
(Amazon S3) bucket name and object keys of a recommendations export
file, and its associated metadata file.
exportDestination_s3 :: Lens' ExportDestination (Maybe S3Destination) Source #
An object that describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and object keys of a recommendations export file, and its associated metadata file.
ExternalMetricsPreference
data ExternalMetricsPreference Source #
Describes the external metrics preferences for EC2 rightsizing recommendations.
See: newExternalMetricsPreference
smart constructor.
Constructors
ExternalMetricsPreference' | |
Fields
|
Instances
newExternalMetricsPreference :: ExternalMetricsPreference Source #
Create a value of ExternalMetricsPreference
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:source:ExternalMetricsPreference'
, externalMetricsPreference_source
- Contains the source options for external metrics preferences.
externalMetricsPreference_source :: Lens' ExternalMetricsPreference (Maybe ExternalMetricsSource) Source #
Contains the source options for external metrics preferences.
Filter
Describes a filter that returns a more specific list of recommendations. Use this filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
You can use EBSFilter
with the GetEBSVolumeRecommendations action,
LambdaFunctionRecommendationFilter
with the
GetLambdaFunctionRecommendations action, and JobFilter
with the
DescribeRecommendationExportJobs action.
See: newFilter
smart constructor.
Constructors
Filter' | |
Fields
|
Instances
ToJSON Filter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Filter | |
Generic Filter Source # | |
Read Filter Source # | |
Show Filter Source # | |
NFData Filter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Filter | |
Eq Filter Source # | |
Hashable Filter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Filter | |
type Rep Filter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Filter type Rep Filter = D1 ('MetaData "Filter" "Amazonka.ComputeOptimizer.Types.Filter" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilterName)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
Create a value of Filter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:Filter'
, filter_name
- The name of the filter.
Specify Finding
to return recommendations with a specific finding
classification (for example, Underprovisioned
).
Specify RecommendationSourceType
to return recommendations of a
specific resource type (for example, Ec2Instance
).
Specify FindingReasonCodes
to return recommendations with a specific
finding reason code (for example, CPUUnderprovisioned
).
$sel:values:Filter'
, filter_values
- The value of the filter.
The valid values for this parameter are as follows, depending on what
you specify for the name
parameter and the resource type that you wish
to filter results for:
- Specify
Optimized
orNotOptimized
if you specify thename
parameter asFinding
and you want to filter results for Auto Scaling groups. - Specify
Underprovisioned
,Overprovisioned
, orOptimized
if you specify thename
parameter asFinding
and you want to filter results for EC2 instances. - Specify
Ec2Instance
orAutoScalingGroup
if you specify thename
parameter asRecommendationSourceType
. Specify one of the following options if you specify the
name
parameter asFindingReasonCodes
:CPUOverprovisioned
— The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload.CPUUnderprovisioned
— The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance.MemoryOverprovisioned
— The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload.MemoryUnderprovisioned
— The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance.EBSThroughputOverprovisioned
— The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload.EBSThroughputUnderprovisioned
— The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance.EBSIOPSOverprovisioned
— The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload.EBSIOPSUnderprovisioned
— The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance.NetworkBandwidthOverprovisioned
— The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload.NetworkBandwidthUnderprovisioned
— The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This finding reason happens when theNetworkIn
orNetworkOut
performance of an instance is impacted.NetworkPPSOverprovisioned
— The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload.NetworkPPSUnderprovisioned
— The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance.DiskIOPSOverprovisioned
— The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload.DiskIOPSUnderprovisioned
— The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance.DiskThroughputOverprovisioned
— The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload.DiskThroughputUnderprovisioned
— The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance.
filter_name :: Lens' Filter (Maybe FilterName) Source #
The name of the filter.
Specify Finding
to return recommendations with a specific finding
classification (for example, Underprovisioned
).
Specify RecommendationSourceType
to return recommendations of a
specific resource type (for example, Ec2Instance
).
Specify FindingReasonCodes
to return recommendations with a specific
finding reason code (for example, CPUUnderprovisioned
).
filter_values :: Lens' Filter (Maybe [Text]) Source #
The value of the filter.
The valid values for this parameter are as follows, depending on what
you specify for the name
parameter and the resource type that you wish
to filter results for:
- Specify
Optimized
orNotOptimized
if you specify thename
parameter asFinding
and you want to filter results for Auto Scaling groups. - Specify
Underprovisioned
,Overprovisioned
, orOptimized
if you specify thename
parameter asFinding
and you want to filter results for EC2 instances. - Specify
Ec2Instance
orAutoScalingGroup
if you specify thename
parameter asRecommendationSourceType
. Specify one of the following options if you specify the
name
parameter asFindingReasonCodes
:CPUOverprovisioned
— The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload.CPUUnderprovisioned
— The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance.MemoryOverprovisioned
— The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload.MemoryUnderprovisioned
— The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance.EBSThroughputOverprovisioned
— The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload.EBSThroughputUnderprovisioned
— The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance.EBSIOPSOverprovisioned
— The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload.EBSIOPSUnderprovisioned
— The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance.NetworkBandwidthOverprovisioned
— The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload.NetworkBandwidthUnderprovisioned
— The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This finding reason happens when theNetworkIn
orNetworkOut
performance of an instance is impacted.NetworkPPSOverprovisioned
— The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload.NetworkPPSUnderprovisioned
— The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance.DiskIOPSOverprovisioned
— The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload.DiskIOPSUnderprovisioned
— The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance.DiskThroughputOverprovisioned
— The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload.DiskThroughputUnderprovisioned
— The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance.
GetRecommendationError
data GetRecommendationError Source #
Describes an error experienced when getting recommendations.
For example, an error is returned if you request recommendations for an unsupported Auto Scaling group, or if you request recommendations for an instance of an unsupported instance family.
See: newGetRecommendationError
smart constructor.
Constructors
GetRecommendationError' | |
Instances
newGetRecommendationError :: GetRecommendationError Source #
Create a value of GetRecommendationError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:GetRecommendationError'
, getRecommendationError_code
- The error code.
$sel:identifier:GetRecommendationError'
, getRecommendationError_identifier
- The ID of the error.
$sel:message:GetRecommendationError'
, getRecommendationError_message
- The message, or reason, for the error.
getRecommendationError_code :: Lens' GetRecommendationError (Maybe Text) Source #
The error code.
getRecommendationError_identifier :: Lens' GetRecommendationError (Maybe Text) Source #
The ID of the error.
getRecommendationError_message :: Lens' GetRecommendationError (Maybe Text) Source #
The message, or reason, for the error.
InstanceRecommendation
data InstanceRecommendation Source #
Describes an Amazon EC2 instance recommendation.
See: newInstanceRecommendation
smart constructor.
Constructors
InstanceRecommendation' | |
Fields
|
Instances
newInstanceRecommendation :: InstanceRecommendation Source #
Create a value of InstanceRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:InstanceRecommendation'
, instanceRecommendation_accountId
- The Amazon Web Services account ID of the instance.
$sel:currentInstanceType:InstanceRecommendation'
, instanceRecommendation_currentInstanceType
- The instance type of the current instance.
$sel:currentPerformanceRisk:InstanceRecommendation'
, instanceRecommendation_currentPerformanceRisk
- The risk of the current instance not meeting the performance needs of
its workloads. The higher the risk, the more likely the current instance
cannot meet the performance requirements of its workload.
$sel:effectiveRecommendationPreferences:InstanceRecommendation'
, instanceRecommendation_effectiveRecommendationPreferences
- An object that describes the effective recommendation preferences for
the instance.
$sel:finding:InstanceRecommendation'
, instanceRecommendation_finding
- The finding classification of the instance.
Findings for instances include:
Underprovisioned
—An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance.Overprovisioned
—An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost.Optimized
—An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. For optimized resources, Compute Optimizer might recommend a new generation instance type.
$sel:findingReasonCodes:InstanceRecommendation'
, instanceRecommendation_findingReasonCodes
- The reason for the finding classification of the instance.
Finding reason codes for instances include:
CPUOverprovisioned
— The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilization
metric of the current instance during the look-back period.CPUUnderprovisioned
— The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance. This is identified by analyzing theCPUUtilization
metric of the current instance during the look-back period.MemoryOverprovisioned
— The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the memory utilization metric of the current instance during the look-back period.MemoryUnderprovisioned
— The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance. This is identified by analyzing the memory utilization metric of the current instance during the look-back period.Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling memory utilization with the Amazon CloudWatch Agent in the Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
namespace.EBSThroughputOverprovisioned
— The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theVolumeReadOps
andVolumeWriteOps
metrics of EBS volumes attached to the current instance during the look-back period.EBSThroughputUnderprovisioned
— The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance. This is identified by analyzing theVolumeReadOps
andVolumeWriteOps
metrics of EBS volumes attached to the current instance during the look-back period.EBSIOPSOverprovisioned
— The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theVolumeReadBytes
andVolumeWriteBytes
metric of EBS volumes attached to the current instance during the look-back period.EBSIOPSUnderprovisioned
— The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance. This is identified by analyzing theVolumeReadBytes
andVolumeWriteBytes
metric of EBS volumes attached to the current instance during the look-back period.NetworkBandwidthOverprovisioned
— The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period.NetworkBandwidthUnderprovisioned
— The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This is identified by analyzing theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
performance of an instance is impacted.NetworkPPSOverprovisioned
— The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theNetworkPacketsIn
andNetworkPacketsIn
metrics of the current instance during the look-back period.NetworkPPSUnderprovisioned
— The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance. This is identified by analyzing theNetworkPacketsIn
andNetworkPacketsIn
metrics of the current instance during the look-back period.DiskIOPSOverprovisioned
— The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theDiskReadOps
andDiskWriteOps
metrics of the current instance during the look-back period.DiskIOPSUnderprovisioned
— The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance. This is identified by analyzing theDiskReadOps
andDiskWriteOps
metrics of the current instance during the look-back period.DiskThroughputOverprovisioned
— The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theDiskReadBytes
andDiskWriteBytes
metrics of the current instance during the look-back period.DiskThroughputUnderprovisioned
— The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance. This is identified by analyzing theDiskReadBytes
andDiskWriteBytes
metrics of the current instance during the look-back period.
For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
InstanceRecommendation
, instanceRecommendation_inferredWorkloadTypes
- The applications that might be running on the instance as inferred by
Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instance:
AmazonEmr
- Infers that Amazon EMR might be running on the instance.ApacheCassandra
- Infers that Apache Cassandra might be running on the instance.ApacheHadoop
- Infers that Apache Hadoop might be running on the instance.Memcached
- Infers that Memcached might be running on the instance.NGINX
- Infers that NGINX might be running on the instance.PostgreSql
- Infers that PostgreSQL might be running on the instance.Redis
- Infers that Redis might be running on the instance.
$sel:instanceArn:InstanceRecommendation'
, instanceRecommendation_instanceArn
- The Amazon Resource Name (ARN) of the current instance.
$sel:instanceName:InstanceRecommendation'
, instanceRecommendation_instanceName
- The name of the current instance.
$sel:lastRefreshTimestamp:InstanceRecommendation'
, instanceRecommendation_lastRefreshTimestamp
- The timestamp of when the instance recommendation was last generated.
$sel:lookBackPeriodInDays:InstanceRecommendation'
, instanceRecommendation_lookBackPeriodInDays
- The number of days for which utilization metrics were analyzed for the
instance.
$sel:recommendationOptions:InstanceRecommendation'
, instanceRecommendation_recommendationOptions
- An array of objects that describe the recommendation options for the
instance.
$sel:recommendationSources:InstanceRecommendation'
, instanceRecommendation_recommendationSources
- An array of objects that describe the source resource of the
recommendation.
$sel:utilizationMetrics:InstanceRecommendation'
, instanceRecommendation_utilizationMetrics
- An array of objects that describe the utilization metrics of the
instance.
instanceRecommendation_accountId :: Lens' InstanceRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the instance.
instanceRecommendation_currentInstanceType :: Lens' InstanceRecommendation (Maybe Text) Source #
The instance type of the current instance.
instanceRecommendation_currentPerformanceRisk :: Lens' InstanceRecommendation (Maybe CurrentPerformanceRisk) Source #
The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current instance cannot meet the performance requirements of its workload.
instanceRecommendation_effectiveRecommendationPreferences :: Lens' InstanceRecommendation (Maybe EffectiveRecommendationPreferences) Source #
An object that describes the effective recommendation preferences for the instance.
instanceRecommendation_finding :: Lens' InstanceRecommendation (Maybe Finding) Source #
The finding classification of the instance.
Findings for instances include:
Underprovisioned
—An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance.Overprovisioned
—An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost.Optimized
—An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. For optimized resources, Compute Optimizer might recommend a new generation instance type.
instanceRecommendation_findingReasonCodes :: Lens' InstanceRecommendation (Maybe [InstanceRecommendationFindingReasonCode]) Source #
The reason for the finding classification of the instance.
Finding reason codes for instances include:
CPUOverprovisioned
— The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilization
metric of the current instance during the look-back period.CPUUnderprovisioned
— The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance. This is identified by analyzing theCPUUtilization
metric of the current instance during the look-back period.MemoryOverprovisioned
— The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the memory utilization metric of the current instance during the look-back period.MemoryUnderprovisioned
— The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance. This is identified by analyzing the memory utilization metric of the current instance during the look-back period.Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling memory utilization with the Amazon CloudWatch Agent in the Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
namespace.EBSThroughputOverprovisioned
— The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theVolumeReadOps
andVolumeWriteOps
metrics of EBS volumes attached to the current instance during the look-back period.EBSThroughputUnderprovisioned
— The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance. This is identified by analyzing theVolumeReadOps
andVolumeWriteOps
metrics of EBS volumes attached to the current instance during the look-back period.EBSIOPSOverprovisioned
— The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theVolumeReadBytes
andVolumeWriteBytes
metric of EBS volumes attached to the current instance during the look-back period.EBSIOPSUnderprovisioned
— The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance. This is identified by analyzing theVolumeReadBytes
andVolumeWriteBytes
metric of EBS volumes attached to the current instance during the look-back period.NetworkBandwidthOverprovisioned
— The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period.NetworkBandwidthUnderprovisioned
— The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This is identified by analyzing theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
performance of an instance is impacted.NetworkPPSOverprovisioned
— The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theNetworkPacketsIn
andNetworkPacketsIn
metrics of the current instance during the look-back period.NetworkPPSUnderprovisioned
— The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance. This is identified by analyzing theNetworkPacketsIn
andNetworkPacketsIn
metrics of the current instance during the look-back period.DiskIOPSOverprovisioned
— The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theDiskReadOps
andDiskWriteOps
metrics of the current instance during the look-back period.DiskIOPSUnderprovisioned
— The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance. This is identified by analyzing theDiskReadOps
andDiskWriteOps
metrics of the current instance during the look-back period.DiskThroughputOverprovisioned
— The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theDiskReadBytes
andDiskWriteBytes
metrics of the current instance during the look-back period.DiskThroughputUnderprovisioned
— The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance. This is identified by analyzing theDiskReadBytes
andDiskWriteBytes
metrics of the current instance during the look-back period.
For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
instanceRecommendation_inferredWorkloadTypes :: Lens' InstanceRecommendation (Maybe [InferredWorkloadType]) Source #
The applications that might be running on the instance as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instance:
AmazonEmr
- Infers that Amazon EMR might be running on the instance.ApacheCassandra
- Infers that Apache Cassandra might be running on the instance.ApacheHadoop
- Infers that Apache Hadoop might be running on the instance.Memcached
- Infers that Memcached might be running on the instance.NGINX
- Infers that NGINX might be running on the instance.PostgreSql
- Infers that PostgreSQL might be running on the instance.Redis
- Infers that Redis might be running on the instance.
instanceRecommendation_instanceArn :: Lens' InstanceRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the current instance.
instanceRecommendation_instanceName :: Lens' InstanceRecommendation (Maybe Text) Source #
The name of the current instance.
instanceRecommendation_lastRefreshTimestamp :: Lens' InstanceRecommendation (Maybe UTCTime) Source #
The timestamp of when the instance recommendation was last generated.
instanceRecommendation_lookBackPeriodInDays :: Lens' InstanceRecommendation (Maybe Double) Source #
The number of days for which utilization metrics were analyzed for the instance.
instanceRecommendation_recommendationOptions :: Lens' InstanceRecommendation (Maybe [InstanceRecommendationOption]) Source #
An array of objects that describe the recommendation options for the instance.
instanceRecommendation_recommendationSources :: Lens' InstanceRecommendation (Maybe [RecommendationSource]) Source #
An array of objects that describe the source resource of the recommendation.
instanceRecommendation_utilizationMetrics :: Lens' InstanceRecommendation (Maybe [UtilizationMetric]) Source #
An array of objects that describe the utilization metrics of the instance.
InstanceRecommendationOption
data InstanceRecommendationOption Source #
Describes a recommendation option for an Amazon EC2 instance.
See: newInstanceRecommendationOption
smart constructor.
Constructors
InstanceRecommendationOption' | |
Fields
|
Instances
newInstanceRecommendationOption :: InstanceRecommendationOption Source #
Create a value of InstanceRecommendationOption
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceType:InstanceRecommendationOption'
, instanceRecommendationOption_instanceType
- The instance type of the instance recommendation.
$sel:migrationEffort:InstanceRecommendationOption'
, instanceRecommendationOption_migrationEffort
- The level of effort required to migrate from the current instance type
to the recommended instance type.
For example, the migration effort is Low
if Amazon EMR is the inferred
workload type and an Amazon Web Services Graviton instance type is
recommended. The migration effort is Medium
if a workload type
couldn't be inferred but an Amazon Web Services Graviton instance type
is recommended. The migration effort is VeryLow
if both the current
and recommended instance types are of the same CPU architecture.
$sel:performanceRisk:InstanceRecommendationOption'
, instanceRecommendationOption_performanceRisk
- The performance risk of the instance recommendation option.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The
higher the performance risk is, the more likely you should validate
whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
$sel:platformDifferences:InstanceRecommendationOption'
, instanceRecommendationOption_platformDifferences
- Describes the configuration differences between the current instance and
the recommended instance type. You should consider the configuration
differences before migrating your workloads from the current instance to
the recommended instance type. The
Change the instance type guide for Linux
and
Change the instance type guide for Windows
provide general guidance for getting started with an instance migration.
Platform differences include:
Hypervisor
— The hypervisor of the recommended instance type is different than that of the current instance. For example, the recommended instance type uses a Nitro hypervisor and the current instance uses a Xen hypervisor. The differences that you should consider between these hypervisors are covered in the Nitro Hypervisor section of the Amazon EC2 frequently asked questions. For more information, see Instances built on the Nitro System in the Amazon EC2 User Guide for Linux, or Instances built on the Nitro System in the Amazon EC2 User Guide for Windows.NetworkInterface
— The network interface of the recommended instance type is different than that of the current instance. For example, the recommended instance type supports enhanced networking and the current instance might not. To enable enhanced networking for the recommended instance type, you must install the Elastic Network Adapter (ENA) driver or the Intel 82599 Virtual Function driver. For more information, see Networking and storage features and Enhanced networking on Linux in the Amazon EC2 User Guide for Linux, or Networking and storage features and Enhanced networking on Windows in the Amazon EC2 User Guide for Windows.StorageInterface
— The storage interface of the recommended instance type is different than that of the current instance. For example, the recommended instance type uses an NVMe storage interface and the current instance does not. To access NVMe volumes for the recommended instance type, you will need to install or upgrade the NVMe driver. For more information, see Networking and storage features and Amazon EBS and NVMe on Linux instances in the Amazon EC2 User Guide for Linux, or Networking and storage features and Amazon EBS and NVMe on Windows instances in the Amazon EC2 User Guide for Windows.InstanceStoreAvailability
— The recommended instance type does not support instance store volumes and the current instance does. Before migrating, you might need to back up the data on your instance store volumes if you want to preserve them. For more information, see How do I back up an instance store volume on my Amazon EC2 instance to Amazon EBS? in the Amazon Web Services Premium Support Knowledge Base. For more information, see Networking and storage features and Amazon EC2 instance store in the Amazon EC2 User Guide for Linux, or see Networking and storage features and Amazon EC2 instance store in the Amazon EC2 User Guide for Windows.VirtualizationType
— The recommended instance type uses the hardware virtual machine (HVM) virtualization type and the current instance uses the paravirtual (PV) virtualization type. For more information about the differences between these virtualization types, see Linux AMI virtualization types in the Amazon EC2 User Guide for Linux, or Windows AMI virtualization types in the Amazon EC2 User Guide for Windows.Architecture
— The CPU architecture between the recommended instance type and the current instance is different. For example, the recommended instance type might use an Arm CPU architecture and the current instance type might use a different one, such as x86. Before migrating, you should consider recompiling the software on your instance for the new architecture. Alternatively, you might switch to an Amazon Machine Image (AMI) that supports the new architecture. For more information about the CPU architecture for each instance type, see Amazon EC2 Instance Types.
$sel:projectedUtilizationMetrics:InstanceRecommendationOption'
, instanceRecommendationOption_projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of
the instance recommendation option.
The Cpu
and Memory
metrics are the only projected utilization
metrics returned. Additionally, the Memory
metric is returned only for
resources that have the unified CloudWatch agent installed on them. For
more information, see
Enabling Memory Utilization with the CloudWatch Agent.
$sel:rank:InstanceRecommendationOption'
, instanceRecommendationOption_rank
- The rank of the instance recommendation option.
The top recommendation option is ranked as 1
.
$sel:savingsOpportunity:InstanceRecommendationOption'
, instanceRecommendationOption_savingsOpportunity
- An object that describes the savings opportunity for the instance
recommendation option. Savings opportunity includes the estimated
monthly savings amount and percentage.
instanceRecommendationOption_instanceType :: Lens' InstanceRecommendationOption (Maybe Text) Source #
The instance type of the instance recommendation.
instanceRecommendationOption_migrationEffort :: Lens' InstanceRecommendationOption (Maybe MigrationEffort) Source #
The level of effort required to migrate from the current instance type to the recommended instance type.
For example, the migration effort is Low
if Amazon EMR is the inferred
workload type and an Amazon Web Services Graviton instance type is
recommended. The migration effort is Medium
if a workload type
couldn't be inferred but an Amazon Web Services Graviton instance type
is recommended. The migration effort is VeryLow
if both the current
and recommended instance types are of the same CPU architecture.
instanceRecommendationOption_performanceRisk :: Lens' InstanceRecommendationOption (Maybe Double) Source #
The performance risk of the instance recommendation option.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The
higher the performance risk is, the more likely you should validate
whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
instanceRecommendationOption_platformDifferences :: Lens' InstanceRecommendationOption (Maybe [PlatformDifference]) Source #
Describes the configuration differences between the current instance and the recommended instance type. You should consider the configuration differences before migrating your workloads from the current instance to the recommended instance type. The Change the instance type guide for Linux and Change the instance type guide for Windows provide general guidance for getting started with an instance migration.
Platform differences include:
Hypervisor
— The hypervisor of the recommended instance type is different than that of the current instance. For example, the recommended instance type uses a Nitro hypervisor and the current instance uses a Xen hypervisor. The differences that you should consider between these hypervisors are covered in the Nitro Hypervisor section of the Amazon EC2 frequently asked questions. For more information, see Instances built on the Nitro System in the Amazon EC2 User Guide for Linux, or Instances built on the Nitro System in the Amazon EC2 User Guide for Windows.NetworkInterface
— The network interface of the recommended instance type is different than that of the current instance. For example, the recommended instance type supports enhanced networking and the current instance might not. To enable enhanced networking for the recommended instance type, you must install the Elastic Network Adapter (ENA) driver or the Intel 82599 Virtual Function driver. For more information, see Networking and storage features and Enhanced networking on Linux in the Amazon EC2 User Guide for Linux, or Networking and storage features and Enhanced networking on Windows in the Amazon EC2 User Guide for Windows.StorageInterface
— The storage interface of the recommended instance type is different than that of the current instance. For example, the recommended instance type uses an NVMe storage interface and the current instance does not. To access NVMe volumes for the recommended instance type, you will need to install or upgrade the NVMe driver. For more information, see Networking and storage features and Amazon EBS and NVMe on Linux instances in the Amazon EC2 User Guide for Linux, or Networking and storage features and Amazon EBS and NVMe on Windows instances in the Amazon EC2 User Guide for Windows.InstanceStoreAvailability
— The recommended instance type does not support instance store volumes and the current instance does. Before migrating, you might need to back up the data on your instance store volumes if you want to preserve them. For more information, see How do I back up an instance store volume on my Amazon EC2 instance to Amazon EBS? in the Amazon Web Services Premium Support Knowledge Base. For more information, see Networking and storage features and Amazon EC2 instance store in the Amazon EC2 User Guide for Linux, or see Networking and storage features and Amazon EC2 instance store in the Amazon EC2 User Guide for Windows.VirtualizationType
— The recommended instance type uses the hardware virtual machine (HVM) virtualization type and the current instance uses the paravirtual (PV) virtualization type. For more information about the differences between these virtualization types, see Linux AMI virtualization types in the Amazon EC2 User Guide for Linux, or Windows AMI virtualization types in the Amazon EC2 User Guide for Windows.Architecture
— The CPU architecture between the recommended instance type and the current instance is different. For example, the recommended instance type might use an Arm CPU architecture and the current instance type might use a different one, such as x86. Before migrating, you should consider recompiling the software on your instance for the new architecture. Alternatively, you might switch to an Amazon Machine Image (AMI) that supports the new architecture. For more information about the CPU architecture for each instance type, see Amazon EC2 Instance Types.
instanceRecommendationOption_projectedUtilizationMetrics :: Lens' InstanceRecommendationOption (Maybe [UtilizationMetric]) Source #
An array of objects that describe the projected utilization metrics of the instance recommendation option.
The Cpu
and Memory
metrics are the only projected utilization
metrics returned. Additionally, the Memory
metric is returned only for
resources that have the unified CloudWatch agent installed on them. For
more information, see
Enabling Memory Utilization with the CloudWatch Agent.
instanceRecommendationOption_rank :: Lens' InstanceRecommendationOption (Maybe Int) Source #
The rank of the instance recommendation option.
The top recommendation option is ranked as 1
.
instanceRecommendationOption_savingsOpportunity :: Lens' InstanceRecommendationOption (Maybe SavingsOpportunity) Source #
An object that describes the savings opportunity for the instance recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
JobFilter
Describes a filter that returns a more specific list of recommendation export jobs. Use this filter with the DescribeRecommendationExportJobs action.
You can use EBSFilter
with the GetEBSVolumeRecommendations action,
LambdaFunctionRecommendationFilter
with the
GetLambdaFunctionRecommendations action, and Filter
with the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations
actions.
See: newJobFilter
smart constructor.
Constructors
JobFilter' | |
Fields
|
Instances
ToJSON JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter | |
Generic JobFilter Source # | |
Read JobFilter Source # | |
Show JobFilter Source # | |
NFData JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter | |
Eq JobFilter Source # | |
Hashable JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter | |
type Rep JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter type Rep JobFilter = D1 ('MetaData "JobFilter" "Amazonka.ComputeOptimizer.Types.JobFilter" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "JobFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobFilterName)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
newJobFilter :: JobFilter Source #
Create a value of JobFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:JobFilter'
, jobFilter_name
- The name of the filter.
Specify ResourceType
to return export jobs of a specific resource type
(for example, Ec2Instance
).
Specify JobStatus
to return export jobs with a specific status (e.g,
Complete
).
$sel:values:JobFilter'
, jobFilter_values
- The value of the filter.
The valid values for this parameter are as follows, depending on what
you specify for the name
parameter:
- Specify
Ec2Instance
orAutoScalingGroup
if you specify thename
parameter asResourceType
. There is no filter for EBS volumes because volume recommendations cannot be exported at this time. - Specify
Queued
,InProgress
,Complete
, orFailed
if you specify thename
parameter asJobStatus
.
jobFilter_name :: Lens' JobFilter (Maybe JobFilterName) Source #
The name of the filter.
Specify ResourceType
to return export jobs of a specific resource type
(for example, Ec2Instance
).
Specify JobStatus
to return export jobs with a specific status (e.g,
Complete
).
jobFilter_values :: Lens' JobFilter (Maybe [Text]) Source #
The value of the filter.
The valid values for this parameter are as follows, depending on what
you specify for the name
parameter:
- Specify
Ec2Instance
orAutoScalingGroup
if you specify thename
parameter asResourceType
. There is no filter for EBS volumes because volume recommendations cannot be exported at this time. - Specify
Queued
,InProgress
,Complete
, orFailed
if you specify thename
parameter asJobStatus
.
LambdaFunctionMemoryProjectedMetric
data LambdaFunctionMemoryProjectedMetric Source #
Describes a projected utilization metric of an Lambda function recommendation option.
See: newLambdaFunctionMemoryProjectedMetric
smart constructor.
Constructors
LambdaFunctionMemoryProjectedMetric' | |
Fields
|
Instances
newLambdaFunctionMemoryProjectedMetric :: LambdaFunctionMemoryProjectedMetric Source #
Create a value of LambdaFunctionMemoryProjectedMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:LambdaFunctionMemoryProjectedMetric'
, lambdaFunctionMemoryProjectedMetric_name
- The name of the projected utilization metric.
$sel:statistic:LambdaFunctionMemoryProjectedMetric'
, lambdaFunctionMemoryProjectedMetric_statistic
- The statistic of the projected utilization metric.
$sel:value:LambdaFunctionMemoryProjectedMetric'
, lambdaFunctionMemoryProjectedMetric_value
- The values of the projected utilization metrics.
lambdaFunctionMemoryProjectedMetric_name :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe LambdaFunctionMemoryMetricName) Source #
The name of the projected utilization metric.
lambdaFunctionMemoryProjectedMetric_statistic :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe LambdaFunctionMemoryMetricStatistic) Source #
The statistic of the projected utilization metric.
lambdaFunctionMemoryProjectedMetric_value :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe Double) Source #
The values of the projected utilization metrics.
LambdaFunctionMemoryRecommendationOption
data LambdaFunctionMemoryRecommendationOption Source #
Describes a recommendation option for an Lambda function.
See: newLambdaFunctionMemoryRecommendationOption
smart constructor.
Constructors
LambdaFunctionMemoryRecommendationOption' | |
Fields
|
Instances
newLambdaFunctionMemoryRecommendationOption :: LambdaFunctionMemoryRecommendationOption Source #
Create a value of LambdaFunctionMemoryRecommendationOption
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memorySize:LambdaFunctionMemoryRecommendationOption'
, lambdaFunctionMemoryRecommendationOption_memorySize
- The memory size, in MB, of the function recommendation option.
$sel:projectedUtilizationMetrics:LambdaFunctionMemoryRecommendationOption'
, lambdaFunctionMemoryRecommendationOption_projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of
the function recommendation option.
$sel:rank:LambdaFunctionMemoryRecommendationOption'
, lambdaFunctionMemoryRecommendationOption_rank
- The rank of the function recommendation option.
The top recommendation option is ranked as 1
.
$sel:savingsOpportunity:LambdaFunctionMemoryRecommendationOption'
, lambdaFunctionMemoryRecommendationOption_savingsOpportunity
- An object that describes the savings opportunity for the Lambda function
recommendation option. Savings opportunity includes the estimated
monthly savings amount and percentage.
lambdaFunctionMemoryRecommendationOption_memorySize :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int) Source #
The memory size, in MB, of the function recommendation option.
lambdaFunctionMemoryRecommendationOption_projectedUtilizationMetrics :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe [LambdaFunctionMemoryProjectedMetric]) Source #
An array of objects that describe the projected utilization metrics of the function recommendation option.
lambdaFunctionMemoryRecommendationOption_rank :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int) Source #
The rank of the function recommendation option.
The top recommendation option is ranked as 1
.
lambdaFunctionMemoryRecommendationOption_savingsOpportunity :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe SavingsOpportunity) Source #
An object that describes the savings opportunity for the Lambda function recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
LambdaFunctionRecommendation
data LambdaFunctionRecommendation Source #
Describes an Lambda function recommendation.
See: newLambdaFunctionRecommendation
smart constructor.
Constructors
LambdaFunctionRecommendation' | |
Fields
|
Instances
newLambdaFunctionRecommendation :: LambdaFunctionRecommendation Source #
Create a value of LambdaFunctionRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_accountId
- The Amazon Web Services account ID of the function.
$sel:currentMemorySize:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_currentMemorySize
- The amount of memory, in MB, that's allocated to the current function.
$sel:currentPerformanceRisk:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_currentPerformanceRisk
- The risk of the current Lambda function not meeting the performance
needs of its workloads. The higher the risk, the more likely the current
Lambda function requires more memory.
$sel:finding:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_finding
- The finding classification of the function.
Findings for functions include:
Optimized
— The function is correctly provisioned to run your workload based on its current configuration and its utilization history. This finding classification does not include finding reason codes.NotOptimized
— The function is performing at a higher level (over-provisioned) or at a lower level (under-provisioned) than required for your workload because its current configuration is not optimal. Over-provisioned resources might lead to unnecessary infrastructure cost, and under-provisioned resources might lead to poor application performance. This finding classification can include theMemoryUnderprovisioned
andMemoryUnderprovisioned
finding reason codes.Unavailable
— Compute Optimizer was unable to generate a recommendation for the function. This could be because the function has not accumulated sufficient metric data, or the function does not qualify for a recommendation. This finding classification can include theInsufficientData
andInconclusive
finding reason codes.Functions with a finding of unavailable are not returned unless you specify the
filter
parameter with a value ofUnavailable
in yourGetLambdaFunctionRecommendations
request.
$sel:findingReasonCodes:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_findingReasonCodes
- The reason for the finding classification of the function.
Functions that have a finding classification of Optimized
don't have
a finding reason code.
Finding reason codes for functions include:
MemoryOverprovisioned
— The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of theNotOptimized
finding classification.MemoryUnderprovisioned
— The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of theNotOptimized
finding classification.InsufficientData
— The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of theUnavailable
finding classification.Inconclusive
— The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of theUnavailable
finding classification.
$sel:functionArn:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_functionArn
- The Amazon Resource Name (ARN) of the current function.
$sel:functionVersion:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_functionVersion
- The version number of the current function.
$sel:lastRefreshTimestamp:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_lastRefreshTimestamp
- The timestamp of when the function recommendation was last generated.
$sel:lookbackPeriodInDays:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_lookbackPeriodInDays
- The number of days for which utilization metrics were analyzed for the
function.
$sel:memorySizeRecommendationOptions:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_memorySizeRecommendationOptions
- An array of objects that describe the memory configuration
recommendation options for the function.
$sel:numberOfInvocations:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_numberOfInvocations
- The number of times your function code was applied during the look-back
period.
$sel:utilizationMetrics:LambdaFunctionRecommendation'
, lambdaFunctionRecommendation_utilizationMetrics
- An array of objects that describe the utilization metrics of the
function.
lambdaFunctionRecommendation_accountId :: Lens' LambdaFunctionRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the function.
lambdaFunctionRecommendation_currentMemorySize :: Lens' LambdaFunctionRecommendation (Maybe Int) Source #
The amount of memory, in MB, that's allocated to the current function.
lambdaFunctionRecommendation_currentPerformanceRisk :: Lens' LambdaFunctionRecommendation (Maybe CurrentPerformanceRisk) Source #
The risk of the current Lambda function not meeting the performance needs of its workloads. The higher the risk, the more likely the current Lambda function requires more memory.
lambdaFunctionRecommendation_finding :: Lens' LambdaFunctionRecommendation (Maybe LambdaFunctionRecommendationFinding) Source #
The finding classification of the function.
Findings for functions include:
Optimized
— The function is correctly provisioned to run your workload based on its current configuration and its utilization history. This finding classification does not include finding reason codes.NotOptimized
— The function is performing at a higher level (over-provisioned) or at a lower level (under-provisioned) than required for your workload because its current configuration is not optimal. Over-provisioned resources might lead to unnecessary infrastructure cost, and under-provisioned resources might lead to poor application performance. This finding classification can include theMemoryUnderprovisioned
andMemoryUnderprovisioned
finding reason codes.Unavailable
— Compute Optimizer was unable to generate a recommendation for the function. This could be because the function has not accumulated sufficient metric data, or the function does not qualify for a recommendation. This finding classification can include theInsufficientData
andInconclusive
finding reason codes.Functions with a finding of unavailable are not returned unless you specify the
filter
parameter with a value ofUnavailable
in yourGetLambdaFunctionRecommendations
request.
lambdaFunctionRecommendation_findingReasonCodes :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionRecommendationFindingReasonCode]) Source #
The reason for the finding classification of the function.
Functions that have a finding classification of Optimized
don't have
a finding reason code.
Finding reason codes for functions include:
MemoryOverprovisioned
— The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of theNotOptimized
finding classification.MemoryUnderprovisioned
— The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of theNotOptimized
finding classification.InsufficientData
— The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of theUnavailable
finding classification.Inconclusive
— The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of theUnavailable
finding classification.
lambdaFunctionRecommendation_functionArn :: Lens' LambdaFunctionRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the current function.
lambdaFunctionRecommendation_functionVersion :: Lens' LambdaFunctionRecommendation (Maybe Text) Source #
The version number of the current function.
lambdaFunctionRecommendation_lastRefreshTimestamp :: Lens' LambdaFunctionRecommendation (Maybe UTCTime) Source #
The timestamp of when the function recommendation was last generated.
lambdaFunctionRecommendation_lookbackPeriodInDays :: Lens' LambdaFunctionRecommendation (Maybe Double) Source #
The number of days for which utilization metrics were analyzed for the function.
lambdaFunctionRecommendation_memorySizeRecommendationOptions :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionMemoryRecommendationOption]) Source #
An array of objects that describe the memory configuration recommendation options for the function.
lambdaFunctionRecommendation_numberOfInvocations :: Lens' LambdaFunctionRecommendation (Maybe Integer) Source #
The number of times your function code was applied during the look-back period.
lambdaFunctionRecommendation_utilizationMetrics :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionUtilizationMetric]) Source #
An array of objects that describe the utilization metrics of the function.
LambdaFunctionRecommendationFilter
data LambdaFunctionRecommendationFilter Source #
Describes a filter that returns a more specific list of Lambda function recommendations. Use this filter with the GetLambdaFunctionRecommendations action.
You can use EBSFilter
with the GetEBSVolumeRecommendations action,
JobFilter
with the DescribeRecommendationExportJobs action, and
Filter
with the GetAutoScalingGroupRecommendations and
GetEC2InstanceRecommendations actions.
See: newLambdaFunctionRecommendationFilter
smart constructor.
Constructors
LambdaFunctionRecommendationFilter' | |
Fields
|
Instances
newLambdaFunctionRecommendationFilter :: LambdaFunctionRecommendationFilter Source #
Create a value of LambdaFunctionRecommendationFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:LambdaFunctionRecommendationFilter'
, lambdaFunctionRecommendationFilter_name
- The name of the filter.
Specify Finding
to return recommendations with a specific finding
classification (for example, NotOptimized
).
Specify FindingReasonCode
to return recommendations with a specific
finding reason code (for example, MemoryUnderprovisioned
).
$sel:values:LambdaFunctionRecommendationFilter'
, lambdaFunctionRecommendationFilter_values
- The value of the filter.
The valid values for this parameter are as follows, depending on what
you specify for the name
parameter:
- Specify
Optimized
,NotOptimized
, orUnavailable
if you specify thename
parameter asFinding
. - Specify
MemoryOverprovisioned
,MemoryUnderprovisioned
,InsufficientData
, orInconclusive
if you specify thename
parameter asFindingReasonCode
.
lambdaFunctionRecommendationFilter_name :: Lens' LambdaFunctionRecommendationFilter (Maybe LambdaFunctionRecommendationFilterName) Source #
The name of the filter.
Specify Finding
to return recommendations with a specific finding
classification (for example, NotOptimized
).
Specify FindingReasonCode
to return recommendations with a specific
finding reason code (for example, MemoryUnderprovisioned
).
lambdaFunctionRecommendationFilter_values :: Lens' LambdaFunctionRecommendationFilter (Maybe [Text]) Source #
The value of the filter.
The valid values for this parameter are as follows, depending on what
you specify for the name
parameter:
- Specify
Optimized
,NotOptimized
, orUnavailable
if you specify thename
parameter asFinding
. - Specify
MemoryOverprovisioned
,MemoryUnderprovisioned
,InsufficientData
, orInconclusive
if you specify thename
parameter asFindingReasonCode
.
LambdaFunctionUtilizationMetric
data LambdaFunctionUtilizationMetric Source #
Describes a utilization metric of an Lambda function.
See: newLambdaFunctionUtilizationMetric
smart constructor.
Constructors
LambdaFunctionUtilizationMetric' | |
Fields
|
Instances
newLambdaFunctionUtilizationMetric :: LambdaFunctionUtilizationMetric Source #
Create a value of LambdaFunctionUtilizationMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:LambdaFunctionUtilizationMetric'
, lambdaFunctionUtilizationMetric_name
- The name of the utilization metric.
The following utilization metrics are available:
Duration
- The amount of time that your function code spends processing an event.Memory
- The amount of memory used per invocation.
$sel:statistic:LambdaFunctionUtilizationMetric'
, lambdaFunctionUtilizationMetric_statistic
- The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
$sel:value:LambdaFunctionUtilizationMetric'
, lambdaFunctionUtilizationMetric_value
- The value of the utilization metric.
lambdaFunctionUtilizationMetric_name :: Lens' LambdaFunctionUtilizationMetric (Maybe LambdaFunctionMetricName) Source #
The name of the utilization metric.
The following utilization metrics are available:
Duration
- The amount of time that your function code spends processing an event.Memory
- The amount of memory used per invocation.
lambdaFunctionUtilizationMetric_statistic :: Lens' LambdaFunctionUtilizationMetric (Maybe LambdaFunctionMetricStatistic) Source #
The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
lambdaFunctionUtilizationMetric_value :: Lens' LambdaFunctionUtilizationMetric (Maybe Double) Source #
The value of the utilization metric.
MemorySizeConfiguration
data MemorySizeConfiguration Source #
The memory size configurations of a container.
See: newMemorySizeConfiguration
smart constructor.
Constructors
MemorySizeConfiguration' | |
Instances
newMemorySizeConfiguration :: MemorySizeConfiguration Source #
Create a value of MemorySizeConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memory:MemorySizeConfiguration'
, memorySizeConfiguration_memory
- The amount of memory in the container.
$sel:memoryReservation:MemorySizeConfiguration'
, memorySizeConfiguration_memoryReservation
- The limit of memory reserve for the container.
memorySizeConfiguration_memory :: Lens' MemorySizeConfiguration (Maybe Int) Source #
The amount of memory in the container.
memorySizeConfiguration_memoryReservation :: Lens' MemorySizeConfiguration (Maybe Int) Source #
The limit of memory reserve for the container.
ProjectedMetric
data ProjectedMetric Source #
Describes a projected utilization metric of a recommendation option, such as an Amazon EC2 instance. This represents the projected utilization of a recommendation option had you used that resource during the analyzed period.
Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.
The Cpu
and Memory
metrics are the only projected utilization
metrics returned when you run the GetEC2RecommendationProjectedMetrics
action. Additionally, the Memory
metric is returned only for resources
that have the unified CloudWatch agent installed on them. For more
information, see
Enabling Memory Utilization with the CloudWatch Agent.
See: newProjectedMetric
smart constructor.
Constructors
ProjectedMetric' | |
Fields
|
Instances
newProjectedMetric :: ProjectedMetric Source #
Create a value of ProjectedMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ProjectedMetric'
, projectedMetric_name
- The name of the projected utilization metric.
The following projected utilization metrics are returned:
Cpu
- The projected percentage of allocated EC2 compute units that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the processing power required to run an application on the recommendation option.Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core.
Units: Percent
Memory
- The percentage of memory that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the amount of memory required to run an application on the recommendation option.Units: Percent
The
Memory
metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
$sel:timestamps:ProjectedMetric'
, projectedMetric_timestamps
- The timestamps of the projected utilization metric.
$sel:values:ProjectedMetric'
, projectedMetric_values
- The values of the projected utilization metrics.
projectedMetric_name :: Lens' ProjectedMetric (Maybe MetricName) Source #
The name of the projected utilization metric.
The following projected utilization metrics are returned:
Cpu
- The projected percentage of allocated EC2 compute units that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the processing power required to run an application on the recommendation option.Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core.
Units: Percent
Memory
- The percentage of memory that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the amount of memory required to run an application on the recommendation option.Units: Percent
The
Memory
metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
projectedMetric_timestamps :: Lens' ProjectedMetric (Maybe [UTCTime]) Source #
The timestamps of the projected utilization metric.
projectedMetric_values :: Lens' ProjectedMetric (Maybe [Double]) Source #
The values of the projected utilization metrics.
ReasonCodeSummary
data ReasonCodeSummary Source #
A summary of a finding reason code.
See: newReasonCodeSummary
smart constructor.
Constructors
ReasonCodeSummary' | |
Instances
newReasonCodeSummary :: ReasonCodeSummary Source #
Create a value of ReasonCodeSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ReasonCodeSummary'
, reasonCodeSummary_name
- The name of the finding reason code.
$sel:value:ReasonCodeSummary'
, reasonCodeSummary_value
- The value of the finding reason code summary.
reasonCodeSummary_name :: Lens' ReasonCodeSummary (Maybe FindingReasonCode) Source #
The name of the finding reason code.
reasonCodeSummary_value :: Lens' ReasonCodeSummary (Maybe Double) Source #
The value of the finding reason code summary.
RecommendationExportJob
data RecommendationExportJob Source #
Describes a recommendation export job.
Use the DescribeRecommendationExportJobs action to view your recommendation export jobs.
Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations.
See: newRecommendationExportJob
smart constructor.
Constructors
RecommendationExportJob' | |
Fields
|
Instances
newRecommendationExportJob :: RecommendationExportJob Source #
Create a value of RecommendationExportJob
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTimestamp:RecommendationExportJob'
, recommendationExportJob_creationTimestamp
- The timestamp of when the export job was created.
$sel:destination:RecommendationExportJob'
, recommendationExportJob_destination
- An object that describes the destination of the export file.
$sel:failureReason:RecommendationExportJob'
, recommendationExportJob_failureReason
- The reason for an export job failure.
$sel:jobId:RecommendationExportJob'
, recommendationExportJob_jobId
- The identification number of the export job.
$sel:lastUpdatedTimestamp:RecommendationExportJob'
, recommendationExportJob_lastUpdatedTimestamp
- The timestamp of when the export job was last updated.
$sel:resourceType:RecommendationExportJob'
, recommendationExportJob_resourceType
- The resource type of the exported recommendations.
$sel:status:RecommendationExportJob'
, recommendationExportJob_status
- The status of the export job.
recommendationExportJob_creationTimestamp :: Lens' RecommendationExportJob (Maybe UTCTime) Source #
The timestamp of when the export job was created.
recommendationExportJob_destination :: Lens' RecommendationExportJob (Maybe ExportDestination) Source #
An object that describes the destination of the export file.
recommendationExportJob_failureReason :: Lens' RecommendationExportJob (Maybe Text) Source #
The reason for an export job failure.
recommendationExportJob_jobId :: Lens' RecommendationExportJob (Maybe Text) Source #
The identification number of the export job.
recommendationExportJob_lastUpdatedTimestamp :: Lens' RecommendationExportJob (Maybe UTCTime) Source #
The timestamp of when the export job was last updated.
recommendationExportJob_resourceType :: Lens' RecommendationExportJob (Maybe ResourceType) Source #
The resource type of the exported recommendations.
recommendationExportJob_status :: Lens' RecommendationExportJob (Maybe JobStatus) Source #
The status of the export job.
RecommendationPreferences
data RecommendationPreferences Source #
Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations, and GetEC2RecommendationProjectedMetrics request.
See: newRecommendationPreferences
smart constructor.
Constructors
RecommendationPreferences' | |
Fields
|
Instances
newRecommendationPreferences :: RecommendationPreferences Source #
Create a value of RecommendationPreferences
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cpuVendorArchitectures:RecommendationPreferences'
, recommendationPreferences_cpuVendorArchitectures
- Specifies the CPU vendor and architecture for Amazon EC2 instance and
Auto Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
- A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
- A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
- A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
recommendationPreferences_cpuVendorArchitectures :: Lens' RecommendationPreferences (Maybe [CpuVendorArchitecture]) Source #
Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
- A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only.
- A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only.
- A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
RecommendationPreferencesDetail
data RecommendationPreferencesDetail Source #
Describes a recommendation preference.
See: newRecommendationPreferencesDetail
smart constructor.
Constructors
RecommendationPreferencesDetail' | |
Fields
|
Instances
newRecommendationPreferencesDetail :: RecommendationPreferencesDetail Source #
Create a value of RecommendationPreferencesDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enhancedInfrastructureMetrics:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_enhancedInfrastructureMetrics
- The status of the enhanced infrastructure metrics recommendation
preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is applied to the recommendations, and a
status of Inactive
confirms that the preference isn't yet applied to
recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
$sel:externalMetricsPreference:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_externalMetricsPreference
- An object that describes the external metrics recommendation preference.
If the preference is applied in the latest recommendation refresh, an
object with a valid source
value appears in the response. If the
preference isn't applied to the recommendations already, then this
object doesn't appear in the response.
$sel:inferredWorkloadTypes:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_inferredWorkloadTypes
- The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is applied to the recommendations, and a
status of Inactive
confirms that the preference isn't yet applied to
recommendations.
$sel:resourceType:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_resourceType
- The target resource type of the recommendation preference to create.
The Ec2Instance
option encompasses standalone instances and instances
that are part of Auto Scaling groups. The AutoScalingGroup
option
encompasses only instances that are part of an Auto Scaling group.
$sel:scope:RecommendationPreferencesDetail'
, recommendationPreferencesDetail_scope
- An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
recommendationPreferencesDetail_enhancedInfrastructureMetrics :: Lens' RecommendationPreferencesDetail (Maybe EnhancedInfrastructureMetrics) Source #
The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is applied to the recommendations, and a
status of Inactive
confirms that the preference isn't yet applied to
recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
recommendationPreferencesDetail_externalMetricsPreference :: Lens' RecommendationPreferencesDetail (Maybe ExternalMetricsPreference) Source #
An object that describes the external metrics recommendation preference.
If the preference is applied in the latest recommendation refresh, an
object with a valid source
value appears in the response. If the
preference isn't applied to the recommendations already, then this
object doesn't appear in the response.
recommendationPreferencesDetail_inferredWorkloadTypes :: Lens' RecommendationPreferencesDetail (Maybe InferredWorkloadTypesPreference) Source #
The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is applied to the recommendations, and a
status of Inactive
confirms that the preference isn't yet applied to
recommendations.
recommendationPreferencesDetail_resourceType :: Lens' RecommendationPreferencesDetail (Maybe ResourceType) Source #
The target resource type of the recommendation preference to create.
The Ec2Instance
option encompasses standalone instances and instances
that are part of Auto Scaling groups. The AutoScalingGroup
option
encompasses only instances that are part of an Auto Scaling group.
recommendationPreferencesDetail_scope :: Lens' RecommendationPreferencesDetail (Maybe Scope) Source #
An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
RecommendationSource
data RecommendationSource Source #
Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling group.
See: newRecommendationSource
smart constructor.
Constructors
RecommendationSource' | |
Fields
|
Instances
newRecommendationSource :: RecommendationSource Source #
Create a value of RecommendationSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recommendationSourceArn:RecommendationSource'
, recommendationSource_recommendationSourceArn
- The Amazon Resource Name (ARN) of the recommendation source.
$sel:recommendationSourceType:RecommendationSource'
, recommendationSource_recommendationSourceType
- The resource type of the recommendation source.
recommendationSource_recommendationSourceArn :: Lens' RecommendationSource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the recommendation source.
recommendationSource_recommendationSourceType :: Lens' RecommendationSource (Maybe RecommendationSourceType) Source #
The resource type of the recommendation source.
RecommendationSummary
data RecommendationSummary Source #
A summary of a recommendation.
See: newRecommendationSummary
smart constructor.
Constructors
RecommendationSummary' | |
Fields
|
Instances
newRecommendationSummary :: RecommendationSummary Source #
Create a value of RecommendationSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:RecommendationSummary'
, recommendationSummary_accountId
- The Amazon Web Services account ID of the recommendation summary.
$sel:currentPerformanceRiskRatings:RecommendationSummary'
, recommendationSummary_currentPerformanceRiskRatings
- An object that describes the performance risk ratings for a given
resource type.
$sel:recommendationResourceType:RecommendationSummary'
, recommendationSummary_recommendationResourceType
- The resource type that the recommendation summary applies to.
$sel:savingsOpportunity:RecommendationSummary'
, recommendationSummary_savingsOpportunity
- An object that describes the savings opportunity for a given resource
type. Savings opportunity includes the estimated monthly savings amount
and percentage.
$sel:summaries:RecommendationSummary'
, recommendationSummary_summaries
- An array of objects that describe a recommendation summary.
recommendationSummary_accountId :: Lens' RecommendationSummary (Maybe Text) Source #
The Amazon Web Services account ID of the recommendation summary.
recommendationSummary_currentPerformanceRiskRatings :: Lens' RecommendationSummary (Maybe CurrentPerformanceRiskRatings) Source #
An object that describes the performance risk ratings for a given resource type.
recommendationSummary_recommendationResourceType :: Lens' RecommendationSummary (Maybe RecommendationSourceType) Source #
The resource type that the recommendation summary applies to.
recommendationSummary_savingsOpportunity :: Lens' RecommendationSummary (Maybe SavingsOpportunity) Source #
An object that describes the savings opportunity for a given resource type. Savings opportunity includes the estimated monthly savings amount and percentage.
recommendationSummary_summaries :: Lens' RecommendationSummary (Maybe [Summary]) Source #
An array of objects that describe a recommendation summary.
RecommendedOptionProjectedMetric
data RecommendedOptionProjectedMetric Source #
Describes a projected utilization metric of a recommendation option.
The Cpu
and Memory
metrics are the only projected utilization
metrics returned when you run the GetEC2RecommendationProjectedMetrics
action. Additionally, the Memory
metric is returned only for resources
that have the unified CloudWatch agent installed on them. For more
information, see
Enabling Memory Utilization with the CloudWatch Agent.
See: newRecommendedOptionProjectedMetric
smart constructor.
Constructors
RecommendedOptionProjectedMetric' | |
Fields
|
Instances
newRecommendedOptionProjectedMetric :: RecommendedOptionProjectedMetric Source #
Create a value of RecommendedOptionProjectedMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:projectedMetrics:RecommendedOptionProjectedMetric'
, recommendedOptionProjectedMetric_projectedMetrics
- An array of objects that describe a projected utilization metric.
$sel:rank:RecommendedOptionProjectedMetric'
, recommendedOptionProjectedMetric_rank
- The rank of the recommendation option projected metric.
The top recommendation option is ranked as 1
.
The projected metric rank correlates to the recommendation option rank.
For example, the projected metric ranked as 1
is related to the
recommendation option that is also ranked as 1
in the same response.
$sel:recommendedInstanceType:RecommendedOptionProjectedMetric'
, recommendedOptionProjectedMetric_recommendedInstanceType
- The recommended instance type.
recommendedOptionProjectedMetric_projectedMetrics :: Lens' RecommendedOptionProjectedMetric (Maybe [ProjectedMetric]) Source #
An array of objects that describe a projected utilization metric.
recommendedOptionProjectedMetric_rank :: Lens' RecommendedOptionProjectedMetric (Maybe Int) Source #
The rank of the recommendation option projected metric.
The top recommendation option is ranked as 1
.
The projected metric rank correlates to the recommendation option rank.
For example, the projected metric ranked as 1
is related to the
recommendation option that is also ranked as 1
in the same response.
recommendedOptionProjectedMetric_recommendedInstanceType :: Lens' RecommendedOptionProjectedMetric (Maybe Text) Source #
The recommended instance type.
S3Destination
data S3Destination Source #
Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and object keys of a recommendations export file, and its associated metadata file.
See: newS3Destination
smart constructor.
Constructors
S3Destination' | |
Fields
|
Instances
newS3Destination :: S3Destination Source #
Create a value of S3Destination
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bucket:S3Destination'
, s3Destination_bucket
- The name of the Amazon S3 bucket used as the destination of an export
file.
$sel:key:S3Destination'
, s3Destination_key
- The Amazon S3 bucket key of an export file.
The key uniquely identifies the object, or export file, in the S3 bucket.
$sel:metadataKey:S3Destination'
, s3Destination_metadataKey
- The Amazon S3 bucket key of a metadata file.
The key uniquely identifies the object, or metadata file, in the S3 bucket.
s3Destination_bucket :: Lens' S3Destination (Maybe Text) Source #
The name of the Amazon S3 bucket used as the destination of an export file.
s3Destination_key :: Lens' S3Destination (Maybe Text) Source #
The Amazon S3 bucket key of an export file.
The key uniquely identifies the object, or export file, in the S3 bucket.
s3Destination_metadataKey :: Lens' S3Destination (Maybe Text) Source #
The Amazon S3 bucket key of a metadata file.
The key uniquely identifies the object, or metadata file, in the S3 bucket.
S3DestinationConfig
data S3DestinationConfig Source #
Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for a recommendations export job.
You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User Guide.
See: newS3DestinationConfig
smart constructor.
Constructors
S3DestinationConfig' | |
Instances
newS3DestinationConfig :: S3DestinationConfig Source #
Create a value of S3DestinationConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bucket:S3DestinationConfig'
, s3DestinationConfig_bucket
- The name of the Amazon S3 bucket to use as the destination for an export
job.
$sel:keyPrefix:S3DestinationConfig'
, s3DestinationConfig_keyPrefix
- The Amazon S3 bucket prefix for an export job.
s3DestinationConfig_bucket :: Lens' S3DestinationConfig (Maybe Text) Source #
The name of the Amazon S3 bucket to use as the destination for an export job.
s3DestinationConfig_keyPrefix :: Lens' S3DestinationConfig (Maybe Text) Source #
The Amazon S3 bucket prefix for an export job.
SavingsOpportunity
data SavingsOpportunity Source #
Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource.
Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation.
Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see Enabling Cost Explorer and Optimizing your cost with Rightsizing Recommendations in the Cost Management User Guide.
See: newSavingsOpportunity
smart constructor.
Constructors
SavingsOpportunity' | |
Fields
|
Instances
newSavingsOpportunity :: SavingsOpportunity Source #
Create a value of SavingsOpportunity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:estimatedMonthlySavings:SavingsOpportunity'
, savingsOpportunity_estimatedMonthlySavings
- An object that describes the estimated monthly savings amount possible,
based on On-Demand instance pricing, by adopting Compute Optimizer
recommendations for a given resource.
$sel:savingsOpportunityPercentage:SavingsOpportunity'
, savingsOpportunity_savingsOpportunityPercentage
- The estimated monthly savings possible as a percentage of monthly cost
by adopting Compute Optimizer recommendations for a given resource.
savingsOpportunity_estimatedMonthlySavings :: Lens' SavingsOpportunity (Maybe EstimatedMonthlySavings) Source #
An object that describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource.
savingsOpportunity_savingsOpportunityPercentage :: Lens' SavingsOpportunity (Maybe Double) Source #
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.
Scope
Describes the scope of a recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
You cannot create recommendation preferences for Auto Scaling groups at
the organization and account levels. You can create recommendation
preferences for Auto Scaling groups only at the resource level by
specifying a scope name of ResourceArn
and a scope value of the Auto
Scaling group Amazon Resource Name (ARN). This will configure the
preference for all instances that are part of the specified Auto Scaling
group. You also cannot create recommendation preferences at the resource
level for instances that are part of an Auto Scaling group. You can
create recommendation preferences at the resource level only for
standalone instances.
See: newScope
smart constructor.
Constructors
Scope' | |
Fields
|
Instances
FromJSON Scope Source # | |
ToJSON Scope Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Scope | |
Generic Scope Source # | |
Read Scope Source # | |
Show Scope Source # | |
NFData Scope Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Scope | |
Eq Scope Source # | |
Hashable Scope Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Scope | |
type Rep Scope Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Scope type Rep Scope = D1 ('MetaData "Scope" "Amazonka.ComputeOptimizer.Types.Scope" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "Scope'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScopeName)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of Scope
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:Scope'
, scope_name
- The name of the scope.
The following scopes are possible:
Organization
- Specifies that the recommendation preference applies at the organization level, for all member accounts of an organization.AccountId
- Specifies that the recommendation preference applies at the account level, for all resources of a given resource type in an account.ResourceArn
- Specifies that the recommendation preference applies at the individual resource level.
$sel:value:Scope'
, scope_value
- The value of the scope.
If you specified the name
of the scope as:
Organization
- Thevalue
must beALL_ACCOUNTS
.AccountId
- Thevalue
must be a 12-digit Amazon Web Services account ID.ResourceArn
- Thevalue
must be the Amazon Resource Name (ARN) of an EC2 instance or an Auto Scaling group.
Only EC2 instance and Auto Scaling group ARNs are currently supported.
scope_name :: Lens' Scope (Maybe ScopeName) Source #
The name of the scope.
The following scopes are possible:
Organization
- Specifies that the recommendation preference applies at the organization level, for all member accounts of an organization.AccountId
- Specifies that the recommendation preference applies at the account level, for all resources of a given resource type in an account.ResourceArn
- Specifies that the recommendation preference applies at the individual resource level.
scope_value :: Lens' Scope (Maybe Text) Source #
The value of the scope.
If you specified the name
of the scope as:
Organization
- Thevalue
must beALL_ACCOUNTS
.AccountId
- Thevalue
must be a 12-digit Amazon Web Services account ID.ResourceArn
- Thevalue
must be the Amazon Resource Name (ARN) of an EC2 instance or an Auto Scaling group.
Only EC2 instance and Auto Scaling group ARNs are currently supported.
ServiceConfiguration
data ServiceConfiguration Source #
The Amazon ECS service configurations used for recommendations.
See: newServiceConfiguration
smart constructor.
Constructors
ServiceConfiguration' | |
Fields
|
Instances
newServiceConfiguration :: ServiceConfiguration Source #
Create a value of ServiceConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingConfiguration:ServiceConfiguration'
, serviceConfiguration_autoScalingConfiguration
- Describes the Auto Scaling configuration methods for an Amazon ECS
service. This affects the generated recommendations. For example, if
Auto Scaling is configured on a ECS service’s CPU, then Compute
Optimizer doesn’t generate CPU size recommendations.
The Auto Scaling configuration methods include:
TARGET_TRACKING_SCALING_CPU
— If the ECS service is configured to use target scaling on CPU, Compute Optimizer doesn't generate CPU recommendations.TARGET_TRACKING_SCALING_MEMORY
— If the ECS service is configured to use target scaling on memory, Compute Optimizer doesn't generate memory recommendations.
For more information about step scaling and target scaling, see Step scaling policies for Application Auto Scaling and Target tracking scaling policies for Application Auto Scaling in the Application Auto Scaling User Guide.
$sel:containerConfigurations:ServiceConfiguration'
, serviceConfiguration_containerConfigurations
- The container configurations within a task of an ECS service.
ServiceConfiguration
, serviceConfiguration_cpu
- The number of CPU units used by the tasks in the ECS service.
$sel:memory:ServiceConfiguration'
, serviceConfiguration_memory
- The amount of memory used by the tasks in the ECS service.
$sel:taskDefinitionArn:ServiceConfiguration'
, serviceConfiguration_taskDefinitionArn
- The task definition ARN used by the tasks in the ECS service.
serviceConfiguration_autoScalingConfiguration :: Lens' ServiceConfiguration (Maybe AutoScalingConfiguration) Source #
Describes the Auto Scaling configuration methods for an Amazon ECS service. This affects the generated recommendations. For example, if Auto Scaling is configured on a ECS service’s CPU, then Compute Optimizer doesn’t generate CPU size recommendations.
The Auto Scaling configuration methods include:
TARGET_TRACKING_SCALING_CPU
— If the ECS service is configured to use target scaling on CPU, Compute Optimizer doesn't generate CPU recommendations.TARGET_TRACKING_SCALING_MEMORY
— If the ECS service is configured to use target scaling on memory, Compute Optimizer doesn't generate memory recommendations.
For more information about step scaling and target scaling, see Step scaling policies for Application Auto Scaling and Target tracking scaling policies for Application Auto Scaling in the Application Auto Scaling User Guide.
serviceConfiguration_containerConfigurations :: Lens' ServiceConfiguration (Maybe [ContainerConfiguration]) Source #
The container configurations within a task of an ECS service.
serviceConfiguration_cpu :: Lens' ServiceConfiguration (Maybe Int) Source #
The number of CPU units used by the tasks in the ECS service.
serviceConfiguration_memory :: Lens' ServiceConfiguration (Maybe Int) Source #
The amount of memory used by the tasks in the ECS service.
serviceConfiguration_taskDefinitionArn :: Lens' ServiceConfiguration (Maybe Text) Source #
The task definition ARN used by the tasks in the ECS service.
Summary
The summary of a recommendation.
See: newSummary
smart constructor.
Constructors
Summary' | |
Fields
|
Instances
FromJSON Summary Source # | |
Generic Summary Source # | |
Read Summary Source # | |
Show Summary Source # | |
NFData Summary Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Summary | |
Eq Summary Source # | |
Hashable Summary Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Summary | |
type Rep Summary Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Summary type Rep Summary = D1 ('MetaData "Summary" "Amazonka.ComputeOptimizer.Types.Summary" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "Summary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Finding)) :*: (S1 ('MetaSel ('Just "reasonCodeSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReasonCodeSummary])) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))) |
newSummary :: Summary Source #
Create a value of Summary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
Summary
, summary_name
- The finding classification of the recommendation.
$sel:reasonCodeSummaries:Summary'
, summary_reasonCodeSummaries
- An array of objects that summarize a finding reason code.
Summary
, summary_value
- The value of the recommendation summary.
summary_name :: Lens' Summary (Maybe Finding) Source #
The finding classification of the recommendation.
summary_reasonCodeSummaries :: Lens' Summary (Maybe [ReasonCodeSummary]) Source #
An array of objects that summarize a finding reason code.
UtilizationMetric
data UtilizationMetric Source #
Describes a utilization metric of a resource, such as an Amazon EC2 instance.
Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.
See: newUtilizationMetric
smart constructor.
Constructors
UtilizationMetric' | |
Fields
|
Instances
newUtilizationMetric :: UtilizationMetric Source #
Create a value of UtilizationMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:UtilizationMetric'
, utilizationMetric_name
- The name of the utilization metric.
The following utilization metrics are available:
Cpu
- The percentage of allocated EC2 compute units that are currently in use on the instance. This metric identifies the processing power required to run an application on the instance.Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core.
Units: Percent
Memory
- The percentage of memory that is currently in use on the instance. This metric identifies the amount of memory required to run an application on the instance.Units: Percent
The
Memory
metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.EBS_READ_OPS_PER_SECOND
- The completed read operations from all EBS volumes attached to the instance in a specified period of time.Unit: Count
EBS_WRITE_OPS_PER_SECOND
- The completed write operations to all EBS volumes attached to the instance in a specified period of time.Unit: Count
EBS_READ_BYTES_PER_SECOND
- The bytes read from all EBS volumes attached to the instance in a specified period of time.Unit: Bytes
EBS_WRITE_BYTES_PER_SECOND
- The bytes written to all EBS volumes attached to the instance in a specified period of time.Unit: Bytes
DISK_READ_OPS_PER_SECOND
- The completed read operations from all instance store volumes available to the instance in a specified period of time.If there are no instance store volumes, either the value is
0
or the metric is not reported.DISK_WRITE_OPS_PER_SECOND
- The completed write operations from all instance store volumes available to the instance in a specified period of time.If there are no instance store volumes, either the value is
0
or the metric is not reported.DISK_READ_BYTES_PER_SECOND
- The bytes read from all instance store volumes available to the instance. This metric is used to determine the volume of the data the application reads from the disk of the instance. This can be used to determine the speed of the application.If there are no instance store volumes, either the value is
0
or the metric is not reported.DISK_WRITE_BYTES_PER_SECOND
- The bytes written to all instance store volumes available to the instance. This metric is used to determine the volume of the data the application writes onto the disk of the instance. This can be used to determine the speed of the application.If there are no instance store volumes, either the value is
0
or the metric is not reported.NETWORK_IN_BYTES_PER_SECOND
- The number of bytes received by the instance on all network interfaces. This metric identifies the volume of incoming network traffic to a single instance.NETWORK_OUT_BYTES_PER_SECOND
- The number of bytes sent out by the instance on all network interfaces. This metric identifies the volume of outgoing network traffic from a single instance.NETWORK_PACKETS_IN_PER_SECOND
- The number of packets received by the instance on all network interfaces. This metric identifies the volume of incoming traffic in terms of the number of packets on a single instance.NETWORK_PACKETS_OUT_PER_SECOND
- The number of packets sent out by the instance on all network interfaces. This metric identifies the volume of outgoing traffic in terms of the number of packets on a single instance.
$sel:statistic:UtilizationMetric'
, utilizationMetric_statistic
- The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
$sel:value:UtilizationMetric'
, utilizationMetric_value
- The value of the utilization metric.
utilizationMetric_name :: Lens' UtilizationMetric (Maybe MetricName) Source #
The name of the utilization metric.
The following utilization metrics are available:
Cpu
- The percentage of allocated EC2 compute units that are currently in use on the instance. This metric identifies the processing power required to run an application on the instance.Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core.
Units: Percent
Memory
- The percentage of memory that is currently in use on the instance. This metric identifies the amount of memory required to run an application on the instance.Units: Percent
The
Memory
metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.EBS_READ_OPS_PER_SECOND
- The completed read operations from all EBS volumes attached to the instance in a specified period of time.Unit: Count
EBS_WRITE_OPS_PER_SECOND
- The completed write operations to all EBS volumes attached to the instance in a specified period of time.Unit: Count
EBS_READ_BYTES_PER_SECOND
- The bytes read from all EBS volumes attached to the instance in a specified period of time.Unit: Bytes
EBS_WRITE_BYTES_PER_SECOND
- The bytes written to all EBS volumes attached to the instance in a specified period of time.Unit: Bytes
DISK_READ_OPS_PER_SECOND
- The completed read operations from all instance store volumes available to the instance in a specified period of time.If there are no instance store volumes, either the value is
0
or the metric is not reported.DISK_WRITE_OPS_PER_SECOND
- The completed write operations from all instance store volumes available to the instance in a specified period of time.If there are no instance store volumes, either the value is
0
or the metric is not reported.DISK_READ_BYTES_PER_SECOND
- The bytes read from all instance store volumes available to the instance. This metric is used to determine the volume of the data the application reads from the disk of the instance. This can be used to determine the speed of the application.If there are no instance store volumes, either the value is
0
or the metric is not reported.DISK_WRITE_BYTES_PER_SECOND
- The bytes written to all instance store volumes available to the instance. This metric is used to determine the volume of the data the application writes onto the disk of the instance. This can be used to determine the speed of the application.If there are no instance store volumes, either the value is
0
or the metric is not reported.NETWORK_IN_BYTES_PER_SECOND
- The number of bytes received by the instance on all network interfaces. This metric identifies the volume of incoming network traffic to a single instance.NETWORK_OUT_BYTES_PER_SECOND
- The number of bytes sent out by the instance on all network interfaces. This metric identifies the volume of outgoing network traffic from a single instance.NETWORK_PACKETS_IN_PER_SECOND
- The number of packets received by the instance on all network interfaces. This metric identifies the volume of incoming traffic in terms of the number of packets on a single instance.NETWORK_PACKETS_OUT_PER_SECOND
- The number of packets sent out by the instance on all network interfaces. This metric identifies the volume of outgoing traffic in terms of the number of packets on a single instance.
utilizationMetric_statistic :: Lens' UtilizationMetric (Maybe MetricStatistic) Source #
The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
utilizationMetric_value :: Lens' UtilizationMetric (Maybe Double) Source #
The value of the utilization metric.
VolumeConfiguration
data VolumeConfiguration Source #
Describes the configuration of an Amazon Elastic Block Store (Amazon EBS) volume.
See: newVolumeConfiguration
smart constructor.
Constructors
VolumeConfiguration' | |
Fields
|
Instances
newVolumeConfiguration :: VolumeConfiguration Source #
Create a value of VolumeConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:volumeBaselineIOPS:VolumeConfiguration'
, volumeConfiguration_volumeBaselineIOPS
- The baseline IOPS of the volume.
$sel:volumeBaselineThroughput:VolumeConfiguration'
, volumeConfiguration_volumeBaselineThroughput
- The baseline throughput of the volume.
$sel:volumeBurstIOPS:VolumeConfiguration'
, volumeConfiguration_volumeBurstIOPS
- The burst IOPS of the volume.
$sel:volumeBurstThroughput:VolumeConfiguration'
, volumeConfiguration_volumeBurstThroughput
- The burst throughput of the volume.
$sel:volumeSize:VolumeConfiguration'
, volumeConfiguration_volumeSize
- The size of the volume, in GiB.
$sel:volumeType:VolumeConfiguration'
, volumeConfiguration_volumeType
- The volume type.
This can be gp2
for General Purpose SSD, io1
or io2
for
Provisioned IOPS SSD, st1
for Throughput Optimized HDD, sc1
for Cold
HDD, or standard
for Magnetic volumes.
volumeConfiguration_volumeBaselineIOPS :: Lens' VolumeConfiguration (Maybe Int) Source #
The baseline IOPS of the volume.
volumeConfiguration_volumeBaselineThroughput :: Lens' VolumeConfiguration (Maybe Int) Source #
The baseline throughput of the volume.
volumeConfiguration_volumeBurstIOPS :: Lens' VolumeConfiguration (Maybe Int) Source #
The burst IOPS of the volume.
volumeConfiguration_volumeBurstThroughput :: Lens' VolumeConfiguration (Maybe Int) Source #
The burst throughput of the volume.
volumeConfiguration_volumeSize :: Lens' VolumeConfiguration (Maybe Int) Source #
The size of the volume, in GiB.
volumeConfiguration_volumeType :: Lens' VolumeConfiguration (Maybe Text) Source #
The volume type.
This can be gp2
for General Purpose SSD, io1
or io2
for
Provisioned IOPS SSD, st1
for Throughput Optimized HDD, sc1
for Cold
HDD, or standard
for Magnetic volumes.
VolumeRecommendation
data VolumeRecommendation Source #
Describes an Amazon Elastic Block Store (Amazon EBS) volume recommendation.
See: newVolumeRecommendation
smart constructor.
Constructors
VolumeRecommendation' | |
Fields
|
Instances
newVolumeRecommendation :: VolumeRecommendation Source #
Create a value of VolumeRecommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountId:VolumeRecommendation'
, volumeRecommendation_accountId
- The Amazon Web Services account ID of the volume.
$sel:currentConfiguration:VolumeRecommendation'
, volumeRecommendation_currentConfiguration
- An array of objects that describe the current configuration of the
volume.
$sel:currentPerformanceRisk:VolumeRecommendation'
, volumeRecommendation_currentPerformanceRisk
- The risk of the current EBS volume not meeting the performance needs of
its workloads. The higher the risk, the more likely the current EBS
volume doesn't have sufficient capacity.
$sel:finding:VolumeRecommendation'
, volumeRecommendation_finding
- The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.Optimized
—An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.
$sel:lastRefreshTimestamp:VolumeRecommendation'
, volumeRecommendation_lastRefreshTimestamp
- The timestamp of when the volume recommendation was last generated.
$sel:lookBackPeriodInDays:VolumeRecommendation'
, volumeRecommendation_lookBackPeriodInDays
- The number of days for which utilization metrics were analyzed for the
volume.
$sel:utilizationMetrics:VolumeRecommendation'
, volumeRecommendation_utilizationMetrics
- An array of objects that describe the utilization metrics of the volume.
$sel:volumeArn:VolumeRecommendation'
, volumeRecommendation_volumeArn
- The Amazon Resource Name (ARN) of the current volume.
$sel:volumeRecommendationOptions:VolumeRecommendation'
, volumeRecommendation_volumeRecommendationOptions
- An array of objects that describe the recommendation options for the
volume.
volumeRecommendation_accountId :: Lens' VolumeRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the volume.
volumeRecommendation_currentConfiguration :: Lens' VolumeRecommendation (Maybe VolumeConfiguration) Source #
An array of objects that describe the current configuration of the volume.
volumeRecommendation_currentPerformanceRisk :: Lens' VolumeRecommendation (Maybe CurrentPerformanceRisk) Source #
The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.
volumeRecommendation_finding :: Lens' VolumeRecommendation (Maybe EBSFinding) Source #
The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload.Optimized
—An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.
volumeRecommendation_lastRefreshTimestamp :: Lens' VolumeRecommendation (Maybe UTCTime) Source #
The timestamp of when the volume recommendation was last generated.
volumeRecommendation_lookBackPeriodInDays :: Lens' VolumeRecommendation (Maybe Double) Source #
The number of days for which utilization metrics were analyzed for the volume.
volumeRecommendation_utilizationMetrics :: Lens' VolumeRecommendation (Maybe [EBSUtilizationMetric]) Source #
An array of objects that describe the utilization metrics of the volume.
volumeRecommendation_volumeArn :: Lens' VolumeRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the current volume.
volumeRecommendation_volumeRecommendationOptions :: Lens' VolumeRecommendation (Maybe [VolumeRecommendationOption]) Source #
An array of objects that describe the recommendation options for the volume.
VolumeRecommendationOption
data VolumeRecommendationOption Source #
Describes a recommendation option for an Amazon Elastic Block Store (Amazon EBS) instance.
See: newVolumeRecommendationOption
smart constructor.
Constructors
VolumeRecommendationOption' | |
Fields
|
Instances
newVolumeRecommendationOption :: VolumeRecommendationOption Source #
Create a value of VolumeRecommendationOption
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:configuration:VolumeRecommendationOption'
, volumeRecommendationOption_configuration
- An array of objects that describe a volume configuration.
$sel:performanceRisk:VolumeRecommendationOption'
, volumeRecommendationOption_performanceRisk
- The performance risk of the volume recommendation option.
Performance risk is the likelihood of the recommended volume type meeting the performance requirement of your workload.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The
higher the performance risk is, the more likely you should validate
whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
$sel:rank:VolumeRecommendationOption'
, volumeRecommendationOption_rank
- The rank of the volume recommendation option.
The top recommendation option is ranked as 1
.
$sel:savingsOpportunity:VolumeRecommendationOption'
, volumeRecommendationOption_savingsOpportunity
- An object that describes the savings opportunity for the EBS volume
recommendation option. Savings opportunity includes the estimated
monthly savings amount and percentage.
volumeRecommendationOption_configuration :: Lens' VolumeRecommendationOption (Maybe VolumeConfiguration) Source #
An array of objects that describe a volume configuration.
volumeRecommendationOption_performanceRisk :: Lens' VolumeRecommendationOption (Maybe Double) Source #
The performance risk of the volume recommendation option.
Performance risk is the likelihood of the recommended volume type meeting the performance requirement of your workload.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The
higher the performance risk is, the more likely you should validate
whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
volumeRecommendationOption_rank :: Lens' VolumeRecommendationOption (Maybe Int) Source #
The rank of the volume recommendation option.
The top recommendation option is ranked as 1
.
volumeRecommendationOption_savingsOpportunity :: Lens' VolumeRecommendationOption (Maybe SavingsOpportunity) Source #
An object that describes the savings opportunity for the EBS volume recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.