Skip to content

Type definitions#

Index > ComputeOptimizer > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AccountEnrollmentStatusTypeDef#

# AccountEnrollmentStatusTypeDef definition

class AccountEnrollmentStatusTypeDef(TypedDict):
    accountId: NotRequired[str],
    status: NotRequired[StatusType],  # (1)
    statusReason: NotRequired[str],
    lastUpdatedTimestamp: NotRequired[datetime],
  1. See StatusType

AutoScalingGroupConfigurationTypeDef#

# AutoScalingGroupConfigurationTypeDef definition

class AutoScalingGroupConfigurationTypeDef(TypedDict):
    desiredCapacity: NotRequired[int],
    minSize: NotRequired[int],
    maxSize: NotRequired[int],
    instanceType: NotRequired[str],

AutoScalingGroupEstimatedMonthlySavingsTypeDef#

# AutoScalingGroupEstimatedMonthlySavingsTypeDef definition

class AutoScalingGroupEstimatedMonthlySavingsTypeDef(TypedDict):
    currency: NotRequired[CurrencyType],  # (1)
    value: NotRequired[float],
  1. See CurrencyType

UtilizationMetricTypeDef#

# UtilizationMetricTypeDef definition

class UtilizationMetricTypeDef(TypedDict):
    name: NotRequired[MetricNameType],  # (1)
    statistic: NotRequired[MetricStatisticType],  # (2)
    value: NotRequired[float],
  1. See MetricNameType
  2. See MetricStatisticType

MemorySizeConfigurationTypeDef#

# MemorySizeConfigurationTypeDef definition

class MemorySizeConfigurationTypeDef(TypedDict):
    memory: NotRequired[int],
    memoryReservation: NotRequired[int],

CurrentPerformanceRiskRatingsTypeDef#

# CurrentPerformanceRiskRatingsTypeDef definition

class CurrentPerformanceRiskRatingsTypeDef(TypedDict):
    high: NotRequired[int],
    medium: NotRequired[int],
    low: NotRequired[int],
    veryLow: NotRequired[int],

CustomizableMetricParametersTypeDef#

# CustomizableMetricParametersTypeDef definition

class CustomizableMetricParametersTypeDef(TypedDict):
    threshold: NotRequired[CustomizableMetricThresholdType],  # (1)
    headroom: NotRequired[CustomizableMetricHeadroomType],  # (2)
  1. See CustomizableMetricThresholdType
  2. See CustomizableMetricHeadroomType

ScopeTypeDef#

# ScopeTypeDef definition

class ScopeTypeDef(TypedDict):
    name: NotRequired[ScopeNameType],  # (1)
    value: NotRequired[str],
  1. See ScopeNameType

JobFilterTypeDef#

# JobFilterTypeDef definition

class JobFilterTypeDef(TypedDict):
    name: NotRequired[JobFilterNameType],  # (1)
    values: NotRequired[Sequence[str]],
  1. See JobFilterNameType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

EBSSavingsEstimationModeTypeDef#

# EBSSavingsEstimationModeTypeDef definition

class EBSSavingsEstimationModeTypeDef(TypedDict):
    source: NotRequired[EBSSavingsEstimationModeSourceType],  # (1)
  1. See EBSSavingsEstimationModeSourceType

EBSEstimatedMonthlySavingsTypeDef#

# EBSEstimatedMonthlySavingsTypeDef definition

class EBSEstimatedMonthlySavingsTypeDef(TypedDict):
    currency: NotRequired[CurrencyType],  # (1)
    value: NotRequired[float],
  1. See CurrencyType

EBSFilterTypeDef#

# EBSFilterTypeDef definition

class EBSFilterTypeDef(TypedDict):
    name: NotRequired[EBSFilterNameType],  # (1)
    values: NotRequired[Sequence[str]],
  1. See EBSFilterNameType

EBSUtilizationMetricTypeDef#

# EBSUtilizationMetricTypeDef definition

class EBSUtilizationMetricTypeDef(TypedDict):
    name: NotRequired[EBSMetricNameType],  # (1)
    statistic: NotRequired[MetricStatisticType],  # (2)
    value: NotRequired[float],
  1. See EBSMetricNameType
  2. See MetricStatisticType

ECSSavingsEstimationModeTypeDef#

# ECSSavingsEstimationModeTypeDef definition

class ECSSavingsEstimationModeTypeDef(TypedDict):
    source: NotRequired[ECSSavingsEstimationModeSourceType],  # (1)
  1. See ECSSavingsEstimationModeSourceType

ECSEstimatedMonthlySavingsTypeDef#

# ECSEstimatedMonthlySavingsTypeDef definition

class ECSEstimatedMonthlySavingsTypeDef(TypedDict):
    currency: NotRequired[CurrencyType],  # (1)
    value: NotRequired[float],
  1. See CurrencyType

ECSServiceProjectedMetricTypeDef#

# ECSServiceProjectedMetricTypeDef definition

class ECSServiceProjectedMetricTypeDef(TypedDict):
    name: NotRequired[ECSServiceMetricNameType],  # (1)
    timestamps: NotRequired[List[datetime]],
    upperBoundValues: NotRequired[List[float]],
    lowerBoundValues: NotRequired[List[float]],
  1. See ECSServiceMetricNameType

ECSServiceProjectedUtilizationMetricTypeDef#

# ECSServiceProjectedUtilizationMetricTypeDef definition

class ECSServiceProjectedUtilizationMetricTypeDef(TypedDict):
    name: NotRequired[ECSServiceMetricNameType],  # (1)
    statistic: NotRequired[ECSServiceMetricStatisticType],  # (2)
    lowerBoundValue: NotRequired[float],
    upperBoundValue: NotRequired[float],
  1. See ECSServiceMetricNameType
  2. See ECSServiceMetricStatisticType

ECSServiceRecommendationFilterTypeDef#

# ECSServiceRecommendationFilterTypeDef definition

class ECSServiceRecommendationFilterTypeDef(TypedDict):
    name: NotRequired[ECSServiceRecommendationFilterNameType],  # (1)
    values: NotRequired[Sequence[str]],
  1. See ECSServiceRecommendationFilterNameType

ECSServiceUtilizationMetricTypeDef#

# ECSServiceUtilizationMetricTypeDef definition

class ECSServiceUtilizationMetricTypeDef(TypedDict):
    name: NotRequired[ECSServiceMetricNameType],  # (1)
    statistic: NotRequired[ECSServiceMetricStatisticType],  # (2)
    value: NotRequired[float],
  1. See ECSServiceMetricNameType
  2. See ECSServiceMetricStatisticType

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

EffectivePreferredResourceTypeDef#

# EffectivePreferredResourceTypeDef definition

class EffectivePreferredResourceTypeDef(TypedDict):
    name: NotRequired[PreferredResourceNameType],  # (1)
    includeList: NotRequired[List[str]],
    effectiveIncludeList: NotRequired[List[str]],
    excludeList: NotRequired[List[str]],
  1. See PreferredResourceNameType

ExternalMetricsPreferenceTypeDef#

# ExternalMetricsPreferenceTypeDef definition

class ExternalMetricsPreferenceTypeDef(TypedDict):
    source: NotRequired[ExternalMetricsSourceType],  # (1)
  1. See ExternalMetricsSourceType

InstanceSavingsEstimationModeTypeDef#

# InstanceSavingsEstimationModeTypeDef definition

class InstanceSavingsEstimationModeTypeDef(TypedDict):
    source: NotRequired[InstanceSavingsEstimationModeSourceType],  # (1)
  1. See InstanceSavingsEstimationModeSourceType

EnrollmentFilterTypeDef#

# EnrollmentFilterTypeDef definition

class EnrollmentFilterTypeDef(TypedDict):
    name: NotRequired[EnrollmentFilterNameType],  # (1)
    values: NotRequired[Sequence[str]],
  1. See EnrollmentFilterNameType

EstimatedMonthlySavingsTypeDef#

# EstimatedMonthlySavingsTypeDef definition

