Skip to content

Literals#

Index > ComputeOptimizer > Literals

Auto-generated documentation for ComputeOptimizer type annotations stubs module mypy-boto3-compute-optimizer.

AutoScalingConfigurationType#

# AutoScalingConfigurationType usage example

from mypy_boto3_compute_optimizer.literals import AutoScalingConfigurationType

def get_value() -> AutoScalingConfigurationType:
    return "TargetTrackingScalingCpu"
# AutoScalingConfigurationType definition

AutoScalingConfigurationType = Literal[
    "TargetTrackingScalingCpu",
    "TargetTrackingScalingMemory",
]

CpuVendorArchitectureType#

# CpuVendorArchitectureType usage example

from mypy_boto3_compute_optimizer.literals import CpuVendorArchitectureType

def get_value() -> CpuVendorArchitectureType:
    return "AWS_ARM64"
# CpuVendorArchitectureType definition

CpuVendorArchitectureType = Literal[
    "AWS_ARM64",
    "CURRENT",
]

CurrencyType#

# CurrencyType usage example

from mypy_boto3_compute_optimizer.literals import CurrencyType

def get_value() -> CurrencyType:
    return "CNY"
# CurrencyType definition

CurrencyType = Literal[
    "CNY",
    "USD",
]

CurrentPerformanceRiskType#

# CurrentPerformanceRiskType usage example

from mypy_boto3_compute_optimizer.literals import CurrentPerformanceRiskType

def get_value() -> CurrentPerformanceRiskType:
    return "High"
# CurrentPerformanceRiskType definition

CurrentPerformanceRiskType = Literal[
    "High",
    "Low",
    "Medium",
    "VeryLow",
]

CustomizableMetricHeadroomType#

# CustomizableMetricHeadroomType usage example

from mypy_boto3_compute_optimizer.literals import CustomizableMetricHeadroomType

def get_value() -> CustomizableMetricHeadroomType:
    return "PERCENT_0"
# CustomizableMetricHeadroomType definition

CustomizableMetricHeadroomType = Literal[
    "PERCENT_0",
    "PERCENT_10",
    "PERCENT_20",
    "PERCENT_30",
]

CustomizableMetricNameType#

# CustomizableMetricNameType usage example

from mypy_boto3_compute_optimizer.literals import CustomizableMetricNameType

def get_value() -> CustomizableMetricNameType:
    return "CpuUtilization"
# CustomizableMetricNameType definition

CustomizableMetricNameType = Literal[
    "CpuUtilization",
    "MemoryUtilization",
]

CustomizableMetricThresholdType#

# CustomizableMetricThresholdType usage example

from mypy_boto3_compute_optimizer.literals import CustomizableMetricThresholdType

def get_value() -> CustomizableMetricThresholdType:
    return "P90"
# CustomizableMetricThresholdType definition

CustomizableMetricThresholdType = Literal[
    "P90",
    "P95",
    "P99_5",
]

DescribeRecommendationExportJobsPaginatorName#

# DescribeRecommendationExportJobsPaginatorName usage example

from mypy_boto3_compute_optimizer.literals import DescribeRecommendationExportJobsPaginatorName

def get_value() -> DescribeRecommendationExportJobsPaginatorName:
    return "describe_recommendation_export_jobs"
# DescribeRecommendationExportJobsPaginatorName definition

DescribeRecommendationExportJobsPaginatorName = Literal[
    "describe_recommendation_export_jobs",
]

EBSFilterNameType#

# EBSFilterNameType usage example

from mypy_boto3_compute_optimizer.literals import EBSFilterNameType

def get_value() -> EBSFilterNameType:
    return "Finding"
# EBSFilterNameType definition

EBSFilterNameType = Literal[
    "Finding",
]

EBSFindingType#

# EBSFindingType usage example

from mypy_boto3_compute_optimizer.literals import EBSFindingType

def get_value() -> EBSFindingType:
    return "NotOptimized"
# EBSFindingType definition

EBSFindingType = Literal[
    "NotOptimized",
    "Optimized",
]

EBSMetricNameType#

# EBSMetricNameType usage example

