Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Waiters
- Operations
- ExportEBSVolumeRecommendations
- GetRecommendationSummaries
- ExportAutoScalingGroupRecommendations
- GetEC2InstanceRecommendations
- GetLambdaFunctionRecommendations
- UpdateEnrollmentStatus
- DescribeRecommendationExportJobs
- GetEC2RecommendationProjectedMetrics
- GetEnrollmentStatusesForOrganization
- GetEBSVolumeRecommendations
- ExportLambdaFunctionRecommendations
- ExportEC2InstanceRecommendations
- GetEnrollmentStatus
- GetAutoScalingGroupRecommendations
- Types
- 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
Derived from API version 2019-11-01
of the AWS service descriptions, licensed under Apache 2.0.
Compute Optimizer is a service that analyzes the configuration and utilization metrics of your Amazon Web Services compute resources, such as Amazon EC2 instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates optimization recommendations to reduce the cost and improve the performance of your workloads. Compute Optimizer also provides recent utilization metric data, in addition to projected utilization metric data for the recommendations, which you can use to evaluate which recommendation provides the best price-performance trade-off. The analysis of your usage patterns can help you decide when to move or resize your running resources, and still meet your performance and capacity requirements. For more information about Compute Optimizer, including the required permissions to use the service, see the Compute Optimizer User Guide.
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
- data ExportEBSVolumeRecommendations = ExportEBSVolumeRecommendations' (Maybe [Text]) (Maybe FileFormat) (Maybe [EBSFilter]) (Maybe [ExportableVolumeField]) (Maybe Bool) S3DestinationConfig
- newExportEBSVolumeRecommendations :: S3DestinationConfig -> ExportEBSVolumeRecommendations
- data ExportEBSVolumeRecommendationsResponse = ExportEBSVolumeRecommendationsResponse' (Maybe Text) (Maybe S3Destination) Int
- newExportEBSVolumeRecommendationsResponse :: Int -> ExportEBSVolumeRecommendationsResponse
- data GetRecommendationSummaries = GetRecommendationSummaries' (Maybe [Text]) (Maybe Text) (Maybe Int)
- newGetRecommendationSummaries :: GetRecommendationSummaries
- data GetRecommendationSummariesResponse = GetRecommendationSummariesResponse' (Maybe Text) (Maybe [RecommendationSummary]) Int
- newGetRecommendationSummariesResponse :: Int -> GetRecommendationSummariesResponse
- data ExportAutoScalingGroupRecommendations = ExportAutoScalingGroupRecommendations' (Maybe [Text]) (Maybe FileFormat) (Maybe [Filter]) (Maybe [ExportableAutoScalingGroupField]) (Maybe Bool) (Maybe RecommendationPreferences) S3DestinationConfig
- newExportAutoScalingGroupRecommendations :: S3DestinationConfig -> ExportAutoScalingGroupRecommendations
- data ExportAutoScalingGroupRecommendationsResponse = ExportAutoScalingGroupRecommendationsResponse' (Maybe Text) (Maybe S3Destination) Int
- newExportAutoScalingGroupRecommendationsResponse :: Int -> ExportAutoScalingGroupRecommendationsResponse
- data GetEC2InstanceRecommendations = GetEC2InstanceRecommendations' (Maybe [Text]) (Maybe [Filter]) (Maybe RecommendationPreferences) (Maybe Text) (Maybe [Text]) (Maybe Int)
- newGetEC2InstanceRecommendations :: GetEC2InstanceRecommendations
- data GetEC2InstanceRecommendationsResponse = GetEC2InstanceRecommendationsResponse' (Maybe Text) (Maybe [GetRecommendationError]) (Maybe [InstanceRecommendation]) Int
- newGetEC2InstanceRecommendationsResponse :: Int -> GetEC2InstanceRecommendationsResponse
- data GetLambdaFunctionRecommendations = GetLambdaFunctionRecommendations' (Maybe [Text]) (Maybe [Text]) (Maybe [LambdaFunctionRecommendationFilter]) (Maybe Text) (Maybe Int)
- newGetLambdaFunctionRecommendations :: GetLambdaFunctionRecommendations
- data GetLambdaFunctionRecommendationsResponse = GetLambdaFunctionRecommendationsResponse' (Maybe Text) (Maybe [LambdaFunctionRecommendation]) Int
- newGetLambdaFunctionRecommendationsResponse :: Int -> GetLambdaFunctionRecommendationsResponse
- data UpdateEnrollmentStatus = UpdateEnrollmentStatus' (Maybe Bool) Status
- newUpdateEnrollmentStatus :: Status -> UpdateEnrollmentStatus
- data UpdateEnrollmentStatusResponse = UpdateEnrollmentStatusResponse' (Maybe Status) (Maybe Text) Int
- newUpdateEnrollmentStatusResponse :: Int -> UpdateEnrollmentStatusResponse
- data DescribeRecommendationExportJobs = DescribeRecommendationExportJobs' (Maybe [JobFilter]) (Maybe Text) (Maybe Int) (Maybe [Text])
- newDescribeRecommendationExportJobs :: DescribeRecommendationExportJobs
- data DescribeRecommendationExportJobsResponse = DescribeRecommendationExportJobsResponse' (Maybe [RecommendationExportJob]) (Maybe Text) Int
- newDescribeRecommendationExportJobsResponse :: Int -> DescribeRecommendationExportJobsResponse
- data GetEC2RecommendationProjectedMetrics = GetEC2RecommendationProjectedMetrics' (Maybe RecommendationPreferences) Text MetricStatistic Int POSIX POSIX
- newGetEC2RecommendationProjectedMetrics :: Text -> MetricStatistic -> Int -> UTCTime -> UTCTime -> GetEC2RecommendationProjectedMetrics
- data GetEC2RecommendationProjectedMetricsResponse = GetEC2RecommendationProjectedMetricsResponse' (Maybe [RecommendedOptionProjectedMetric]) Int
- newGetEC2RecommendationProjectedMetricsResponse :: Int -> GetEC2RecommendationProjectedMetricsResponse
- data GetEnrollmentStatusesForOrganization = GetEnrollmentStatusesForOrganization' (Maybe [EnrollmentFilter]) (Maybe Text) (Maybe Int)
- newGetEnrollmentStatusesForOrganization :: GetEnrollmentStatusesForOrganization
- data GetEnrollmentStatusesForOrganizationResponse = GetEnrollmentStatusesForOrganizationResponse' (Maybe [AccountEnrollmentStatus]) (Maybe Text) Int
- newGetEnrollmentStatusesForOrganizationResponse :: Int -> GetEnrollmentStatusesForOrganizationResponse
- data GetEBSVolumeRecommendations = GetEBSVolumeRecommendations' (Maybe [Text]) (Maybe [EBSFilter]) (Maybe Text) (Maybe [Text]) (Maybe Int)
- newGetEBSVolumeRecommendations :: GetEBSVolumeRecommendations
- data GetEBSVolumeRecommendationsResponse = GetEBSVolumeRecommendationsResponse' (Maybe Text) (Maybe [VolumeRecommendation]) (Maybe [GetRecommendationError]) Int
- newGetEBSVolumeRecommendationsResponse :: Int -> GetEBSVolumeRecommendationsResponse
- data ExportLambdaFunctionRecommendations = ExportLambdaFunctionRecommendations' (Maybe [Text]) (Maybe FileFormat) (Maybe [LambdaFunctionRecommendationFilter]) (Maybe [ExportableLambdaFunctionField]) (Maybe Bool) S3DestinationConfig
- newExportLambdaFunctionRecommendations :: S3DestinationConfig -> ExportLambdaFunctionRecommendations
- data ExportLambdaFunctionRecommendationsResponse = ExportLambdaFunctionRecommendationsResponse' (Maybe Text) (Maybe S3Destination) Int
- newExportLambdaFunctionRecommendationsResponse :: Int -> ExportLambdaFunctionRecommendationsResponse
- data ExportEC2InstanceRecommendations = ExportEC2InstanceRecommendations' (Maybe [Text]) (Maybe FileFormat) (Maybe [Filter]) (Maybe [ExportableInstanceField]) (Maybe Bool) (Maybe RecommendationPreferences) S3DestinationConfig
- newExportEC2InstanceRecommendations :: S3DestinationConfig -> ExportEC2InstanceRecommendations
- data ExportEC2InstanceRecommendationsResponse = ExportEC2InstanceRecommendationsResponse' (Maybe Text) (Maybe S3Destination) Int
- newExportEC2InstanceRecommendationsResponse :: Int -> ExportEC2InstanceRecommendationsResponse
- data GetEnrollmentStatus = GetEnrollmentStatus' {
- newGetEnrollmentStatus :: GetEnrollmentStatus
- data GetEnrollmentStatusResponse = GetEnrollmentStatusResponse' (Maybe Status) (Maybe Int) (Maybe Bool) (Maybe Text) (Maybe POSIX) Int
- newGetEnrollmentStatusResponse :: Int -> GetEnrollmentStatusResponse
- data GetAutoScalingGroupRecommendations = GetAutoScalingGroupRecommendations' (Maybe [Text]) (Maybe [Filter]) (Maybe [Text]) (Maybe RecommendationPreferences) (Maybe Text) (Maybe Int)
- newGetAutoScalingGroupRecommendations :: GetAutoScalingGroupRecommendations
- data GetAutoScalingGroupRecommendationsResponse = GetAutoScalingGroupRecommendationsResponse' (Maybe [AutoScalingGroupRecommendation]) (Maybe Text) (Maybe [GetRecommendationError]) Int
- newGetAutoScalingGroupRecommendationsResponse :: Int -> GetAutoScalingGroupRecommendationsResponse
- 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' (Maybe Status) (Maybe Text) (Maybe Text) (Maybe POSIX)
- newAccountEnrollmentStatus :: AccountEnrollmentStatus
- data AutoScalingGroupConfiguration = AutoScalingGroupConfiguration' (Maybe Int) (Maybe Text) (Maybe Int) (Maybe Int)
- newAutoScalingGroupConfiguration :: AutoScalingGroupConfiguration
- data AutoScalingGroupRecommendation = AutoScalingGroupRecommendation' (Maybe Finding) (Maybe POSIX) (Maybe AutoScalingGroupConfiguration) (Maybe Text) (Maybe Text) (Maybe [UtilizationMetric]) (Maybe Text) (Maybe [AutoScalingGroupRecommendationOption]) (Maybe Double)
- newAutoScalingGroupRecommendation :: AutoScalingGroupRecommendation
- data AutoScalingGroupRecommendationOption = AutoScalingGroupRecommendationOption' (Maybe Double) (Maybe [UtilizationMetric]) (Maybe AutoScalingGroupConfiguration) (Maybe Int)
- newAutoScalingGroupRecommendationOption :: AutoScalingGroupRecommendationOption
- data EBSFilter = EBSFilter' (Maybe [Text]) (Maybe EBSFilterName)
- newEBSFilter :: EBSFilter
- data EBSUtilizationMetric = EBSUtilizationMetric' (Maybe Double) (Maybe EBSMetricName) (Maybe MetricStatistic)
- newEBSUtilizationMetric :: EBSUtilizationMetric
- data EnrollmentFilter = EnrollmentFilter' (Maybe [Text]) (Maybe EnrollmentFilterName)
- newEnrollmentFilter :: EnrollmentFilter
- data ExportDestination = ExportDestination' (Maybe S3Destination)
- newExportDestination :: ExportDestination
- data Filter = Filter' (Maybe [Text]) (Maybe FilterName)
- newFilter :: Filter
- data GetRecommendationError = GetRecommendationError' (Maybe Text) (Maybe Text) (Maybe Text)
- newGetRecommendationError :: GetRecommendationError
- data InstanceRecommendation = InstanceRecommendation' (Maybe Text) (Maybe Finding) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe [InstanceRecommendationFindingReasonCode]) (Maybe [RecommendationSource]) (Maybe [UtilizationMetric]) (Maybe Text) (Maybe [InstanceRecommendationOption]) (Maybe Double)
- newInstanceRecommendation :: InstanceRecommendation
- data InstanceRecommendationOption = InstanceRecommendationOption' (Maybe [PlatformDifference]) (Maybe Double) (Maybe [UtilizationMetric]) (Maybe Text) (Maybe Int)
- newInstanceRecommendationOption :: InstanceRecommendationOption
- data JobFilter = JobFilter' (Maybe [Text]) (Maybe JobFilterName)
- newJobFilter :: JobFilter
- data LambdaFunctionMemoryProjectedMetric = LambdaFunctionMemoryProjectedMetric' (Maybe Double) (Maybe LambdaFunctionMemoryMetricName) (Maybe LambdaFunctionMemoryMetricStatistic)
- newLambdaFunctionMemoryProjectedMetric :: LambdaFunctionMemoryProjectedMetric
- data LambdaFunctionMemoryRecommendationOption = LambdaFunctionMemoryRecommendationOption' (Maybe Int) (Maybe [LambdaFunctionMemoryProjectedMetric]) (Maybe Int)
- newLambdaFunctionMemoryRecommendationOption :: LambdaFunctionMemoryRecommendationOption
- data LambdaFunctionRecommendation = LambdaFunctionRecommendation' (Maybe Text) (Maybe LambdaFunctionRecommendationFinding) (Maybe Int) (Maybe POSIX) (Maybe Text) (Maybe [LambdaFunctionRecommendationFindingReasonCode]) (Maybe [LambdaFunctionUtilizationMetric]) (Maybe [LambdaFunctionMemoryRecommendationOption]) (Maybe Text) (Maybe Integer) (Maybe Double)
- newLambdaFunctionRecommendation :: LambdaFunctionRecommendation
- data LambdaFunctionRecommendationFilter = LambdaFunctionRecommendationFilter' (Maybe [Text]) (Maybe LambdaFunctionRecommendationFilterName)
- newLambdaFunctionRecommendationFilter :: LambdaFunctionRecommendationFilter
- data LambdaFunctionUtilizationMetric = LambdaFunctionUtilizationMetric' (Maybe Double) (Maybe LambdaFunctionMetricName) (Maybe LambdaFunctionMetricStatistic)
- newLambdaFunctionUtilizationMetric :: LambdaFunctionUtilizationMetric
- data ProjectedMetric = ProjectedMetric' (Maybe [Double]) (Maybe MetricName) (Maybe [POSIX])
- newProjectedMetric :: ProjectedMetric
- data ReasonCodeSummary = ReasonCodeSummary' (Maybe Double) (Maybe FindingReasonCode)
- newReasonCodeSummary :: ReasonCodeSummary
- data RecommendationExportJob = RecommendationExportJob' (Maybe Text) (Maybe ExportDestination) (Maybe JobStatus) (Maybe Text) (Maybe ResourceType) (Maybe POSIX) (Maybe POSIX)
- newRecommendationExportJob :: RecommendationExportJob
- data RecommendationPreferences = RecommendationPreferences' (Maybe [CpuVendorArchitecture])
- newRecommendationPreferences :: RecommendationPreferences
- data RecommendationSource = RecommendationSource' (Maybe Text) (Maybe RecommendationSourceType)
- newRecommendationSource :: RecommendationSource
- data RecommendationSummary = RecommendationSummary' (Maybe Text) (Maybe [Summary]) (Maybe RecommendationSourceType)
- newRecommendationSummary :: RecommendationSummary
- data RecommendedOptionProjectedMetric = RecommendedOptionProjectedMetric' (Maybe Text) (Maybe [ProjectedMetric]) (Maybe Int)
- newRecommendedOptionProjectedMetric :: RecommendedOptionProjectedMetric
- data S3Destination = S3Destination' (Maybe Text) (Maybe Text) (Maybe Text)
- newS3Destination :: S3Destination
- data S3DestinationConfig = S3DestinationConfig' (Maybe Text) (Maybe Text)
- newS3DestinationConfig :: S3DestinationConfig
- data Summary = Summary' (Maybe [ReasonCodeSummary]) (Maybe Double) (Maybe Finding)
- newSummary :: Summary
- data UtilizationMetric = UtilizationMetric' (Maybe Double) (Maybe MetricName) (Maybe MetricStatistic)
- newUtilizationMetric :: UtilizationMetric
- data VolumeConfiguration = VolumeConfiguration' (Maybe Int) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe Int) (Maybe Int)
- newVolumeConfiguration :: VolumeConfiguration
- data VolumeRecommendation = VolumeRecommendation' (Maybe EBSFinding) (Maybe Text) (Maybe POSIX) (Maybe VolumeConfiguration) (Maybe Text) (Maybe [EBSUtilizationMetric]) (Maybe [VolumeRecommendationOption]) (Maybe Double)
- newVolumeRecommendation :: VolumeRecommendation
- data VolumeRecommendationOption = VolumeRecommendationOption' (Maybe Double) (Maybe VolumeConfiguration) (Maybe Int)
- newVolumeRecommendationOption :: VolumeRecommendationOption
Service Configuration
defaultService :: Service Source #
API version 2019-11-01
of the Amazon Compute Optimizer SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by ComputeOptimizer
.
AccessDeniedException
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have sufficient access to perform this action.
OptInRequiredException
_OptInRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The account is not opted in to Compute Optimizer.
InvalidParameterValueException
_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The value supplied for the input parameter is out of range or not valid.
MissingAuthenticationToken
_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
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was denied due to request throttling.
InternalServerException
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An internal error has occurred. Try your call again.
ServiceUnavailableException
_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request has failed due to a temporary failure of the server.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A resource that is required for the action doesn't exist.
LimitExceededException
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request exceeds a limit of the service.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
ExportEBSVolumeRecommendations
data ExportEBSVolumeRecommendations Source #
See: newExportEBSVolumeRecommendations
smart constructor.
ExportEBSVolumeRecommendations' (Maybe [Text]) (Maybe FileFormat) (Maybe [EBSFilter]) (Maybe [ExportableVolumeField]) (Maybe Bool) S3DestinationConfig |
Instances
newExportEBSVolumeRecommendations Source #
Create a value of ExportEBSVolumeRecommendations
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:accountIds:ExportEBSVolumeRecommendations'
, exportEBSVolumeRecommendations_accountIds
- The IDs of the Amazon Web Services accounts for which to export Amazon
EBS volume recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
$sel:fileFormat:ExportEBSVolumeRecommendations'
, exportEBSVolumeRecommendations_fileFormat
- The format of the export file.
The only export file format currently supported is Csv
.
$sel:filters:ExportEBSVolumeRecommendations'
, exportEBSVolumeRecommendations_filters
- An array of objects to specify a filter that exports a more specific set
of Amazon EBS volume recommendations.
$sel:fieldsToExport:ExportEBSVolumeRecommendations'
, exportEBSVolumeRecommendations_fieldsToExport
- The recommendations data to include in the export file. For more
information about the fields that can be exported, see
Exported files
in the Compute Optimizer User Guide.
$sel:includeMemberAccounts:ExportEBSVolumeRecommendations'
, exportEBSVolumeRecommendations_includeMemberAccounts
- Indicates whether to include recommendations for resources in all member
accounts of the organization if your account is the management account
of an organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
$sel:s3DestinationConfig:ExportEBSVolumeRecommendations'
, exportEBSVolumeRecommendations_s3DestinationConfig
- Undocumented member.
data ExportEBSVolumeRecommendationsResponse Source #
See: newExportEBSVolumeRecommendationsResponse
smart constructor.
Instances
newExportEBSVolumeRecommendationsResponse Source #
Create a value of ExportEBSVolumeRecommendationsResponse
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:jobId:ExportEBSVolumeRecommendationsResponse'
, exportEBSVolumeRecommendationsResponse_jobId
- The identification number of the export job.
Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.
$sel:s3Destination:ExportEBSVolumeRecommendationsResponse'
, exportEBSVolumeRecommendationsResponse_s3Destination
- Undocumented member.
$sel:httpStatus:ExportEBSVolumeRecommendationsResponse'
, exportEBSVolumeRecommendationsResponse_httpStatus
- The response's http status code.
GetRecommendationSummaries
data GetRecommendationSummaries Source #
See: newGetRecommendationSummaries
smart constructor.
Instances
newGetRecommendationSummaries :: GetRecommendationSummaries Source #
Create a value of GetRecommendationSummaries
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:accountIds:GetRecommendationSummaries'
, getRecommendationSummaries_accountIds
- The ID of the Amazon Web Services account for which to return
recommendation summaries.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return recommendation summaries.
Only one account ID can be specified per request.
$sel:nextToken:GetRecommendationSummaries'
, getRecommendationSummaries_nextToken
- The token to advance to the next page of recommendation summaries.
$sel:maxResults:GetRecommendationSummaries'
, getRecommendationSummaries_maxResults
- The maximum number of recommendation summaries to return with a single
request.
To retrieve the remaining results, make another request with the
returned nextToken
value.
data GetRecommendationSummariesResponse Source #
See: newGetRecommendationSummariesResponse
smart constructor.
Instances
newGetRecommendationSummariesResponse Source #
Create a value of GetRecommendationSummariesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetRecommendationSummaries'
, getRecommendationSummariesResponse_nextToken
- The token to use to advance to the next page of recommendation
summaries.
This value is null when there are no more pages of recommendation summaries to return.
$sel:recommendationSummaries:GetRecommendationSummariesResponse'
, getRecommendationSummariesResponse_recommendationSummaries
- An array of objects that summarize a recommendation.
$sel:httpStatus:GetRecommendationSummariesResponse'
, getRecommendationSummariesResponse_httpStatus
- The response's http status code.
ExportAutoScalingGroupRecommendations
data ExportAutoScalingGroupRecommendations Source #
See: newExportAutoScalingGroupRecommendations
smart constructor.
ExportAutoScalingGroupRecommendations' (Maybe [Text]) (Maybe FileFormat) (Maybe [Filter]) (Maybe [ExportableAutoScalingGroupField]) (Maybe Bool) (Maybe RecommendationPreferences) S3DestinationConfig |
Instances
newExportAutoScalingGroupRecommendations Source #
:: S3DestinationConfig |
|
-> ExportAutoScalingGroupRecommendations |
Create a value of ExportAutoScalingGroupRecommendations
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:accountIds:ExportAutoScalingGroupRecommendations'
, exportAutoScalingGroupRecommendations_accountIds
- The IDs of the Amazon Web Services accounts for which to export Auto
Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
$sel:fileFormat:ExportAutoScalingGroupRecommendations'
, exportAutoScalingGroupRecommendations_fileFormat
- The format of the export file.
The only export file format currently supported is Csv
.
$sel:filters:ExportAutoScalingGroupRecommendations'
, exportAutoScalingGroupRecommendations_filters
- An array of objects to specify a filter that exports a more specific set
of Auto Scaling group recommendations.
$sel:fieldsToExport:ExportAutoScalingGroupRecommendations'
, exportAutoScalingGroupRecommendations_fieldsToExport
- The recommendations data to include in the export file. For more
information about the fields that can be exported, see
Exported files
in the Compute Optimizer User Guide.
$sel:includeMemberAccounts:ExportAutoScalingGroupRecommendations'
, exportAutoScalingGroupRecommendations_includeMemberAccounts
- Indicates whether to include recommendations for resources in all member
accounts of the organization if your account is the management account
of an organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
$sel:recommendationPreferences:ExportAutoScalingGroupRecommendations'
, exportAutoScalingGroupRecommendations_recommendationPreferences
- An object to specify the preferences for the Auto Scaling group
recommendations to export.
$sel:s3DestinationConfig:ExportAutoScalingGroupRecommendations'
, exportAutoScalingGroupRecommendations_s3DestinationConfig
- An object to specify the destination Amazon Simple Storage Service
(Amazon S3) bucket name and key prefix for the 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 permissions 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.
data ExportAutoScalingGroupRecommendationsResponse Source #
See: newExportAutoScalingGroupRecommendationsResponse
smart constructor.
Instances
newExportAutoScalingGroupRecommendationsResponse Source #
:: Int |
|
-> ExportAutoScalingGroupRecommendationsResponse |
Create a value of ExportAutoScalingGroupRecommendationsResponse
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:jobId:ExportAutoScalingGroupRecommendationsResponse'
, exportAutoScalingGroupRecommendationsResponse_jobId
- The identification number of the export job.
Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.
$sel:s3Destination:ExportAutoScalingGroupRecommendationsResponse'
, exportAutoScalingGroupRecommendationsResponse_s3Destination
- An object that describes the destination Amazon S3 bucket of a
recommendations export file.
$sel:httpStatus:ExportAutoScalingGroupRecommendationsResponse'
, exportAutoScalingGroupRecommendationsResponse_httpStatus
- The response's http status code.
GetEC2InstanceRecommendations
data GetEC2InstanceRecommendations Source #
See: newGetEC2InstanceRecommendations
smart constructor.
GetEC2InstanceRecommendations' (Maybe [Text]) (Maybe [Filter]) (Maybe RecommendationPreferences) (Maybe Text) (Maybe [Text]) (Maybe Int) |
Instances
newGetEC2InstanceRecommendations :: GetEC2InstanceRecommendations Source #
Create a value of GetEC2InstanceRecommendations
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:accountIds:GetEC2InstanceRecommendations'
, getEC2InstanceRecommendations_accountIds
- The ID of the Amazon Web Services account for which to return instance
recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.
Only one account ID can be specified per request.
$sel:filters:GetEC2InstanceRecommendations'
, getEC2InstanceRecommendations_filters
- An array of objects to specify a filter that returns a more specific
list of instance recommendations.
$sel:recommendationPreferences:GetEC2InstanceRecommendations'
, getEC2InstanceRecommendations_recommendationPreferences
- An object to specify the preferences for the Amazon EC2 instance
recommendations to return in the response.
$sel:nextToken:GetEC2InstanceRecommendations'
, getEC2InstanceRecommendations_nextToken
- The token to advance to the next page of instance recommendations.
$sel:instanceArns:GetEC2InstanceRecommendations'
, getEC2InstanceRecommendations_instanceArns
- The Amazon Resource Name (ARN) of the instances for which to return
recommendations.
$sel:maxResults:GetEC2InstanceRecommendations'
, getEC2InstanceRecommendations_maxResults
- The maximum number of instance recommendations to return with a single
request.
To retrieve the remaining results, make another request with the
returned nextToken
value.
data GetEC2InstanceRecommendationsResponse Source #
See: newGetEC2InstanceRecommendationsResponse
smart constructor.
GetEC2InstanceRecommendationsResponse' (Maybe Text) (Maybe [GetRecommendationError]) (Maybe [InstanceRecommendation]) Int |
Instances
newGetEC2InstanceRecommendationsResponse Source #
Create a value of GetEC2InstanceRecommendationsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetEC2InstanceRecommendations'
, getEC2InstanceRecommendationsResponse_nextToken
- The token to use to advance to the next page of instance
recommendations.
This value is null when there are no more pages of instance recommendations to return.
$sel:errors:GetEC2InstanceRecommendationsResponse'
, getEC2InstanceRecommendationsResponse_errors
- An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an instance of an unsupported instance family.
$sel:instanceRecommendations:GetEC2InstanceRecommendationsResponse'
, getEC2InstanceRecommendationsResponse_instanceRecommendations
- An array of objects that describe instance recommendations.
$sel:httpStatus:GetEC2InstanceRecommendationsResponse'
, getEC2InstanceRecommendationsResponse_httpStatus
- The response's http status code.
GetLambdaFunctionRecommendations
data GetLambdaFunctionRecommendations Source #
See: newGetLambdaFunctionRecommendations
smart constructor.
GetLambdaFunctionRecommendations' (Maybe [Text]) (Maybe [Text]) (Maybe [LambdaFunctionRecommendationFilter]) (Maybe Text) (Maybe Int) |
Instances
newGetLambdaFunctionRecommendations :: GetLambdaFunctionRecommendations Source #
Create a value of GetLambdaFunctionRecommendations
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:functionArns:GetLambdaFunctionRecommendations'
, getLambdaFunctionRecommendations_functionArns
- The Amazon Resource Name (ARN) of the functions for which to return
recommendations.
You can specify a qualified or unqualified ARN. If you specify an
unqualified ARN without a function version suffix, Compute Optimizer
will return recommendations for the latest ($LATEST
) version of the
function. If you specify a qualified ARN with a version suffix, Compute
Optimizer will return recommendations for the specified function
version. For more information about using function versions, see
Using versions
in the Lambda Developer Guide.
$sel:accountIds:GetLambdaFunctionRecommendations'
, getLambdaFunctionRecommendations_accountIds
- The ID of the Amazon Web Services account for which to return function
recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return function recommendations.
Only one account ID can be specified per request.
$sel:filters:GetLambdaFunctionRecommendations'
, getLambdaFunctionRecommendations_filters
- An array of objects to specify a filter that returns a more specific
list of function recommendations.
$sel:nextToken:GetLambdaFunctionRecommendations'
, getLambdaFunctionRecommendations_nextToken
- The token to advance to the next page of function recommendations.
$sel:maxResults:GetLambdaFunctionRecommendations'
, getLambdaFunctionRecommendations_maxResults
- The maximum number of function recommendations to return with a single
request.
To retrieve the remaining results, make another request with the
returned nextToken
value.
data GetLambdaFunctionRecommendationsResponse Source #
See: newGetLambdaFunctionRecommendationsResponse
smart constructor.
Instances
newGetLambdaFunctionRecommendationsResponse Source #
Create a value of GetLambdaFunctionRecommendationsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetLambdaFunctionRecommendations'
, getLambdaFunctionRecommendationsResponse_nextToken
- The token to use to advance to the next page of function
recommendations.
This value is null when there are no more pages of function recommendations to return.
$sel:lambdaFunctionRecommendations:GetLambdaFunctionRecommendationsResponse'
, getLambdaFunctionRecommendationsResponse_lambdaFunctionRecommendations
- An array of objects that describe function recommendations.
$sel:httpStatus:GetLambdaFunctionRecommendationsResponse'
, getLambdaFunctionRecommendationsResponse_httpStatus
- The response's http status code.
UpdateEnrollmentStatus
data UpdateEnrollmentStatus Source #
See: newUpdateEnrollmentStatus
smart constructor.
Instances
newUpdateEnrollmentStatus Source #
Create a value of UpdateEnrollmentStatus
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:includeMemberAccounts:UpdateEnrollmentStatus'
, updateEnrollmentStatus_includeMemberAccounts
- Indicates whether to enroll member accounts of the organization if the
account is the management account of an organization.
$sel:status:UpdateEnrollmentStatus'
, updateEnrollmentStatus_status
- The new enrollment status of the account.
The following status options are available:
Active
- Opts in your account to the Compute Optimizer service. Compute Optimizer begins analyzing the configuration and utilization metrics of your Amazon Web Services resources after you opt in. For more information, see Metrics analyzed by Compute Optimizer in the Compute Optimizer User Guide.Inactive
- Opts out your account from the Compute Optimizer service. Your account's recommendations and related metrics data will be deleted from Compute Optimizer after you opt out.
The Pending
and Failed
options cannot be used to update the
enrollment status of an account. They are returned in the response of a
request to update the enrollment status of an account.
data UpdateEnrollmentStatusResponse Source #
See: newUpdateEnrollmentStatusResponse
smart constructor.
Instances
newUpdateEnrollmentStatusResponse Source #
Create a value of UpdateEnrollmentStatusResponse
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:UpdateEnrollmentStatus'
, updateEnrollmentStatusResponse_status
- The enrollment status of the account.
$sel:statusReason:UpdateEnrollmentStatusResponse'
, updateEnrollmentStatusResponse_statusReason
- The reason for the enrollment status of the account. 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:httpStatus:UpdateEnrollmentStatusResponse'
, updateEnrollmentStatusResponse_httpStatus
- The response's http status code.
DescribeRecommendationExportJobs
data DescribeRecommendationExportJobs Source #
See: newDescribeRecommendationExportJobs
smart constructor.
Instances
newDescribeRecommendationExportJobs :: DescribeRecommendationExportJobs Source #
Create a value of DescribeRecommendationExportJobs
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:filters:DescribeRecommendationExportJobs'
, describeRecommendationExportJobs_filters
- An array of objects to specify a filter that returns a more specific
list of export jobs.
$sel:nextToken:DescribeRecommendationExportJobs'
, describeRecommendationExportJobs_nextToken
- The token to advance to the next page of export jobs.
$sel:maxResults:DescribeRecommendationExportJobs'
, describeRecommendationExportJobs_maxResults
- The maximum number of export jobs to return with a single request.
To retrieve the remaining results, make another request with the
returned nextToken
value.
$sel:jobIds:DescribeRecommendationExportJobs'
, describeRecommendationExportJobs_jobIds
- The identification numbers of the export jobs to return.
An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions.
All export jobs created in the last seven days are returned if this parameter is omitted.
data DescribeRecommendationExportJobsResponse Source #
See: newDescribeRecommendationExportJobsResponse
smart constructor.
Instances
newDescribeRecommendationExportJobsResponse Source #
Create a value of DescribeRecommendationExportJobsResponse
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:recommendationExportJobs:DescribeRecommendationExportJobsResponse'
, describeRecommendationExportJobsResponse_recommendationExportJobs
- An array of objects that describe recommendation export jobs.
$sel:nextToken:DescribeRecommendationExportJobs'
, describeRecommendationExportJobsResponse_nextToken
- The token to use to advance to the next page of export jobs.
This value is null when there are no more pages of export jobs to return.
$sel:httpStatus:DescribeRecommendationExportJobsResponse'
, describeRecommendationExportJobsResponse_httpStatus
- The response's http status code.
GetEC2RecommendationProjectedMetrics
data GetEC2RecommendationProjectedMetrics Source #
See: newGetEC2RecommendationProjectedMetrics
smart constructor.
GetEC2RecommendationProjectedMetrics' (Maybe RecommendationPreferences) Text MetricStatistic Int POSIX POSIX |
Instances
newGetEC2RecommendationProjectedMetrics Source #
:: Text | |
-> MetricStatistic | |
-> Int | |
-> UTCTime | |
-> UTCTime | |
-> GetEC2RecommendationProjectedMetrics |
Create a value of GetEC2RecommendationProjectedMetrics
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:recommendationPreferences:GetEC2RecommendationProjectedMetrics'
, getEC2RecommendationProjectedMetrics_recommendationPreferences
- An object to specify the preferences for the Amazon EC2 recommendation
projected metrics to return in the response.
$sel:instanceArn:GetEC2RecommendationProjectedMetrics'
, getEC2RecommendationProjectedMetrics_instanceArn
- The Amazon Resource Name (ARN) of the instances for which to return
recommendation projected metrics.
$sel:stat:GetEC2RecommendationProjectedMetrics'
, getEC2RecommendationProjectedMetrics_stat
- The statistic of the projected metrics.
$sel:period:GetEC2RecommendationProjectedMetrics'
, getEC2RecommendationProjectedMetrics_period
- The granularity, in seconds, of the projected metrics data points.
$sel:startTime:GetEC2RecommendationProjectedMetrics'
, getEC2RecommendationProjectedMetrics_startTime
- The timestamp of the first projected metrics data point to return.
$sel:endTime:GetEC2RecommendationProjectedMetrics'
, getEC2RecommendationProjectedMetrics_endTime
- The timestamp of the last projected metrics data point to return.
data GetEC2RecommendationProjectedMetricsResponse Source #
See: newGetEC2RecommendationProjectedMetricsResponse
smart constructor.
Instances
newGetEC2RecommendationProjectedMetricsResponse Source #
:: Int |
|
-> GetEC2RecommendationProjectedMetricsResponse |
Create a value of GetEC2RecommendationProjectedMetricsResponse
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:recommendedOptionProjectedMetrics:GetEC2RecommendationProjectedMetricsResponse'
, getEC2RecommendationProjectedMetricsResponse_recommendedOptionProjectedMetrics
- An array of objects that describes projected metrics.
$sel:httpStatus:GetEC2RecommendationProjectedMetricsResponse'
, getEC2RecommendationProjectedMetricsResponse_httpStatus
- The response's http status code.
GetEnrollmentStatusesForOrganization
data GetEnrollmentStatusesForOrganization Source #
See: newGetEnrollmentStatusesForOrganization
smart constructor.
Instances
newGetEnrollmentStatusesForOrganization :: GetEnrollmentStatusesForOrganization Source #
Create a value of GetEnrollmentStatusesForOrganization
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:filters:GetEnrollmentStatusesForOrganization'
, getEnrollmentStatusesForOrganization_filters
- An array of objects to specify a filter that returns a more specific
list of account enrollment statuses.
$sel:nextToken:GetEnrollmentStatusesForOrganization'
, getEnrollmentStatusesForOrganization_nextToken
- The token to advance to the next page of account enrollment statuses.
$sel:maxResults:GetEnrollmentStatusesForOrganization'
, getEnrollmentStatusesForOrganization_maxResults
- The maximum number of account enrollment statuses to return with a
single request. You can specify up to 100 statuses to return with each
request.
To retrieve the remaining results, make another request with the
returned nextToken
value.
data GetEnrollmentStatusesForOrganizationResponse Source #
See: newGetEnrollmentStatusesForOrganizationResponse
smart constructor.
Instances
newGetEnrollmentStatusesForOrganizationResponse Source #
:: Int |
|
-> GetEnrollmentStatusesForOrganizationResponse |
Create a value of GetEnrollmentStatusesForOrganizationResponse
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:accountEnrollmentStatuses:GetEnrollmentStatusesForOrganizationResponse'
, getEnrollmentStatusesForOrganizationResponse_accountEnrollmentStatuses
- An array of objects that describe the enrollment statuses of
organization member accounts.
$sel:nextToken:GetEnrollmentStatusesForOrganization'
, getEnrollmentStatusesForOrganizationResponse_nextToken
- The token to use to advance to the next page of account enrollment
statuses.
This value is null when there are no more pages of account enrollment statuses to return.
$sel:httpStatus:GetEnrollmentStatusesForOrganizationResponse'
, getEnrollmentStatusesForOrganizationResponse_httpStatus
- The response's http status code.
GetEBSVolumeRecommendations
data GetEBSVolumeRecommendations Source #
See: newGetEBSVolumeRecommendations
smart constructor.
GetEBSVolumeRecommendations' (Maybe [Text]) (Maybe [EBSFilter]) (Maybe Text) (Maybe [Text]) (Maybe Int) |
Instances
newGetEBSVolumeRecommendations :: GetEBSVolumeRecommendations Source #
Create a value of GetEBSVolumeRecommendations
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:accountIds:GetEBSVolumeRecommendations'
, getEBSVolumeRecommendations_accountIds
- The ID of the Amazon Web Services account for which to return volume
recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.
Only one account ID can be specified per request.
$sel:filters:GetEBSVolumeRecommendations'
, getEBSVolumeRecommendations_filters
- An array of objects to specify a filter that returns a more specific
list of volume recommendations.
$sel:nextToken:GetEBSVolumeRecommendations'
, getEBSVolumeRecommendations_nextToken
- The token to advance to the next page of volume recommendations.
$sel:volumeArns:GetEBSVolumeRecommendations'
, getEBSVolumeRecommendations_volumeArns
- The Amazon Resource Name (ARN) of the volumes for which to return
recommendations.
$sel:maxResults:GetEBSVolumeRecommendations'
, getEBSVolumeRecommendations_maxResults
- The maximum number of volume recommendations to return with a single
request.
To retrieve the remaining results, make another request with the
returned nextToken
value.
data GetEBSVolumeRecommendationsResponse Source #
See: newGetEBSVolumeRecommendationsResponse
smart constructor.
GetEBSVolumeRecommendationsResponse' (Maybe Text) (Maybe [VolumeRecommendation]) (Maybe [GetRecommendationError]) Int |
Instances
newGetEBSVolumeRecommendationsResponse Source #
Create a value of GetEBSVolumeRecommendationsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetEBSVolumeRecommendations'
, getEBSVolumeRecommendationsResponse_nextToken
- The token to use to advance to the next page of volume recommendations.
This value is null when there are no more pages of volume recommendations to return.
$sel:volumeRecommendations:GetEBSVolumeRecommendationsResponse'
, getEBSVolumeRecommendationsResponse_volumeRecommendations
- An array of objects that describe volume recommendations.
$sel:errors:GetEBSVolumeRecommendationsResponse'
, getEBSVolumeRecommendationsResponse_errors
- An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an unsupported volume.
$sel:httpStatus:GetEBSVolumeRecommendationsResponse'
, getEBSVolumeRecommendationsResponse_httpStatus
- The response's http status code.
ExportLambdaFunctionRecommendations
data ExportLambdaFunctionRecommendations Source #
See: newExportLambdaFunctionRecommendations
smart constructor.
ExportLambdaFunctionRecommendations' (Maybe [Text]) (Maybe FileFormat) (Maybe [LambdaFunctionRecommendationFilter]) (Maybe [ExportableLambdaFunctionField]) (Maybe Bool) S3DestinationConfig |
Instances
newExportLambdaFunctionRecommendations Source #
:: S3DestinationConfig |
|
-> ExportLambdaFunctionRecommendations |
Create a value of ExportLambdaFunctionRecommendations
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:accountIds:ExportLambdaFunctionRecommendations'
, exportLambdaFunctionRecommendations_accountIds
- The IDs of the Amazon Web Services accounts for which to export Lambda
function recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
$sel:fileFormat:ExportLambdaFunctionRecommendations'
, exportLambdaFunctionRecommendations_fileFormat
- The format of the export file.
The only export file format currently supported is Csv
.
$sel:filters:ExportLambdaFunctionRecommendations'
, exportLambdaFunctionRecommendations_filters
- An array of objects to specify a filter that exports a more specific set
of Lambda function recommendations.
$sel:fieldsToExport:ExportLambdaFunctionRecommendations'
, exportLambdaFunctionRecommendations_fieldsToExport
- The recommendations data to include in the export file. For more
information about the fields that can be exported, see
Exported files
in the Compute Optimizer User Guide.
$sel:includeMemberAccounts:ExportLambdaFunctionRecommendations'
, exportLambdaFunctionRecommendations_includeMemberAccounts
- Indicates whether to include recommendations for resources in all member
accounts of the organization if your account is the management account
of an organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
$sel:s3DestinationConfig:ExportLambdaFunctionRecommendations'
, exportLambdaFunctionRecommendations_s3DestinationConfig
- Undocumented member.
data ExportLambdaFunctionRecommendationsResponse Source #
See: newExportLambdaFunctionRecommendationsResponse
smart constructor.
Instances
newExportLambdaFunctionRecommendationsResponse Source #
:: Int |
|
-> ExportLambdaFunctionRecommendationsResponse |
Create a value of ExportLambdaFunctionRecommendationsResponse
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:jobId:ExportLambdaFunctionRecommendationsResponse'
, exportLambdaFunctionRecommendationsResponse_jobId
- The identification number of the export job.
Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.
$sel:s3Destination:ExportLambdaFunctionRecommendationsResponse'
, exportLambdaFunctionRecommendationsResponse_s3Destination
- Undocumented member.
$sel:httpStatus:ExportLambdaFunctionRecommendationsResponse'
, exportLambdaFunctionRecommendationsResponse_httpStatus
- The response's http status code.
ExportEC2InstanceRecommendations
data ExportEC2InstanceRecommendations Source #
See: newExportEC2InstanceRecommendations
smart constructor.
ExportEC2InstanceRecommendations' (Maybe [Text]) (Maybe FileFormat) (Maybe [Filter]) (Maybe [ExportableInstanceField]) (Maybe Bool) (Maybe RecommendationPreferences) S3DestinationConfig |
Instances
newExportEC2InstanceRecommendations Source #
Create a value of ExportEC2InstanceRecommendations
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:accountIds:ExportEC2InstanceRecommendations'
, exportEC2InstanceRecommendations_accountIds
- The IDs of the Amazon Web Services accounts for which to export instance
recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.
This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.
Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.
You can specify multiple account IDs per request.
$sel:fileFormat:ExportEC2InstanceRecommendations'
, exportEC2InstanceRecommendations_fileFormat
- The format of the export file.
The only export file format currently supported is Csv
.
$sel:filters:ExportEC2InstanceRecommendations'
, exportEC2InstanceRecommendations_filters
- An array of objects to specify a filter that exports a more specific set
of instance recommendations.
$sel:fieldsToExport:ExportEC2InstanceRecommendations'
, exportEC2InstanceRecommendations_fieldsToExport
- The recommendations data to include in the export file. For more
information about the fields that can be exported, see
Exported files
in the Compute Optimizer User Guide.
$sel:includeMemberAccounts:ExportEC2InstanceRecommendations'
, exportEC2InstanceRecommendations_includeMemberAccounts
- Indicates whether to include recommendations for resources in all member
accounts of the organization if your account is the management account
of an organization.
The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.
Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.
Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
$sel:recommendationPreferences:ExportEC2InstanceRecommendations'
, exportEC2InstanceRecommendations_recommendationPreferences
- An object to specify the preferences for the Amazon EC2 instance
recommendations to export.
$sel:s3DestinationConfig:ExportEC2InstanceRecommendations'
, exportEC2InstanceRecommendations_s3DestinationConfig
- An object to specify the destination Amazon Simple Storage Service
(Amazon S3) bucket name and key prefix for the 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 permissions policy 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 that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User Guide.
data ExportEC2InstanceRecommendationsResponse Source #
See: newExportEC2InstanceRecommendationsResponse
smart constructor.
Instances
newExportEC2InstanceRecommendationsResponse Source #
Create a value of ExportEC2InstanceRecommendationsResponse
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:jobId:ExportEC2InstanceRecommendationsResponse'
, exportEC2InstanceRecommendationsResponse_jobId
- The identification number of the export job.
Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.
$sel:s3Destination:ExportEC2InstanceRecommendationsResponse'
, exportEC2InstanceRecommendationsResponse_s3Destination
- An object that describes the destination Amazon S3 bucket of a
recommendations export file.
$sel:httpStatus:ExportEC2InstanceRecommendationsResponse'
, exportEC2InstanceRecommendationsResponse_httpStatus
- The response's http status code.
GetEnrollmentStatus
data GetEnrollmentStatus Source #
See: newGetEnrollmentStatus
smart constructor.
Instances
newGetEnrollmentStatus :: GetEnrollmentStatus Source #
Create a value of GetEnrollmentStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data GetEnrollmentStatusResponse Source #
See: newGetEnrollmentStatusResponse
smart constructor.
Instances
newGetEnrollmentStatusResponse Source #
Create a value of GetEnrollmentStatusResponse
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:GetEnrollmentStatusResponse'
, getEnrollmentStatusResponse_status
- The enrollment status of the account.
$sel:numberOfMemberAccountsOptedIn:GetEnrollmentStatusResponse'
, getEnrollmentStatusResponse_numberOfMemberAccountsOptedIn
- The count of organization member accounts that are opted in to the
service, if your account is an organization management account.
$sel:memberAccountsEnrolled:GetEnrollmentStatusResponse'
, getEnrollmentStatusResponse_memberAccountsEnrolled
- Confirms the enrollment status of member accounts of the organization,
if the account is a management account of an organization.
$sel:statusReason:GetEnrollmentStatusResponse'
, getEnrollmentStatusResponse_statusReason
- The reason for the enrollment status of the account.
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:GetEnrollmentStatusResponse'
, getEnrollmentStatusResponse_lastUpdatedTimestamp
- The Unix epoch timestamp, in seconds, of when the account enrollment
status was last updated.
$sel:httpStatus:GetEnrollmentStatusResponse'
, getEnrollmentStatusResponse_httpStatus
- The response's http status code.
GetAutoScalingGroupRecommendations
data GetAutoScalingGroupRecommendations Source #
See: newGetAutoScalingGroupRecommendations
smart constructor.
GetAutoScalingGroupRecommendations' (Maybe [Text]) (Maybe [Filter]) (Maybe [Text]) (Maybe RecommendationPreferences) (Maybe Text) (Maybe Int) |
Instances
newGetAutoScalingGroupRecommendations :: GetAutoScalingGroupRecommendations Source #
Create a value of GetAutoScalingGroupRecommendations
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:accountIds:GetAutoScalingGroupRecommendations'
, getAutoScalingGroupRecommendations_accountIds
- The ID of the Amazon Web Services account for which to return Auto
Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
$sel:filters:GetAutoScalingGroupRecommendations'
, getAutoScalingGroupRecommendations_filters
- An array of objects to specify a filter that returns a more specific
list of Auto Scaling group recommendations.
$sel:autoScalingGroupArns:GetAutoScalingGroupRecommendations'
, getAutoScalingGroupRecommendations_autoScalingGroupArns
- The Amazon Resource Name (ARN) of the Auto Scaling groups for which to
return recommendations.
$sel:recommendationPreferences:GetAutoScalingGroupRecommendations'
, getAutoScalingGroupRecommendations_recommendationPreferences
- An object to specify the preferences for the Auto Scaling group
recommendations to return in the response.
$sel:nextToken:GetAutoScalingGroupRecommendations'
, getAutoScalingGroupRecommendations_nextToken
- The token to advance to the next page of Auto Scaling group
recommendations.
$sel:maxResults:GetAutoScalingGroupRecommendations'
, getAutoScalingGroupRecommendations_maxResults
- The maximum number of Auto Scaling group recommendations to return with
a single request.
To retrieve the remaining results, make another request with the
returned nextToken
value.
data GetAutoScalingGroupRecommendationsResponse Source #
See: newGetAutoScalingGroupRecommendationsResponse
smart constructor.
GetAutoScalingGroupRecommendationsResponse' (Maybe [AutoScalingGroupRecommendation]) (Maybe Text) (Maybe [GetRecommendationError]) Int |
Instances
newGetAutoScalingGroupRecommendationsResponse Source #
Create a value of GetAutoScalingGroupRecommendationsResponse
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:autoScalingGroupRecommendations:GetAutoScalingGroupRecommendationsResponse'
, getAutoScalingGroupRecommendationsResponse_autoScalingGroupRecommendations
- An array of objects that describe Auto Scaling group recommendations.
$sel:nextToken:GetAutoScalingGroupRecommendations'
, getAutoScalingGroupRecommendationsResponse_nextToken
- The token to use to advance to the next page of Auto Scaling group
recommendations.
This value is null when there are no more pages of Auto Scaling group recommendations to return.
$sel:errors:GetAutoScalingGroupRecommendationsResponse'
, getAutoScalingGroupRecommendationsResponse_errors
- An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an unsupported Auto Scaling group.
$sel:httpStatus:GetAutoScalingGroupRecommendationsResponse'
, getAutoScalingGroupRecommendationsResponse_httpStatus
- The response's http status code.
Types
CpuVendorArchitecture
newtype CpuVendorArchitecture Source #
pattern CpuVendorArchitecture_AWS_ARM64 :: CpuVendorArchitecture | |
pattern CpuVendorArchitecture_CURRENT :: CpuVendorArchitecture |
Instances
EBSFilterName
newtype EBSFilterName Source #
pattern EBSFilterName_Finding :: EBSFilterName |
Instances
EBSFinding
newtype EBSFinding Source #
pattern EBSFinding_NotOptimized :: EBSFinding | |
pattern EBSFinding_Optimized :: EBSFinding |
Instances
EBSMetricName
newtype EBSMetricName Source #
pattern EBSMetricName_VolumeReadBytesPerSecond :: EBSMetricName | |
pattern EBSMetricName_VolumeReadOpsPerSecond :: EBSMetricName | |
pattern EBSMetricName_VolumeWriteBytesPerSecond :: EBSMetricName | |
pattern EBSMetricName_VolumeWriteOpsPerSecond :: EBSMetricName |
Instances
EnrollmentFilterName
newtype EnrollmentFilterName Source #
pattern EnrollmentFilterName_Status :: EnrollmentFilterName |
Instances
ExportableAutoScalingGroupField
newtype ExportableAutoScalingGroupField Source #
Instances
ExportableInstanceField
newtype ExportableInstanceField Source #
Instances
ExportableLambdaFunctionField
newtype ExportableLambdaFunctionField Source #
Instances
ExportableVolumeField
newtype ExportableVolumeField Source #
Instances
FileFormat
newtype FileFormat Source #
pattern FileFormat_Csv :: FileFormat |
Instances
FilterName
newtype FilterName Source #
pattern FilterName_Finding :: FilterName | |
pattern FilterName_FindingReasonCodes :: FilterName | |
pattern FilterName_RecommendationSourceType :: FilterName |
Instances
Finding
pattern Finding_NotOptimized :: Finding | |
pattern Finding_Optimized :: Finding | |
pattern Finding_Overprovisioned :: Finding | |
pattern Finding_Underprovisioned :: Finding |
Instances
FindingReasonCode
newtype FindingReasonCode Source #
pattern FindingReasonCode_MemoryOverprovisioned :: FindingReasonCode | |
pattern FindingReasonCode_MemoryUnderprovisioned :: FindingReasonCode |
Instances
InstanceRecommendationFindingReasonCode
newtype InstanceRecommendationFindingReasonCode Source #
Instances
JobFilterName
newtype JobFilterName Source #
pattern JobFilterName_JobStatus :: JobFilterName | |
pattern JobFilterName_ResourceType :: JobFilterName |
Instances
JobStatus
pattern JobStatus_Complete :: JobStatus | |
pattern JobStatus_Failed :: JobStatus | |
pattern JobStatus_InProgress :: JobStatus | |
pattern JobStatus_Queued :: JobStatus |
Instances
LambdaFunctionMemoryMetricName
newtype LambdaFunctionMemoryMetricName Source #
Instances
LambdaFunctionMemoryMetricStatistic
newtype LambdaFunctionMemoryMetricStatistic Source #
Instances
LambdaFunctionMetricName
newtype LambdaFunctionMetricName Source #
pattern LambdaFunctionMetricName_Duration :: LambdaFunctionMetricName | |
pattern LambdaFunctionMetricName_Memory :: LambdaFunctionMetricName |
Instances
LambdaFunctionMetricStatistic
newtype LambdaFunctionMetricStatistic Source #
pattern LambdaFunctionMetricStatistic_Average :: LambdaFunctionMetricStatistic | |
pattern LambdaFunctionMetricStatistic_Maximum :: LambdaFunctionMetricStatistic |
Instances
LambdaFunctionRecommendationFilterName
newtype LambdaFunctionRecommendationFilterName Source #
Instances
LambdaFunctionRecommendationFinding
newtype LambdaFunctionRecommendationFinding Source #
Instances
LambdaFunctionRecommendationFindingReasonCode
newtype LambdaFunctionRecommendationFindingReasonCode Source #
Instances
MetricName
newtype MetricName Source #
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 #
pattern MetricStatistic_Average :: MetricStatistic | |
pattern MetricStatistic_Maximum :: MetricStatistic |
Instances
PlatformDifference
newtype PlatformDifference Source #
Instances
RecommendationSourceType
newtype RecommendationSourceType Source #
Instances
ResourceType
newtype ResourceType Source #
pattern ResourceType_AutoScalingGroup :: ResourceType | |
pattern ResourceType_EbsVolume :: ResourceType | |
pattern ResourceType_Ec2Instance :: ResourceType | |
pattern ResourceType_LambdaFunction :: ResourceType |
Instances
Status
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.
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.
AutoScalingGroupConfiguration
data AutoScalingGroupConfiguration Source #
Describes the configuration of an Auto Scaling group.
See: newAutoScalingGroupConfiguration
smart constructor.
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.
AutoScalingGroupRecommendation
data AutoScalingGroupRecommendation Source #
Describes an Auto Scaling group recommendation.
See: newAutoScalingGroupRecommendation
smart constructor.
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.
AutoScalingGroupRecommendationOption
data AutoScalingGroupRecommendationOption Source #
Describes a recommendation option for an Auto Scaling group.
See: newAutoScalingGroupRecommendationOption
smart constructor.
AutoScalingGroupRecommendationOption' (Maybe Double) (Maybe [UtilizationMetric]) (Maybe AutoScalingGroupConfiguration) (Maybe Int) |
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
.
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.
EBSFilter' (Maybe [Text]) (Maybe EBSFilterName) |
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
).
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.
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.
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.
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
).
ExportDestination
data ExportDestination Source #
Describes the destination of the recommendations export and metadata files.
See: newExportDestination
smart constructor.
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.
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.
Filter' (Maybe [Text]) (Maybe FilterName) |
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
Optimized
orNotOptimized
if you specify thename
parameter asFinding
and you want to filter results for Auto Scaling groups. - Specify
Underprovisioned
,Overprovisioned
, orOptimized
if you specify thename
parameter asFinding
and you want to filter results for EC2 instances. - Specify
Ec2Instance
orAutoScalingGroup
if you specify thename
parameter asRecommendationSourceType
. Specify one of the following options if you specify the
name
parameter asFindingReasonCodes
:CPUOverprovisioned
— The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload.CPUUnderprovisioned
— The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance.MemoryOverprovisioned
— The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload.MemoryUnderprovisioned
— The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance.EBSThroughputOverprovisioned
— The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload.EBSThroughputUnderprovisioned
— The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance.EBSIOPSOverprovisioned
— The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload.EBSIOPSUnderprovisioned
— The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance.NetworkBandwidthOverprovisioned
— The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload.NetworkBandwidthUnderprovisioned
— The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This finding reason happens when theNetworkIn
orNetworkOut
performance of an instance is impacted.NetworkPPSOverprovisioned
— The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload.NetworkPPSUnderprovisioned
— The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance.DiskIOPSOverprovisioned
— The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload.DiskIOPSUnderprovisioned
— The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance.DiskThroughputOverprovisioned
— The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload.DiskThroughputUnderprovisioned
— The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance.
$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
).
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.
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.
InstanceRecommendation
data InstanceRecommendation Source #
Describes an Amazon EC2 instance recommendation.
See: newInstanceRecommendation
smart constructor.
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 theCPUUtilization
metric of the current instance during the look-back period.CPUUnderprovisioned
— The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance. This is identified by analyzing theCPUUtilization
metric of the current instance during the look-back period.MemoryOverprovisioned
— The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the memory utilization metric of the current instance during the look-back period.MemoryUnderprovisioned
— The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance. This is identified by analyzing the memory utilization metric of the current instance during the look-back period.Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling memory utilization with the Amazon CloudWatch Agent in the Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
namespace.EBSThroughputOverprovisioned
— The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theVolumeReadOps
andVolumeWriteOps
metrics of EBS volumes attached to the current instance during the look-back period.EBSThroughputUnderprovisioned
— The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance. This is identified by analyzing theVolumeReadOps
andVolumeWriteOps
metrics of EBS volumes attached to the current instance during the look-back period.EBSIOPSOverprovisioned
— The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theVolumeReadBytes
andVolumeWriteBytes
metric of EBS volumes attached to the current instance during the look-back period.EBSIOPSUnderprovisioned
— The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance. This is identified by analyzing theVolumeReadBytes
andVolumeWriteBytes
metric of EBS volumes attached to the current instance during the look-back period.NetworkBandwidthOverprovisioned
— The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period.NetworkBandwidthUnderprovisioned
— The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This is identified by analyzing theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
performance of an instance is impacted.NetworkPPSOverprovisioned
— The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theNetworkPacketsIn
andNetworkPacketsIn
metrics of the current instance during the look-back period.NetworkPPSUnderprovisioned
— The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance. This is identified by analyzing theNetworkPacketsIn
andNetworkPacketsIn
metrics of the current instance during the look-back period.DiskIOPSOverprovisioned
— The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theDiskReadOps
andDiskWriteOps
metrics of the current instance during the look-back period.DiskIOPSUnderprovisioned
— The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance. This is identified by analyzing theDiskReadOps
andDiskWriteOps
metrics of the current instance during the look-back period.DiskThroughputOverprovisioned
— The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theDiskReadBytes
andDiskWriteBytes
metrics of the current instance during the look-back period.DiskThroughputUnderprovisioned
— The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance. This is identified by analyzing theDiskReadBytes
andDiskWriteBytes
metrics of the current instance during the look-back period.
For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
$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.
InstanceRecommendationOption
data InstanceRecommendationOption Source #
Describes a recommendation option for an Amazon EC2 instance.
See: newInstanceRecommendationOption
smart constructor.
InstanceRecommendationOption' (Maybe [PlatformDifference]) (Maybe Double) (Maybe [UtilizationMetric]) (Maybe Text) (Maybe Int) |
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
.
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.
JobFilter' (Maybe [Text]) (Maybe JobFilterName) |
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
Ec2Instance
orAutoScalingGroup
if you specify thename
parameter asResourceType
. There is no filter for EBS volumes because volume recommendations cannot be exported at this time. - Specify
Queued
,InProgress
,Complete
, orFailed
if you specify thename
parameter asJobStatus
.
$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
).
LambdaFunctionMemoryProjectedMetric
data LambdaFunctionMemoryProjectedMetric Source #
Describes a projected utilization metric of an Lambda function recommendation option.
See: newLambdaFunctionMemoryProjectedMetric
smart constructor.
LambdaFunctionMemoryProjectedMetric' (Maybe Double) (Maybe LambdaFunctionMemoryMetricName) (Maybe LambdaFunctionMemoryMetricStatistic) |
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.
LambdaFunctionMemoryRecommendationOption
data LambdaFunctionMemoryRecommendationOption Source #
Describes a recommendation option for an Lambda function.
See: newLambdaFunctionMemoryRecommendationOption
smart constructor.
LambdaFunctionMemoryRecommendationOption' (Maybe Int) (Maybe [LambdaFunctionMemoryProjectedMetric]) (Maybe Int) |
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
.
LambdaFunctionRecommendation
data LambdaFunctionRecommendation Source #
Describes an Lambda function recommendation.
See: newLambdaFunctionRecommendation
smart constructor.
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 theMemoryUnderprovisioned
andMemoryUnderprovisioned
finding reason codes.Unavailable
— Compute Optimizer was unable to generate a recommendation for the function. This could be because the function has not accumulated sufficient metric data, or the function does not qualify for a recommendation. This finding classification can include theInsufficientData
andInconclusive
finding reason codes.Functions with a finding of unavailable are not returned unless you specify the
filter
parameter with a value ofUnavailable
in yourGetLambdaFunctionRecommendations
request.
$sel: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 theNotOptimized
finding classification.MemoryUnderprovisioned
— The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of theNotOptimized
finding classification.InsufficientData
— The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of theUnavailable
finding classification.Inconclusive
— The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of theUnavailable
finding classification.
$sel: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.
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.
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
, orUnavailable
if you specify thename
parameter asFinding
. - Specify
MemoryOverprovisioned
,MemoryUnderprovisioned
,InsufficientData
, orInconclusive
if you specify thename
parameter 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
).
LambdaFunctionUtilizationMetric
data LambdaFunctionUtilizationMetric Source #
Describes a utilization metric of an Lambda function.
See: newLambdaFunctionUtilizationMetric
smart constructor.
LambdaFunctionUtilizationMetric' (Maybe Double) (Maybe LambdaFunctionMetricName) (Maybe LambdaFunctionMetricStatistic) |
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.
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.
ProjectedMetric' (Maybe [Double]) (Maybe MetricName) (Maybe [POSIX]) |
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
Memory
metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
$sel:timestamps:ProjectedMetric'
, projectedMetric_timestamps
- The timestamps of the projected utilization metric.
ReasonCodeSummary
data ReasonCodeSummary Source #
A summary of a finding reason code.
See: newReasonCodeSummary
smart constructor.
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.
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.
RecommendationExportJob' (Maybe Text) (Maybe ExportDestination) (Maybe JobStatus) (Maybe Text) (Maybe ResourceType) (Maybe POSIX) (Maybe POSIX) |
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.
RecommendationPreferences
data RecommendationPreferences Source #
Describes preferences for recommendations.
See: newRecommendationPreferences
smart constructor.
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.
RecommendationSource
data RecommendationSource Source #
Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling group.
See: newRecommendationSource
smart constructor.
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.
RecommendationSummary
data RecommendationSummary Source #
A summary of a recommendation.
See: newRecommendationSummary
smart constructor.
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.
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.
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.
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.
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.
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.
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.
Summary
The summary of a recommendation.
See: newSummary
smart constructor.
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.
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.
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
Memory
metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.EBS_READ_OPS_PER_SECOND
- The completed read operations from all EBS volumes attached to the instance in a specified period of time.Unit: Count
EBS_WRITE_OPS_PER_SECOND
- The completed write operations to all EBS volumes attached to the instance in a specified period of time.Unit: Count
EBS_READ_BYTES_PER_SECOND
- The bytes read from all EBS volumes attached to the instance in a specified period of time.Unit: Bytes
EBS_WRITE_BYTES_PER_SECOND
- The bytes written to all EBS volumes attached to the instance in a specified period of time.Unit: Bytes
DISK_READ_OPS_PER_SECOND
- The completed read operations from all instance store volumes available to the instance in a specified period of time.If there are no instance store volumes, either the value is
0
or the metric is not reported.DISK_WRITE_OPS_PER_SECOND
- The completed write operations from all instance store volumes available to the instance in a specified period of time.If there are no instance store volumes, either the value is
0
or the metric is not reported.DISK_READ_BYTES_PER_SECOND
- The bytes read from all instance store volumes available to the instance. This metric is used to determine the volume of the data the application reads from the disk of the instance. This can be used to determine the speed of the application.If there are no instance store volumes, either the value is
0
or the metric is not reported.DISK_WRITE_BYTES_PER_SECOND
- The bytes written to all instance store volumes available to the instance. This metric is used to determine the volume of the data the application writes onto the disk of the instance. This can be used to determine the speed of the application.If there are no instance store volumes, either the value is
0
or the metric is not reported.NETWORK_IN_BYTES_PER_SECOND
- The number of bytes received by the instance on all network interfaces. This metric identifies the volume of incoming network traffic to a single instance.NETWORK_OUT_BYTES_PER_SECOND
- The number of bytes sent out by the instance on all network interfaces. This metric identifies the volume of outgoing network traffic from a single instance.NETWORK_PACKETS_IN_PER_SECOND
- The number of packets received by the instance on all network interfaces. This metric identifies the volume of incoming traffic in terms of the number of packets on a single instance.NETWORK_PACKETS_OUT_PER_SECOND
- The number of packets sent out by the instance on all network interfaces. This metric identifies the volume of outgoing traffic in terms of the number of packets on a single instance.
$sel:statistic:UtilizationMetric'
, utilizationMetric_statistic
- The statistic of the utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
VolumeConfiguration
data VolumeConfiguration Source #
Describes the configuration of an Amazon Elastic Block Store (Amazon EBS) volume.
See: newVolumeConfiguration
smart constructor.
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.
VolumeRecommendation
data VolumeRecommendation Source #
Describes an Amazon Elastic Block Store (Amazon EBS) volume recommendation.
See: newVolumeRecommendation
smart constructor.
VolumeRecommendation' (Maybe EBSFinding) (Maybe Text) (Maybe POSIX) (Maybe VolumeConfiguration) (Maybe Text) (Maybe [EBSUtilizationMetric]) (Maybe [VolumeRecommendationOption]) (Maybe Double) |
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.
VolumeRecommendationOption
data VolumeRecommendationOption Source #
Describes a recommendation option for an Amazon Elastic Block Store (Amazon EBS) instance.
See: newVolumeRecommendationOption
smart constructor.
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
.