class EstimatedMonthlySavingsTypeDef(TypedDict):
    currency: NotRequired[CurrencyType],  # (1)
    value: NotRequired[float],
  1. See CurrencyType

FilterTypeDef#

# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    name: NotRequired[FilterNameType],  # (1)
    values: NotRequired[Sequence[str]],
  1. See FilterNameType

RecommendationPreferencesTypeDef#

# RecommendationPreferencesTypeDef definition

class RecommendationPreferencesTypeDef(TypedDict):
    cpuVendorArchitectures: NotRequired[Sequence[CpuVendorArchitectureType]],  # (1)
  1. See CpuVendorArchitectureType

S3DestinationConfigTypeDef#

# S3DestinationConfigTypeDef definition

class S3DestinationConfigTypeDef(TypedDict):
    bucket: NotRequired[str],
    keyPrefix: NotRequired[str],

S3DestinationTypeDef#

# S3DestinationTypeDef definition

class S3DestinationTypeDef(TypedDict):
    bucket: NotRequired[str],
    key: NotRequired[str],
    metadataKey: NotRequired[str],

LambdaFunctionRecommendationFilterTypeDef#

# LambdaFunctionRecommendationFilterTypeDef definition

class LambdaFunctionRecommendationFilterTypeDef(TypedDict):
    name: NotRequired[LambdaFunctionRecommendationFilterNameType],  # (1)
    values: NotRequired[Sequence[str]],
  1. See LambdaFunctionRecommendationFilterNameType

LicenseRecommendationFilterTypeDef#

# LicenseRecommendationFilterTypeDef definition

class LicenseRecommendationFilterTypeDef(TypedDict):
    name: NotRequired[LicenseRecommendationFilterNameType],  # (1)
    values: NotRequired[Sequence[str]],
  1. See LicenseRecommendationFilterNameType

ExternalMetricStatusTypeDef#

# ExternalMetricStatusTypeDef definition

class ExternalMetricStatusTypeDef(TypedDict):
    statusCode: NotRequired[ExternalMetricStatusCodeType],  # (1)
    statusReason: NotRequired[str],
  1. See ExternalMetricStatusCodeType

GetRecommendationErrorTypeDef#

# GetRecommendationErrorTypeDef definition

class GetRecommendationErrorTypeDef(TypedDict):
    identifier: NotRequired[str],
    code: NotRequired[str],
    message: NotRequired[str],

GetEffectiveRecommendationPreferencesRequestRequestTypeDef#

# GetEffectiveRecommendationPreferencesRequestRequestTypeDef definition

class GetEffectiveRecommendationPreferencesRequestRequestTypeDef(TypedDict):
    resourceArn: str,

GetRecommendationSummariesRequestRequestTypeDef#

# GetRecommendationSummariesRequestRequestTypeDef definition

class GetRecommendationSummariesRequestRequestTypeDef(TypedDict):
    accountIds: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

GpuTypeDef#

# GpuTypeDef definition

class GpuTypeDef(TypedDict):
    gpuCount: NotRequired[int],
    gpuMemorySizeInMiB: NotRequired[int],

InstanceEstimatedMonthlySavingsTypeDef#

# InstanceEstimatedMonthlySavingsTypeDef definition

class InstanceEstimatedMonthlySavingsTypeDef(TypedDict):
    currency: NotRequired[CurrencyType],  # (1)
    value: NotRequired[float],
  1. See CurrencyType

RecommendationSourceTypeDef#

# RecommendationSourceTypeDef definition

class RecommendationSourceTypeDef(TypedDict):
    recommendationSourceArn: NotRequired[str],
    recommendationSourceType: NotRequired[RecommendationSourceTypeType],  # (1)
  1. See RecommendationSourceTypeType

LambdaSavingsEstimationModeTypeDef#

# LambdaSavingsEstimationModeTypeDef definition

class LambdaSavingsEstimationModeTypeDef(TypedDict):
    source: NotRequired[LambdaSavingsEstimationModeSourceType],  # (1)
  1. See LambdaSavingsEstimationModeSourceType

LambdaEstimatedMonthlySavingsTypeDef#

# LambdaEstimatedMonthlySavingsTypeDef definition

class LambdaEstimatedMonthlySavingsTypeDef(TypedDict):
    currency: NotRequired[CurrencyType],  # (1)
    value: NotRequired[float],
  1. See CurrencyType

LambdaFunctionMemoryProjectedMetricTypeDef#

# LambdaFunctionMemoryProjectedMetricTypeDef definition

class LambdaFunctionMemoryProjectedMetricTypeDef(TypedDict):
    name: NotRequired[LambdaFunctionMemoryMetricNameType],  # (1)
    statistic: NotRequired[LambdaFunctionMemoryMetricStatisticType],  # (2)
    value: NotRequired[float],
  1. See LambdaFunctionMemoryMetricNameType
  2. See LambdaFunctionMemoryMetricStatisticType

LambdaFunctionUtilizationMetricTypeDef#

# LambdaFunctionUtilizationMetricTypeDef definition

class LambdaFunctionUtilizationMetricTypeDef(TypedDict):
    name: NotRequired[LambdaFunctionMetricNameType],  # (1)
    statistic: NotRequired[LambdaFunctionMetricStatisticType],  # (2)
    value: NotRequired[float],
  1. See LambdaFunctionMetricNameType
  2. See LambdaFunctionMetricStatisticType

MetricSourceTypeDef#

# MetricSourceTypeDef definition

class MetricSourceTypeDef(TypedDict):
    provider: NotRequired[MetricSourceProviderType],  # (1)
    providerArn: NotRequired[str],
  1. See MetricSourceProviderType

PreferredResourceTypeDef#

# PreferredResourceTypeDef definition

class PreferredResourceTypeDef(TypedDict):
    name: NotRequired[PreferredResourceNameType],  # (1)
    includeList: NotRequired[Sequence[str]],
    excludeList: NotRequired[Sequence[str]],
  1. See PreferredResourceNameType

ProjectedMetricTypeDef#

# ProjectedMetricTypeDef definition

class ProjectedMetricTypeDef(TypedDict):
    name: NotRequired[MetricNameType],  # (1)
    timestamps: NotRequired[List[datetime]],
    values: NotRequired[List[float]],
  1. See MetricNameType

ReasonCodeSummaryTypeDef#

# ReasonCodeSummaryTypeDef definition

class ReasonCodeSummaryTypeDef(TypedDict):
    name: NotRequired[FindingReasonCodeType],  # (1)
    value: NotRequired[float],
  1. See FindingReasonCodeType

UpdateEnrollmentStatusRequestRequestTypeDef#

# UpdateEnrollmentStatusRequestRequestTypeDef definition

class UpdateEnrollmentStatusRequestRequestTypeDef(TypedDict):
    status: StatusType,  # (1)
    includeMemberAccounts: NotRequired[bool],
  1. See StatusType

VolumeConfigurationTypeDef#

# VolumeConfigurationTypeDef definition

class VolumeConfigurationTypeDef(TypedDict):
    volumeType: NotRequired[str],
    volumeSize: NotRequired[int],
    volumeBaselineIOPS: NotRequired[int],
    volumeBurstIOPS: NotRequired[int],
    volumeBaselineThroughput: NotRequired[int],
    volumeBurstThroughput: NotRequired[int],
    rootVolume: NotRequired[bool],

AutoScalingGroupSavingsOpportunityAfterDiscountsTypeDef#

# AutoScalingGroupSavingsOpportunityAfterDiscountsTypeDef definition

class AutoScalingGroupSavingsOpportunityAfterDiscountsTypeDef(TypedDict):
    savingsOpportunityPercentage: NotRequired[float],
    estimatedMonthlySavings: NotRequired[AutoScalingGroupEstimatedMonthlySavingsTypeDef],  # (1)
  1. See AutoScalingGroupEstimatedMonthlySavingsTypeDef

ContainerConfigurationTypeDef#

# ContainerConfigurationTypeDef definition