from mypy_boto3_compute_optimizer.literals import EBSMetricNameType

def get_value() -> EBSMetricNameType:
    return "VolumeReadBytesPerSecond"
# EBSMetricNameType definition

EBSMetricNameType = Literal[
    "VolumeReadBytesPerSecond",
    "VolumeReadOpsPerSecond",
    "VolumeWriteBytesPerSecond",
    "VolumeWriteOpsPerSecond",
]

EBSSavingsEstimationModeSourceType#

# EBSSavingsEstimationModeSourceType usage example

from mypy_boto3_compute_optimizer.literals import EBSSavingsEstimationModeSourceType

def get_value() -> EBSSavingsEstimationModeSourceType:
    return "CostExplorerRightsizing"
# EBSSavingsEstimationModeSourceType definition

EBSSavingsEstimationModeSourceType = Literal[
    "CostExplorerRightsizing",
    "CostOptimizationHub",
    "PublicPricing",
]

ECSSavingsEstimationModeSourceType#

# ECSSavingsEstimationModeSourceType usage example

from mypy_boto3_compute_optimizer.literals import ECSSavingsEstimationModeSourceType

def get_value() -> ECSSavingsEstimationModeSourceType:
    return "CostExplorerRightsizing"
# ECSSavingsEstimationModeSourceType definition

ECSSavingsEstimationModeSourceType = Literal[
    "CostExplorerRightsizing",
    "CostOptimizationHub",
    "PublicPricing",
]

ECSServiceLaunchTypeType#

# ECSServiceLaunchTypeType usage example

from mypy_boto3_compute_optimizer.literals import ECSServiceLaunchTypeType

def get_value() -> ECSServiceLaunchTypeType:
    return "EC2"
# ECSServiceLaunchTypeType definition

ECSServiceLaunchTypeType = Literal[
    "EC2",
    "Fargate",
]

ECSServiceMetricNameType#

# ECSServiceMetricNameType usage example

from mypy_boto3_compute_optimizer.literals import ECSServiceMetricNameType

def get_value() -> ECSServiceMetricNameType:
    return "Cpu"
# ECSServiceMetricNameType definition

ECSServiceMetricNameType = Literal[
    "Cpu",
    "Memory",
]

ECSServiceMetricStatisticType#

# ECSServiceMetricStatisticType usage example

from mypy_boto3_compute_optimizer.literals import ECSServiceMetricStatisticType

def get_value() -> ECSServiceMetricStatisticType:
    return "Average"
# ECSServiceMetricStatisticType definition

ECSServiceMetricStatisticType = Literal[
    "Average",
    "Maximum",
]

ECSServiceRecommendationFilterNameType#

# ECSServiceRecommendationFilterNameType usage example

from mypy_boto3_compute_optimizer.literals import ECSServiceRecommendationFilterNameType

def get_value() -> ECSServiceRecommendationFilterNameType:
    return "Finding"
# ECSServiceRecommendationFilterNameType definition

ECSServiceRecommendationFilterNameType = Literal[
    "Finding",
    "FindingReasonCode",
]

ECSServiceRecommendationFindingReasonCodeType#

# ECSServiceRecommendationFindingReasonCodeType usage example

from mypy_boto3_compute_optimizer.literals import ECSServiceRecommendationFindingReasonCodeType

def get_value() -> ECSServiceRecommendationFindingReasonCodeType:
    return "CPUOverprovisioned"
# ECSServiceRecommendationFindingReasonCodeType definition

ECSServiceRecommendationFindingReasonCodeType = Literal[
    "CPUOverprovisioned",
    "CPUUnderprovisioned",
    "MemoryOverprovisioned",
    "MemoryUnderprovisioned",
]

ECSServiceRecommendationFindingType#

# ECSServiceRecommendationFindingType usage example

from mypy_boto3_compute_optimizer.literals import ECSServiceRecommendationFindingType

def get_value() -> ECSServiceRecommendationFindingType:
    return "Optimized"
# ECSServiceRecommendationFindingType definition

ECSServiceRecommendationFindingType = Literal[
    "Optimized",
    "Overprovisioned",
    "Underprovisioned",
]

EnhancedInfrastructureMetricsType#

