| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.ComputeOptimizer.Types
Contents
- Service Configuration
- Errors
- CpuVendorArchitecture
- EBSFilterName
- EBSFinding
- EBSMetricName
- EnrollmentFilterName
- ExportableAutoScalingGroupField
- ExportableInstanceField
- ExportableLambdaFunctionField
- ExportableVolumeField
- FileFormat
- FilterName
- Finding
- FindingReasonCode
- InstanceRecommendationFindingReasonCode
- JobFilterName
- JobStatus
- LambdaFunctionMemoryMetricName
- LambdaFunctionMemoryMetricStatistic
- LambdaFunctionMetricName
- LambdaFunctionMetricStatistic
- LambdaFunctionRecommendationFilterName
- LambdaFunctionRecommendationFinding
- LambdaFunctionRecommendationFindingReasonCode
- MetricName
- MetricStatistic
- PlatformDifference
- RecommendationSourceType
- ResourceType
- Status
- AccountEnrollmentStatus
- AutoScalingGroupConfiguration
- AutoScalingGroupRecommendation
- AutoScalingGroupRecommendationOption
- EBSFilter
- EBSUtilizationMetric
- EnrollmentFilter
- ExportDestination
- Filter
- GetRecommendationError
- InstanceRecommendation
- InstanceRecommendationOption
- JobFilter
- LambdaFunctionMemoryProjectedMetric
- LambdaFunctionMemoryRecommendationOption
- LambdaFunctionRecommendation
- LambdaFunctionRecommendationFilter
- LambdaFunctionUtilizationMetric
- ProjectedMetric
- ReasonCodeSummary
- RecommendationExportJob
- RecommendationPreferences
- RecommendationSource
- RecommendationSummary
- RecommendedOptionProjectedMetric
- S3Destination
- S3DestinationConfig
- Summary
- UtilizationMetric
- VolumeConfiguration
- VolumeRecommendation
- VolumeRecommendationOption
Description
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _OptInRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError
- _MissingAuthenticationToken :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype CpuVendorArchitecture 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 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_CurrentStandardOneYearNoUpfrontReservedPrice :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentStandardThreeYearNoUpfrontReservedPrice :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentStorage :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_CurrentVCpus :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_Finding :: 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_RecommendationOptionsMemory :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsNetwork :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsOnDemandPrice :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsPerformanceRisk :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsProjectedUtilizationMetricsCpuMaximum :: ExportableAutoScalingGroupField
- pattern ExportableAutoScalingGroupField_RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum :: 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 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_CurrentStandardOneYearNoUpfrontReservedPrice :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentStandardThreeYearNoUpfrontReservedPrice :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentStorage :: ExportableInstanceField
- pattern ExportableInstanceField_CurrentVCpus :: ExportableInstanceField
- pattern ExportableInstanceField_Finding :: ExportableInstanceField
- pattern ExportableInstanceField_FindingReasonCodes :: ExportableInstanceField
- pattern ExportableInstanceField_InstanceArn :: ExportableInstanceField
- pattern ExportableInstanceField_InstanceName :: ExportableInstanceField
- pattern ExportableInstanceField_LastRefreshTimestamp :: ExportableInstanceField
- pattern ExportableInstanceField_LookbackPeriodInDays :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsInstanceType :: ExportableInstanceField
- pattern ExportableInstanceField_RecommendationOptionsMemory :: 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_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_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_RecommendationOptionsProjectedUtilizationMetricsDurationExpected :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound :: ExportableLambdaFunctionField
- pattern ExportableLambdaFunctionField_RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound :: 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_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_RecommendationOptionsMonthlyPrice :: ExportableVolumeField
- pattern ExportableVolumeField_RecommendationOptionsPerformanceRisk :: ExportableVolumeField
- pattern ExportableVolumeField_UtilizationMetricsVolumeReadBytesPerSecondMaximum :: ExportableVolumeField
- pattern ExportableVolumeField_UtilizationMetricsVolumeReadOpsPerSecondMaximum :: ExportableVolumeField
- pattern ExportableVolumeField_UtilizationMetricsVolumeWriteBytesPerSecondMaximum :: ExportableVolumeField
- pattern ExportableVolumeField_UtilizationMetricsVolumeWriteOpsPerSecondMaximum :: ExportableVolumeField
- pattern ExportableVolumeField_VolumeArn :: ExportableVolumeField
- 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 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 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 RecommendationSourceType where
- RecommendationSourceType' { }
- pattern RecommendationSourceType_AutoScalingGroup :: RecommendationSourceType
- pattern RecommendationSourceType_EbsVolume :: RecommendationSourceType
- pattern RecommendationSourceType_Ec2Instance :: RecommendationSourceType
- pattern RecommendationSourceType_LambdaFunction :: RecommendationSourceType
- newtype ResourceType where
- ResourceType' { }
- pattern ResourceType_AutoScalingGroup :: ResourceType
- pattern ResourceType_EbsVolume :: ResourceType
- pattern ResourceType_Ec2Instance :: ResourceType
- pattern ResourceType_LambdaFunction :: ResourceType
- 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_status :: Lens' AccountEnrollmentStatus (Maybe Status)
- accountEnrollmentStatus_accountId :: Lens' AccountEnrollmentStatus (Maybe Text)
- accountEnrollmentStatus_statusReason :: Lens' AccountEnrollmentStatus (Maybe Text)
- accountEnrollmentStatus_lastUpdatedTimestamp :: Lens' AccountEnrollmentStatus (Maybe UTCTime)
- data AutoScalingGroupConfiguration = AutoScalingGroupConfiguration' {}
- newAutoScalingGroupConfiguration :: AutoScalingGroupConfiguration
- autoScalingGroupConfiguration_maxSize :: Lens' AutoScalingGroupConfiguration (Maybe Int)
- autoScalingGroupConfiguration_instanceType :: Lens' AutoScalingGroupConfiguration (Maybe Text)
- autoScalingGroupConfiguration_desiredCapacity :: Lens' AutoScalingGroupConfiguration (Maybe Int)
- autoScalingGroupConfiguration_minSize :: Lens' AutoScalingGroupConfiguration (Maybe Int)
- data AutoScalingGroupRecommendation = AutoScalingGroupRecommendation' {
- finding :: Maybe Finding
- lastRefreshTimestamp :: Maybe POSIX
- currentConfiguration :: Maybe AutoScalingGroupConfiguration
- accountId :: Maybe Text
- autoScalingGroupName :: Maybe Text
- utilizationMetrics :: Maybe [UtilizationMetric]
- autoScalingGroupArn :: Maybe Text
- recommendationOptions :: Maybe [AutoScalingGroupRecommendationOption]
- lookBackPeriodInDays :: Maybe Double
- newAutoScalingGroupRecommendation :: AutoScalingGroupRecommendation
- autoScalingGroupRecommendation_finding :: Lens' AutoScalingGroupRecommendation (Maybe Finding)
- autoScalingGroupRecommendation_lastRefreshTimestamp :: Lens' AutoScalingGroupRecommendation (Maybe UTCTime)
- autoScalingGroupRecommendation_currentConfiguration :: Lens' AutoScalingGroupRecommendation (Maybe AutoScalingGroupConfiguration)
- autoScalingGroupRecommendation_accountId :: Lens' AutoScalingGroupRecommendation (Maybe Text)
- autoScalingGroupRecommendation_autoScalingGroupName :: Lens' AutoScalingGroupRecommendation (Maybe Text)
- autoScalingGroupRecommendation_utilizationMetrics :: Lens' AutoScalingGroupRecommendation (Maybe [UtilizationMetric])
- autoScalingGroupRecommendation_autoScalingGroupArn :: Lens' AutoScalingGroupRecommendation (Maybe Text)
- autoScalingGroupRecommendation_recommendationOptions :: Lens' AutoScalingGroupRecommendation (Maybe [AutoScalingGroupRecommendationOption])
- autoScalingGroupRecommendation_lookBackPeriodInDays :: Lens' AutoScalingGroupRecommendation (Maybe Double)
- data AutoScalingGroupRecommendationOption = AutoScalingGroupRecommendationOption' {}
- newAutoScalingGroupRecommendationOption :: AutoScalingGroupRecommendationOption
- autoScalingGroupRecommendationOption_performanceRisk :: Lens' AutoScalingGroupRecommendationOption (Maybe Double)
- autoScalingGroupRecommendationOption_projectedUtilizationMetrics :: Lens' AutoScalingGroupRecommendationOption (Maybe [UtilizationMetric])
- autoScalingGroupRecommendationOption_configuration :: Lens' AutoScalingGroupRecommendationOption (Maybe AutoScalingGroupConfiguration)
- autoScalingGroupRecommendationOption_rank :: Lens' AutoScalingGroupRecommendationOption (Maybe Int)
- data EBSFilter = EBSFilter' {}
- newEBSFilter :: EBSFilter
- eBSFilter_values :: Lens' EBSFilter (Maybe [Text])
- eBSFilter_name :: Lens' EBSFilter (Maybe EBSFilterName)
- data EBSUtilizationMetric = EBSUtilizationMetric' {}
- newEBSUtilizationMetric :: EBSUtilizationMetric
- eBSUtilizationMetric_value :: Lens' EBSUtilizationMetric (Maybe Double)
- eBSUtilizationMetric_name :: Lens' EBSUtilizationMetric (Maybe EBSMetricName)
- eBSUtilizationMetric_statistic :: Lens' EBSUtilizationMetric (Maybe MetricStatistic)
- data EnrollmentFilter = EnrollmentFilter' {}
- newEnrollmentFilter :: EnrollmentFilter
- enrollmentFilter_values :: Lens' EnrollmentFilter (Maybe [Text])
- enrollmentFilter_name :: Lens' EnrollmentFilter (Maybe EnrollmentFilterName)
- data ExportDestination = ExportDestination' {
- s3 :: Maybe S3Destination
- newExportDestination :: ExportDestination
- exportDestination_s3 :: Lens' ExportDestination (Maybe S3Destination)
- data Filter = Filter' {}
- newFilter :: Filter
- filter_values :: Lens' Filter (Maybe [Text])
- filter_name :: Lens' Filter (Maybe FilterName)
- data GetRecommendationError = GetRecommendationError' {}
- newGetRecommendationError :: GetRecommendationError
- getRecommendationError_identifier :: Lens' GetRecommendationError (Maybe Text)
- getRecommendationError_code :: Lens' GetRecommendationError (Maybe Text)
- getRecommendationError_message :: Lens' GetRecommendationError (Maybe Text)
- data InstanceRecommendation = InstanceRecommendation' {
- instanceArn :: Maybe Text
- finding :: Maybe Finding
- currentInstanceType :: Maybe Text
- lastRefreshTimestamp :: Maybe POSIX
- accountId :: Maybe Text
- findingReasonCodes :: Maybe [InstanceRecommendationFindingReasonCode]
- recommendationSources :: Maybe [RecommendationSource]
- utilizationMetrics :: Maybe [UtilizationMetric]
- instanceName :: Maybe Text
- recommendationOptions :: Maybe [InstanceRecommendationOption]
- lookBackPeriodInDays :: Maybe Double
- newInstanceRecommendation :: InstanceRecommendation
- instanceRecommendation_instanceArn :: Lens' InstanceRecommendation (Maybe Text)
- instanceRecommendation_finding :: Lens' InstanceRecommendation (Maybe Finding)
- instanceRecommendation_currentInstanceType :: Lens' InstanceRecommendation (Maybe Text)
- instanceRecommendation_lastRefreshTimestamp :: Lens' InstanceRecommendation (Maybe UTCTime)
- instanceRecommendation_accountId :: Lens' InstanceRecommendation (Maybe Text)
- instanceRecommendation_findingReasonCodes :: Lens' InstanceRecommendation (Maybe [InstanceRecommendationFindingReasonCode])
- instanceRecommendation_recommendationSources :: Lens' InstanceRecommendation (Maybe [RecommendationSource])
- instanceRecommendation_utilizationMetrics :: Lens' InstanceRecommendation (Maybe [UtilizationMetric])
- instanceRecommendation_instanceName :: Lens' InstanceRecommendation (Maybe Text)
- instanceRecommendation_recommendationOptions :: Lens' InstanceRecommendation (Maybe [InstanceRecommendationOption])
- instanceRecommendation_lookBackPeriodInDays :: Lens' InstanceRecommendation (Maybe Double)
- data InstanceRecommendationOption = InstanceRecommendationOption' {}
- newInstanceRecommendationOption :: InstanceRecommendationOption
- instanceRecommendationOption_platformDifferences :: Lens' InstanceRecommendationOption (Maybe [PlatformDifference])
- instanceRecommendationOption_performanceRisk :: Lens' InstanceRecommendationOption (Maybe Double)
- instanceRecommendationOption_projectedUtilizationMetrics :: Lens' InstanceRecommendationOption (Maybe [UtilizationMetric])
- instanceRecommendationOption_instanceType :: Lens' InstanceRecommendationOption (Maybe Text)
- instanceRecommendationOption_rank :: Lens' InstanceRecommendationOption (Maybe Int)
- data JobFilter = JobFilter' {}
- newJobFilter :: JobFilter
- jobFilter_values :: Lens' JobFilter (Maybe [Text])
- jobFilter_name :: Lens' JobFilter (Maybe JobFilterName)
- data LambdaFunctionMemoryProjectedMetric = LambdaFunctionMemoryProjectedMetric' {}
- newLambdaFunctionMemoryProjectedMetric :: LambdaFunctionMemoryProjectedMetric
- lambdaFunctionMemoryProjectedMetric_value :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe Double)
- lambdaFunctionMemoryProjectedMetric_name :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe LambdaFunctionMemoryMetricName)
- lambdaFunctionMemoryProjectedMetric_statistic :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe LambdaFunctionMemoryMetricStatistic)
- data LambdaFunctionMemoryRecommendationOption = LambdaFunctionMemoryRecommendationOption' {}
- newLambdaFunctionMemoryRecommendationOption :: LambdaFunctionMemoryRecommendationOption
- lambdaFunctionMemoryRecommendationOption_memorySize :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int)
- lambdaFunctionMemoryRecommendationOption_projectedUtilizationMetrics :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe [LambdaFunctionMemoryProjectedMetric])
- lambdaFunctionMemoryRecommendationOption_rank :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int)
- data LambdaFunctionRecommendation = LambdaFunctionRecommendation' {
- functionArn :: Maybe Text
- finding :: Maybe LambdaFunctionRecommendationFinding
- currentMemorySize :: Maybe Int
- lastRefreshTimestamp :: Maybe POSIX
- accountId :: Maybe Text
- findingReasonCodes :: Maybe [LambdaFunctionRecommendationFindingReasonCode]
- utilizationMetrics :: Maybe [LambdaFunctionUtilizationMetric]
- memorySizeRecommendationOptions :: Maybe [LambdaFunctionMemoryRecommendationOption]
- functionVersion :: Maybe Text
- numberOfInvocations :: Maybe Integer
- lookbackPeriodInDays :: Maybe Double
- newLambdaFunctionRecommendation :: LambdaFunctionRecommendation
- lambdaFunctionRecommendation_functionArn :: Lens' LambdaFunctionRecommendation (Maybe Text)
- lambdaFunctionRecommendation_finding :: Lens' LambdaFunctionRecommendation (Maybe LambdaFunctionRecommendationFinding)
- lambdaFunctionRecommendation_currentMemorySize :: Lens' LambdaFunctionRecommendation (Maybe Int)
- lambdaFunctionRecommendation_lastRefreshTimestamp :: Lens' LambdaFunctionRecommendation (Maybe UTCTime)
- lambdaFunctionRecommendation_accountId :: Lens' LambdaFunctionRecommendation (Maybe Text)
- lambdaFunctionRecommendation_findingReasonCodes :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionRecommendationFindingReasonCode])
- lambdaFunctionRecommendation_utilizationMetrics :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionUtilizationMetric])
- lambdaFunctionRecommendation_memorySizeRecommendationOptions :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionMemoryRecommendationOption])
- lambdaFunctionRecommendation_functionVersion :: Lens' LambdaFunctionRecommendation (Maybe Text)
- lambdaFunctionRecommendation_numberOfInvocations :: Lens' LambdaFunctionRecommendation (Maybe Integer)
- lambdaFunctionRecommendation_lookbackPeriodInDays :: Lens' LambdaFunctionRecommendation (Maybe Double)
- data LambdaFunctionRecommendationFilter = LambdaFunctionRecommendationFilter' {}
- newLambdaFunctionRecommendationFilter :: LambdaFunctionRecommendationFilter
- lambdaFunctionRecommendationFilter_values :: Lens' LambdaFunctionRecommendationFilter (Maybe [Text])
- lambdaFunctionRecommendationFilter_name :: Lens' LambdaFunctionRecommendationFilter (Maybe LambdaFunctionRecommendationFilterName)
- data LambdaFunctionUtilizationMetric = LambdaFunctionUtilizationMetric' {}
- newLambdaFunctionUtilizationMetric :: LambdaFunctionUtilizationMetric
- lambdaFunctionUtilizationMetric_value :: Lens' LambdaFunctionUtilizationMetric (Maybe Double)
- lambdaFunctionUtilizationMetric_name :: Lens' LambdaFunctionUtilizationMetric (Maybe LambdaFunctionMetricName)
- lambdaFunctionUtilizationMetric_statistic :: Lens' LambdaFunctionUtilizationMetric (Maybe LambdaFunctionMetricStatistic)
- data ProjectedMetric = ProjectedMetric' {
- values :: Maybe [Double]
- name :: Maybe MetricName
- timestamps :: Maybe [POSIX]
- newProjectedMetric :: ProjectedMetric
- projectedMetric_values :: Lens' ProjectedMetric (Maybe [Double])
- projectedMetric_name :: Lens' ProjectedMetric (Maybe MetricName)
- projectedMetric_timestamps :: Lens' ProjectedMetric (Maybe [UTCTime])
- data ReasonCodeSummary = ReasonCodeSummary' {}
- newReasonCodeSummary :: ReasonCodeSummary
- reasonCodeSummary_value :: Lens' ReasonCodeSummary (Maybe Double)
- reasonCodeSummary_name :: Lens' ReasonCodeSummary (Maybe FindingReasonCode)
- data RecommendationExportJob = RecommendationExportJob' {}
- newRecommendationExportJob :: RecommendationExportJob
- recommendationExportJob_failureReason :: Lens' RecommendationExportJob (Maybe Text)
- recommendationExportJob_destination :: Lens' RecommendationExportJob (Maybe ExportDestination)
- recommendationExportJob_status :: Lens' RecommendationExportJob (Maybe JobStatus)
- recommendationExportJob_jobId :: Lens' RecommendationExportJob (Maybe Text)
- recommendationExportJob_resourceType :: Lens' RecommendationExportJob (Maybe ResourceType)
- recommendationExportJob_creationTimestamp :: Lens' RecommendationExportJob (Maybe UTCTime)
- recommendationExportJob_lastUpdatedTimestamp :: Lens' RecommendationExportJob (Maybe UTCTime)
- data RecommendationPreferences = RecommendationPreferences' {}
- newRecommendationPreferences :: RecommendationPreferences
- recommendationPreferences_cpuVendorArchitectures :: Lens' RecommendationPreferences (Maybe [CpuVendorArchitecture])
- 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_summaries :: Lens' RecommendationSummary (Maybe [Summary])
- recommendationSummary_recommendationResourceType :: Lens' RecommendationSummary (Maybe RecommendationSourceType)
- data RecommendedOptionProjectedMetric = RecommendedOptionProjectedMetric' {}
- newRecommendedOptionProjectedMetric :: RecommendedOptionProjectedMetric
- recommendedOptionProjectedMetric_recommendedInstanceType :: Lens' RecommendedOptionProjectedMetric (Maybe Text)
- recommendedOptionProjectedMetric_projectedMetrics :: Lens' RecommendedOptionProjectedMetric (Maybe [ProjectedMetric])
- recommendedOptionProjectedMetric_rank :: Lens' RecommendedOptionProjectedMetric (Maybe Int)
- 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 Summary = Summary' {}
- newSummary :: Summary
- summary_reasonCodeSummaries :: Lens' Summary (Maybe [ReasonCodeSummary])
- summary_value :: Lens' Summary (Maybe Double)
- summary_name :: Lens' Summary (Maybe Finding)
- data UtilizationMetric = UtilizationMetric' {}
- newUtilizationMetric :: UtilizationMetric
- utilizationMetric_value :: Lens' UtilizationMetric (Maybe Double)
- utilizationMetric_name :: Lens' UtilizationMetric (Maybe MetricName)
- utilizationMetric_statistic :: Lens' UtilizationMetric (Maybe MetricStatistic)
- data VolumeConfiguration = VolumeConfiguration' {}
- newVolumeConfiguration :: VolumeConfiguration
- volumeConfiguration_volumeSize :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_volumeBaselineIOPS :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_volumeBurstIOPS :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_volumeType :: Lens' VolumeConfiguration (Maybe Text)
- volumeConfiguration_volumeBurstThroughput :: Lens' VolumeConfiguration (Maybe Int)
- volumeConfiguration_volumeBaselineThroughput :: Lens' VolumeConfiguration (Maybe Int)
- data VolumeRecommendation = VolumeRecommendation' {
- finding :: Maybe EBSFinding
- volumeArn :: Maybe Text
- lastRefreshTimestamp :: Maybe POSIX
- currentConfiguration :: Maybe VolumeConfiguration
- accountId :: Maybe Text
- utilizationMetrics :: Maybe [EBSUtilizationMetric]
- volumeRecommendationOptions :: Maybe [VolumeRecommendationOption]
- lookBackPeriodInDays :: Maybe Double
- newVolumeRecommendation :: VolumeRecommendation
- volumeRecommendation_finding :: Lens' VolumeRecommendation (Maybe EBSFinding)
- volumeRecommendation_volumeArn :: Lens' VolumeRecommendation (Maybe Text)
- volumeRecommendation_lastRefreshTimestamp :: Lens' VolumeRecommendation (Maybe UTCTime)
- volumeRecommendation_currentConfiguration :: Lens' VolumeRecommendation (Maybe VolumeConfiguration)
- volumeRecommendation_accountId :: Lens' VolumeRecommendation (Maybe Text)
- volumeRecommendation_utilizationMetrics :: Lens' VolumeRecommendation (Maybe [EBSUtilizationMetric])
- volumeRecommendation_volumeRecommendationOptions :: Lens' VolumeRecommendation (Maybe [VolumeRecommendationOption])
- volumeRecommendation_lookBackPeriodInDays :: Lens' VolumeRecommendation (Maybe Double)
- data VolumeRecommendationOption = VolumeRecommendationOption' {}
- newVolumeRecommendationOption :: VolumeRecommendationOption
- volumeRecommendationOption_performanceRisk :: Lens' VolumeRecommendationOption (Maybe Double)
- volumeRecommendationOption_configuration :: Lens' VolumeRecommendationOption (Maybe VolumeConfiguration)
- volumeRecommendationOption_rank :: Lens' VolumeRecommendationOption (Maybe Int)
Service Configuration
defaultService :: Service Source #
API version 2019-11-01 of the Amazon Compute Optimizer SDK configuration.
Errors
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have sufficient access to perform this action.
_OptInRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The account is not opted in to Compute Optimizer.
_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The value supplied for the input parameter is out of range or not valid.
_MissingAuthenticationToken :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was denied due to request throttling.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An internal error has occurred. Try your call again.
_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request has failed due to a temporary failure of the server.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A resource that is required for the action doesn't exist.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request exceeds a limit of the service.
CpuVendorArchitecture
newtype CpuVendorArchitecture Source #
Constructors
| CpuVendorArchitecture' | |
Fields | |
Bundled Patterns
| pattern CpuVendorArchitecture_AWS_ARM64 :: CpuVendorArchitecture | |
| pattern CpuVendorArchitecture_CURRENT :: CpuVendorArchitecture |
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
EnrollmentFilterName
newtype EnrollmentFilterName Source #
Constructors
| EnrollmentFilterName' | |
Fields | |
Bundled Patterns
| pattern EnrollmentFilterName_Status :: EnrollmentFilterName |
Instances
ExportableAutoScalingGroupField
newtype ExportableAutoScalingGroupField Source #
Constructors
| ExportableAutoScalingGroupField' | |
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
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
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
PlatformDifference
newtype PlatformDifference Source #
Constructors
| PlatformDifference' | |
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_LambdaFunction :: ResourceType |
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:status:AccountEnrollmentStatus', accountEnrollmentStatus_status - The account enrollment status.
$sel:accountId:AccountEnrollmentStatus', accountEnrollmentStatus_accountId - The Amazon Web Services account ID.
$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.
$sel:lastUpdatedTimestamp:AccountEnrollmentStatus', accountEnrollmentStatus_lastUpdatedTimestamp - 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_accountId :: Lens' AccountEnrollmentStatus (Maybe Text) Source #
The Amazon Web Services account ID.
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.
accountEnrollmentStatus_lastUpdatedTimestamp :: Lens' AccountEnrollmentStatus (Maybe UTCTime) Source #
The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
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:maxSize:AutoScalingGroupConfiguration', autoScalingGroupConfiguration_maxSize - The maximum size, or maximum number of instances, for the Auto Scaling
group.
$sel:instanceType:AutoScalingGroupConfiguration', autoScalingGroupConfiguration_instanceType - The instance type for the Auto Scaling group.
$sel:desiredCapacity:AutoScalingGroupConfiguration', autoScalingGroupConfiguration_desiredCapacity - The desired capacity, or 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_maxSize :: Lens' AutoScalingGroupConfiguration (Maybe Int) Source #
The maximum size, or maximum number of instances, for the Auto Scaling group.
autoScalingGroupConfiguration_instanceType :: Lens' AutoScalingGroupConfiguration (Maybe Text) Source #
The instance type 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_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: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.
$sel:lastRefreshTimestamp:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_lastRefreshTimestamp - The timestamp of when the Auto Scaling group recommendation was last
refreshed.
$sel:currentConfiguration:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_currentConfiguration - An array of objects that describe the current configuration of the Auto
Scaling group.
$sel:accountId:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_accountId - The Amazon Web Services account ID of the Auto Scaling group.
$sel:autoScalingGroupName:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_autoScalingGroupName - The name of the Auto Scaling group.
$sel:utilizationMetrics:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_utilizationMetrics - An array of objects that describe the utilization metrics of the Auto
Scaling group.
$sel:autoScalingGroupArn:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_autoScalingGroupArn - The Amazon Resource Name (ARN) of the Auto Scaling group.
$sel:recommendationOptions:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_recommendationOptions - An array of objects that describe the recommendation options for the
Auto Scaling group.
$sel:lookBackPeriodInDays:AutoScalingGroupRecommendation', autoScalingGroupRecommendation_lookBackPeriodInDays - The number of days for which utilization metrics were analyzed 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_lastRefreshTimestamp :: Lens' AutoScalingGroupRecommendation (Maybe UTCTime) Source #
The timestamp of when the Auto Scaling group recommendation was last refreshed.
autoScalingGroupRecommendation_currentConfiguration :: Lens' AutoScalingGroupRecommendation (Maybe AutoScalingGroupConfiguration) Source #
An array of objects that describe the current configuration of the Auto Scaling group.
autoScalingGroupRecommendation_accountId :: Lens' AutoScalingGroupRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the Auto Scaling group.
autoScalingGroupRecommendation_autoScalingGroupName :: Lens' AutoScalingGroupRecommendation (Maybe Text) Source #
The name of 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.
autoScalingGroupRecommendation_autoScalingGroupArn :: Lens' AutoScalingGroupRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of 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_lookBackPeriodInDays :: Lens' AutoScalingGroupRecommendation (Maybe Double) Source #
The number of days for which utilization metrics were analyzed for 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: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:configuration:AutoScalingGroupRecommendationOption', autoScalingGroupRecommendationOption_configuration - An array of objects that describe an Auto Scaling group configuration.
$sel:rank:AutoScalingGroupRecommendationOption', autoScalingGroupRecommendationOption_rank - The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1.
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_configuration :: Lens' AutoScalingGroupRecommendationOption (Maybe AutoScalingGroupConfiguration) Source #
An array of objects that describe an Auto Scaling group configuration.
autoScalingGroupRecommendationOption_rank :: Lens' AutoScalingGroupRecommendationOption (Maybe Int) Source #
The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1.
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
| Eq EBSFilter Source # | |
| Read EBSFilter Source # | |
| Show EBSFilter Source # | |
| Generic EBSFilter Source # | |
| NFData EBSFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.EBSFilter | |
| Hashable EBSFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.EBSFilter | |
| ToJSON 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" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "EBSFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EBSFilterName)))) | |
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:values:EBSFilter', eBSFilter_values - The value of the filter.
The valid values are Optimized, or NotOptimized.
$sel:name:EBSFilter', eBSFilter_name - 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.
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).
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:value:EBSUtilizationMetric', eBSUtilizationMetric_value - The value of the utilization metric.
$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.
eBSUtilizationMetric_value :: Lens' EBSUtilizationMetric (Maybe Double) Source #
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.
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:values:EnrollmentFilter', enrollmentFilter_values - The value of the filter.
The valid values are Active, Inactive, Pending, and Failed.
$sel:name:EnrollmentFilter', enrollmentFilter_name - 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.
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).
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.
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
| Eq Filter Source # | |
| Read Filter Source # | |
| Show Filter Source # | |
| Generic Filter Source # | |
| NFData Filter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Filter | |
| Hashable Filter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Filter | |
| ToJSON 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" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilterName)))) | |
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: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
OptimizedorNotOptimizedif you specify thenameparameter asFindingand you want to filter results for Auto Scaling groups. - Specify
Underprovisioned,Overprovisioned, orOptimizedif you specify thenameparameter asFindingand you want to filter results for EC2 instances. - Specify
Ec2InstanceorAutoScalingGroupif you specify thenameparameter asRecommendationSourceType. Specify one of the following options if you specify the
nameparameter 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 theNetworkInorNetworkOutperformance 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.
$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).
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
OptimizedorNotOptimizedif you specify thenameparameter asFindingand you want to filter results for Auto Scaling groups. - Specify
Underprovisioned,Overprovisioned, orOptimizedif you specify thenameparameter asFindingand you want to filter results for EC2 instances. - Specify
Ec2InstanceorAutoScalingGroupif you specify thenameparameter asRecommendationSourceType. Specify one of the following options if you specify the
nameparameter 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 theNetworkInorNetworkOutperformance 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).
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:identifier:GetRecommendationError', getRecommendationError_identifier - The ID of the error.
$sel:code:GetRecommendationError', getRecommendationError_code - The error code.
$sel:message:GetRecommendationError', getRecommendationError_message - The message, or reason, for the error.
getRecommendationError_identifier :: Lens' GetRecommendationError (Maybe Text) Source #
The ID of the error.
getRecommendationError_code :: Lens' GetRecommendationError (Maybe Text) Source #
The error code.
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:instanceArn:InstanceRecommendation', instanceRecommendation_instanceArn - The Amazon Resource Name (ARN) of the current 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:currentInstanceType:InstanceRecommendation', instanceRecommendation_currentInstanceType - The instance type of the current instance.
$sel:lastRefreshTimestamp:InstanceRecommendation', instanceRecommendation_lastRefreshTimestamp - The timestamp of when the instance recommendation was last refreshed.
$sel:accountId:InstanceRecommendation', instanceRecommendation_accountId - The Amazon Web Services account ID of the instance.
$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 theCPUUtilizationmetric 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 theCPUUtilizationmetric 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_percentmetric in theCWAgentnamespace, or the legacyMemoryUtilizationmetric in theSystem/Linuxnamespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Usemetric in theCWAgentnamespace.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 theVolumeReadOpsandVolumeWriteOpsmetrics 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 theVolumeReadOpsandVolumeWriteOpsmetrics 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 theVolumeReadBytesandVolumeWriteBytesmetric 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 theVolumeReadBytesandVolumeWriteBytesmetric 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 theNetworkInandNetworkOutmetrics 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 theNetworkInandNetworkOutmetrics of the current instance during the look-back period. This finding reason happens when theNetworkInorNetworkOutperformance 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 theNetworkPacketsInandNetworkPacketsInmetrics 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 theNetworkPacketsInandNetworkPacketsInmetrics 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 theDiskReadOpsandDiskWriteOpsmetrics 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 theDiskReadOpsandDiskWriteOpsmetrics 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 theDiskReadBytesandDiskWriteBytesmetrics 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 theDiskReadBytesandDiskWriteBytesmetrics 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.
$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.
$sel:instanceName:InstanceRecommendation', instanceRecommendation_instanceName - The name of the current instance.
$sel:recommendationOptions:InstanceRecommendation', instanceRecommendation_recommendationOptions - An array of objects that describe the recommendation options for the
instance.
$sel:lookBackPeriodInDays:InstanceRecommendation', instanceRecommendation_lookBackPeriodInDays - The number of days for which utilization metrics were analyzed for the
instance.
instanceRecommendation_instanceArn :: Lens' InstanceRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the current 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_currentInstanceType :: Lens' InstanceRecommendation (Maybe Text) Source #
The instance type of the current instance.
instanceRecommendation_lastRefreshTimestamp :: Lens' InstanceRecommendation (Maybe UTCTime) Source #
The timestamp of when the instance recommendation was last refreshed.
instanceRecommendation_accountId :: Lens' InstanceRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the instance.
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 theCPUUtilizationmetric 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 theCPUUtilizationmetric 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_percentmetric in theCWAgentnamespace, or the legacyMemoryUtilizationmetric in theSystem/Linuxnamespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Usemetric in theCWAgentnamespace.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 theVolumeReadOpsandVolumeWriteOpsmetrics 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 theVolumeReadOpsandVolumeWriteOpsmetrics 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 theVolumeReadBytesandVolumeWriteBytesmetric 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 theVolumeReadBytesandVolumeWriteBytesmetric 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 theNetworkInandNetworkOutmetrics 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 theNetworkInandNetworkOutmetrics of the current instance during the look-back period. This finding reason happens when theNetworkInorNetworkOutperformance 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 theNetworkPacketsInandNetworkPacketsInmetrics 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 theNetworkPacketsInandNetworkPacketsInmetrics 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 theDiskReadOpsandDiskWriteOpsmetrics 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 theDiskReadOpsandDiskWriteOpsmetrics 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 theDiskReadBytesandDiskWriteBytesmetrics 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 theDiskReadBytesandDiskWriteBytesmetrics 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_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.
instanceRecommendation_instanceName :: Lens' InstanceRecommendation (Maybe Text) Source #
The name of the current instance.
instanceRecommendation_recommendationOptions :: Lens' InstanceRecommendation (Maybe [InstanceRecommendationOption]) Source #
An array of objects that describe the recommendation options for the instance.
instanceRecommendation_lookBackPeriodInDays :: Lens' InstanceRecommendation (Maybe Double) Source #
The number of days for which utilization metrics were analyzed for 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: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: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: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:instanceType:InstanceRecommendationOption', instanceRecommendationOption_instanceType - The instance type of the instance recommendation.
$sel:rank:InstanceRecommendationOption', instanceRecommendationOption_rank - The rank of the instance recommendation option.
The top recommendation option is ranked as 1.
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_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_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_instanceType :: Lens' InstanceRecommendationOption (Maybe Text) Source #
The instance type of the instance recommendation.
instanceRecommendationOption_rank :: Lens' InstanceRecommendationOption (Maybe Int) Source #
The rank of the instance recommendation option.
The top recommendation option is ranked as 1.
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
| Eq JobFilter Source # | |
| Read JobFilter Source # | |
| Show JobFilter Source # | |
| Generic JobFilter Source # | |
| NFData JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter | |
| Hashable JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter | |
| ToJSON 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" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "JobFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobFilterName)))) | |
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: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
Ec2InstanceorAutoScalingGroupif you specify thenameparameter asResourceType. There is no filter for EBS volumes because volume recommendations cannot be exported at this time. - Specify
Queued,InProgress,Complete, orFailedif you specify thenameparameter asJobStatus.
$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).
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
Ec2InstanceorAutoScalingGroupif you specify thenameparameter asResourceType. There is no filter for EBS volumes because volume recommendations cannot be exported at this time. - Specify
Queued,InProgress,Complete, orFailedif you specify thenameparameter 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).
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:value:LambdaFunctionMemoryProjectedMetric', lambdaFunctionMemoryProjectedMetric_value - The values of the projected utilization metrics.
$sel:name:LambdaFunctionMemoryProjectedMetric', lambdaFunctionMemoryProjectedMetric_name - The name of the projected utilization metric.
$sel:statistic:LambdaFunctionMemoryProjectedMetric', lambdaFunctionMemoryProjectedMetric_statistic - The statistic of the projected utilization metric.
lambdaFunctionMemoryProjectedMetric_value :: Lens' LambdaFunctionMemoryProjectedMetric (Maybe Double) Source #
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.
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.
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.
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:functionArn:LambdaFunctionRecommendation', lambdaFunctionRecommendation_functionArn - The Amazon Resource Name (ARN) of the current function.
$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 theMemoryUnderprovisionedandMemoryUnderprovisionedfinding 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 theInsufficientDataandInconclusivefinding reason codes.Functions with a finding of unavailable are not returned unless you specify the
filterparameter with a value ofUnavailablein yourGetLambdaFunctionRecommendationsrequest.
$sel:currentMemorySize:LambdaFunctionRecommendation', lambdaFunctionRecommendation_currentMemorySize - The amount of memory, in MB, that's allocated to the current function.
$sel:lastRefreshTimestamp:LambdaFunctionRecommendation', lambdaFunctionRecommendation_lastRefreshTimestamp - The timestamp of when the function recommendation was last refreshed.
$sel:accountId:LambdaFunctionRecommendation', lambdaFunctionRecommendation_accountId - The Amazon Web Services account ID of the function.
$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 theNotOptimizedfinding 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 theNotOptimizedfinding 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 theUnavailablefinding 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 theUnavailablefinding classification.
$sel:utilizationMetrics:LambdaFunctionRecommendation', lambdaFunctionRecommendation_utilizationMetrics - An array of objects that describe the utilization metrics of the
function.
$sel:memorySizeRecommendationOptions:LambdaFunctionRecommendation', lambdaFunctionRecommendation_memorySizeRecommendationOptions - An array of objects that describe the memory configuration
recommendation options for the function.
$sel:functionVersion:LambdaFunctionRecommendation', lambdaFunctionRecommendation_functionVersion - The version number of the current function.
$sel:numberOfInvocations:LambdaFunctionRecommendation', lambdaFunctionRecommendation_numberOfInvocations - The number of times your function code was applied during the look-back
period.
$sel:lookbackPeriodInDays:LambdaFunctionRecommendation', lambdaFunctionRecommendation_lookbackPeriodInDays - The number of days for which utilization metrics were analyzed for the
function.
lambdaFunctionRecommendation_functionArn :: Lens' LambdaFunctionRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the current function.
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 theMemoryUnderprovisionedandMemoryUnderprovisionedfinding 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 theInsufficientDataandInconclusivefinding reason codes.Functions with a finding of unavailable are not returned unless you specify the
filterparameter with a value ofUnavailablein yourGetLambdaFunctionRecommendationsrequest.
lambdaFunctionRecommendation_currentMemorySize :: Lens' LambdaFunctionRecommendation (Maybe Int) Source #
The amount of memory, in MB, that's allocated to the current function.
lambdaFunctionRecommendation_lastRefreshTimestamp :: Lens' LambdaFunctionRecommendation (Maybe UTCTime) Source #
The timestamp of when the function recommendation was last refreshed.
lambdaFunctionRecommendation_accountId :: Lens' LambdaFunctionRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the function.
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 theNotOptimizedfinding 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 theNotOptimizedfinding 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 theUnavailablefinding 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 theUnavailablefinding classification.
lambdaFunctionRecommendation_utilizationMetrics :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionUtilizationMetric]) Source #
An array of objects that describe the utilization metrics of the function.
lambdaFunctionRecommendation_memorySizeRecommendationOptions :: Lens' LambdaFunctionRecommendation (Maybe [LambdaFunctionMemoryRecommendationOption]) Source #
An array of objects that describe the memory configuration recommendation options for the function.
lambdaFunctionRecommendation_functionVersion :: Lens' LambdaFunctionRecommendation (Maybe Text) Source #
The version number of the current function.
lambdaFunctionRecommendation_numberOfInvocations :: Lens' LambdaFunctionRecommendation (Maybe Integer) Source #
The number of times your function code was applied during the look-back period.
lambdaFunctionRecommendation_lookbackPeriodInDays :: Lens' LambdaFunctionRecommendation (Maybe Double) Source #
The number of days for which utilization metrics were analyzed for 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: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, orUnavailableif you specify thenameparameter asFinding. - Specify
MemoryOverprovisioned,MemoryUnderprovisioned,InsufficientData, orInconclusiveif you specify thenameparameter asFindingReasonCode.
$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).
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, orUnavailableif you specify thenameparameter asFinding. - Specify
MemoryOverprovisioned,MemoryUnderprovisioned,InsufficientData, orInconclusiveif you specify thenameparameter 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).
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:value:LambdaFunctionUtilizationMetric', lambdaFunctionUtilizationMetric_value - The value of the utilization metric.
$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.
lambdaFunctionUtilizationMetric_value :: Lens' LambdaFunctionUtilizationMetric (Maybe Double) Source #
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.
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:values:ProjectedMetric', projectedMetric_values - The values of the projected utilization metrics.
$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
Memorymetric 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.
projectedMetric_values :: Lens' ProjectedMetric (Maybe [Double]) Source #
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
Memorymetric 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.
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:value:ReasonCodeSummary', reasonCodeSummary_value - The value of the finding reason code summary.
$sel:name:ReasonCodeSummary', reasonCodeSummary_name - The name of the finding reason code.
reasonCodeSummary_value :: Lens' ReasonCodeSummary (Maybe Double) Source #
The value of the finding reason code summary.
reasonCodeSummary_name :: Lens' ReasonCodeSummary (Maybe FindingReasonCode) Source #
The name of the finding reason code.
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:failureReason:RecommendationExportJob', recommendationExportJob_failureReason - The reason for an export job failure.
$sel:destination:RecommendationExportJob', recommendationExportJob_destination - An object that describes the destination of the export file.
$sel:status:RecommendationExportJob', recommendationExportJob_status - The status of the export job.
$sel:jobId:RecommendationExportJob', recommendationExportJob_jobId - The identification number of the export job.
$sel:resourceType:RecommendationExportJob', recommendationExportJob_resourceType - The resource type of the exported recommendations.
$sel:creationTimestamp:RecommendationExportJob', recommendationExportJob_creationTimestamp - The timestamp of when the export job was created.
$sel:lastUpdatedTimestamp:RecommendationExportJob', recommendationExportJob_lastUpdatedTimestamp - The timestamp of when the export job was last updated.
recommendationExportJob_failureReason :: Lens' RecommendationExportJob (Maybe Text) Source #
The reason for an export job failure.
recommendationExportJob_destination :: Lens' RecommendationExportJob (Maybe ExportDestination) Source #
An object that describes the destination of the export file.
recommendationExportJob_status :: Lens' RecommendationExportJob (Maybe JobStatus) Source #
The status of the export job.
recommendationExportJob_jobId :: Lens' RecommendationExportJob (Maybe Text) Source #
The identification number of the export job.
recommendationExportJob_resourceType :: Lens' RecommendationExportJob (Maybe ResourceType) Source #
The resource type of the exported recommendations.
recommendationExportJob_creationTimestamp :: Lens' RecommendationExportJob (Maybe UTCTime) Source #
The timestamp of when the export job was created.
recommendationExportJob_lastUpdatedTimestamp :: Lens' RecommendationExportJob (Maybe UTCTime) Source #
The timestamp of when the export job was last updated.
RecommendationPreferences
data RecommendationPreferences Source #
Describes preferences for recommendations.
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.
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:summaries:RecommendationSummary', recommendationSummary_summaries - An array of objects that describe a recommendation summary.
$sel:recommendationResourceType:RecommendationSummary', recommendationSummary_recommendationResourceType - The resource type of the recommendation.
recommendationSummary_accountId :: Lens' RecommendationSummary (Maybe Text) Source #
The Amazon Web Services account ID of the recommendation summary.
recommendationSummary_summaries :: Lens' RecommendationSummary (Maybe [Summary]) Source #
An array of objects that describe a recommendation summary.
recommendationSummary_recommendationResourceType :: Lens' RecommendationSummary (Maybe RecommendationSourceType) Source #
The resource type of the recommendation.
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:recommendedInstanceType:RecommendedOptionProjectedMetric', recommendedOptionProjectedMetric_recommendedInstanceType - The recommended instance type.
$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.
recommendedOptionProjectedMetric_recommendedInstanceType :: Lens' RecommendedOptionProjectedMetric (Maybe Text) Source #
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.
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.
Summary
The summary of a recommendation.
See: newSummary smart constructor.
Constructors
| Summary' | |
Fields
| |
Instances
| Eq Summary Source # | |
| Read Summary Source # | |
| Show Summary Source # | |
| Generic Summary Source # | |
| NFData Summary Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Summary | |
| Hashable Summary Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Summary | |
| FromJSON Summary Source # | |
| type Rep Summary Source # | |
Defined in Amazonka.ComputeOptimizer.Types.Summary type Rep Summary = D1 ('MetaData "Summary" "Amazonka.ComputeOptimizer.Types.Summary" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "Summary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reasonCodeSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReasonCodeSummary])) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Finding))))) | |
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:
$sel:reasonCodeSummaries:Summary', summary_reasonCodeSummaries - An array of objects that summarize a finding reason code.
$sel:value:Summary', summary_value - The value of the recommendation summary.
$sel:name:Summary', summary_name - The finding classification of the recommendation.
summary_reasonCodeSummaries :: Lens' Summary (Maybe [ReasonCodeSummary]) Source #
An array of objects that summarize a finding reason code.
summary_name :: Lens' Summary (Maybe Finding) Source #
The finding classification of the recommendation.
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:value:UtilizationMetric', utilizationMetric_value - The value of the utilization metric.
$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
Memorymetric 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
0or 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
0or 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
0or 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
0or 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.
utilizationMetric_value :: Lens' UtilizationMetric (Maybe Double) Source #
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
Memorymetric 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
0or 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
0or 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
0or 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
0or 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.
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:volumeSize:VolumeConfiguration', volumeConfiguration_volumeSize - The size of the volume, in GiB.
$sel:volumeBaselineIOPS:VolumeConfiguration', volumeConfiguration_volumeBaselineIOPS - The baseline IOPS of the volume.
$sel:volumeBurstIOPS:VolumeConfiguration', volumeConfiguration_volumeBurstIOPS - The burst IOPS of the volume.
$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.
$sel:volumeBurstThroughput:VolumeConfiguration', volumeConfiguration_volumeBurstThroughput - The burst throughput of the volume.
$sel:volumeBaselineThroughput:VolumeConfiguration', volumeConfiguration_volumeBaselineThroughput - The baseline throughput of the volume.
volumeConfiguration_volumeSize :: Lens' VolumeConfiguration (Maybe Int) Source #
The size of the volume, in GiB.
volumeConfiguration_volumeBaselineIOPS :: Lens' VolumeConfiguration (Maybe Int) Source #
The baseline IOPS of the volume.
volumeConfiguration_volumeBurstIOPS :: Lens' VolumeConfiguration (Maybe Int) Source #
The burst IOPS of the volume.
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.
volumeConfiguration_volumeBurstThroughput :: Lens' VolumeConfiguration (Maybe Int) Source #
The burst throughput of the volume.
volumeConfiguration_volumeBaselineThroughput :: Lens' VolumeConfiguration (Maybe Int) Source #
The baseline throughput of the volume.
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: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:volumeArn:VolumeRecommendation', volumeRecommendation_volumeArn - The Amazon Resource Name (ARN) of the current volume.
$sel:lastRefreshTimestamp:VolumeRecommendation', volumeRecommendation_lastRefreshTimestamp - The timestamp of when the volume recommendation was last refreshed.
$sel:currentConfiguration:VolumeRecommendation', volumeRecommendation_currentConfiguration - An array of objects that describe the current configuration of the
volume.
$sel:accountId:VolumeRecommendation', volumeRecommendation_accountId - The Amazon Web Services account ID of the volume.
$sel:utilizationMetrics:VolumeRecommendation', volumeRecommendation_utilizationMetrics - An array of objects that describe the utilization metrics of the volume.
$sel:volumeRecommendationOptions:VolumeRecommendation', volumeRecommendation_volumeRecommendationOptions - An array of objects that describe the recommendation options for the
volume.
$sel:lookBackPeriodInDays:VolumeRecommendation', volumeRecommendation_lookBackPeriodInDays - The number of days for which utilization metrics were analyzed for the
volume.
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_volumeArn :: Lens' VolumeRecommendation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the current volume.
volumeRecommendation_lastRefreshTimestamp :: Lens' VolumeRecommendation (Maybe UTCTime) Source #
The timestamp of when the volume recommendation was last refreshed.
volumeRecommendation_currentConfiguration :: Lens' VolumeRecommendation (Maybe VolumeConfiguration) Source #
An array of objects that describe the current configuration of the volume.
volumeRecommendation_accountId :: Lens' VolumeRecommendation (Maybe Text) Source #
The Amazon Web Services account ID of the volume.
volumeRecommendation_utilizationMetrics :: Lens' VolumeRecommendation (Maybe [EBSUtilizationMetric]) Source #
An array of objects that describe the utilization metrics of the volume.
volumeRecommendation_volumeRecommendationOptions :: Lens' VolumeRecommendation (Maybe [VolumeRecommendationOption]) Source #
An array of objects that describe the recommendation options for the volume.
volumeRecommendation_lookBackPeriodInDays :: Lens' VolumeRecommendation (Maybe Double) Source #
The number of days for which utilization metrics were analyzed 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: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:configuration:VolumeRecommendationOption', volumeRecommendationOption_configuration - An array of objects that describe a volume configuration.
$sel:rank:VolumeRecommendationOption', volumeRecommendationOption_rank - The rank of the volume recommendation option.
The top recommendation option is ranked as 1.
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_configuration :: Lens' VolumeRecommendationOption (Maybe VolumeConfiguration) Source #
An array of objects that describe a volume configuration.
volumeRecommendationOption_rank :: Lens' VolumeRecommendationOption (Maybe Int) Source #
The rank of the volume recommendation option.
The top recommendation option is ranked as 1.