class ContainerConfigurationTypeDef(TypedDict):
    containerName: NotRequired[str],
    memorySizeConfiguration: NotRequired[MemorySizeConfigurationTypeDef],  # (1)
    cpu: NotRequired[int],
  1. See MemorySizeConfigurationTypeDef

ContainerRecommendationTypeDef#

# ContainerRecommendationTypeDef definition

class ContainerRecommendationTypeDef(TypedDict):
    containerName: NotRequired[str],
    memorySizeConfiguration: NotRequired[MemorySizeConfigurationTypeDef],  # (1)
    cpu: NotRequired[int],
  1. See MemorySizeConfigurationTypeDef

UtilizationPreferenceTypeDef#

# UtilizationPreferenceTypeDef definition

class UtilizationPreferenceTypeDef(TypedDict):
    metricName: NotRequired[CustomizableMetricNameType],  # (1)
    metricParameters: NotRequired[CustomizableMetricParametersTypeDef],  # (2)
  1. See CustomizableMetricNameType
  2. See CustomizableMetricParametersTypeDef

DeleteRecommendationPreferencesRequestRequestTypeDef#

# DeleteRecommendationPreferencesRequestRequestTypeDef definition

class DeleteRecommendationPreferencesRequestRequestTypeDef(TypedDict):
    resourceType: ResourceTypeType,  # (1)
    recommendationPreferenceNames: Sequence[RecommendationPreferenceNameType],  # (2)
    scope: NotRequired[ScopeTypeDef],  # (3)
  1. See ResourceTypeType
  2. See RecommendationPreferenceNameType
  3. See ScopeTypeDef

GetRecommendationPreferencesRequestRequestTypeDef#

# GetRecommendationPreferencesRequestRequestTypeDef definition

class GetRecommendationPreferencesRequestRequestTypeDef(TypedDict):
    resourceType: ResourceTypeType,  # (1)
    scope: NotRequired[ScopeTypeDef],  # (2)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See ResourceTypeType
  2. See ScopeTypeDef

DescribeRecommendationExportJobsRequestRequestTypeDef#

# DescribeRecommendationExportJobsRequestRequestTypeDef definition

class DescribeRecommendationExportJobsRequestRequestTypeDef(TypedDict):
    jobIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[JobFilterTypeDef]],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See JobFilterTypeDef

DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef#

# DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef definition

class DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef(TypedDict):
    jobIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[JobFilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See JobFilterTypeDef
  2. See PaginatorConfigTypeDef

GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef#

# GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef definition

class GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef(TypedDict):
    resourceType: ResourceTypeType,  # (1)
    scope: NotRequired[ScopeTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See ResourceTypeType
  2. See ScopeTypeDef
  3. See PaginatorConfigTypeDef

GetRecommendationSummariesRequestGetRecommendationSummariesPaginateTypeDef#

# GetRecommendationSummariesRequestGetRecommendationSummariesPaginateTypeDef definition

class GetRecommendationSummariesRequestGetRecommendationSummariesPaginateTypeDef(TypedDict):
    accountIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetEnrollmentStatusResponseTypeDef#

# GetEnrollmentStatusResponseTypeDef definition

class GetEnrollmentStatusResponseTypeDef(TypedDict):
    status: StatusType,  # (1)
    statusReason: str,
    memberAccountsEnrolled: bool,
    lastUpdatedTimestamp: datetime,
    numberOfMemberAccountsOptedIn: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StatusType
  2. See ResponseMetadataTypeDef

GetEnrollmentStatusesForOrganizationResponseTypeDef#

# GetEnrollmentStatusesForOrganizationResponseTypeDef definition

class GetEnrollmentStatusesForOrganizationResponseTypeDef(TypedDict):
    accountEnrollmentStatuses: List[AccountEnrollmentStatusTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccountEnrollmentStatusTypeDef
  2. See ResponseMetadataTypeDef

UpdateEnrollmentStatusResponseTypeDef#

# UpdateEnrollmentStatusResponseTypeDef definition

class UpdateEnrollmentStatusResponseTypeDef(TypedDict):
    status: StatusType,  # (1)
    statusReason: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StatusType
  2. See ResponseMetadataTypeDef

EBSEffectiveRecommendationPreferencesTypeDef#

# EBSEffectiveRecommendationPreferencesTypeDef definition

class EBSEffectiveRecommendationPreferencesTypeDef(TypedDict):
    savingsEstimationMode: NotRequired[EBSSavingsEstimationModeTypeDef],  # (1)
  1. See EBSSavingsEstimationModeTypeDef

EBSSavingsOpportunityAfterDiscountsTypeDef#

# EBSSavingsOpportunityAfterDiscountsTypeDef definition

class EBSSavingsOpportunityAfterDiscountsTypeDef(TypedDict):
    savingsOpportunityPercentage: NotRequired[float],
    estimatedMonthlySavings: NotRequired[EBSEstimatedMonthlySavingsTypeDef],  # (1)
  1. See EBSEstimatedMonthlySavingsTypeDef

GetEBSVolumeRecommendationsRequestRequestTypeDef#

# GetEBSVolumeRecommendationsRequestRequestTypeDef definition

class GetEBSVolumeRecommendationsRequestRequestTypeDef(TypedDict):
    volumeArns: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filters: NotRequired[Sequence[EBSFilterTypeDef]],  # (1)
    accountIds: NotRequired[Sequence[str]],
  1. See EBSFilterTypeDef

ECSEffectiveRecommendationPreferencesTypeDef#

# ECSEffectiveRecommendationPreferencesTypeDef definition

class ECSEffectiveRecommendationPreferencesTypeDef(TypedDict):
    savingsEstimationMode: NotRequired[ECSSavingsEstimationModeTypeDef],  # (1)
  1. See ECSSavingsEstimationModeTypeDef

ECSSavingsOpportunityAfterDiscountsTypeDef#

# ECSSavingsOpportunityAfterDiscountsTypeDef definition

class ECSSavingsOpportunityAfterDiscountsTypeDef(TypedDict):
    savingsOpportunityPercentage: NotRequired[float],
    estimatedMonthlySavings: NotRequired[ECSEstimatedMonthlySavingsTypeDef],  # (1)
  1. See ECSEstimatedMonthlySavingsTypeDef

ECSServiceRecommendedOptionProjectedMetricTypeDef#

# ECSServiceRecommendedOptionProjectedMetricTypeDef definition

class ECSServiceRecommendedOptionProjectedMetricTypeDef(TypedDict):
    recommendedCpuUnits: NotRequired[int],
    recommendedMemorySize: NotRequired[int],
    projectedMetrics: NotRequired[List[ECSServiceProjectedMetricTypeDef]],  # (1)
  1. See ECSServiceProjectedMetricTypeDef

GetECSServiceRecommendationsRequestRequestTypeDef#

# GetECSServiceRecommendationsRequestRequestTypeDef definition

class GetECSServiceRecommendationsRequestRequestTypeDef(TypedDict):
    serviceArns: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filters: NotRequired[Sequence[ECSServiceRecommendationFilterTypeDef]],  # (1)
    accountIds: NotRequired[Sequence[str]],
  1. See ECSServiceRecommendationFilterTypeDef

GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef#

# GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef definition

class GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef(TypedDict):
    filters: NotRequired[Sequence[EnrollmentFilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See EnrollmentFilterTypeDef
  2. See PaginatorConfigTypeDef

GetEnrollmentStatusesForOrganizationRequestRequestTypeDef#

# GetEnrollmentStatusesForOrganizationRequestRequestTypeDef definition

class GetEnrollmentStatusesForOrganizationRequestRequestTypeDef(TypedDict):
    filters: NotRequired[Sequence[EnrollmentFilterTypeDef]],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See EnrollmentFilterTypeDef

InferredWorkloadSavingTypeDef#

# InferredWorkloadSavingTypeDef definition

class InferredWorkloadSavingTypeDef(TypedDict):
    inferredWorkloadTypes: NotRequired[List[InferredWorkloadTypeType]],  # (1)
    estimatedMonthlySavings: NotRequired[EstimatedMonthlySavingsTypeDef],  # (2)
  1. See InferredWorkloadTypeType
  2. See EstimatedMonthlySavingsTypeDef

SavingsOpportunityTypeDef#

# SavingsOpportunityTypeDef definition

class SavingsOpportunityTypeDef(TypedDict):
    savingsOpportunityPercentage: NotRequired[float],
    estimatedMonthlySavings: NotRequired[EstimatedMonthlySavingsTypeDef],  # (1)
  1. See EstimatedMonthlySavingsTypeDef

GetAutoScalingGroupRecommendationsRequestRequestTypeDef#

# GetAutoScalingGroupRecommendationsRequestRequestTypeDef definition

class GetAutoScalingGroupRecommendationsRequestRequestTypeDef(TypedDict):
    accountIds: NotRequired[Sequence[str]],
    autoScalingGroupArns: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef],  # (2)
  1. See FilterTypeDef
  2. See RecommendationPreferencesTypeDef

GetEC2InstanceRecommendationsRequestRequestTypeDef#

# GetEC2InstanceRecommendationsRequestRequestTypeDef definition

class GetEC2InstanceRecommendationsRequestRequestTypeDef(TypedDict):
    instanceArns: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    accountIds: NotRequired[Sequence[str]],
    recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef],  # (2)
  1. See FilterTypeDef
  2. See RecommendationPreferencesTypeDef

ExportAutoScalingGroupRecommendationsRequestRequestTypeDef#

# ExportAutoScalingGroupRecommendationsRequestRequestTypeDef definition

class ExportAutoScalingGroupRecommendationsRequestRequestTypeDef(TypedDict):
    s3DestinationConfig: S3DestinationConfigTypeDef,  # (1)
    accountIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[FilterTypeDef]],  # (2)
    fieldsToExport: NotRequired[Sequence[ExportableAutoScalingGroupFieldType]],  # (3)
    fileFormat: NotRequired[FileFormatType],  # (4)
    includeMemberAccounts: NotRequired[bool],
    recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef],  # (5)
  1. See S3DestinationConfigTypeDef
  2. See FilterTypeDef
  3. See ExportableAutoScalingGroupFieldType
  4. See FileFormatType
  5. See RecommendationPreferencesTypeDef

ExportEBSVolumeRecommendationsRequestRequestTypeDef#

# ExportEBSVolumeRecommendationsRequestRequestTypeDef definition

class ExportEBSVolumeRecommendationsRequestRequestTypeDef(TypedDict):
    s3DestinationConfig: S3DestinationConfigTypeDef,  # (1)
    accountIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[EBSFilterTypeDef]],  # (2)
    fieldsToExport: NotRequired[Sequence[ExportableVolumeFieldType]],  # (3)
    fileFormat: NotRequired[FileFormatType],  # (4)
    includeMemberAccounts: NotRequired[bool],
  1. See S3DestinationConfigTypeDef
  2. See EBSFilterTypeDef
  3. See ExportableVolumeFieldType
  4. See FileFormatType