# EnhancedInfrastructureMetricsType usage example

from mypy_boto3_compute_optimizer.literals import EnhancedInfrastructureMetricsType

def get_value() -> EnhancedInfrastructureMetricsType:
    return "Active"
# EnhancedInfrastructureMetricsType definition

EnhancedInfrastructureMetricsType = Literal[
    "Active",
    "Inactive",
]

EnrollmentFilterNameType#

# EnrollmentFilterNameType usage example

from mypy_boto3_compute_optimizer.literals import EnrollmentFilterNameType

def get_value() -> EnrollmentFilterNameType:
    return "Status"
# EnrollmentFilterNameType definition

EnrollmentFilterNameType = Literal[
    "Status",
]

ExportableAutoScalingGroupFieldType#

# ExportableAutoScalingGroupFieldType usage example

from mypy_boto3_compute_optimizer.literals import ExportableAutoScalingGroupFieldType

def get_value() -> ExportableAutoScalingGroupFieldType:
    return "AccountId"
# ExportableAutoScalingGroupFieldType definition

ExportableAutoScalingGroupFieldType = Literal[
    "AccountId",
    "AutoScalingGroupArn",
    "AutoScalingGroupName",
    "CurrentConfigurationDesiredCapacity",
    "CurrentConfigurationInstanceType",
    "CurrentConfigurationMaxSize",
    "CurrentConfigurationMinSize",
    "CurrentInstanceGpuInfo",
    "CurrentMemory",
    "CurrentNetwork",
    "CurrentOnDemandPrice",
    "CurrentPerformanceRisk",
    "CurrentStandardOneYearNoUpfrontReservedPrice",
    "CurrentStandardThreeYearNoUpfrontReservedPrice",
    "CurrentStorage",
    "CurrentVCpus",
    "EffectiveRecommendationPreferencesCpuVendorArchitectures",
    "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
    "EffectiveRecommendationPreferencesInferredWorkloadTypes",
    "EffectiveRecommendationPreferencesLookBackPeriod",
    "EffectiveRecommendationPreferencesPreferredResources",
    "EffectiveRecommendationPreferencesSavingsEstimationMode",
    "Finding",
    "InferredWorkloadTypes",
    "LastRefreshTimestamp",
    "LookbackPeriodInDays",
    "RecommendationOptionsConfigurationDesiredCapacity",
    "RecommendationOptionsConfigurationInstanceType",
    "RecommendationOptionsConfigurationMaxSize",
    "RecommendationOptionsConfigurationMinSize",
    "RecommendationOptionsEstimatedMonthlySavingsCurrency",
    "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts",
    "RecommendationOptionsEstimatedMonthlySavingsValue",
    "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
    "RecommendationOptionsInstanceGpuInfo",
    "RecommendationOptionsMemory",
    "RecommendationOptionsMigrationEffort",
    "RecommendationOptionsNetwork",
    "RecommendationOptionsOnDemandPrice",
    "RecommendationOptionsPerformanceRisk",
    "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum",
    "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum",
    "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum",
    "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum",
    "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage",
    "RecommendationOptionsSavingsOpportunityPercentage",
    "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice",
    "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice",
    "RecommendationOptionsStorage",
    "RecommendationOptionsVcpus",
    "UtilizationMetricsCpuMaximum",
    "UtilizationMetricsDiskReadBytesPerSecondMaximum",
    "UtilizationMetricsDiskReadOpsPerSecondMaximum",
    "UtilizationMetricsDiskWriteBytesPerSecondMaximum",
    "UtilizationMetricsDiskWriteOpsPerSecondMaximum",
    "UtilizationMetricsEbsReadBytesPerSecondMaximum",
    "UtilizationMetricsEbsReadOpsPerSecondMaximum",
    "UtilizationMetricsEbsWriteBytesPerSecondMaximum",
    "UtilizationMetricsEbsWriteOpsPerSecondMaximum",
    "UtilizationMetricsGpuMemoryPercentageMaximum",
    "UtilizationMetricsGpuPercentageMaximum",
    "UtilizationMetricsMemoryMaximum",
    "UtilizationMetricsNetworkInBytesPerSecondMaximum",
    "UtilizationMetricsNetworkOutBytesPerSecondMaximum",
    "UtilizationMetricsNetworkPacketsInPerSecondMaximum",
    "UtilizationMetricsNetworkPacketsOutPerSecondMaximum",
]

ExportableECSServiceFieldType#

# ExportableECSServiceFieldType usage example

from mypy_boto3_compute_optimizer.literals import ExportableECSServiceFieldType

def get_value() -> ExportableECSServiceFieldType:
    return "AccountId"
# ExportableECSServiceFieldType definition

ExportableECSServiceFieldType = Literal[
    "AccountId",
    "CurrentPerformanceRisk",
    "CurrentServiceConfigurationAutoScalingConfiguration",
    "CurrentServiceConfigurationCpu",
    "CurrentServiceConfigurationMemory",
    "CurrentServiceConfigurationTaskDefinitionArn",
    "CurrentServiceContainerConfigurations",
    "EffectiveRecommendationPreferencesSavingsEstimationMode",
    "Finding",
    "FindingReasonCodes",
    "LastRefreshTimestamp",
    "LaunchType",
    "LookbackPeriodInDays",
    "RecommendationOptionsContainerRecommendations",
    "RecommendationOptionsCpu",
    "RecommendationOptionsEstimatedMonthlySavingsCurrency",
    "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts",
    "RecommendationOptionsEstimatedMonthlySavingsValue",
    "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
    "RecommendationOptionsMemory",
    "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum",
    "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum",
    "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage",
    "RecommendationOptionsSavingsOpportunityPercentage",
    "ServiceArn",
    "Tags",
    "UtilizationMetricsCpuMaximum",
    "UtilizationMetricsMemoryMaximum",
]

ExportableInstanceFieldType#

# ExportableInstanceFieldType usage example

from mypy_boto3_compute_optimizer.literals import ExportableInstanceFieldType

def get_value() -> ExportableInstanceFieldType:
    return "AccountId"
# ExportableInstanceFieldType definition

ExportableInstanceFieldType = Literal[
    "AccountId",
    "CurrentInstanceGpuInfo",
    "CurrentInstanceType",
    "CurrentMemory",
    "CurrentNetwork",
    "CurrentOnDemandPrice",
    "CurrentPerformanceRisk",
    "CurrentStandardOneYearNoUpfrontReservedPrice",
    "CurrentStandardThreeYearNoUpfrontReservedPrice",
    "CurrentStorage",
    "CurrentVCpus",
    "EffectiveRecommendationPreferencesCpuVendorArchitectures",
    "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
    "EffectiveRecommendationPreferencesExternalMetricsSource",
    "EffectiveRecommendationPreferencesInferredWorkloadTypes",
    "EffectiveRecommendationPreferencesLookBackPeriod",
    "EffectiveRecommendationPreferencesPreferredResources",
    "EffectiveRecommendationPreferencesSavingsEstimationMode",
    "EffectiveRecommendationPreferencesUtilizationPreferences",
    "ExternalMetricStatusCode",
    "ExternalMetricStatusReason",
    "Finding",
    "FindingReasonCodes",
    "Idle",
    "InferredWorkloadTypes",
    "InstanceArn",
    "InstanceName",
    "InstanceState",
    "LastRefreshTimestamp",
    "LookbackPeriodInDays",
    "RecommendationOptionsEstimatedMonthlySavingsCurrency",
    "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts",
    "RecommendationOptionsEstimatedMonthlySavingsValue",
    "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
    "RecommendationOptionsInstanceGpuInfo",
    "RecommendationOptionsInstanceType",
    "RecommendationOptionsMemory",
    "RecommendationOptionsMigrationEffort",
    "RecommendationOptionsNetwork",
    "RecommendationOptionsOnDemandPrice",
    "RecommendationOptionsPerformanceRisk",
    "RecommendationOptionsPlatformDifferences",
    "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum",
    "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum",
    "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum",
    "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum",
    "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage",
    "RecommendationOptionsSavingsOpportunityPercentage",
    "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice",
    "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice",
    "RecommendationOptionsStorage",
    "RecommendationOptionsVcpus",
    "RecommendationsSourcesRecommendationSourceArn",
    "RecommendationsSourcesRecommendationSourceType",
    "Tags",
    "UtilizationMetricsCpuMaximum",
    "UtilizationMetricsDiskReadBytesPerSecondMaximum",
    "UtilizationMetricsDiskReadOpsPerSecondMaximum",
    "UtilizationMetricsDiskWriteBytesPerSecondMaximum",
    "UtilizationMetricsDiskWriteOpsPerSecondMaximum",
    "UtilizationMetricsEbsReadBytesPerSecondMaximum",
    "UtilizationMetricsEbsReadOpsPerSecondMaximum",
    "UtilizationMetricsEbsWriteBytesPerSecondMaximum",
    "UtilizationMetricsEbsWriteOpsPerSecondMaximum",
    "UtilizationMetricsGpuMemoryPercentageMaximum",
    "UtilizationMetricsGpuPercentageMaximum",
    "UtilizationMetricsMemoryMaximum",
    "UtilizationMetricsNetworkInBytesPerSecondMaximum",
    "UtilizationMetricsNetworkOutBytesPerSecondMaximum",
    "UtilizationMetricsNetworkPacketsInPerSecondMaximum",
    "UtilizationMetricsNetworkPacketsOutPerSecondMaximum",
]