ExportEC2InstanceRecommendationsRequestRequestTypeDef#

# ExportEC2InstanceRecommendationsRequestRequestTypeDef definition

class ExportEC2InstanceRecommendationsRequestRequestTypeDef(TypedDict):
    s3DestinationConfig: S3DestinationConfigTypeDef,  # (1)
    accountIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[FilterTypeDef]],  # (2)
    fieldsToExport: NotRequired[Sequence[ExportableInstanceFieldType]],  # (3)
    fileFormat: NotRequired[FileFormatType],  # (4)
    includeMemberAccounts: NotRequired[bool],
    recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef],  # (5)
  1. See S3DestinationConfigTypeDef
  2. See FilterTypeDef
  3. See ExportableInstanceFieldType
  4. See FileFormatType
  5. See RecommendationPreferencesTypeDef

ExportECSServiceRecommendationsRequestRequestTypeDef#

# ExportECSServiceRecommendationsRequestRequestTypeDef definition

class ExportECSServiceRecommendationsRequestRequestTypeDef(TypedDict):
    s3DestinationConfig: S3DestinationConfigTypeDef,  # (1)
    accountIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[ECSServiceRecommendationFilterTypeDef]],  # (2)
    fieldsToExport: NotRequired[Sequence[ExportableECSServiceFieldType]],  # (3)
    fileFormat: NotRequired[FileFormatType],  # (4)
    includeMemberAccounts: NotRequired[bool],
  1. See S3DestinationConfigTypeDef
  2. See ECSServiceRecommendationFilterTypeDef
  3. See ExportableECSServiceFieldType
  4. See FileFormatType

ExportAutoScalingGroupRecommendationsResponseTypeDef#

# ExportAutoScalingGroupRecommendationsResponseTypeDef definition

class ExportAutoScalingGroupRecommendationsResponseTypeDef(TypedDict):
    jobId: str,
    s3Destination: S3DestinationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See S3DestinationTypeDef
  2. See ResponseMetadataTypeDef

ExportDestinationTypeDef#

# ExportDestinationTypeDef definition

class ExportDestinationTypeDef(TypedDict):
    s3: NotRequired[S3DestinationTypeDef],  # (1)
  1. See S3DestinationTypeDef

ExportEBSVolumeRecommendationsResponseTypeDef#

# ExportEBSVolumeRecommendationsResponseTypeDef definition

class ExportEBSVolumeRecommendationsResponseTypeDef(TypedDict):
    jobId: str,
    s3Destination: S3DestinationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See S3DestinationTypeDef
  2. See ResponseMetadataTypeDef

ExportEC2InstanceRecommendationsResponseTypeDef#

# ExportEC2InstanceRecommendationsResponseTypeDef definition

class ExportEC2InstanceRecommendationsResponseTypeDef(TypedDict):
    jobId: str,
    s3Destination: S3DestinationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See S3DestinationTypeDef
  2. See ResponseMetadataTypeDef

ExportECSServiceRecommendationsResponseTypeDef#

# ExportECSServiceRecommendationsResponseTypeDef definition

class ExportECSServiceRecommendationsResponseTypeDef(TypedDict):
    jobId: str,
    s3Destination: S3DestinationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See S3DestinationTypeDef
  2. See ResponseMetadataTypeDef

ExportLambdaFunctionRecommendationsResponseTypeDef#

# ExportLambdaFunctionRecommendationsResponseTypeDef definition

class ExportLambdaFunctionRecommendationsResponseTypeDef(TypedDict):
    jobId: str,
    s3Destination: S3DestinationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See S3DestinationTypeDef
  2. See ResponseMetadataTypeDef

ExportLicenseRecommendationsResponseTypeDef#

# ExportLicenseRecommendationsResponseTypeDef definition

class ExportLicenseRecommendationsResponseTypeDef(TypedDict):
    jobId: str,
    s3Destination: S3DestinationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See S3DestinationTypeDef
  2. See ResponseMetadataTypeDef

ExportLambdaFunctionRecommendationsRequestRequestTypeDef#

# ExportLambdaFunctionRecommendationsRequestRequestTypeDef definition

class ExportLambdaFunctionRecommendationsRequestRequestTypeDef(TypedDict):
    s3DestinationConfig: S3DestinationConfigTypeDef,  # (1)
    accountIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[LambdaFunctionRecommendationFilterTypeDef]],  # (2)
    fieldsToExport: NotRequired[Sequence[ExportableLambdaFunctionFieldType]],  # (3)
    fileFormat: NotRequired[FileFormatType],  # (4)
    includeMemberAccounts: NotRequired[bool],
  1. See S3DestinationConfigTypeDef
  2. See LambdaFunctionRecommendationFilterTypeDef
  3. See ExportableLambdaFunctionFieldType
  4. See FileFormatType

GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef#

# GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef definition

class GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef(TypedDict):
    functionArns: NotRequired[Sequence[str]],
    accountIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[LambdaFunctionRecommendationFilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LambdaFunctionRecommendationFilterTypeDef
  2. See PaginatorConfigTypeDef

GetLambdaFunctionRecommendationsRequestRequestTypeDef#

# GetLambdaFunctionRecommendationsRequestRequestTypeDef definition

class GetLambdaFunctionRecommendationsRequestRequestTypeDef(TypedDict):
    functionArns: NotRequired[Sequence[str]],
    accountIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[LambdaFunctionRecommendationFilterTypeDef]],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See LambdaFunctionRecommendationFilterTypeDef