ExportableLambdaFunctionFieldType#

# ExportableLambdaFunctionFieldType usage example

from mypy_boto3_compute_optimizer.literals import ExportableLambdaFunctionFieldType

def get_value() -> ExportableLambdaFunctionFieldType:
    return "AccountId"
# ExportableLambdaFunctionFieldType definition

ExportableLambdaFunctionFieldType = Literal[
    "AccountId",
    "CurrentConfigurationMemorySize",
    "CurrentConfigurationTimeout",
    "CurrentCostAverage",
    "CurrentCostTotal",
    "CurrentPerformanceRisk",
    "EffectiveRecommendationPreferencesSavingsEstimationMode",
    "Finding",
    "FindingReasonCodes",
    "FunctionArn",
    "FunctionVersion",
    "LastRefreshTimestamp",
    "LookbackPeriodInDays",
    "NumberOfInvocations",
    "RecommendationOptionsConfigurationMemorySize",
    "RecommendationOptionsCostHigh",
    "RecommendationOptionsCostLow",
    "RecommendationOptionsEstimatedMonthlySavingsCurrency",
    "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts",
    "RecommendationOptionsEstimatedMonthlySavingsValue",
    "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
    "RecommendationOptionsProjectedUtilizationMetricsDurationExpected",
    "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound",
    "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound",
    "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage",
    "RecommendationOptionsSavingsOpportunityPercentage",
    "Tags",
    "UtilizationMetricsDurationAverage",
    "UtilizationMetricsDurationMaximum",
    "UtilizationMetricsMemoryAverage",
    "UtilizationMetricsMemoryMaximum",
]

ExportableLicenseFieldType#

# ExportableLicenseFieldType usage example

from mypy_boto3_compute_optimizer.literals import ExportableLicenseFieldType

def get_value() -> ExportableLicenseFieldType:
    return "AccountId"
# ExportableLicenseFieldType definition

ExportableLicenseFieldType = Literal[
    "AccountId",
    "CurrentLicenseConfigurationInstanceType",
    "CurrentLicenseConfigurationLicenseEdition",
    "CurrentLicenseConfigurationLicenseModel",
    "CurrentLicenseConfigurationLicenseName",
    "CurrentLicenseConfigurationLicenseVersion",
    "CurrentLicenseConfigurationMetricsSource",
    "CurrentLicenseConfigurationNumberOfCores",
    "CurrentLicenseConfigurationOperatingSystem",
    "Finding",
    "FindingReasonCodes",
    "LastRefreshTimestamp",
    "LookbackPeriodInDays",
    "RecommendationOptionsEstimatedMonthlySavingsCurrency",
    "RecommendationOptionsEstimatedMonthlySavingsValue",
    "RecommendationOptionsLicenseEdition",
    "RecommendationOptionsLicenseModel",
    "RecommendationOptionsOperatingSystem",
    "RecommendationOptionsSavingsOpportunityPercentage",
    "ResourceArn",
    "Tags",
]

ExportableVolumeFieldType#

# ExportableVolumeFieldType usage example

from mypy_boto3_compute_optimizer.literals import ExportableVolumeFieldType

def get_value() -> ExportableVolumeFieldType:
    return "AccountId"
# ExportableVolumeFieldType definition

ExportableVolumeFieldType = Literal[
    "AccountId",
    "CurrentConfigurationRootVolume",
    "CurrentConfigurationVolumeBaselineIOPS",
    "CurrentConfigurationVolumeBaselineThroughput",
    "CurrentConfigurationVolumeBurstIOPS",
    "CurrentConfigurationVolumeBurstThroughput",
    "CurrentConfigurationVolumeSize",
    "CurrentConfigurationVolumeType",
    "CurrentMonthlyPrice",
    "CurrentPerformanceRisk",
    "EffectiveRecommendationPreferencesSavingsEstimationMode",
    "Finding",
    "LastRefreshTimestamp",
    "LookbackPeriodInDays",
    "RecommendationOptionsConfigurationVolumeBaselineIOPS",
    "RecommendationOptionsConfigurationVolumeBaselineThroughput",
    "RecommendationOptionsConfigurationVolumeBurstIOPS",
    "RecommendationOptionsConfigurationVolumeBurstThroughput",
    "RecommendationOptionsConfigurationVolumeSize",
    "RecommendationOptionsConfigurationVolumeType",
    "RecommendationOptionsEstimatedMonthlySavingsCurrency",
    "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts",
    "RecommendationOptionsEstimatedMonthlySavingsValue",
    "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
    "RecommendationOptionsMonthlyPrice",
    "RecommendationOptionsPerformanceRisk",
    "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage",
    "RecommendationOptionsSavingsOpportunityPercentage",
    "RootVolume",
    "Tags",
    "UtilizationMetricsVolumeReadBytesPerSecondMaximum",
    "UtilizationMetricsVolumeReadOpsPerSecondMaximum",
    "UtilizationMetricsVolumeWriteBytesPerSecondMaximum",
    "UtilizationMetricsVolumeWriteOpsPerSecondMaximum",
    "VolumeArn",
]

ExternalMetricStatusCodeType#

# ExternalMetricStatusCodeType usage example

from mypy_boto3_compute_optimizer.literals import ExternalMetricStatusCodeType

def get_value() -> ExternalMetricStatusCodeType:
    return "DATADOG_INTEGRATION_ERROR"
# ExternalMetricStatusCodeType definition

ExternalMetricStatusCodeType = Literal[
    "DATADOG_INTEGRATION_ERROR",
    "DYNATRACE_INTEGRATION_ERROR",
    "INSTANA_INTEGRATION_ERROR",
    "INSUFFICIENT_DATADOG_METRICS",
    "INSUFFICIENT_DYNATRACE_METRICS",
    "INSUFFICIENT_INSTANA_METRICS",
    "INSUFFICIENT_NEWRELIC_METRICS",
    "INTEGRATION_SUCCESS",
    "NEWRELIC_INTEGRATION_ERROR",
    "NO_EXTERNAL_METRIC_SET",
]

ExternalMetricsSourceType#

# ExternalMetricsSourceType usage example

from mypy_boto3_compute_optimizer.literals import ExternalMetricsSourceType

def get_value() -> ExternalMetricsSourceType:
    return "Datadog"
# ExternalMetricsSourceType definition

ExternalMetricsSourceType = Literal[
    "Datadog",
    "Dynatrace",
    "Instana",
    "NewRelic",
]

FileFormatType#

# FileFormatType usage example

from mypy_boto3_compute_optimizer.literals import FileFormatType

def get_value() -> FileFormatType:
    return "Csv"
# FileFormatType definition

FileFormatType = Literal[
    "Csv",
]

FilterNameType#

# FilterNameType usage example

from mypy_boto3_compute_optimizer.literals import FilterNameType

def get_value() -> FilterNameType:
    return "Finding"