ExportLicenseRecommendationsRequestRequestTypeDef#

# ExportLicenseRecommendationsRequestRequestTypeDef definition

class ExportLicenseRecommendationsRequestRequestTypeDef(TypedDict):
    s3DestinationConfig: S3DestinationConfigTypeDef,  # (1)
    accountIds: NotRequired[Sequence[str]],
    filters: NotRequired[Sequence[LicenseRecommendationFilterTypeDef]],  # (2)
    fieldsToExport: NotRequired[Sequence[ExportableLicenseFieldType]],  # (3)
    fileFormat: NotRequired[FileFormatType],  # (4)
    includeMemberAccounts: NotRequired[bool],
  1. See S3DestinationConfigTypeDef
  2. See LicenseRecommendationFilterTypeDef
  3. See ExportableLicenseFieldType
  4. See FileFormatType

GetLicenseRecommendationsRequestRequestTypeDef#

# GetLicenseRecommendationsRequestRequestTypeDef definition

class GetLicenseRecommendationsRequestRequestTypeDef(TypedDict):
    resourceArns: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    filters: NotRequired[Sequence[LicenseRecommendationFilterTypeDef]],  # (1)
    accountIds: NotRequired[Sequence[str]],
  1. See LicenseRecommendationFilterTypeDef

GetEC2RecommendationProjectedMetricsRequestRequestTypeDef#

# GetEC2RecommendationProjectedMetricsRequestRequestTypeDef definition

class GetEC2RecommendationProjectedMetricsRequestRequestTypeDef(TypedDict):
    instanceArn: str,
    stat: MetricStatisticType,  # (1)
    period: int,
    startTime: Union[datetime, str],
    endTime: Union[datetime, str],
    recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef],  # (2)
  1. See MetricStatisticType
  2. See RecommendationPreferencesTypeDef

GetECSServiceRecommendationProjectedMetricsRequestRequestTypeDef#

# GetECSServiceRecommendationProjectedMetricsRequestRequestTypeDef definition

class GetECSServiceRecommendationProjectedMetricsRequestRequestTypeDef(TypedDict):
    serviceArn: str,
    stat: MetricStatisticType,  # (1)
    period: int,
    startTime: Union[datetime, str],
    endTime: Union[datetime, str],
  1. See MetricStatisticType

GpuInfoTypeDef#

# GpuInfoTypeDef definition

class GpuInfoTypeDef(TypedDict):
    gpus: NotRequired[List[GpuTypeDef]],  # (1)
  1. See GpuTypeDef

InstanceSavingsOpportunityAfterDiscountsTypeDef#

# InstanceSavingsOpportunityAfterDiscountsTypeDef definition

class InstanceSavingsOpportunityAfterDiscountsTypeDef(TypedDict):
    savingsOpportunityPercentage: NotRequired[float],
    estimatedMonthlySavings: NotRequired[InstanceEstimatedMonthlySavingsTypeDef],  # (1)
  1. See InstanceEstimatedMonthlySavingsTypeDef

LambdaEffectiveRecommendationPreferencesTypeDef#

# LambdaEffectiveRecommendationPreferencesTypeDef definition

class LambdaEffectiveRecommendationPreferencesTypeDef(TypedDict):
    savingsEstimationMode: NotRequired[LambdaSavingsEstimationModeTypeDef],  # (1)
  1. See LambdaSavingsEstimationModeTypeDef

LambdaSavingsOpportunityAfterDiscountsTypeDef#

# LambdaSavingsOpportunityAfterDiscountsTypeDef definition

class LambdaSavingsOpportunityAfterDiscountsTypeDef(TypedDict):
    savingsOpportunityPercentage: NotRequired[float],
    estimatedMonthlySavings: NotRequired[LambdaEstimatedMonthlySavingsTypeDef],  # (1)
  1. See LambdaEstimatedMonthlySavingsTypeDef

LicenseConfigurationTypeDef#

# LicenseConfigurationTypeDef definition

class LicenseConfigurationTypeDef(TypedDict):
    numberOfCores: NotRequired[int],
    instanceType: NotRequired[str],
    operatingSystem: NotRequired[str],
    licenseEdition: NotRequired[LicenseEditionType],  # (1)
    licenseName: NotRequired[LicenseNameType],  # (2)
    licenseModel: NotRequired[LicenseModelType],  # (3)
    licenseVersion: NotRequired[str],
    metricsSource: NotRequired[List[MetricSourceTypeDef]],  # (4)
  1. See LicenseEditionType
  2. See LicenseNameType
  3. See LicenseModelType
  4. See MetricSourceTypeDef

RecommendedOptionProjectedMetricTypeDef#

# RecommendedOptionProjectedMetricTypeDef definition

class RecommendedOptionProjectedMetricTypeDef(TypedDict):
    recommendedInstanceType: NotRequired[str],
    rank: NotRequired[int],
    projectedMetrics: NotRequired[List[ProjectedMetricTypeDef]],  # (1)
  1. See ProjectedMetricTypeDef

SummaryTypeDef#

# SummaryTypeDef definition

class SummaryTypeDef(TypedDict):
    name: NotRequired[FindingType],  # (1)
    value: NotRequired[float],
    reasonCodeSummaries: NotRequired[List[ReasonCodeSummaryTypeDef]],  # (2)
  1. See FindingType
  2. See ReasonCodeSummaryTypeDef

ServiceConfigurationTypeDef#

# ServiceConfigurationTypeDef definition

class ServiceConfigurationTypeDef(TypedDict):
    memory: NotRequired[int],
    cpu: NotRequired[int],
    containerConfigurations: NotRequired[List[ContainerConfigurationTypeDef]],  # (1)
    autoScalingConfiguration: NotRequired[AutoScalingConfigurationType],  # (2)
    taskDefinitionArn: NotRequired[str],
  1. See ContainerConfigurationTypeDef
  2. See AutoScalingConfigurationType

EffectiveRecommendationPreferencesTypeDef#

# EffectiveRecommendationPreferencesTypeDef definition

class EffectiveRecommendationPreferencesTypeDef(TypedDict):
    cpuVendorArchitectures: NotRequired[List[CpuVendorArchitectureType]],  # (1)
    enhancedInfrastructureMetrics: NotRequired[EnhancedInfrastructureMetricsType],  # (2)
    inferredWorkloadTypes: NotRequired[InferredWorkloadTypesPreferenceType],  # (3)
    externalMetricsPreference: NotRequired[ExternalMetricsPreferenceTypeDef],  # (4)
    lookBackPeriod: NotRequired[LookBackPeriodPreferenceType],  # (5)
    utilizationPreferences: NotRequired[List[UtilizationPreferenceTypeDef]],  # (6)
    preferredResources: NotRequired[List[EffectivePreferredResourceTypeDef]],  # (7)
    savingsEstimationMode: NotRequired[InstanceSavingsEstimationModeTypeDef],  # (8)
  1. See CpuVendorArchitectureType
  2. See EnhancedInfrastructureMetricsType
  3. See InferredWorkloadTypesPreferenceType
  4. See ExternalMetricsPreferenceTypeDef
  5. See LookBackPeriodPreferenceType
  6. See UtilizationPreferenceTypeDef
  7. See EffectivePreferredResourceTypeDef
  8. See InstanceSavingsEstimationModeTypeDef

GetEffectiveRecommendationPreferencesResponseTypeDef#

# GetEffectiveRecommendationPreferencesResponseTypeDef definition