# FilterNameType definition

FilterNameType = Literal[
    "Finding",
    "FindingReasonCodes",
    "InferredWorkloadTypes",
    "RecommendationSourceType",
]

FindingReasonCodeType#

# FindingReasonCodeType usage example

from mypy_boto3_compute_optimizer.literals import FindingReasonCodeType

def get_value() -> FindingReasonCodeType:
    return "MemoryOverprovisioned"
# FindingReasonCodeType definition

FindingReasonCodeType = Literal[
    "MemoryOverprovisioned",
    "MemoryUnderprovisioned",
]

FindingType#

# FindingType usage example

from mypy_boto3_compute_optimizer.literals import FindingType

def get_value() -> FindingType:
    return "NotOptimized"
# FindingType definition

FindingType = Literal[
    "NotOptimized",
    "Optimized",
    "Overprovisioned",
    "Underprovisioned",
]

GetEnrollmentStatusesForOrganizationPaginatorName#

# GetEnrollmentStatusesForOrganizationPaginatorName usage example

from mypy_boto3_compute_optimizer.literals import GetEnrollmentStatusesForOrganizationPaginatorName

def get_value() -> GetEnrollmentStatusesForOrganizationPaginatorName:
    return "get_enrollment_statuses_for_organization"
# GetEnrollmentStatusesForOrganizationPaginatorName definition

GetEnrollmentStatusesForOrganizationPaginatorName = Literal[
    "get_enrollment_statuses_for_organization",
]

GetLambdaFunctionRecommendationsPaginatorName#

# GetLambdaFunctionRecommendationsPaginatorName usage example

from mypy_boto3_compute_optimizer.literals import GetLambdaFunctionRecommendationsPaginatorName

def get_value() -> GetLambdaFunctionRecommendationsPaginatorName:
    return "get_lambda_function_recommendations"
# GetLambdaFunctionRecommendationsPaginatorName definition

GetLambdaFunctionRecommendationsPaginatorName = Literal[
    "get_lambda_function_recommendations",
]

GetRecommendationPreferencesPaginatorName#

# GetRecommendationPreferencesPaginatorName usage example

from mypy_boto3_compute_optimizer.literals import GetRecommendationPreferencesPaginatorName

def get_value() -> GetRecommendationPreferencesPaginatorName:
    return "get_recommendation_preferences"
# GetRecommendationPreferencesPaginatorName definition

GetRecommendationPreferencesPaginatorName = Literal[
    "get_recommendation_preferences",
]

GetRecommendationSummariesPaginatorName#

# GetRecommendationSummariesPaginatorName usage example

from mypy_boto3_compute_optimizer.literals import GetRecommendationSummariesPaginatorName

def get_value() -> GetRecommendationSummariesPaginatorName:
    return "get_recommendation_summaries"
# GetRecommendationSummariesPaginatorName definition

GetRecommendationSummariesPaginatorName = Literal[
    "get_recommendation_summaries",
]

InferredWorkloadTypeType#

# InferredWorkloadTypeType usage example

from mypy_boto3_compute_optimizer.literals import InferredWorkloadTypeType

def get_value() -> InferredWorkloadTypeType:
    return "AmazonEmr"
# InferredWorkloadTypeType definition

InferredWorkloadTypeType = Literal[
    "AmazonEmr",
    "ApacheCassandra",
    "ApacheHadoop",
    "Kafka",
    "Memcached",
    "Nginx",
    "PostgreSql",
    "Redis",
    "SQLServer",
]

InferredWorkloadTypesPreferenceType#

# InferredWorkloadTypesPreferenceType usage example

from mypy_boto3_compute_optimizer.literals import InferredWorkloadTypesPreferenceType

def get_value() -> InferredWorkloadTypesPreferenceType:
    return "Active"
# InferredWorkloadTypesPreferenceType definition

InferredWorkloadTypesPreferenceType = Literal[
    "Active",
    "Inactive",
]

InstanceIdleType#

# InstanceIdleType usage example

from mypy_boto3_compute_optimizer.literals import InstanceIdleType

def get_value() -> InstanceIdleType:
    return "False"
# InstanceIdleType definition

InstanceIdleType = Literal[
    "False",
    "True",
]

InstanceRecommendationFindingReasonCodeType#

# InstanceRecommendationFindingReasonCodeType usage example

from mypy_boto3_compute_optimizer.literals import InstanceRecommendationFindingReasonCodeType

def get_value() -> InstanceRecommendationFindingReasonCodeType:
    return "CPUOverprovisioned"
# InstanceRecommendationFindingReasonCodeType definition

InstanceRecommendationFindingReasonCodeType = Literal[
    "CPUOverprovisioned",
    "CPUUnderprovisioned",
    "DiskIOPSOverprovisioned",
    "DiskIOPSUnderprovisioned",
    "DiskThroughputOverprovisioned",
    "DiskThroughputUnderprovisioned",
    "EBSIOPSOverprovisioned",
    "EBSIOPSUnderprovisioned",
    "EBSThroughputOverprovisioned",
    "EBSThroughputUnderprovisioned",
    "GPUMemoryOverprovisioned",
    "GPUMemoryUnderprovisioned",
    "GPUOverprovisioned",
    "GPUUnderprovisioned",
    "MemoryOverprovisioned",
    "MemoryUnderprovisioned",
    "NetworkBandwidthOverprovisioned",
    "NetworkBandwidthUnderprovisioned",
    "NetworkPPSOverprovisioned",
    "NetworkPPSUnderprovisioned",
]

InstanceSavingsEstimationModeSourceType#

# InstanceSavingsEstimationModeSourceType usage example

from mypy_boto3_compute_optimizer.literals import InstanceSavingsEstimationModeSourceType

def get_value() -> InstanceSavingsEstimationModeSourceType:
    return "CostExplorerRightsizing"
# InstanceSavingsEstimationModeSourceType definition

InstanceSavingsEstimationModeSourceType = Literal[
    "CostExplorerRightsizing",
    "CostOptimizationHub",
    "PublicPricing",
]

InstanceStateType#

# InstanceStateType usage example

from mypy_boto3_compute_optimizer.literals import InstanceStateType

def get_value() -> InstanceStateType:
    return "pending"
# InstanceStateType definition

InstanceStateType = Literal[
    "pending",
    "running",
    "shutting-down",
    "stopped",
    "stopping",
    "terminated",
]

JobFilterNameType#

# JobFilterNameType usage example

from mypy_boto3_compute_optimizer.literals import JobFilterNameType

def get_value() -> JobFilterNameType:
    return "JobStatus"
# JobFilterNameType definition

JobFilterNameType = Literal[
    "JobStatus",
    "ResourceType",
]

JobStatusType#

# JobStatusType usage example

from mypy_boto3_compute_optimizer.literals import JobStatusType

def get_value() -> JobStatusType:
    return "Complete"
# JobStatusType definition

JobStatusType = Literal[
    "Complete",
    "Failed",
    "InProgress",
    "Queued",
]

LambdaFunctionMemoryMetricNameType#

# LambdaFunctionMemoryMetricNameType usage example

from mypy_boto3_compute_optimizer.literals import LambdaFunctionMemoryMetricNameType

def get_value() -> LambdaFunctionMemoryMetricNameType:
    return "Duration"
# LambdaFunctionMemoryMetricNameType definition

LambdaFunctionMemoryMetricNameType = Literal[
    "Duration",
]

LambdaFunctionMemoryMetricStatisticType#

# LambdaFunctionMemoryMetricStatisticType usage example

from mypy_boto3_compute_optimizer.literals import LambdaFunctionMemoryMetricStatisticType

def get_value() -> LambdaFunctionMemoryMetricStatisticType:
    return "Expected"
# LambdaFunctionMemoryMetricStatisticType definition

LambdaFunctionMemoryMetricStatisticType = Literal[
    "Expected",
    "LowerBound",
    "UpperBound",
]

LambdaFunctionMetricNameType#

# LambdaFunctionMetricNameType usage example

from mypy_boto3_compute_optimizer.literals import LambdaFunctionMetricNameType

def get_value() -> LambdaFunctionMetricNameType:
    return "Duration"