class GetEffectiveRecommendationPreferencesResponseTypeDef(TypedDict):
    enhancedInfrastructureMetrics: EnhancedInfrastructureMetricsType,  # (1)
    externalMetricsPreference: ExternalMetricsPreferenceTypeDef,  # (2)
    lookBackPeriod: LookBackPeriodPreferenceType,  # (3)
    utilizationPreferences: List[UtilizationPreferenceTypeDef],  # (4)
    preferredResources: List[EffectivePreferredResourceTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See EnhancedInfrastructureMetricsType
  2. See ExternalMetricsPreferenceTypeDef
  3. See LookBackPeriodPreferenceType
  4. See UtilizationPreferenceTypeDef
  5. See EffectivePreferredResourceTypeDef
  6. See ResponseMetadataTypeDef

PutRecommendationPreferencesRequestRequestTypeDef#

# PutRecommendationPreferencesRequestRequestTypeDef definition

class PutRecommendationPreferencesRequestRequestTypeDef(TypedDict):
    resourceType: ResourceTypeType,  # (1)
    scope: NotRequired[ScopeTypeDef],  # (2)
    enhancedInfrastructureMetrics: NotRequired[EnhancedInfrastructureMetricsType],  # (3)
    inferredWorkloadTypes: NotRequired[InferredWorkloadTypesPreferenceType],  # (4)
    externalMetricsPreference: NotRequired[ExternalMetricsPreferenceTypeDef],  # (5)
    lookBackPeriod: NotRequired[LookBackPeriodPreferenceType],  # (6)
    utilizationPreferences: NotRequired[Sequence[UtilizationPreferenceTypeDef]],  # (7)
    preferredResources: NotRequired[Sequence[PreferredResourceTypeDef]],  # (8)
    savingsEstimationMode: NotRequired[SavingsEstimationModeType],  # (9)
  1. See ResourceTypeType
  2. See ScopeTypeDef
  3. See EnhancedInfrastructureMetricsType
  4. See InferredWorkloadTypesPreferenceType
  5. See ExternalMetricsPreferenceTypeDef
  6. See LookBackPeriodPreferenceType
  7. See UtilizationPreferenceTypeDef
  8. See PreferredResourceTypeDef
  9. See SavingsEstimationModeType

RecommendationPreferencesDetailTypeDef#

# RecommendationPreferencesDetailTypeDef definition

class RecommendationPreferencesDetailTypeDef(TypedDict):
    scope: NotRequired[ScopeTypeDef],  # (1)
    resourceType: NotRequired[ResourceTypeType],  # (2)
    enhancedInfrastructureMetrics: NotRequired[EnhancedInfrastructureMetricsType],  # (3)
    inferredWorkloadTypes: NotRequired[InferredWorkloadTypesPreferenceType],  # (4)
    externalMetricsPreference: NotRequired[ExternalMetricsPreferenceTypeDef],  # (5)
    lookBackPeriod: NotRequired[LookBackPeriodPreferenceType],  # (6)
    utilizationPreferences: NotRequired[List[UtilizationPreferenceTypeDef]],  # (7)
    preferredResources: NotRequired[List[EffectivePreferredResourceTypeDef]],  # (8)
    savingsEstimationMode: NotRequired[SavingsEstimationModeType],  # (9)
  1. See ScopeTypeDef
  2. See ResourceTypeType
  3. See EnhancedInfrastructureMetricsType
  4. See InferredWorkloadTypesPreferenceType
  5. See ExternalMetricsPreferenceTypeDef
  6. See LookBackPeriodPreferenceType
  7. See UtilizationPreferenceTypeDef
  8. See EffectivePreferredResourceTypeDef
  9. See SavingsEstimationModeType

GetECSServiceRecommendationProjectedMetricsResponseTypeDef#

# GetECSServiceRecommendationProjectedMetricsResponseTypeDef definition

class GetECSServiceRecommendationProjectedMetricsResponseTypeDef(TypedDict):
    recommendedOptionProjectedMetrics: List[ECSServiceRecommendedOptionProjectedMetricTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ECSServiceRecommendedOptionProjectedMetricTypeDef
  2. See ResponseMetadataTypeDef

ECSServiceRecommendationOptionTypeDef#

# ECSServiceRecommendationOptionTypeDef definition

class ECSServiceRecommendationOptionTypeDef(TypedDict):
    memory: NotRequired[int],
    cpu: NotRequired[int],
    savingsOpportunity: NotRequired[SavingsOpportunityTypeDef],  # (1)
    projectedUtilizationMetrics: NotRequired[List[ECSServiceProjectedUtilizationMetricTypeDef]],  # (2)
    containerRecommendations: NotRequired[List[ContainerRecommendationTypeDef]],  # (3)
    savingsOpportunityAfterDiscounts: NotRequired[ECSSavingsOpportunityAfterDiscountsTypeDef],  # (4)
  1. See SavingsOpportunityTypeDef
  2. See ECSServiceProjectedUtilizationMetricTypeDef
  3. See ContainerRecommendationTypeDef
  4. See ECSSavingsOpportunityAfterDiscountsTypeDef

LicenseRecommendationOptionTypeDef#

# LicenseRecommendationOptionTypeDef definition

class LicenseRecommendationOptionTypeDef(TypedDict):
    rank: NotRequired[int],
    operatingSystem: NotRequired[str],
    licenseEdition: NotRequired[LicenseEditionType],  # (1)
    licenseModel: NotRequired[LicenseModelType],  # (2)
    savingsOpportunity: NotRequired[SavingsOpportunityTypeDef],  # (3)
  1. See LicenseEditionType
  2. See LicenseModelType
  3. See SavingsOpportunityTypeDef

VolumeRecommendationOptionTypeDef#

# VolumeRecommendationOptionTypeDef definition

class VolumeRecommendationOptionTypeDef(TypedDict):
    configuration: NotRequired[VolumeConfigurationTypeDef],  # (1)
    performanceRisk: NotRequired[float],
    rank: NotRequired[int],
    savingsOpportunity: NotRequired[SavingsOpportunityTypeDef],  # (2)
    savingsOpportunityAfterDiscounts: NotRequired[EBSSavingsOpportunityAfterDiscountsTypeDef],  # (3)
  1. See VolumeConfigurationTypeDef
  2. See SavingsOpportunityTypeDef
  3. See EBSSavingsOpportunityAfterDiscountsTypeDef

RecommendationExportJobTypeDef#

# RecommendationExportJobTypeDef definition

class RecommendationExportJobTypeDef(TypedDict):
    jobId: NotRequired[str],
    destination: NotRequired[ExportDestinationTypeDef],  # (1)
    resourceType: NotRequired[ResourceTypeType],  # (2)
    status: NotRequired[JobStatusType],  # (3)
    creationTimestamp: NotRequired[datetime],
    lastUpdatedTimestamp: NotRequired[datetime],
    failureReason: NotRequired[str],
  1. See ExportDestinationTypeDef
  2. See ResourceTypeType
  3. See JobStatusType

AutoScalingGroupRecommendationOptionTypeDef#

# AutoScalingGroupRecommendationOptionTypeDef definition

class AutoScalingGroupRecommendationOptionTypeDef(TypedDict):
    configuration: NotRequired[AutoScalingGroupConfigurationTypeDef],  # (1)
    projectedUtilizationMetrics: NotRequired[List[UtilizationMetricTypeDef]],  # (2)
    performanceRisk: NotRequired[float],
    rank: NotRequired[int],
    savingsOpportunity: NotRequired[SavingsOpportunityTypeDef],  # (3)
    migrationEffort: NotRequired[MigrationEffortType],  # (4)
    instanceGpuInfo: NotRequired[GpuInfoTypeDef],  # (5)
    savingsOpportunityAfterDiscounts: NotRequired[AutoScalingGroupSavingsOpportunityAfterDiscountsTypeDef],  # (6)
  1. See AutoScalingGroupConfigurationTypeDef
  2. See UtilizationMetricTypeDef
  3. See SavingsOpportunityTypeDef
  4. See MigrationEffortType
  5. See GpuInfoTypeDef
  6. See AutoScalingGroupSavingsOpportunityAfterDiscountsTypeDef

InstanceRecommendationOptionTypeDef#

# InstanceRecommendationOptionTypeDef definition

class InstanceRecommendationOptionTypeDef(TypedDict):
    instanceType: NotRequired[str],
    projectedUtilizationMetrics: NotRequired[List[UtilizationMetricTypeDef]],  # (1)
    platformDifferences: NotRequired[List[PlatformDifferenceType]],  # (2)
    performanceRisk: NotRequired[float],
    rank: NotRequired[int],
    savingsOpportunity: NotRequired[SavingsOpportunityTypeDef],  # (3)
    migrationEffort: NotRequired[MigrationEffortType],  # (4)
    instanceGpuInfo: NotRequired[GpuInfoTypeDef],  # (5)
    savingsOpportunityAfterDiscounts: NotRequired[InstanceSavingsOpportunityAfterDiscountsTypeDef],  # (6)
  1. See UtilizationMetricTypeDef
  2. See PlatformDifferenceType
  3. See SavingsOpportunityTypeDef
  4. See MigrationEffortType
  5. See GpuInfoTypeDef
  6. See InstanceSavingsOpportunityAfterDiscountsTypeDef

LambdaFunctionMemoryRecommendationOptionTypeDef#

# LambdaFunctionMemoryRecommendationOptionTypeDef definition

class LambdaFunctionMemoryRecommendationOptionTypeDef(TypedDict):
    rank: NotRequired[int],
    memorySize: NotRequired[int],
    projectedUtilizationMetrics: NotRequired[List[LambdaFunctionMemoryProjectedMetricTypeDef]],  # (1)
    savingsOpportunity: NotRequired[SavingsOpportunityTypeDef],  # (2)
    savingsOpportunityAfterDiscounts: NotRequired[LambdaSavingsOpportunityAfterDiscountsTypeDef],  # (3)
  1. See LambdaFunctionMemoryProjectedMetricTypeDef
  2. See SavingsOpportunityTypeDef
  3. See LambdaSavingsOpportunityAfterDiscountsTypeDef

GetEC2RecommendationProjectedMetricsResponseTypeDef#

# GetEC2RecommendationProjectedMetricsResponseTypeDef definition

class GetEC2RecommendationProjectedMetricsResponseTypeDef(TypedDict):
    recommendedOptionProjectedMetrics: List[RecommendedOptionProjectedMetricTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendedOptionProjectedMetricTypeDef
  2. See ResponseMetadataTypeDef

RecommendationSummaryTypeDef#

# RecommendationSummaryTypeDef definition

class RecommendationSummaryTypeDef(TypedDict):
    summaries: NotRequired[List[SummaryTypeDef]],  # (1)
    recommendationResourceType: NotRequired[RecommendationSourceTypeType],  # (2)
    accountId: NotRequired[str],
    savingsOpportunity: NotRequired[SavingsOpportunityTypeDef],  # (3)
    currentPerformanceRiskRatings: NotRequired[CurrentPerformanceRiskRatingsTypeDef],  # (4)
    inferredWorkloadSavings: NotRequired[List[InferredWorkloadSavingTypeDef]],  # (5)
  1. See SummaryTypeDef
  2. See RecommendationSourceTypeType
  3. See SavingsOpportunityTypeDef
  4. See CurrentPerformanceRiskRatingsTypeDef
  5. See InferredWorkloadSavingTypeDef

GetRecommendationPreferencesResponseTypeDef#

# GetRecommendationPreferencesResponseTypeDef definition

class GetRecommendationPreferencesResponseTypeDef(TypedDict):
    nextToken: str,
    recommendationPreferencesDetails: List[RecommendationPreferencesDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendationPreferencesDetailTypeDef
  2. See ResponseMetadataTypeDef

ECSServiceRecommendationTypeDef#

# ECSServiceRecommendationTypeDef definition

class ECSServiceRecommendationTypeDef(TypedDict):
    serviceArn: NotRequired[str],
    accountId: NotRequired[str],
    currentServiceConfiguration: NotRequired[ServiceConfigurationTypeDef],  # (1)
    utilizationMetrics: NotRequired[List[ECSServiceUtilizationMetricTypeDef]],  # (2)
    lookbackPeriodInDays: NotRequired[float],
    launchType: NotRequired[ECSServiceLaunchTypeType],  # (3)
    lastRefreshTimestamp: NotRequired[datetime],
    finding: NotRequired[ECSServiceRecommendationFindingType],  # (4)
    findingReasonCodes: NotRequired[List[ECSServiceRecommendationFindingReasonCodeType]],  # (5)
    serviceRecommendationOptions: NotRequired[List[ECSServiceRecommendationOptionTypeDef]],  # (6)
    currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType],  # (7)
    tags: NotRequired[List[TagTypeDef]],  # (8)
    effectiveRecommendationPreferences: NotRequired[ECSEffectiveRecommendationPreferencesTypeDef],  # (9)
  1. See ServiceConfigurationTypeDef
  2. See ECSServiceUtilizationMetricTypeDef
  3. See ECSServiceLaunchTypeType
  4. See ECSServiceRecommendationFindingType
  5. See ECSServiceRecommendationFindingReasonCodeType
  6. See ECSServiceRecommendationOptionTypeDef
  7. See CurrentPerformanceRiskType
  8. See TagTypeDef
  9. See ECSEffectiveRecommendationPreferencesTypeDef

LicenseRecommendationTypeDef#

# LicenseRecommendationTypeDef definition

class LicenseRecommendationTypeDef(TypedDict):
    resourceArn: NotRequired[str],
    accountId: NotRequired[str],
    currentLicenseConfiguration: NotRequired[LicenseConfigurationTypeDef],  # (1)
    lookbackPeriodInDays: NotRequired[float],
    lastRefreshTimestamp: NotRequired[datetime],
    finding: NotRequired[LicenseFindingType],  # (2)
    findingReasonCodes: NotRequired[List[LicenseFindingReasonCodeType]],  # (3)
    licenseRecommendationOptions: NotRequired[List[LicenseRecommendationOptionTypeDef]],  # (4)
    tags: NotRequired[List[TagTypeDef]],  # (5)
  1. See LicenseConfigurationTypeDef
  2. See LicenseFindingType
  3. See LicenseFindingReasonCodeType
  4. See LicenseRecommendationOptionTypeDef
  5. See TagTypeDef

VolumeRecommendationTypeDef#

# VolumeRecommendationTypeDef definition

class VolumeRecommendationTypeDef(TypedDict):
    volumeArn: NotRequired[str],
    accountId: NotRequired[str],
    currentConfiguration: NotRequired[VolumeConfigurationTypeDef],  # (1)
    finding: NotRequired[EBSFindingType],  # (2)
    utilizationMetrics: NotRequired[List[EBSUtilizationMetricTypeDef]],  # (3)
    lookBackPeriodInDays: NotRequired[float],
    volumeRecommendationOptions: NotRequired[List[VolumeRecommendationOptionTypeDef]],  # (4)
    lastRefreshTimestamp: NotRequired[datetime],
    currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType],  # (5)
    tags: NotRequired[List[TagTypeDef]],  # (6)
    effectiveRecommendationPreferences: NotRequired[EBSEffectiveRecommendationPreferencesTypeDef],  # (7)
  1. See VolumeConfigurationTypeDef
  2. See EBSFindingType
  3. See EBSUtilizationMetricTypeDef
  4. See VolumeRecommendationOptionTypeDef
  5. See CurrentPerformanceRiskType
  6. See TagTypeDef
  7. See EBSEffectiveRecommendationPreferencesTypeDef

DescribeRecommendationExportJobsResponseTypeDef#

# DescribeRecommendationExportJobsResponseTypeDef definition

class DescribeRecommendationExportJobsResponseTypeDef(TypedDict):
    recommendationExportJobs: List[RecommendationExportJobTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendationExportJobTypeDef
  2. See ResponseMetadataTypeDef

AutoScalingGroupRecommendationTypeDef#

# AutoScalingGroupRecommendationTypeDef definition

class AutoScalingGroupRecommendationTypeDef(TypedDict):
    accountId: NotRequired[str],
    autoScalingGroupArn: NotRequired[str],
    autoScalingGroupName: NotRequired[str],
    finding: NotRequired[FindingType],  # (1)
    utilizationMetrics: NotRequired[List[UtilizationMetricTypeDef]],  # (2)
    lookBackPeriodInDays: NotRequired[float],
    currentConfiguration: NotRequired[AutoScalingGroupConfigurationTypeDef],  # (3)
    recommendationOptions: NotRequired[List[AutoScalingGroupRecommendationOptionTypeDef]],  # (4)
    lastRefreshTimestamp: NotRequired[datetime],
    currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType],  # (5)
    effectiveRecommendationPreferences: NotRequired[EffectiveRecommendationPreferencesTypeDef],  # (6)
    inferredWorkloadTypes: NotRequired[List[InferredWorkloadTypeType]],  # (7)
    currentInstanceGpuInfo: NotRequired[GpuInfoTypeDef],  # (8)
  1. See FindingType
  2. See UtilizationMetricTypeDef
  3. See AutoScalingGroupConfigurationTypeDef
  4. See AutoScalingGroupRecommendationOptionTypeDef
  5. See CurrentPerformanceRiskType
  6. See EffectiveRecommendationPreferencesTypeDef
  7. See InferredWorkloadTypeType
  8. See GpuInfoTypeDef

InstanceRecommendationTypeDef#

# InstanceRecommendationTypeDef definition

class InstanceRecommendationTypeDef(TypedDict):
    instanceArn: NotRequired[str],
    accountId: NotRequired[str],
    instanceName: NotRequired[str],
    currentInstanceType: NotRequired[str],
    finding: NotRequired[FindingType],  # (1)
    findingReasonCodes: NotRequired[List[InstanceRecommendationFindingReasonCodeType]],  # (2)
    utilizationMetrics: NotRequired[List[UtilizationMetricTypeDef]],  # (3)
    lookBackPeriodInDays: NotRequired[float],
    recommendationOptions: NotRequired[List[InstanceRecommendationOptionTypeDef]],  # (4)
    recommendationSources: NotRequired[List[RecommendationSourceTypeDef]],  # (5)
    lastRefreshTimestamp: NotRequired[datetime],
    currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType],  # (6)
    effectiveRecommendationPreferences: NotRequired[EffectiveRecommendationPreferencesTypeDef],  # (7)
    inferredWorkloadTypes: NotRequired[List[InferredWorkloadTypeType]],  # (8)
    instanceState: NotRequired[InstanceStateType],  # (9)
    tags: NotRequired[List[TagTypeDef]],  # (10)
    externalMetricStatus: NotRequired[ExternalMetricStatusTypeDef],  # (11)
    currentInstanceGpuInfo: NotRequired[GpuInfoTypeDef],  # (12)
    idle: NotRequired[InstanceIdleType],  # (13)
  1. See FindingType
  2. See InstanceRecommendationFindingReasonCodeType
  3. See UtilizationMetricTypeDef
  4. See InstanceRecommendationOptionTypeDef
  5. See RecommendationSourceTypeDef
  6. See CurrentPerformanceRiskType
  7. See EffectiveRecommendationPreferencesTypeDef
  8. See InferredWorkloadTypeType
  9. See InstanceStateType
  10. See TagTypeDef
  11. See ExternalMetricStatusTypeDef
  12. See GpuInfoTypeDef
  13. See InstanceIdleType

LambdaFunctionRecommendationTypeDef#

# LambdaFunctionRecommendationTypeDef definition

class LambdaFunctionRecommendationTypeDef(TypedDict):
    functionArn: NotRequired[str],
    functionVersion: NotRequired[str],
    accountId: NotRequired[str],
    currentMemorySize: NotRequired[int],
    numberOfInvocations: NotRequired[int],
    utilizationMetrics: NotRequired[List[LambdaFunctionUtilizationMetricTypeDef]],  # (1)
    lookbackPeriodInDays: NotRequired[float],
    lastRefreshTimestamp: NotRequired[datetime],
    finding: NotRequired[LambdaFunctionRecommendationFindingType],  # (2)
    findingReasonCodes: NotRequired[List[LambdaFunctionRecommendationFindingReasonCodeType]],  # (3)
    memorySizeRecommendationOptions: NotRequired[List[LambdaFunctionMemoryRecommendationOptionTypeDef]],  # (4)
    currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType],  # (5)
    tags: NotRequired[List[TagTypeDef]],  # (6)
    effectiveRecommendationPreferences: NotRequired[LambdaEffectiveRecommendationPreferencesTypeDef],  # (7)
  1. See LambdaFunctionUtilizationMetricTypeDef
  2. See LambdaFunctionRecommendationFindingType
  3. See LambdaFunctionRecommendationFindingReasonCodeType
  4. See LambdaFunctionMemoryRecommendationOptionTypeDef
  5. See CurrentPerformanceRiskType
  6. See TagTypeDef
  7. See LambdaEffectiveRecommendationPreferencesTypeDef

GetRecommendationSummariesResponseTypeDef#

# GetRecommendationSummariesResponseTypeDef definition

class GetRecommendationSummariesResponseTypeDef(TypedDict):
    nextToken: str,
    recommendationSummaries: List[RecommendationSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendationSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetECSServiceRecommendationsResponseTypeDef#

# GetECSServiceRecommendationsResponseTypeDef definition

class GetECSServiceRecommendationsResponseTypeDef(TypedDict):
    nextToken: str,
    ecsServiceRecommendations: List[ECSServiceRecommendationTypeDef],  # (1)
    errors: List[GetRecommendationErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ECSServiceRecommendationTypeDef
  2. See GetRecommendationErrorTypeDef
  3. See ResponseMetadataTypeDef

GetLicenseRecommendationsResponseTypeDef#

# GetLicenseRecommendationsResponseTypeDef definition

class GetLicenseRecommendationsResponseTypeDef(TypedDict):
    nextToken: str,
    licenseRecommendations: List[LicenseRecommendationTypeDef],  # (1)
    errors: List[GetRecommendationErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LicenseRecommendationTypeDef
  2. See GetRecommendationErrorTypeDef
  3. See ResponseMetadataTypeDef

GetEBSVolumeRecommendationsResponseTypeDef#

# GetEBSVolumeRecommendationsResponseTypeDef definition

class GetEBSVolumeRecommendationsResponseTypeDef(TypedDict):
    nextToken: str,
    volumeRecommendations: List[VolumeRecommendationTypeDef],  # (1)
    errors: List[GetRecommendationErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See VolumeRecommendationTypeDef
  2. See GetRecommendationErrorTypeDef
  3. See ResponseMetadataTypeDef

GetAutoScalingGroupRecommendationsResponseTypeDef#

# GetAutoScalingGroupRecommendationsResponseTypeDef definition

class GetAutoScalingGroupRecommendationsResponseTypeDef(TypedDict):
    nextToken: str,
    autoScalingGroupRecommendations: List[AutoScalingGroupRecommendationTypeDef],  # (1)
    errors: List[GetRecommendationErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AutoScalingGroupRecommendationTypeDef
  2. See GetRecommendationErrorTypeDef
  3. See ResponseMetadataTypeDef

GetEC2InstanceRecommendationsResponseTypeDef#

# GetEC2InstanceRecommendationsResponseTypeDef definition

class GetEC2InstanceRecommendationsResponseTypeDef(TypedDict):
    nextToken: str,
    instanceRecommendations: List[InstanceRecommendationTypeDef],  # (1)
    errors: List[GetRecommendationErrorTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See InstanceRecommendationTypeDef
  2. See GetRecommendationErrorTypeDef
  3. See ResponseMetadataTypeDef

GetLambdaFunctionRecommendationsResponseTypeDef#

# GetLambdaFunctionRecommendationsResponseTypeDef definition

class GetLambdaFunctionRecommendationsResponseTypeDef(TypedDict):
    nextToken: str,
    lambdaFunctionRecommendations: List[LambdaFunctionRecommendationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LambdaFunctionRecommendationTypeDef
  2. See ResponseMetadataTypeDef