Skip to content

Type definitions#

Index > CostExplorer > Type definitions

Auto-generated documentation for CostExplorer type annotations stubs module mypy-boto3-ce.

CostCategorySplitChargeRuleParameterUnionTypeDef#

# CostCategorySplitChargeRuleParameterUnionTypeDef definition

CostCategorySplitChargeRuleParameterUnionTypeDef = Union[
    CostCategorySplitChargeRuleParameterTypeDef,  # (1)
    CostCategorySplitChargeRuleParameterOutputTypeDef,  # (2)
]
  1. See CostCategorySplitChargeRuleParameterTypeDef
  2. See CostCategorySplitChargeRuleParameterOutputTypeDef

CostCategoryValuesUnionTypeDef#

# CostCategoryValuesUnionTypeDef definition

CostCategoryValuesUnionTypeDef = Union[
    CostCategoryValuesTypeDef,  # (1)
    CostCategoryValuesOutputTypeDef,  # (2)
]
  1. See CostCategoryValuesTypeDef
  2. See CostCategoryValuesOutputTypeDef

DimensionValuesUnionTypeDef#

# DimensionValuesUnionTypeDef definition

DimensionValuesUnionTypeDef = Union[
    DimensionValuesTypeDef,  # (1)
    DimensionValuesOutputTypeDef,  # (2)
]
  1. See DimensionValuesTypeDef
  2. See DimensionValuesOutputTypeDef

TagValuesUnionTypeDef#

# TagValuesUnionTypeDef definition

TagValuesUnionTypeDef = Union[
    TagValuesTypeDef,  # (1)
    TagValuesOutputTypeDef,  # (2)
]
  1. See TagValuesTypeDef
  2. See TagValuesOutputTypeDef

SavingsPlansPurchaseAnalysisConfigurationUnionTypeDef#

# SavingsPlansPurchaseAnalysisConfigurationUnionTypeDef definition

SavingsPlansPurchaseAnalysisConfigurationUnionTypeDef = Union[
    SavingsPlansPurchaseAnalysisConfigurationTypeDef,  # (1)
    SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef,  # (2)
]
  1. See SavingsPlansPurchaseAnalysisConfigurationTypeDef
  2. See SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef

CostCategorySplitChargeRuleUnionTypeDef#

# CostCategorySplitChargeRuleUnionTypeDef definition

CostCategorySplitChargeRuleUnionTypeDef = Union[
    CostCategorySplitChargeRuleTypeDef,  # (1)
    CostCategorySplitChargeRuleOutputTypeDef,  # (2)
]
  1. See CostCategorySplitChargeRuleTypeDef
  2. See CostCategorySplitChargeRuleOutputTypeDef

ExpressionUnionTypeDef#

# ExpressionUnionTypeDef definition

ExpressionUnionTypeDef = Union[
    ExpressionTypeDef,  # (1)
    ExpressionOutputTypeDef,  # (2)
]
  1. See ExpressionTypeDef
  2. See ExpressionOutputTypeDef

CostCategoryRuleUnionTypeDef#

# CostCategoryRuleUnionTypeDef definition

CostCategoryRuleUnionTypeDef = Union[
    CostCategoryRuleTypeDef,  # (1)
    CostCategoryRuleOutputTypeDef,  # (2)
]
  1. See CostCategoryRuleTypeDef
  2. See CostCategoryRuleOutputTypeDef

AnomalyDateIntervalTypeDef#

# AnomalyDateIntervalTypeDef definition

class AnomalyDateIntervalTypeDef(TypedDict):
    StartDate: str,
    EndDate: NotRequired[str],

AnomalyScoreTypeDef#

# AnomalyScoreTypeDef definition

class AnomalyScoreTypeDef(TypedDict):
    MaxScore: float,
    CurrentScore: float,

SubscriberTypeDef#

# SubscriberTypeDef definition

class SubscriberTypeDef(TypedDict):
    Address: NotRequired[str],
    Type: NotRequired[SubscriberTypeType],  # (1)
    Status: NotRequired[SubscriberStatusType],  # (2)
  1. See SubscriberTypeType
  2. See SubscriberStatusType

ImpactTypeDef#

# ImpactTypeDef definition

class ImpactTypeDef(TypedDict):
    MaxImpact: float,
    TotalImpact: NotRequired[float],
    TotalActualSpend: NotRequired[float],
    TotalExpectedSpend: NotRequired[float],
    TotalImpactPercentage: NotRequired[float],

CostAllocationTagBackfillRequestTypeDef#

# CostAllocationTagBackfillRequestTypeDef definition

class CostAllocationTagBackfillRequestTypeDef(TypedDict):
    BackfillFrom: NotRequired[str],
    RequestedAt: NotRequired[str],
    CompletedAt: NotRequired[str],
    BackfillStatus: NotRequired[CostAllocationTagBackfillStatusType],  # (1)
    LastUpdatedAt: NotRequired[str],
  1. See CostAllocationTagBackfillStatusType

CostAllocationTagStatusEntryTypeDef#

# CostAllocationTagStatusEntryTypeDef definition

class CostAllocationTagStatusEntryTypeDef(TypedDict):
    TagKey: str,
    Status: CostAllocationTagStatusType,  # (1)
  1. See CostAllocationTagStatusType

CostAllocationTagTypeDef#

# CostAllocationTagTypeDef definition

class CostAllocationTagTypeDef(TypedDict):
    TagKey: str,
    Type: CostAllocationTagTypeType,  # (1)
    Status: CostAllocationTagStatusType,  # (2)
    LastUpdatedDate: NotRequired[str],
    LastUsedDate: NotRequired[str],
  1. See CostAllocationTagTypeType
  2. See CostAllocationTagStatusType

CostCategoryInheritedValueDimensionTypeDef#

# CostCategoryInheritedValueDimensionTypeDef definition

class CostCategoryInheritedValueDimensionTypeDef(TypedDict):
    DimensionName: NotRequired[CostCategoryInheritedValueDimensionNameType],  # (1)
    DimensionKey: NotRequired[str],
  1. See CostCategoryInheritedValueDimensionNameType

CostCategoryProcessingStatusTypeDef#

# CostCategoryProcessingStatusTypeDef definition

class CostCategoryProcessingStatusTypeDef(TypedDict):
    Component: NotRequired[CostCategoryStatusComponentType],  # (1)
    Status: NotRequired[CostCategoryStatusType],  # (2)
  1. See CostCategoryStatusComponentType
  2. See CostCategoryStatusType

CostCategorySplitChargeRuleParameterOutputTypeDef#

# CostCategorySplitChargeRuleParameterOutputTypeDef definition

class CostCategorySplitChargeRuleParameterOutputTypeDef(TypedDict):
    Type: CostCategorySplitChargeRuleParameterTypeType,  # (1)
    Values: list[str],
  1. See CostCategorySplitChargeRuleParameterTypeType

CostCategorySplitChargeRuleParameterTypeDef#

# CostCategorySplitChargeRuleParameterTypeDef definition

class CostCategorySplitChargeRuleParameterTypeDef(TypedDict):
    Type: CostCategorySplitChargeRuleParameterTypeType,  # (1)
    Values: Sequence[str],
  1. See CostCategorySplitChargeRuleParameterTypeType

CostCategoryValuesOutputTypeDef#

# CostCategoryValuesOutputTypeDef definition

class CostCategoryValuesOutputTypeDef(TypedDict):
    Key: NotRequired[str],
    Values: NotRequired[list[str]],
    MatchOptions: NotRequired[list[MatchOptionType]],  # (1)
  1. See MatchOptionType

CostCategoryValuesTypeDef#

# CostCategoryValuesTypeDef definition

class CostCategoryValuesTypeDef(TypedDict):
    Key: NotRequired[str],
    Values: NotRequired[Sequence[str]],
    MatchOptions: NotRequired[Sequence[MatchOptionType]],  # (1)
  1. See MatchOptionType

DateIntervalTypeDef#

# DateIntervalTypeDef definition

class DateIntervalTypeDef(TypedDict):
    Start: str,
    End: str,

CoverageCostTypeDef#

# CoverageCostTypeDef definition

class CoverageCostTypeDef(TypedDict):
    OnDemandCost: NotRequired[str],

CoverageHoursTypeDef#

# CoverageHoursTypeDef definition

class CoverageHoursTypeDef(TypedDict):
    OnDemandHours: NotRequired[str],
    ReservedHours: NotRequired[str],
    TotalRunningHours: NotRequired[str],
    CoverageHoursPercentage: NotRequired[str],

CoverageNormalizedUnitsTypeDef#

# CoverageNormalizedUnitsTypeDef definition

class CoverageNormalizedUnitsTypeDef(TypedDict):
    OnDemandNormalizedUnits: NotRequired[str],
    ReservedNormalizedUnits: NotRequired[str],
    TotalRunningNormalizedUnits: NotRequired[str],
    CoverageNormalizedUnitsPercentage: NotRequired[str],

ResourceTagTypeDef#

# ResourceTagTypeDef definition

class ResourceTagTypeDef(TypedDict):
    Key: str,
    Value: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

TagValuesOutputTypeDef#

# TagValuesOutputTypeDef definition

class TagValuesOutputTypeDef(TypedDict):
    Key: NotRequired[str],
    Values: NotRequired[list[str]],
    MatchOptions: NotRequired[list[MatchOptionType]],  # (1)
  1. See MatchOptionType

DeleteAnomalyMonitorRequestRequestTypeDef#

# DeleteAnomalyMonitorRequestRequestTypeDef definition

class DeleteAnomalyMonitorRequestRequestTypeDef(TypedDict):
    MonitorArn: str,

DeleteAnomalySubscriptionRequestRequestTypeDef#

# DeleteAnomalySubscriptionRequestRequestTypeDef definition

class DeleteAnomalySubscriptionRequestRequestTypeDef(TypedDict):
    SubscriptionArn: str,

DeleteCostCategoryDefinitionRequestRequestTypeDef#

# DeleteCostCategoryDefinitionRequestRequestTypeDef definition

class DeleteCostCategoryDefinitionRequestRequestTypeDef(TypedDict):
    CostCategoryArn: str,

DescribeCostCategoryDefinitionRequestRequestTypeDef#

# DescribeCostCategoryDefinitionRequestRequestTypeDef definition

class DescribeCostCategoryDefinitionRequestRequestTypeDef(TypedDict):
    CostCategoryArn: str,
    EffectiveOn: NotRequired[str],

DimensionValuesOutputTypeDef#

# DimensionValuesOutputTypeDef definition

class DimensionValuesOutputTypeDef(TypedDict):
    Key: NotRequired[DimensionType],  # (1)
    Values: NotRequired[list[str]],
    MatchOptions: NotRequired[list[MatchOptionType]],  # (2)
  1. See DimensionType
  2. See MatchOptionType

DimensionValuesTypeDef#

# DimensionValuesTypeDef definition

class DimensionValuesTypeDef(TypedDict):
    Key: NotRequired[DimensionType],  # (1)
    Values: NotRequired[Sequence[str]],
    MatchOptions: NotRequired[Sequence[MatchOptionType]],  # (2)
  1. See DimensionType
  2. See MatchOptionType

DimensionValuesWithAttributesTypeDef#

# DimensionValuesWithAttributesTypeDef definition

class DimensionValuesWithAttributesTypeDef(TypedDict):
    Value: NotRequired[str],
    Attributes: NotRequired[dict[str, str]],

DiskResourceUtilizationTypeDef#

# DiskResourceUtilizationTypeDef definition

class DiskResourceUtilizationTypeDef(TypedDict):
    DiskReadOpsPerSecond: NotRequired[str],
    DiskWriteOpsPerSecond: NotRequired[str],
    DiskReadBytesPerSecond: NotRequired[str],
    DiskWriteBytesPerSecond: NotRequired[str],

DynamoDBCapacityDetailsTypeDef#

# DynamoDBCapacityDetailsTypeDef definition

class DynamoDBCapacityDetailsTypeDef(TypedDict):
    CapacityUnits: NotRequired[str],
    Region: NotRequired[str],

EBSResourceUtilizationTypeDef#

# EBSResourceUtilizationTypeDef definition

class EBSResourceUtilizationTypeDef(TypedDict):
    EbsReadOpsPerSecond: NotRequired[str],
    EbsWriteOpsPerSecond: NotRequired[str],
    EbsReadBytesPerSecond: NotRequired[str],
    EbsWriteBytesPerSecond: NotRequired[str],

EC2InstanceDetailsTypeDef#

# EC2InstanceDetailsTypeDef definition

class EC2InstanceDetailsTypeDef(TypedDict):
    Family: NotRequired[str],
    InstanceType: NotRequired[str],
    Region: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    Platform: NotRequired[str],
    Tenancy: NotRequired[str],
    CurrentGeneration: NotRequired[bool],
    SizeFlexEligible: NotRequired[bool],

EC2ResourceDetailsTypeDef#

# EC2ResourceDetailsTypeDef definition

class EC2ResourceDetailsTypeDef(TypedDict):
    HourlyOnDemandRate: NotRequired[str],
    InstanceType: NotRequired[str],
    Platform: NotRequired[str],
    Region: NotRequired[str],
    Sku: NotRequired[str],
    Memory: NotRequired[str],
    NetworkPerformance: NotRequired[str],
    Storage: NotRequired[str],
    Vcpu: NotRequired[str],

NetworkResourceUtilizationTypeDef#

# NetworkResourceUtilizationTypeDef definition

class NetworkResourceUtilizationTypeDef(TypedDict):
    NetworkInBytesPerSecond: NotRequired[str],
    NetworkOutBytesPerSecond: NotRequired[str],
    NetworkPacketsInPerSecond: NotRequired[str],
    NetworkPacketsOutPerSecond: NotRequired[str],

EC2SpecificationTypeDef#

# EC2SpecificationTypeDef definition

class EC2SpecificationTypeDef(TypedDict):
    OfferingClass: NotRequired[OfferingClassType],  # (1)
  1. See OfferingClassType

ESInstanceDetailsTypeDef#

# ESInstanceDetailsTypeDef definition

class ESInstanceDetailsTypeDef(TypedDict):
    InstanceClass: NotRequired[str],
    InstanceSize: NotRequired[str],
    Region: NotRequired[str],
    CurrentGeneration: NotRequired[bool],
    SizeFlexEligible: NotRequired[bool],

ElastiCacheInstanceDetailsTypeDef#

# ElastiCacheInstanceDetailsTypeDef definition

class ElastiCacheInstanceDetailsTypeDef(TypedDict):
    Family: NotRequired[str],
    NodeType: NotRequired[str],
    Region: NotRequired[str],
    ProductDescription: NotRequired[str],
    CurrentGeneration: NotRequired[bool],
    SizeFlexEligible: NotRequired[bool],

GenerationSummaryTypeDef#

# GenerationSummaryTypeDef definition

class GenerationSummaryTypeDef(TypedDict):
    RecommendationId: NotRequired[str],
    GenerationStatus: NotRequired[GenerationStatusType],  # (1)
    GenerationStartedTime: NotRequired[str],
    GenerationCompletionTime: NotRequired[str],
    EstimatedCompletionTime: NotRequired[str],
  1. See GenerationStatusType

TotalImpactFilterTypeDef#

# TotalImpactFilterTypeDef definition

class TotalImpactFilterTypeDef(TypedDict):
    NumericOperator: NumericOperatorType,  # (1)
    StartValue: float,
    EndValue: NotRequired[float],
  1. See NumericOperatorType

GetAnomalyMonitorsRequestRequestTypeDef#

# GetAnomalyMonitorsRequestRequestTypeDef definition

class GetAnomalyMonitorsRequestRequestTypeDef(TypedDict):
    MonitorArnList: NotRequired[Sequence[str]],
    NextPageToken: NotRequired[str],
    MaxResults: NotRequired[int],

GetAnomalySubscriptionsRequestRequestTypeDef#

# GetAnomalySubscriptionsRequestRequestTypeDef definition

class GetAnomalySubscriptionsRequestRequestTypeDef(TypedDict):
    SubscriptionArnList: NotRequired[Sequence[str]],
    MonitorArn: NotRequired[str],
    NextPageToken: NotRequired[str],
    MaxResults: NotRequired[int],

GetApproximateUsageRecordsRequestRequestTypeDef#

# GetApproximateUsageRecordsRequestRequestTypeDef definition

class GetApproximateUsageRecordsRequestRequestTypeDef(TypedDict):
    Granularity: GranularityType,  # (1)
    ApproximationDimension: ApproximationDimensionType,  # (2)
    Services: NotRequired[Sequence[str]],
  1. See GranularityType
  2. See ApproximationDimensionType

GetCommitmentPurchaseAnalysisRequestRequestTypeDef#

# GetCommitmentPurchaseAnalysisRequestRequestTypeDef definition

class GetCommitmentPurchaseAnalysisRequestRequestTypeDef(TypedDict):
    AnalysisId: str,

GroupDefinitionTypeDef#

# GroupDefinitionTypeDef definition

class GroupDefinitionTypeDef(TypedDict):
    Type: NotRequired[GroupDefinitionTypeType],  # (1)
    Key: NotRequired[str],
  1. See GroupDefinitionTypeType

SortDefinitionTypeDef#

# SortDefinitionTypeDef definition

class SortDefinitionTypeDef(TypedDict):
    Key: str,
    SortOrder: NotRequired[SortOrderType],  # (1)
  1. See SortOrderType

MetricValueTypeDef#

# MetricValueTypeDef definition

class MetricValueTypeDef(TypedDict):
    Amount: NotRequired[str],
    Unit: NotRequired[str],

ReservationPurchaseRecommendationMetadataTypeDef#

# ReservationPurchaseRecommendationMetadataTypeDef definition

class ReservationPurchaseRecommendationMetadataTypeDef(TypedDict):
    RecommendationId: NotRequired[str],
    GenerationTimestamp: NotRequired[str],
    AdditionalMetadata: NotRequired[str],

ReservationAggregatesTypeDef#

# ReservationAggregatesTypeDef definition

class ReservationAggregatesTypeDef(TypedDict):
    UtilizationPercentage: NotRequired[str],
    UtilizationPercentageInUnits: NotRequired[str],
    PurchasedHours: NotRequired[str],
    PurchasedUnits: NotRequired[str],
    TotalActualHours: NotRequired[str],
    TotalActualUnits: NotRequired[str],
    UnusedHours: NotRequired[str],
    UnusedUnits: NotRequired[str],
    OnDemandCostOfRIHoursUsed: NotRequired[str],
    NetRISavings: NotRequired[str],
    TotalPotentialRISavings: NotRequired[str],
    AmortizedUpfrontFee: NotRequired[str],
    AmortizedRecurringFee: NotRequired[str],
    TotalAmortizedFee: NotRequired[str],
    RICostForUnusedHours: NotRequired[str],
    RealizedSavings: NotRequired[str],
    UnrealizedSavings: NotRequired[str],

RightsizingRecommendationConfigurationTypeDef#

# RightsizingRecommendationConfigurationTypeDef definition

class RightsizingRecommendationConfigurationTypeDef(TypedDict):
    RecommendationTarget: RecommendationTargetType,  # (1)
    BenefitsConsidered: bool,
  1. See RecommendationTargetType

RightsizingRecommendationMetadataTypeDef#

# RightsizingRecommendationMetadataTypeDef definition

class RightsizingRecommendationMetadataTypeDef(TypedDict):
    RecommendationId: NotRequired[str],
    GenerationTimestamp: NotRequired[str],
    LookbackPeriodInDays: NotRequired[LookbackPeriodInDaysType],  # (1)
    AdditionalMetadata: NotRequired[str],
  1. See LookbackPeriodInDaysType

RightsizingRecommendationSummaryTypeDef#

# RightsizingRecommendationSummaryTypeDef definition

class RightsizingRecommendationSummaryTypeDef(TypedDict):
    TotalRecommendationCount: NotRequired[str],
    EstimatedTotalMonthlySavingsAmount: NotRequired[str],
    SavingsCurrencyCode: NotRequired[str],
    SavingsPercentage: NotRequired[str],

GetSavingsPlanPurchaseRecommendationDetailsRequestRequestTypeDef#

# GetSavingsPlanPurchaseRecommendationDetailsRequestRequestTypeDef definition

class GetSavingsPlanPurchaseRecommendationDetailsRequestRequestTypeDef(TypedDict):
    RecommendationDetailId: str,

SavingsPlansPurchaseRecommendationMetadataTypeDef#

# SavingsPlansPurchaseRecommendationMetadataTypeDef definition

class SavingsPlansPurchaseRecommendationMetadataTypeDef(TypedDict):
    RecommendationId: NotRequired[str],
    GenerationTimestamp: NotRequired[str],
    AdditionalMetadata: NotRequired[str],

MemoryDBInstanceDetailsTypeDef#

# MemoryDBInstanceDetailsTypeDef definition

class MemoryDBInstanceDetailsTypeDef(TypedDict):
    Family: NotRequired[str],
    NodeType: NotRequired[str],
    Region: NotRequired[str],
    CurrentGeneration: NotRequired[bool],
    SizeFlexEligible: NotRequired[bool],

RDSInstanceDetailsTypeDef#

# RDSInstanceDetailsTypeDef definition

class RDSInstanceDetailsTypeDef(TypedDict):
    Family: NotRequired[str],
    InstanceType: NotRequired[str],
    Region: NotRequired[str],
    DatabaseEngine: NotRequired[str],
    DatabaseEdition: NotRequired[str],
    DeploymentOption: NotRequired[str],
    LicenseModel: NotRequired[str],
    CurrentGeneration: NotRequired[bool],
    SizeFlexEligible: NotRequired[bool],

RedshiftInstanceDetailsTypeDef#

# RedshiftInstanceDetailsTypeDef definition

class RedshiftInstanceDetailsTypeDef(TypedDict):
    Family: NotRequired[str],
    NodeType: NotRequired[str],
    Region: NotRequired[str],
    CurrentGeneration: NotRequired[bool],
    SizeFlexEligible: NotRequired[bool],

ListCommitmentPurchaseAnalysesRequestRequestTypeDef#

# ListCommitmentPurchaseAnalysesRequestRequestTypeDef definition

class ListCommitmentPurchaseAnalysesRequestRequestTypeDef(TypedDict):
    AnalysisStatus: NotRequired[AnalysisStatusType],  # (1)
    NextPageToken: NotRequired[str],
    PageSize: NotRequired[int],
    AnalysisIds: NotRequired[Sequence[str]],
  1. See AnalysisStatusType

ListCostAllocationTagBackfillHistoryRequestRequestTypeDef#

# ListCostAllocationTagBackfillHistoryRequestRequestTypeDef definition

class ListCostAllocationTagBackfillHistoryRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListCostAllocationTagsRequestRequestTypeDef#

# ListCostAllocationTagsRequestRequestTypeDef definition

class ListCostAllocationTagsRequestRequestTypeDef(TypedDict):
    Status: NotRequired[CostAllocationTagStatusType],  # (1)
    TagKeys: NotRequired[Sequence[str]],
    Type: NotRequired[CostAllocationTagTypeType],  # (2)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See CostAllocationTagStatusType
  2. See CostAllocationTagTypeType

ListCostCategoryDefinitionsRequestRequestTypeDef#

# ListCostCategoryDefinitionsRequestRequestTypeDef definition

class ListCostCategoryDefinitionsRequestRequestTypeDef(TypedDict):
    EffectiveOn: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListSavingsPlansPurchaseRecommendationGenerationRequestRequestTypeDef#

# ListSavingsPlansPurchaseRecommendationGenerationRequestRequestTypeDef definition

class ListSavingsPlansPurchaseRecommendationGenerationRequestRequestTypeDef(TypedDict):
    GenerationStatus: NotRequired[GenerationStatusType],  # (1)
    RecommendationIds: NotRequired[Sequence[str]],
    PageSize: NotRequired[int],
    NextPageToken: NotRequired[str],
  1. See GenerationStatusType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ProvideAnomalyFeedbackRequestRequestTypeDef#

# ProvideAnomalyFeedbackRequestRequestTypeDef definition

class ProvideAnomalyFeedbackRequestRequestTypeDef(TypedDict):
    AnomalyId: str,
    Feedback: AnomalyFeedbackTypeType,  # (1)
  1. See AnomalyFeedbackTypeType

RecommendationDetailHourlyMetricsTypeDef#

# RecommendationDetailHourlyMetricsTypeDef definition

class RecommendationDetailHourlyMetricsTypeDef(TypedDict):
    StartTime: NotRequired[str],
    EstimatedOnDemandCost: NotRequired[str],
    CurrentCoverage: NotRequired[str],
    EstimatedCoverage: NotRequired[str],
    EstimatedNewCommitmentUtilization: NotRequired[str],

ReservationPurchaseRecommendationSummaryTypeDef#

# ReservationPurchaseRecommendationSummaryTypeDef definition

class ReservationPurchaseRecommendationSummaryTypeDef(TypedDict):
    TotalEstimatedMonthlySavingsAmount: NotRequired[str],
    TotalEstimatedMonthlySavingsPercentage: NotRequired[str],
    CurrencyCode: NotRequired[str],

TerminateRecommendationDetailTypeDef#

# TerminateRecommendationDetailTypeDef definition

class TerminateRecommendationDetailTypeDef(TypedDict):
    EstimatedMonthlySavings: NotRequired[str],
    CurrencyCode: NotRequired[str],

RootCauseImpactTypeDef#

# RootCauseImpactTypeDef definition

class RootCauseImpactTypeDef(TypedDict):
    Contribution: float,

SavingsPlansAmortizedCommitmentTypeDef#

# SavingsPlansAmortizedCommitmentTypeDef definition

class SavingsPlansAmortizedCommitmentTypeDef(TypedDict):
    AmortizedRecurringCommitment: NotRequired[str],
    AmortizedUpfrontCommitment: NotRequired[str],
    TotalAmortizedCommitment: NotRequired[str],

SavingsPlansCoverageDataTypeDef#

# SavingsPlansCoverageDataTypeDef definition

class SavingsPlansCoverageDataTypeDef(TypedDict):
    SpendCoveredBySavingsPlans: NotRequired[str],
    OnDemandCost: NotRequired[str],
    TotalCost: NotRequired[str],
    CoveragePercentage: NotRequired[str],

SavingsPlansDetailsTypeDef#

# SavingsPlansDetailsTypeDef definition

class SavingsPlansDetailsTypeDef(TypedDict):
    Region: NotRequired[str],
    InstanceFamily: NotRequired[str],
    OfferingId: NotRequired[str],

SavingsPlansTypeDef#

# SavingsPlansTypeDef definition

class SavingsPlansTypeDef(TypedDict):
    PaymentOption: NotRequired[PaymentOptionType],  # (1)
    SavingsPlansType: NotRequired[SupportedSavingsPlansTypeType],  # (2)
    Region: NotRequired[str],
    InstanceFamily: NotRequired[str],
    TermInYears: NotRequired[TermInYearsType],  # (3)
    SavingsPlansCommitment: NotRequired[float],
    OfferingId: NotRequired[str],
  1. See PaymentOptionType
  2. See SupportedSavingsPlansTypeType
  3. See TermInYearsType

SavingsPlansPurchaseRecommendationSummaryTypeDef#

# SavingsPlansPurchaseRecommendationSummaryTypeDef definition

class SavingsPlansPurchaseRecommendationSummaryTypeDef(TypedDict):
    EstimatedROI: NotRequired[str],
    CurrencyCode: NotRequired[str],
    EstimatedTotalCost: NotRequired[str],
    CurrentOnDemandSpend: NotRequired[str],
    EstimatedSavingsAmount: NotRequired[str],
    TotalRecommendationCount: NotRequired[str],
    DailyCommitmentToPurchase: NotRequired[str],
    HourlyCommitmentToPurchase: NotRequired[str],
    EstimatedSavingsPercentage: NotRequired[str],
    EstimatedMonthlySavingsAmount: NotRequired[str],
    EstimatedOnDemandCostWithCurrentCommitment: NotRequired[str],

SavingsPlansSavingsTypeDef#

# SavingsPlansSavingsTypeDef definition

class SavingsPlansSavingsTypeDef(TypedDict):
    NetSavings: NotRequired[str],
    OnDemandCostEquivalent: NotRequired[str],

SavingsPlansUtilizationTypeDef#

# SavingsPlansUtilizationTypeDef definition

class SavingsPlansUtilizationTypeDef(TypedDict):
    TotalCommitment: NotRequired[str],
    UsedCommitment: NotRequired[str],
    UnusedCommitment: NotRequired[str],
    UtilizationPercentage: NotRequired[str],

StartCostAllocationTagBackfillRequestRequestTypeDef#

# StartCostAllocationTagBackfillRequestRequestTypeDef definition

class StartCostAllocationTagBackfillRequestRequestTypeDef(TypedDict):
    BackfillFrom: str,

TagValuesTypeDef#

# TagValuesTypeDef definition

class TagValuesTypeDef(TypedDict):
    Key: NotRequired[str],
    Values: NotRequired[Sequence[str]],
    MatchOptions: NotRequired[Sequence[MatchOptionType]],  # (1)
  1. See MatchOptionType

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    ResourceTagKeys: Sequence[str],

UpdateAnomalyMonitorRequestRequestTypeDef#

# UpdateAnomalyMonitorRequestRequestTypeDef definition

class UpdateAnomalyMonitorRequestRequestTypeDef(TypedDict):
    MonitorArn: str,
    MonitorName: NotRequired[str],

UpdateCostAllocationTagsStatusErrorTypeDef#

# UpdateCostAllocationTagsStatusErrorTypeDef definition

class UpdateCostAllocationTagsStatusErrorTypeDef(TypedDict):
    TagKey: NotRequired[str],
    Code: NotRequired[str],
    Message: NotRequired[str],

UpdateCostAllocationTagsStatusRequestRequestTypeDef#

# UpdateCostAllocationTagsStatusRequestRequestTypeDef definition

class UpdateCostAllocationTagsStatusRequestRequestTypeDef(TypedDict):
    CostAllocationTagsStatus: Sequence[CostAllocationTagStatusEntryTypeDef],  # (1)
  1. See CostAllocationTagStatusEntryTypeDef

CostCategoryReferenceTypeDef#

# CostCategoryReferenceTypeDef definition

class CostCategoryReferenceTypeDef(TypedDict):
    CostCategoryArn: NotRequired[str],
    Name: NotRequired[str],
    EffectiveStart: NotRequired[str],
    EffectiveEnd: NotRequired[str],
    NumberOfRules: NotRequired[int],
    ProcessingStatus: NotRequired[list[CostCategoryProcessingStatusTypeDef]],  # (1)
    Values: NotRequired[list[str]],
    DefaultValue: NotRequired[str],
  1. See CostCategoryProcessingStatusTypeDef

CostCategorySplitChargeRuleOutputTypeDef#

# CostCategorySplitChargeRuleOutputTypeDef definition

class CostCategorySplitChargeRuleOutputTypeDef(TypedDict):
    Source: str,
    Targets: list[str],
    Method: CostCategorySplitChargeMethodType,  # (1)
    Parameters: NotRequired[list[CostCategorySplitChargeRuleParameterOutputTypeDef]],  # (2)
  1. See CostCategorySplitChargeMethodType
  2. See CostCategorySplitChargeRuleParameterOutputTypeDef

ForecastResultTypeDef#

# ForecastResultTypeDef definition

class ForecastResultTypeDef(TypedDict):
    TimePeriod: NotRequired[DateIntervalTypeDef],  # (1)
    MeanValue: NotRequired[str],
    PredictionIntervalLowerBound: NotRequired[str],
    PredictionIntervalUpperBound: NotRequired[str],
  1. See DateIntervalTypeDef

CoverageTypeDef#

# CoverageTypeDef definition

class CoverageTypeDef(TypedDict):
    CoverageHours: NotRequired[CoverageHoursTypeDef],  # (1)
    CoverageNormalizedUnits: NotRequired[CoverageNormalizedUnitsTypeDef],  # (2)
    CoverageCost: NotRequired[CoverageCostTypeDef],  # (3)
  1. See CoverageHoursTypeDef
  2. See CoverageNormalizedUnitsTypeDef
  3. See CoverageCostTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    ResourceTags: Sequence[ResourceTagTypeDef],  # (1)
  1. See ResourceTagTypeDef

CreateAnomalyMonitorResponseTypeDef#

# CreateAnomalyMonitorResponseTypeDef definition

class CreateAnomalyMonitorResponseTypeDef(TypedDict):
    MonitorArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateAnomalySubscriptionResponseTypeDef#

# CreateAnomalySubscriptionResponseTypeDef definition

class CreateAnomalySubscriptionResponseTypeDef(TypedDict):
    SubscriptionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateCostCategoryDefinitionResponseTypeDef#

# CreateCostCategoryDefinitionResponseTypeDef definition

class CreateCostCategoryDefinitionResponseTypeDef(TypedDict):
    CostCategoryArn: str,
    EffectiveStart: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteCostCategoryDefinitionResponseTypeDef#

# DeleteCostCategoryDefinitionResponseTypeDef definition

class DeleteCostCategoryDefinitionResponseTypeDef(TypedDict):
    CostCategoryArn: str,
    EffectiveEnd: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetApproximateUsageRecordsResponseTypeDef#

# GetApproximateUsageRecordsResponseTypeDef definition

class GetApproximateUsageRecordsResponseTypeDef(TypedDict):
    Services: dict[str, int],
    TotalRecords: int,
    LookbackPeriod: DateIntervalTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DateIntervalTypeDef
  2. See ResponseMetadataTypeDef

GetCostCategoriesResponseTypeDef#

# GetCostCategoriesResponseTypeDef definition

class GetCostCategoriesResponseTypeDef(TypedDict):
    NextPageToken: str,
    CostCategoryNames: list[str],
    CostCategoryValues: list[str],
    ReturnSize: int,
    TotalSize: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetTagsResponseTypeDef#

# GetTagsResponseTypeDef definition

class GetTagsResponseTypeDef(TypedDict):
    NextPageToken: str,
    Tags: list[str],
    ReturnSize: int,
    TotalSize: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListCostAllocationTagBackfillHistoryResponseTypeDef#

# ListCostAllocationTagBackfillHistoryResponseTypeDef definition

class ListCostAllocationTagBackfillHistoryResponseTypeDef(TypedDict):
    BackfillRequests: list[CostAllocationTagBackfillRequestTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See CostAllocationTagBackfillRequestTypeDef
  2. See ResponseMetadataTypeDef

ListCostAllocationTagsResponseTypeDef#

# ListCostAllocationTagsResponseTypeDef definition

class ListCostAllocationTagsResponseTypeDef(TypedDict):
    CostAllocationTags: list[CostAllocationTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See CostAllocationTagTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    ResourceTags: list[ResourceTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceTagTypeDef
  2. See ResponseMetadataTypeDef

ProvideAnomalyFeedbackResponseTypeDef#

# ProvideAnomalyFeedbackResponseTypeDef definition

class ProvideAnomalyFeedbackResponseTypeDef(TypedDict):
    AnomalyId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartCommitmentPurchaseAnalysisResponseTypeDef#

# StartCommitmentPurchaseAnalysisResponseTypeDef definition

class StartCommitmentPurchaseAnalysisResponseTypeDef(TypedDict):
    AnalysisId: str,
    AnalysisStartedTime: str,
    EstimatedCompletionTime: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartCostAllocationTagBackfillResponseTypeDef#

# StartCostAllocationTagBackfillResponseTypeDef definition

class StartCostAllocationTagBackfillResponseTypeDef(TypedDict):
    BackfillRequest: CostAllocationTagBackfillRequestTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CostAllocationTagBackfillRequestTypeDef
  2. See ResponseMetadataTypeDef

StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef#

# StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef definition

class StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef(TypedDict):
    RecommendationId: str,
    GenerationStartedTime: str,
    EstimatedCompletionTime: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateAnomalyMonitorResponseTypeDef#

# UpdateAnomalyMonitorResponseTypeDef definition

class UpdateAnomalyMonitorResponseTypeDef(TypedDict):
    MonitorArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateAnomalySubscriptionResponseTypeDef#

# UpdateAnomalySubscriptionResponseTypeDef definition

class UpdateAnomalySubscriptionResponseTypeDef(TypedDict):
    SubscriptionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateCostCategoryDefinitionResponseTypeDef#

# UpdateCostCategoryDefinitionResponseTypeDef definition

class UpdateCostCategoryDefinitionResponseTypeDef(TypedDict):
    CostCategoryArn: str,
    EffectiveStart: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ExpressionOutputTypeDef#

# ExpressionOutputTypeDef definition

class ExpressionOutputTypeDef(TypedDict):
    Or: NotRequired[list[dict[str, Any]]],
    And: NotRequired[list[dict[str, Any]]],
    Not: NotRequired[dict[str, Any]],
    Dimensions: NotRequired[DimensionValuesOutputTypeDef],  # (1)
    Tags: NotRequired[TagValuesOutputTypeDef],  # (2)
    CostCategories: NotRequired[CostCategoryValuesOutputTypeDef],  # (3)
  1. See DimensionValuesOutputTypeDef
  2. See TagValuesOutputTypeDef
  3. See CostCategoryValuesOutputTypeDef

GetDimensionValuesResponseTypeDef#

# GetDimensionValuesResponseTypeDef definition

class GetDimensionValuesResponseTypeDef(TypedDict):
    DimensionValues: list[DimensionValuesWithAttributesTypeDef],  # (1)
    ReturnSize: int,
    TotalSize: int,
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DimensionValuesWithAttributesTypeDef
  2. See ResponseMetadataTypeDef

ReservedCapacityDetailsTypeDef#

# ReservedCapacityDetailsTypeDef definition

class ReservedCapacityDetailsTypeDef(TypedDict):
    DynamoDBCapacityDetails: NotRequired[DynamoDBCapacityDetailsTypeDef],  # (1)
  1. See DynamoDBCapacityDetailsTypeDef

ResourceDetailsTypeDef#

# ResourceDetailsTypeDef definition

class ResourceDetailsTypeDef(TypedDict):
    EC2ResourceDetails: NotRequired[EC2ResourceDetailsTypeDef],  # (1)
  1. See EC2ResourceDetailsTypeDef

EC2ResourceUtilizationTypeDef#

# EC2ResourceUtilizationTypeDef definition

class EC2ResourceUtilizationTypeDef(TypedDict):
    MaxCpuUtilizationPercentage: NotRequired[str],
    MaxMemoryUtilizationPercentage: NotRequired[str],
    MaxStorageUtilizationPercentage: NotRequired[str],
    EBSResourceUtilization: NotRequired[EBSResourceUtilizationTypeDef],  # (1)
    DiskResourceUtilization: NotRequired[DiskResourceUtilizationTypeDef],  # (2)
    NetworkResourceUtilization: NotRequired[NetworkResourceUtilizationTypeDef],  # (3)
  1. See EBSResourceUtilizationTypeDef
  2. See DiskResourceUtilizationTypeDef
  3. See NetworkResourceUtilizationTypeDef

ServiceSpecificationTypeDef#

# ServiceSpecificationTypeDef definition

class ServiceSpecificationTypeDef(TypedDict):
    EC2Specification: NotRequired[EC2SpecificationTypeDef],  # (1)
  1. See EC2SpecificationTypeDef

ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef#

# ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef definition

class ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef(TypedDict):
    GenerationSummaryList: list[GenerationSummaryTypeDef],  # (1)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GenerationSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetAnomaliesRequestRequestTypeDef#

# GetAnomaliesRequestRequestTypeDef definition

class GetAnomaliesRequestRequestTypeDef(TypedDict):
    DateInterval: AnomalyDateIntervalTypeDef,  # (1)
    MonitorArn: NotRequired[str],
    Feedback: NotRequired[AnomalyFeedbackTypeType],  # (2)
    TotalImpact: NotRequired[TotalImpactFilterTypeDef],  # (3)
    NextPageToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See AnomalyDateIntervalTypeDef
  2. See AnomalyFeedbackTypeType
  3. See TotalImpactFilterTypeDef

GroupTypeDef#

# GroupTypeDef definition

class GroupTypeDef(TypedDict):
    Keys: NotRequired[list[str]],
    Metrics: NotRequired[dict[str, MetricValueTypeDef]],  # (1)
  1. See MetricValueTypeDef

ReservationUtilizationGroupTypeDef#

# ReservationUtilizationGroupTypeDef definition

class ReservationUtilizationGroupTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],
    Attributes: NotRequired[dict[str, str]],
    Utilization: NotRequired[ReservationAggregatesTypeDef],  # (1)
  1. See ReservationAggregatesTypeDef

InstanceDetailsTypeDef#

# InstanceDetailsTypeDef definition

class InstanceDetailsTypeDef(TypedDict):
    EC2InstanceDetails: NotRequired[EC2InstanceDetailsTypeDef],  # (1)
    RDSInstanceDetails: NotRequired[RDSInstanceDetailsTypeDef],  # (2)
    RedshiftInstanceDetails: NotRequired[RedshiftInstanceDetailsTypeDef],  # (3)
    ElastiCacheInstanceDetails: NotRequired[ElastiCacheInstanceDetailsTypeDef],  # (4)
    ESInstanceDetails: NotRequired[ESInstanceDetailsTypeDef],  # (5)
    MemoryDBInstanceDetails: NotRequired[MemoryDBInstanceDetailsTypeDef],  # (6)
  1. See EC2InstanceDetailsTypeDef
  2. See RDSInstanceDetailsTypeDef
  3. See RedshiftInstanceDetailsTypeDef
  4. See ElastiCacheInstanceDetailsTypeDef
  5. See ESInstanceDetailsTypeDef
  6. See MemoryDBInstanceDetailsTypeDef

RecommendationDetailDataTypeDef#

# RecommendationDetailDataTypeDef definition

class RecommendationDetailDataTypeDef(TypedDict):
    AccountScope: NotRequired[AccountScopeType],  # (1)
    LookbackPeriodInDays: NotRequired[LookbackPeriodInDaysType],  # (2)
    SavingsPlansType: NotRequired[SupportedSavingsPlansTypeType],  # (3)
    TermInYears: NotRequired[TermInYearsType],  # (4)
    PaymentOption: NotRequired[PaymentOptionType],  # (5)
    AccountId: NotRequired[str],
    CurrencyCode: NotRequired[str],
    InstanceFamily: NotRequired[str],
    Region: NotRequired[str],
    OfferingId: NotRequired[str],
    GenerationTimestamp: NotRequired[str],
    LatestUsageTimestamp: NotRequired[str],
    CurrentAverageHourlyOnDemandSpend: NotRequired[str],
    CurrentMaximumHourlyOnDemandSpend: NotRequired[str],
    CurrentMinimumHourlyOnDemandSpend: NotRequired[str],
    EstimatedAverageUtilization: NotRequired[str],
    EstimatedMonthlySavingsAmount: NotRequired[str],
    EstimatedOnDemandCost: NotRequired[str],
    EstimatedOnDemandCostWithCurrentCommitment: NotRequired[str],
    EstimatedROI: NotRequired[str],
    EstimatedSPCost: NotRequired[str],
    EstimatedSavingsAmount: NotRequired[str],
    EstimatedSavingsPercentage: NotRequired[str],
    ExistingHourlyCommitment: NotRequired[str],
    HourlyCommitmentToPurchase: NotRequired[str],
    UpfrontCost: NotRequired[str],
    CurrentAverageCoverage: NotRequired[str],
    EstimatedAverageCoverage: NotRequired[str],
    MetricsOverLookbackPeriod: NotRequired[list[RecommendationDetailHourlyMetricsTypeDef]],  # (6)
  1. See AccountScopeType
  2. See LookbackPeriodInDaysType
  3. See SupportedSavingsPlansTypeType
  4. See TermInYearsType
  5. See PaymentOptionType
  6. See RecommendationDetailHourlyMetricsTypeDef

SavingsPlansPurchaseAnalysisDetailsTypeDef#

# SavingsPlansPurchaseAnalysisDetailsTypeDef definition

class SavingsPlansPurchaseAnalysisDetailsTypeDef(TypedDict):
    CurrencyCode: NotRequired[str],
    LookbackPeriodInHours: NotRequired[str],
    CurrentAverageCoverage: NotRequired[str],
    CurrentAverageHourlyOnDemandSpend: NotRequired[str],
    CurrentMaximumHourlyOnDemandSpend: NotRequired[str],
    CurrentMinimumHourlyOnDemandSpend: NotRequired[str],
    CurrentOnDemandSpend: NotRequired[str],
    ExistingHourlyCommitment: NotRequired[str],
    HourlyCommitmentToPurchase: NotRequired[str],
    EstimatedAverageCoverage: NotRequired[str],
    EstimatedAverageUtilization: NotRequired[str],
    EstimatedMonthlySavingsAmount: NotRequired[str],
    EstimatedOnDemandCost: NotRequired[str],
    EstimatedOnDemandCostWithCurrentCommitment: NotRequired[str],
    EstimatedROI: NotRequired[str],
    EstimatedSavingsAmount: NotRequired[str],
    EstimatedSavingsPercentage: NotRequired[str],
    EstimatedCommitmentCost: NotRequired[str],
    LatestUsageTimestamp: NotRequired[str],
    UpfrontCost: NotRequired[str],
    AdditionalMetadata: NotRequired[str],
    MetricsOverLookbackPeriod: NotRequired[list[RecommendationDetailHourlyMetricsTypeDef]],  # (1)
  1. See RecommendationDetailHourlyMetricsTypeDef

RootCauseTypeDef#

# RootCauseTypeDef definition

class RootCauseTypeDef(TypedDict):
    Service: NotRequired[str],
    Region: NotRequired[str],
    LinkedAccount: NotRequired[str],
    LinkedAccountName: NotRequired[str],
    UsageType: NotRequired[str],
    Impact: NotRequired[RootCauseImpactTypeDef],  # (1)
  1. See RootCauseImpactTypeDef

SavingsPlansCoverageTypeDef#

# SavingsPlansCoverageTypeDef definition

class SavingsPlansCoverageTypeDef(TypedDict):
    Attributes: NotRequired[dict[str, str]],
    Coverage: NotRequired[SavingsPlansCoverageDataTypeDef],  # (1)
    TimePeriod: NotRequired[DateIntervalTypeDef],  # (2)
  1. See SavingsPlansCoverageDataTypeDef
  2. See DateIntervalTypeDef

SavingsPlansPurchaseRecommendationDetailTypeDef#

# SavingsPlansPurchaseRecommendationDetailTypeDef definition

class SavingsPlansPurchaseRecommendationDetailTypeDef(TypedDict):
    SavingsPlansDetails: NotRequired[SavingsPlansDetailsTypeDef],  # (1)
    AccountId: NotRequired[str],
    UpfrontCost: NotRequired[str],
    EstimatedROI: NotRequired[str],
    CurrencyCode: NotRequired[str],
    EstimatedSPCost: NotRequired[str],
    EstimatedOnDemandCost: NotRequired[str],
    EstimatedOnDemandCostWithCurrentCommitment: NotRequired[str],
    EstimatedSavingsAmount: NotRequired[str],
    EstimatedSavingsPercentage: NotRequired[str],
    HourlyCommitmentToPurchase: NotRequired[str],
    EstimatedAverageUtilization: NotRequired[str],
    EstimatedMonthlySavingsAmount: NotRequired[str],
    CurrentMinimumHourlyOnDemandSpend: NotRequired[str],
    CurrentMaximumHourlyOnDemandSpend: NotRequired[str],
    CurrentAverageHourlyOnDemandSpend: NotRequired[str],
    RecommendationDetailId: NotRequired[str],
  1. See SavingsPlansDetailsTypeDef

SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef#

# SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef definition

class SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef(TypedDict):
    AnalysisType: AnalysisTypeType,  # (2)
    SavingsPlansToAdd: list[SavingsPlansTypeDef],  # (3)
    LookBackTimePeriod: DateIntervalTypeDef,  # (4)
    AccountScope: NotRequired[AccountScopeType],  # (1)
    AccountId: NotRequired[str],
    SavingsPlansToExclude: NotRequired[list[str]],
  1. See AccountScopeType
  2. See AnalysisTypeType
  3. See SavingsPlansTypeDef
  4. See DateIntervalTypeDef

SavingsPlansPurchaseAnalysisConfigurationTypeDef#

# SavingsPlansPurchaseAnalysisConfigurationTypeDef definition

class SavingsPlansPurchaseAnalysisConfigurationTypeDef(TypedDict):
    AnalysisType: AnalysisTypeType,  # (2)
    SavingsPlansToAdd: Sequence[SavingsPlansTypeDef],  # (3)
    LookBackTimePeriod: DateIntervalTypeDef,  # (4)
    AccountScope: NotRequired[AccountScopeType],  # (1)
    AccountId: NotRequired[str],
    SavingsPlansToExclude: NotRequired[Sequence[str]],
  1. See AccountScopeType
  2. See AnalysisTypeType
  3. See SavingsPlansTypeDef
  4. See DateIntervalTypeDef

SavingsPlansUtilizationAggregatesTypeDef#

# SavingsPlansUtilizationAggregatesTypeDef definition

class SavingsPlansUtilizationAggregatesTypeDef(TypedDict):
    Utilization: SavingsPlansUtilizationTypeDef,  # (1)
    Savings: NotRequired[SavingsPlansSavingsTypeDef],  # (2)
    AmortizedCommitment: NotRequired[SavingsPlansAmortizedCommitmentTypeDef],  # (3)
  1. See SavingsPlansUtilizationTypeDef
  2. See SavingsPlansSavingsTypeDef
  3. See SavingsPlansAmortizedCommitmentTypeDef

SavingsPlansUtilizationByTimeTypeDef#

# SavingsPlansUtilizationByTimeTypeDef definition

class SavingsPlansUtilizationByTimeTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Utilization: SavingsPlansUtilizationTypeDef,  # (2)
    Savings: NotRequired[SavingsPlansSavingsTypeDef],  # (3)
    AmortizedCommitment: NotRequired[SavingsPlansAmortizedCommitmentTypeDef],  # (4)
  1. See DateIntervalTypeDef
  2. See SavingsPlansUtilizationTypeDef
  3. See SavingsPlansSavingsTypeDef
  4. See SavingsPlansAmortizedCommitmentTypeDef

SavingsPlansUtilizationDetailTypeDef#

# SavingsPlansUtilizationDetailTypeDef definition

class SavingsPlansUtilizationDetailTypeDef(TypedDict):
    SavingsPlanArn: NotRequired[str],
    Attributes: NotRequired[dict[str, str]],
    Utilization: NotRequired[SavingsPlansUtilizationTypeDef],  # (1)
    Savings: NotRequired[SavingsPlansSavingsTypeDef],  # (2)
    AmortizedCommitment: NotRequired[SavingsPlansAmortizedCommitmentTypeDef],  # (3)
  1. See SavingsPlansUtilizationTypeDef
  2. See SavingsPlansSavingsTypeDef
  3. See SavingsPlansAmortizedCommitmentTypeDef

UpdateCostAllocationTagsStatusResponseTypeDef#

# UpdateCostAllocationTagsStatusResponseTypeDef definition

class UpdateCostAllocationTagsStatusResponseTypeDef(TypedDict):
    Errors: list[UpdateCostAllocationTagsStatusErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UpdateCostAllocationTagsStatusErrorTypeDef
  2. See ResponseMetadataTypeDef

ListCostCategoryDefinitionsResponseTypeDef#

# ListCostCategoryDefinitionsResponseTypeDef definition

class ListCostCategoryDefinitionsResponseTypeDef(TypedDict):
    CostCategoryReferences: list[CostCategoryReferenceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See CostCategoryReferenceTypeDef
  2. See ResponseMetadataTypeDef

CostCategorySplitChargeRuleTypeDef#

# CostCategorySplitChargeRuleTypeDef definition

class CostCategorySplitChargeRuleTypeDef(TypedDict):
    Source: str,
    Targets: Sequence[str],
    Method: CostCategorySplitChargeMethodType,  # (1)
    Parameters: NotRequired[Sequence[CostCategorySplitChargeRuleParameterUnionTypeDef]],  # (2)
  1. See CostCategorySplitChargeMethodType
  2. See CostCategorySplitChargeRuleParameterTypeDef CostCategorySplitChargeRuleParameterOutputTypeDef

GetCostForecastResponseTypeDef#

# GetCostForecastResponseTypeDef definition

class GetCostForecastResponseTypeDef(TypedDict):
    Total: MetricValueTypeDef,  # (1)
    ForecastResultsByTime: list[ForecastResultTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MetricValueTypeDef
  2. See ForecastResultTypeDef
  3. See ResponseMetadataTypeDef

GetUsageForecastResponseTypeDef#

# GetUsageForecastResponseTypeDef definition

class GetUsageForecastResponseTypeDef(TypedDict):
    Total: MetricValueTypeDef,  # (1)
    ForecastResultsByTime: list[ForecastResultTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MetricValueTypeDef
  2. See ForecastResultTypeDef
  3. See ResponseMetadataTypeDef

ReservationCoverageGroupTypeDef#

# ReservationCoverageGroupTypeDef definition

class ReservationCoverageGroupTypeDef(TypedDict):
    Attributes: NotRequired[dict[str, str]],
    Coverage: NotRequired[CoverageTypeDef],  # (1)
  1. See CoverageTypeDef

AnomalyMonitorOutputTypeDef#

# AnomalyMonitorOutputTypeDef definition

class AnomalyMonitorOutputTypeDef(TypedDict):
    MonitorName: str,
    MonitorType: MonitorTypeType,  # (1)
    MonitorArn: NotRequired[str],
    CreationDate: NotRequired[str],
    LastUpdatedDate: NotRequired[str],
    LastEvaluatedDate: NotRequired[str],
    MonitorDimension: NotRequired[MonitorDimensionType],  # (2)
    MonitorSpecification: NotRequired[ExpressionOutputTypeDef],  # (3)
    DimensionalValueCount: NotRequired[int],
  1. See MonitorTypeType
  2. See MonitorDimensionType
  3. See ExpressionOutputTypeDef

AnomalySubscriptionOutputTypeDef#

# AnomalySubscriptionOutputTypeDef definition

class AnomalySubscriptionOutputTypeDef(TypedDict):
    MonitorArnList: list[str],
    Subscribers: list[SubscriberTypeDef],  # (1)
    Frequency: AnomalySubscriptionFrequencyType,  # (2)
    SubscriptionName: str,
    SubscriptionArn: NotRequired[str],
    AccountId: NotRequired[str],
    Threshold: NotRequired[float],
    ThresholdExpression: NotRequired[ExpressionOutputTypeDef],  # (3)
  1. See SubscriberTypeDef
  2. See AnomalySubscriptionFrequencyType
  3. See ExpressionOutputTypeDef

CostCategoryRuleOutputTypeDef#

# CostCategoryRuleOutputTypeDef definition

class CostCategoryRuleOutputTypeDef(TypedDict):
    Value: NotRequired[str],
    Rule: NotRequired[ExpressionOutputTypeDef],  # (1)
    InheritedValue: NotRequired[CostCategoryInheritedValueDimensionTypeDef],  # (2)
    Type: NotRequired[CostCategoryRuleTypeType],  # (3)
  1. See ExpressionOutputTypeDef
  2. See CostCategoryInheritedValueDimensionTypeDef
  3. See CostCategoryRuleTypeType

ResourceUtilizationTypeDef#

# ResourceUtilizationTypeDef definition

class ResourceUtilizationTypeDef(TypedDict):
    EC2ResourceUtilization: NotRequired[EC2ResourceUtilizationTypeDef],  # (1)
  1. See EC2ResourceUtilizationTypeDef

ResultByTimeTypeDef#

# ResultByTimeTypeDef definition

class ResultByTimeTypeDef(TypedDict):
    TimePeriod: NotRequired[DateIntervalTypeDef],  # (1)
    Total: NotRequired[dict[str, MetricValueTypeDef]],  # (2)
    Groups: NotRequired[list[GroupTypeDef]],  # (3)
    Estimated: NotRequired[bool],
  1. See DateIntervalTypeDef
  2. See MetricValueTypeDef
  3. See GroupTypeDef

UtilizationByTimeTypeDef#

# UtilizationByTimeTypeDef definition

class UtilizationByTimeTypeDef(TypedDict):
    TimePeriod: NotRequired[DateIntervalTypeDef],  # (1)
    Groups: NotRequired[list[ReservationUtilizationGroupTypeDef]],  # (2)
    Total: NotRequired[ReservationAggregatesTypeDef],  # (3)
  1. See DateIntervalTypeDef
  2. See ReservationUtilizationGroupTypeDef
  3. See ReservationAggregatesTypeDef

ReservationPurchaseRecommendationDetailTypeDef#

# ReservationPurchaseRecommendationDetailTypeDef definition

class ReservationPurchaseRecommendationDetailTypeDef(TypedDict):
    AccountId: NotRequired[str],
    InstanceDetails: NotRequired[InstanceDetailsTypeDef],  # (1)
    RecommendedNumberOfInstancesToPurchase: NotRequired[str],
    RecommendedNormalizedUnitsToPurchase: NotRequired[str],
    MinimumNumberOfInstancesUsedPerHour: NotRequired[str],
    MinimumNormalizedUnitsUsedPerHour: NotRequired[str],
    MaximumNumberOfInstancesUsedPerHour: NotRequired[str],
    MaximumNormalizedUnitsUsedPerHour: NotRequired[str],
    AverageNumberOfInstancesUsedPerHour: NotRequired[str],
    AverageNormalizedUnitsUsedPerHour: NotRequired[str],
    AverageUtilization: NotRequired[str],
    EstimatedBreakEvenInMonths: NotRequired[str],
    CurrencyCode: NotRequired[str],
    EstimatedMonthlySavingsAmount: NotRequired[str],
    EstimatedMonthlySavingsPercentage: NotRequired[str],
    EstimatedMonthlyOnDemandCost: NotRequired[str],
    EstimatedReservationCostForLookbackPeriod: NotRequired[str],
    UpfrontCost: NotRequired[str],
    RecurringStandardMonthlyCost: NotRequired[str],
    ReservedCapacityDetails: NotRequired[ReservedCapacityDetailsTypeDef],  # (2)
    RecommendedNumberOfCapacityUnitsToPurchase: NotRequired[str],
    MinimumNumberOfCapacityUnitsUsedPerHour: NotRequired[str],
    MaximumNumberOfCapacityUnitsUsedPerHour: NotRequired[str],
    AverageNumberOfCapacityUnitsUsedPerHour: NotRequired[str],
  1. See InstanceDetailsTypeDef
  2. See ReservedCapacityDetailsTypeDef

GetSavingsPlanPurchaseRecommendationDetailsResponseTypeDef#

# GetSavingsPlanPurchaseRecommendationDetailsResponseTypeDef definition

class GetSavingsPlanPurchaseRecommendationDetailsResponseTypeDef(TypedDict):
    RecommendationDetailId: str,
    RecommendationDetailData: RecommendationDetailDataTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendationDetailDataTypeDef
  2. See ResponseMetadataTypeDef

AnalysisDetailsTypeDef#

# AnalysisDetailsTypeDef definition

class AnalysisDetailsTypeDef(TypedDict):
    SavingsPlansPurchaseAnalysisDetails: NotRequired[SavingsPlansPurchaseAnalysisDetailsTypeDef],  # (1)
  1. See SavingsPlansPurchaseAnalysisDetailsTypeDef

AnomalyTypeDef#

# AnomalyTypeDef definition

class AnomalyTypeDef(TypedDict):
    AnomalyId: str,
    AnomalyScore: AnomalyScoreTypeDef,  # (2)
    Impact: ImpactTypeDef,  # (3)
    MonitorArn: str,
    AnomalyStartDate: NotRequired[str],
    AnomalyEndDate: NotRequired[str],
    DimensionValue: NotRequired[str],
    RootCauses: NotRequired[list[RootCauseTypeDef]],  # (1)
    Feedback: NotRequired[AnomalyFeedbackTypeType],  # (4)
  1. See RootCauseTypeDef
  2. See AnomalyScoreTypeDef
  3. See ImpactTypeDef
  4. See AnomalyFeedbackTypeType

GetSavingsPlansCoverageResponseTypeDef#

# GetSavingsPlansCoverageResponseTypeDef definition

class GetSavingsPlansCoverageResponseTypeDef(TypedDict):
    SavingsPlansCoverages: list[SavingsPlansCoverageTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See SavingsPlansCoverageTypeDef
  2. See ResponseMetadataTypeDef

SavingsPlansPurchaseRecommendationTypeDef#

# SavingsPlansPurchaseRecommendationTypeDef definition

class SavingsPlansPurchaseRecommendationTypeDef(TypedDict):
    AccountScope: NotRequired[AccountScopeType],  # (1)
    SavingsPlansType: NotRequired[SupportedSavingsPlansTypeType],  # (2)
    TermInYears: NotRequired[TermInYearsType],  # (3)
    PaymentOption: NotRequired[PaymentOptionType],  # (4)
    LookbackPeriodInDays: NotRequired[LookbackPeriodInDaysType],  # (5)
    SavingsPlansPurchaseRecommendationDetails: NotRequired[list[SavingsPlansPurchaseRecommendationDetailTypeDef]],  # (6)
    SavingsPlansPurchaseRecommendationSummary: NotRequired[SavingsPlansPurchaseRecommendationSummaryTypeDef],  # (7)
  1. See AccountScopeType
  2. See SupportedSavingsPlansTypeType
  3. See TermInYearsType
  4. See PaymentOptionType
  5. See LookbackPeriodInDaysType
  6. See SavingsPlansPurchaseRecommendationDetailTypeDef
  7. See SavingsPlansPurchaseRecommendationSummaryTypeDef

CommitmentPurchaseAnalysisConfigurationOutputTypeDef#

# CommitmentPurchaseAnalysisConfigurationOutputTypeDef definition

class CommitmentPurchaseAnalysisConfigurationOutputTypeDef(TypedDict):
    SavingsPlansPurchaseAnalysisConfiguration: NotRequired[SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef],  # (1)
  1. See SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef

GetSavingsPlansUtilizationResponseTypeDef#

# GetSavingsPlansUtilizationResponseTypeDef definition

class GetSavingsPlansUtilizationResponseTypeDef(TypedDict):
    SavingsPlansUtilizationsByTime: list[SavingsPlansUtilizationByTimeTypeDef],  # (1)
    Total: SavingsPlansUtilizationAggregatesTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SavingsPlansUtilizationByTimeTypeDef
  2. See SavingsPlansUtilizationAggregatesTypeDef
  3. See ResponseMetadataTypeDef

GetSavingsPlansUtilizationDetailsResponseTypeDef#

# GetSavingsPlansUtilizationDetailsResponseTypeDef definition

class GetSavingsPlansUtilizationDetailsResponseTypeDef(TypedDict):
    SavingsPlansUtilizationDetails: list[SavingsPlansUtilizationDetailTypeDef],  # (1)
    Total: SavingsPlansUtilizationAggregatesTypeDef,  # (2)
    TimePeriod: DateIntervalTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
    NextToken: NotRequired[str],
  1. See SavingsPlansUtilizationDetailTypeDef
  2. See SavingsPlansUtilizationAggregatesTypeDef
  3. See DateIntervalTypeDef
  4. See ResponseMetadataTypeDef

ExpressionTypeDef#

# ExpressionTypeDef definition

class ExpressionTypeDef(TypedDict):
    Or: NotRequired[Sequence[Mapping[str, Any]]],
    And: NotRequired[Sequence[Mapping[str, Any]]],
    Not: NotRequired[Mapping[str, Any]],
    Dimensions: NotRequired[DimensionValuesUnionTypeDef],  # (1)
    Tags: NotRequired[TagValuesUnionTypeDef],  # (2)
    CostCategories: NotRequired[CostCategoryValuesUnionTypeDef],  # (3)
  1. See DimensionValuesTypeDef DimensionValuesOutputTypeDef
  2. See TagValuesTypeDef TagValuesOutputTypeDef
  3. See CostCategoryValuesTypeDef CostCategoryValuesOutputTypeDef

CoverageByTimeTypeDef#

# CoverageByTimeTypeDef definition

class CoverageByTimeTypeDef(TypedDict):
    TimePeriod: NotRequired[DateIntervalTypeDef],  # (1)
    Groups: NotRequired[list[ReservationCoverageGroupTypeDef]],  # (2)
    Total: NotRequired[CoverageTypeDef],  # (3)
  1. See DateIntervalTypeDef
  2. See ReservationCoverageGroupTypeDef
  3. See CoverageTypeDef

GetAnomalyMonitorsResponseTypeDef#

# GetAnomalyMonitorsResponseTypeDef definition

class GetAnomalyMonitorsResponseTypeDef(TypedDict):
    AnomalyMonitors: list[AnomalyMonitorOutputTypeDef],  # (1)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnomalyMonitorOutputTypeDef
  2. See ResponseMetadataTypeDef

GetAnomalySubscriptionsResponseTypeDef#

# GetAnomalySubscriptionsResponseTypeDef definition

class GetAnomalySubscriptionsResponseTypeDef(TypedDict):
    AnomalySubscriptions: list[AnomalySubscriptionOutputTypeDef],  # (1)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnomalySubscriptionOutputTypeDef
  2. See ResponseMetadataTypeDef

CostCategoryTypeDef#

# CostCategoryTypeDef definition

class CostCategoryTypeDef(TypedDict):
    CostCategoryArn: str,
    EffectiveStart: str,
    Name: str,
    RuleVersion: CostCategoryRuleVersionType,  # (1)
    Rules: list[CostCategoryRuleOutputTypeDef],  # (2)
    EffectiveEnd: NotRequired[str],
    SplitChargeRules: NotRequired[list[CostCategorySplitChargeRuleOutputTypeDef]],  # (3)
    ProcessingStatus: NotRequired[list[CostCategoryProcessingStatusTypeDef]],  # (4)
    DefaultValue: NotRequired[str],
  1. See CostCategoryRuleVersionType
  2. See CostCategoryRuleOutputTypeDef
  3. See CostCategorySplitChargeRuleOutputTypeDef
  4. See CostCategoryProcessingStatusTypeDef

CurrentInstanceTypeDef#

# CurrentInstanceTypeDef definition

class CurrentInstanceTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    InstanceName: NotRequired[str],
    Tags: NotRequired[list[TagValuesOutputTypeDef]],  # (1)
    ResourceDetails: NotRequired[ResourceDetailsTypeDef],  # (2)
    ResourceUtilization: NotRequired[ResourceUtilizationTypeDef],  # (3)
    ReservationCoveredHoursInLookbackPeriod: NotRequired[str],
    SavingsPlansCoveredHoursInLookbackPeriod: NotRequired[str],
    OnDemandHoursInLookbackPeriod: NotRequired[str],
    TotalRunningHoursInLookbackPeriod: NotRequired[str],
    MonthlyCost: NotRequired[str],
    CurrencyCode: NotRequired[str],
  1. See TagValuesOutputTypeDef
  2. See ResourceDetailsTypeDef
  3. See ResourceUtilizationTypeDef

TargetInstanceTypeDef#

# TargetInstanceTypeDef definition

class TargetInstanceTypeDef(TypedDict):
    EstimatedMonthlyCost: NotRequired[str],
    EstimatedMonthlySavings: NotRequired[str],
    CurrencyCode: NotRequired[str],
    DefaultTargetInstance: NotRequired[bool],
    ResourceDetails: NotRequired[ResourceDetailsTypeDef],  # (1)
    ExpectedResourceUtilization: NotRequired[ResourceUtilizationTypeDef],  # (2)
    PlatformDifferences: NotRequired[list[PlatformDifferenceType]],  # (3)
  1. See ResourceDetailsTypeDef
  2. See ResourceUtilizationTypeDef
  3. See PlatformDifferenceType

GetCostAndUsageResponseTypeDef#

# GetCostAndUsageResponseTypeDef definition

class GetCostAndUsageResponseTypeDef(TypedDict):
    NextPageToken: str,
    GroupDefinitions: list[GroupDefinitionTypeDef],  # (1)
    ResultsByTime: list[ResultByTimeTypeDef],  # (2)
    DimensionValueAttributes: list[DimensionValuesWithAttributesTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See GroupDefinitionTypeDef
  2. See ResultByTimeTypeDef
  3. See DimensionValuesWithAttributesTypeDef
  4. See ResponseMetadataTypeDef

GetCostAndUsageWithResourcesResponseTypeDef#

# GetCostAndUsageWithResourcesResponseTypeDef definition

class GetCostAndUsageWithResourcesResponseTypeDef(TypedDict):
    NextPageToken: str,
    GroupDefinitions: list[GroupDefinitionTypeDef],  # (1)
    ResultsByTime: list[ResultByTimeTypeDef],  # (2)
    DimensionValueAttributes: list[DimensionValuesWithAttributesTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See GroupDefinitionTypeDef
  2. See ResultByTimeTypeDef
  3. See DimensionValuesWithAttributesTypeDef
  4. See ResponseMetadataTypeDef

GetReservationUtilizationResponseTypeDef#

# GetReservationUtilizationResponseTypeDef definition

class GetReservationUtilizationResponseTypeDef(TypedDict):
    UtilizationsByTime: list[UtilizationByTimeTypeDef],  # (1)
    Total: ReservationAggregatesTypeDef,  # (2)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See UtilizationByTimeTypeDef
  2. See ReservationAggregatesTypeDef
  3. See ResponseMetadataTypeDef

ReservationPurchaseRecommendationTypeDef#

# ReservationPurchaseRecommendationTypeDef definition

class ReservationPurchaseRecommendationTypeDef(TypedDict):
    AccountScope: NotRequired[AccountScopeType],  # (1)
    LookbackPeriodInDays: NotRequired[LookbackPeriodInDaysType],  # (2)
    TermInYears: NotRequired[TermInYearsType],  # (3)
    PaymentOption: NotRequired[PaymentOptionType],  # (4)
    ServiceSpecification: NotRequired[ServiceSpecificationTypeDef],  # (5)
    RecommendationDetails: NotRequired[list[ReservationPurchaseRecommendationDetailTypeDef]],  # (6)
    RecommendationSummary: NotRequired[ReservationPurchaseRecommendationSummaryTypeDef],  # (7)
  1. See AccountScopeType
  2. See LookbackPeriodInDaysType
  3. See TermInYearsType
  4. See PaymentOptionType
  5. See ServiceSpecificationTypeDef
  6. See ReservationPurchaseRecommendationDetailTypeDef
  7. See ReservationPurchaseRecommendationSummaryTypeDef

GetAnomaliesResponseTypeDef#

# GetAnomaliesResponseTypeDef definition

class GetAnomaliesResponseTypeDef(TypedDict):
    Anomalies: list[AnomalyTypeDef],  # (1)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnomalyTypeDef
  2. See ResponseMetadataTypeDef

GetSavingsPlansPurchaseRecommendationResponseTypeDef#

# GetSavingsPlansPurchaseRecommendationResponseTypeDef definition

class GetSavingsPlansPurchaseRecommendationResponseTypeDef(TypedDict):
    Metadata: SavingsPlansPurchaseRecommendationMetadataTypeDef,  # (1)
    SavingsPlansPurchaseRecommendation: SavingsPlansPurchaseRecommendationTypeDef,  # (2)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SavingsPlansPurchaseRecommendationMetadataTypeDef
  2. See SavingsPlansPurchaseRecommendationTypeDef
  3. See ResponseMetadataTypeDef

AnalysisSummaryTypeDef#

# AnalysisSummaryTypeDef definition

class AnalysisSummaryTypeDef(TypedDict):
    EstimatedCompletionTime: NotRequired[str],
    AnalysisCompletionTime: NotRequired[str],
    AnalysisStartedTime: NotRequired[str],
    AnalysisStatus: NotRequired[AnalysisStatusType],  # (1)
    ErrorCode: NotRequired[ErrorCodeType],  # (2)
    AnalysisId: NotRequired[str],
    CommitmentPurchaseAnalysisConfiguration: NotRequired[CommitmentPurchaseAnalysisConfigurationOutputTypeDef],  # (3)
  1. See AnalysisStatusType
  2. See ErrorCodeType
  3. See CommitmentPurchaseAnalysisConfigurationOutputTypeDef

GetCommitmentPurchaseAnalysisResponseTypeDef#

# GetCommitmentPurchaseAnalysisResponseTypeDef definition

class GetCommitmentPurchaseAnalysisResponseTypeDef(TypedDict):
    EstimatedCompletionTime: str,
    AnalysisCompletionTime: str,
    AnalysisStartedTime: str,
    AnalysisId: str,
    AnalysisStatus: AnalysisStatusType,  # (1)
    ErrorCode: ErrorCodeType,  # (2)
    AnalysisDetails: AnalysisDetailsTypeDef,  # (3)
    CommitmentPurchaseAnalysisConfiguration: CommitmentPurchaseAnalysisConfigurationOutputTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See AnalysisStatusType
  2. See ErrorCodeType
  3. See AnalysisDetailsTypeDef
  4. See CommitmentPurchaseAnalysisConfigurationOutputTypeDef
  5. See ResponseMetadataTypeDef

CommitmentPurchaseAnalysisConfigurationTypeDef#

# CommitmentPurchaseAnalysisConfigurationTypeDef definition

class CommitmentPurchaseAnalysisConfigurationTypeDef(TypedDict):
    SavingsPlansPurchaseAnalysisConfiguration: NotRequired[SavingsPlansPurchaseAnalysisConfigurationUnionTypeDef],  # (1)
  1. See SavingsPlansPurchaseAnalysisConfigurationTypeDef SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef

GetCostAndUsageRequestRequestTypeDef#

# GetCostAndUsageRequestRequestTypeDef definition

class GetCostAndUsageRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Granularity: GranularityType,  # (2)
    Metrics: Sequence[str],
    Filter: NotRequired[ExpressionTypeDef],  # (3)
    GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]],  # (4)
    BillingViewArn: NotRequired[str],
    NextPageToken: NotRequired[str],
  1. See DateIntervalTypeDef
  2. See GranularityType
  3. See ExpressionTypeDef
  4. See GroupDefinitionTypeDef

GetCostAndUsageWithResourcesRequestRequestTypeDef#

# GetCostAndUsageWithResourcesRequestRequestTypeDef definition

class GetCostAndUsageWithResourcesRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Granularity: GranularityType,  # (2)
    Filter: ExpressionTypeDef,  # (3)
    Metrics: NotRequired[Sequence[str]],
    GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]],  # (4)
    BillingViewArn: NotRequired[str],
    NextPageToken: NotRequired[str],
  1. See DateIntervalTypeDef
  2. See GranularityType
  3. See ExpressionTypeDef
  4. See GroupDefinitionTypeDef

GetCostCategoriesRequestRequestTypeDef#

# GetCostCategoriesRequestRequestTypeDef definition

class GetCostCategoriesRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    SearchString: NotRequired[str],
    CostCategoryName: NotRequired[str],
    Filter: NotRequired[ExpressionTypeDef],  # (2)
    SortBy: NotRequired[Sequence[SortDefinitionTypeDef]],  # (3)
    BillingViewArn: NotRequired[str],
    MaxResults: NotRequired[int],
    NextPageToken: NotRequired[str],
  1. See DateIntervalTypeDef
  2. See ExpressionTypeDef
  3. See SortDefinitionTypeDef

GetCostForecastRequestRequestTypeDef#

# GetCostForecastRequestRequestTypeDef definition

class GetCostForecastRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Metric: MetricType,  # (2)
    Granularity: GranularityType,  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    BillingViewArn: NotRequired[str],
    PredictionIntervalLevel: NotRequired[int],
  1. See DateIntervalTypeDef
  2. See MetricType
  3. See GranularityType
  4. See ExpressionTypeDef

GetDimensionValuesRequestRequestTypeDef#

# GetDimensionValuesRequestRequestTypeDef definition

class GetDimensionValuesRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Dimension: DimensionType,  # (2)
    SearchString: NotRequired[str],
    Context: NotRequired[ContextType],  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    SortBy: NotRequired[Sequence[SortDefinitionTypeDef]],  # (5)
    BillingViewArn: NotRequired[str],
    MaxResults: NotRequired[int],
    NextPageToken: NotRequired[str],
  1. See DateIntervalTypeDef
  2. See DimensionType
  3. See ContextType
  4. See ExpressionTypeDef
  5. See SortDefinitionTypeDef

GetReservationCoverageRequestRequestTypeDef#

# GetReservationCoverageRequestRequestTypeDef definition

class GetReservationCoverageRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]],  # (2)
    Granularity: NotRequired[GranularityType],  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    Metrics: NotRequired[Sequence[str]],
    NextPageToken: NotRequired[str],
    SortBy: NotRequired[SortDefinitionTypeDef],  # (5)
    MaxResults: NotRequired[int],
  1. See DateIntervalTypeDef
  2. See GroupDefinitionTypeDef
  3. See GranularityType
  4. See ExpressionTypeDef
  5. See SortDefinitionTypeDef

GetReservationPurchaseRecommendationRequestRequestTypeDef#

# GetReservationPurchaseRecommendationRequestRequestTypeDef definition

class GetReservationPurchaseRecommendationRequestRequestTypeDef(TypedDict):
    Service: str,
    AccountId: NotRequired[str],
    Filter: NotRequired[ExpressionTypeDef],  # (1)
    AccountScope: NotRequired[AccountScopeType],  # (2)
    LookbackPeriodInDays: NotRequired[LookbackPeriodInDaysType],  # (3)
    TermInYears: NotRequired[TermInYearsType],  # (4)
    PaymentOption: NotRequired[PaymentOptionType],  # (5)
    ServiceSpecification: NotRequired[ServiceSpecificationTypeDef],  # (6)
    PageSize: NotRequired[int],
    NextPageToken: NotRequired[str],
  1. See ExpressionTypeDef
  2. See AccountScopeType
  3. See LookbackPeriodInDaysType
  4. See TermInYearsType
  5. See PaymentOptionType
  6. See ServiceSpecificationTypeDef

GetReservationUtilizationRequestRequestTypeDef#

# GetReservationUtilizationRequestRequestTypeDef definition

class GetReservationUtilizationRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]],  # (2)
    Granularity: NotRequired[GranularityType],  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    SortBy: NotRequired[SortDefinitionTypeDef],  # (5)
    NextPageToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See DateIntervalTypeDef
  2. See GroupDefinitionTypeDef
  3. See GranularityType
  4. See ExpressionTypeDef
  5. See SortDefinitionTypeDef

GetRightsizingRecommendationRequestRequestTypeDef#

# GetRightsizingRecommendationRequestRequestTypeDef definition

class GetRightsizingRecommendationRequestRequestTypeDef(TypedDict):
    Service: str,
    Filter: NotRequired[ExpressionTypeDef],  # (1)
    Configuration: NotRequired[RightsizingRecommendationConfigurationTypeDef],  # (2)
    PageSize: NotRequired[int],
    NextPageToken: NotRequired[str],
  1. See ExpressionTypeDef
  2. See RightsizingRecommendationConfigurationTypeDef

GetSavingsPlansCoverageRequestRequestTypeDef#

# GetSavingsPlansCoverageRequestRequestTypeDef definition

class GetSavingsPlansCoverageRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]],  # (2)
    Granularity: NotRequired[GranularityType],  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    Metrics: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    SortBy: NotRequired[SortDefinitionTypeDef],  # (5)
  1. See DateIntervalTypeDef
  2. See GroupDefinitionTypeDef
  3. See GranularityType
  4. See ExpressionTypeDef
  5. See SortDefinitionTypeDef

GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef#

# GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef definition

class GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef(TypedDict):
    SavingsPlansType: SupportedSavingsPlansTypeType,  # (1)
    TermInYears: TermInYearsType,  # (2)
    PaymentOption: PaymentOptionType,  # (3)
    LookbackPeriodInDays: LookbackPeriodInDaysType,  # (4)
    AccountScope: NotRequired[AccountScopeType],  # (5)
    NextPageToken: NotRequired[str],
    PageSize: NotRequired[int],
    Filter: NotRequired[ExpressionTypeDef],  # (6)
  1. See SupportedSavingsPlansTypeType
  2. See TermInYearsType
  3. See PaymentOptionType
  4. See LookbackPeriodInDaysType
  5. See AccountScopeType
  6. See ExpressionTypeDef

GetSavingsPlansUtilizationDetailsRequestRequestTypeDef#

# GetSavingsPlansUtilizationDetailsRequestRequestTypeDef definition

class GetSavingsPlansUtilizationDetailsRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Filter: NotRequired[ExpressionTypeDef],  # (2)
    DataType: NotRequired[Sequence[SavingsPlansDataTypeType]],  # (3)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    SortBy: NotRequired[SortDefinitionTypeDef],  # (4)
  1. See DateIntervalTypeDef
  2. See ExpressionTypeDef
  3. See SavingsPlansDataTypeType
  4. See SortDefinitionTypeDef

GetSavingsPlansUtilizationRequestRequestTypeDef#

# GetSavingsPlansUtilizationRequestRequestTypeDef definition

class GetSavingsPlansUtilizationRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Granularity: NotRequired[GranularityType],  # (2)
    Filter: NotRequired[ExpressionTypeDef],  # (3)
    SortBy: NotRequired[SortDefinitionTypeDef],  # (4)
  1. See DateIntervalTypeDef
  2. See GranularityType
  3. See ExpressionTypeDef
  4. See SortDefinitionTypeDef

GetTagsRequestRequestTypeDef#

# GetTagsRequestRequestTypeDef definition

class GetTagsRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    SearchString: NotRequired[str],
    TagKey: NotRequired[str],
    Filter: NotRequired[ExpressionTypeDef],  # (2)
    SortBy: NotRequired[Sequence[SortDefinitionTypeDef]],  # (3)
    BillingViewArn: NotRequired[str],
    MaxResults: NotRequired[int],
    NextPageToken: NotRequired[str],
  1. See DateIntervalTypeDef
  2. See ExpressionTypeDef
  3. See SortDefinitionTypeDef

GetUsageForecastRequestRequestTypeDef#

# GetUsageForecastRequestRequestTypeDef definition

class GetUsageForecastRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Metric: MetricType,  # (2)
    Granularity: GranularityType,  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    BillingViewArn: NotRequired[str],
    PredictionIntervalLevel: NotRequired[int],
  1. See DateIntervalTypeDef
  2. See MetricType
  3. See GranularityType
  4. See ExpressionTypeDef

UpdateAnomalySubscriptionRequestRequestTypeDef#

# UpdateAnomalySubscriptionRequestRequestTypeDef definition

class UpdateAnomalySubscriptionRequestRequestTypeDef(TypedDict):
    SubscriptionArn: str,
    Threshold: NotRequired[float],
    Frequency: NotRequired[AnomalySubscriptionFrequencyType],  # (1)
    MonitorArnList: NotRequired[Sequence[str]],
    Subscribers: NotRequired[Sequence[SubscriberTypeDef]],  # (2)
    SubscriptionName: NotRequired[str],
    ThresholdExpression: NotRequired[ExpressionTypeDef],  # (3)
  1. See AnomalySubscriptionFrequencyType
  2. See SubscriberTypeDef
  3. See ExpressionTypeDef

GetReservationCoverageResponseTypeDef#

# GetReservationCoverageResponseTypeDef definition

class GetReservationCoverageResponseTypeDef(TypedDict):
    CoveragesByTime: list[CoverageByTimeTypeDef],  # (1)
    Total: CoverageTypeDef,  # (2)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CoverageByTimeTypeDef
  2. See CoverageTypeDef
  3. See ResponseMetadataTypeDef

DescribeCostCategoryDefinitionResponseTypeDef#

# DescribeCostCategoryDefinitionResponseTypeDef definition

class DescribeCostCategoryDefinitionResponseTypeDef(TypedDict):
    CostCategory: CostCategoryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CostCategoryTypeDef
  2. See ResponseMetadataTypeDef

ModifyRecommendationDetailTypeDef#

# ModifyRecommendationDetailTypeDef definition

class ModifyRecommendationDetailTypeDef(TypedDict):
    TargetInstances: NotRequired[list[TargetInstanceTypeDef]],  # (1)
  1. See TargetInstanceTypeDef

GetReservationPurchaseRecommendationResponseTypeDef#

# GetReservationPurchaseRecommendationResponseTypeDef definition

class GetReservationPurchaseRecommendationResponseTypeDef(TypedDict):
    Metadata: ReservationPurchaseRecommendationMetadataTypeDef,  # (1)
    Recommendations: list[ReservationPurchaseRecommendationTypeDef],  # (2)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ReservationPurchaseRecommendationMetadataTypeDef
  2. See ReservationPurchaseRecommendationTypeDef
  3. See ResponseMetadataTypeDef

ListCommitmentPurchaseAnalysesResponseTypeDef#

# ListCommitmentPurchaseAnalysesResponseTypeDef definition

class ListCommitmentPurchaseAnalysesResponseTypeDef(TypedDict):
    AnalysisSummaryList: list[AnalysisSummaryTypeDef],  # (1)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalysisSummaryTypeDef
  2. See ResponseMetadataTypeDef

StartCommitmentPurchaseAnalysisRequestRequestTypeDef#

# StartCommitmentPurchaseAnalysisRequestRequestTypeDef definition

class StartCommitmentPurchaseAnalysisRequestRequestTypeDef(TypedDict):
    CommitmentPurchaseAnalysisConfiguration: CommitmentPurchaseAnalysisConfigurationTypeDef,  # (1)
  1. See CommitmentPurchaseAnalysisConfigurationTypeDef

AnomalyMonitorTypeDef#

# AnomalyMonitorTypeDef definition

class AnomalyMonitorTypeDef(TypedDict):
    MonitorName: str,
    MonitorType: MonitorTypeType,  # (1)
    MonitorArn: NotRequired[str],
    CreationDate: NotRequired[str],
    LastUpdatedDate: NotRequired[str],
    LastEvaluatedDate: NotRequired[str],
    MonitorDimension: NotRequired[MonitorDimensionType],  # (2)
    MonitorSpecification: NotRequired[ExpressionUnionTypeDef],  # (3)
    DimensionalValueCount: NotRequired[int],
  1. See MonitorTypeType
  2. See MonitorDimensionType
  3. See ExpressionTypeDef ExpressionOutputTypeDef

AnomalySubscriptionTypeDef#

# AnomalySubscriptionTypeDef definition

class AnomalySubscriptionTypeDef(TypedDict):
    MonitorArnList: Sequence[str],
    Subscribers: Sequence[SubscriberTypeDef],  # (1)
    Frequency: AnomalySubscriptionFrequencyType,  # (2)
    SubscriptionName: str,
    SubscriptionArn: NotRequired[str],
    AccountId: NotRequired[str],
    Threshold: NotRequired[float],
    ThresholdExpression: NotRequired[ExpressionUnionTypeDef],  # (3)
  1. See SubscriberTypeDef
  2. See AnomalySubscriptionFrequencyType
  3. See ExpressionTypeDef ExpressionOutputTypeDef

CostCategoryRuleTypeDef#

# CostCategoryRuleTypeDef definition

class CostCategoryRuleTypeDef(TypedDict):
    Value: NotRequired[str],
    Rule: NotRequired[ExpressionUnionTypeDef],  # (1)
    InheritedValue: NotRequired[CostCategoryInheritedValueDimensionTypeDef],  # (2)
    Type: NotRequired[CostCategoryRuleTypeType],  # (3)
  1. See ExpressionTypeDef ExpressionOutputTypeDef
  2. See CostCategoryInheritedValueDimensionTypeDef
  3. See CostCategoryRuleTypeType

RightsizingRecommendationTypeDef#

# RightsizingRecommendationTypeDef definition

class RightsizingRecommendationTypeDef(TypedDict):
    AccountId: NotRequired[str],
    CurrentInstance: NotRequired[CurrentInstanceTypeDef],  # (1)
    RightsizingType: NotRequired[RightsizingTypeType],  # (2)
    ModifyRecommendationDetail: NotRequired[ModifyRecommendationDetailTypeDef],  # (3)
    TerminateRecommendationDetail: NotRequired[TerminateRecommendationDetailTypeDef],  # (4)
    FindingReasonCodes: NotRequired[list[FindingReasonCodeType]],  # (5)
  1. See CurrentInstanceTypeDef
  2. See RightsizingTypeType
  3. See ModifyRecommendationDetailTypeDef
  4. See TerminateRecommendationDetailTypeDef
  5. See FindingReasonCodeType

CreateAnomalyMonitorRequestRequestTypeDef#

# CreateAnomalyMonitorRequestRequestTypeDef definition

class CreateAnomalyMonitorRequestRequestTypeDef(TypedDict):
    AnomalyMonitor: AnomalyMonitorTypeDef,  # (1)
    ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (2)
  1. See AnomalyMonitorTypeDef
  2. See ResourceTagTypeDef

CreateAnomalySubscriptionRequestRequestTypeDef#

# CreateAnomalySubscriptionRequestRequestTypeDef definition

class CreateAnomalySubscriptionRequestRequestTypeDef(TypedDict):
    AnomalySubscription: AnomalySubscriptionTypeDef,  # (1)
    ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (2)
  1. See AnomalySubscriptionTypeDef
  2. See ResourceTagTypeDef

UpdateCostCategoryDefinitionRequestRequestTypeDef#

# UpdateCostCategoryDefinitionRequestRequestTypeDef definition

class UpdateCostCategoryDefinitionRequestRequestTypeDef(TypedDict):
    CostCategoryArn: str,
    RuleVersion: CostCategoryRuleVersionType,  # (1)
    Rules: Sequence[CostCategoryRuleTypeDef],  # (2)
    EffectiveStart: NotRequired[str],
    DefaultValue: NotRequired[str],
    SplitChargeRules: NotRequired[Sequence[CostCategorySplitChargeRuleTypeDef]],  # (3)
  1. See CostCategoryRuleVersionType
  2. See CostCategoryRuleTypeDef
  3. See CostCategorySplitChargeRuleTypeDef

GetRightsizingRecommendationResponseTypeDef#

# GetRightsizingRecommendationResponseTypeDef definition

class GetRightsizingRecommendationResponseTypeDef(TypedDict):
    Metadata: RightsizingRecommendationMetadataTypeDef,  # (1)
    Summary: RightsizingRecommendationSummaryTypeDef,  # (2)
    RightsizingRecommendations: list[RightsizingRecommendationTypeDef],  # (3)
    NextPageToken: str,
    Configuration: RightsizingRecommendationConfigurationTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See RightsizingRecommendationMetadataTypeDef
  2. See RightsizingRecommendationSummaryTypeDef
  3. See RightsizingRecommendationTypeDef
  4. See RightsizingRecommendationConfigurationTypeDef
  5. See ResponseMetadataTypeDef

CreateCostCategoryDefinitionRequestRequestTypeDef#

# CreateCostCategoryDefinitionRequestRequestTypeDef definition

class CreateCostCategoryDefinitionRequestRequestTypeDef(TypedDict):
    Name: str,
    RuleVersion: CostCategoryRuleVersionType,  # (1)
    Rules: Sequence[CostCategoryRuleUnionTypeDef],  # (2)
    EffectiveStart: NotRequired[str],
    DefaultValue: NotRequired[str],
    SplitChargeRules: NotRequired[Sequence[CostCategorySplitChargeRuleUnionTypeDef]],  # (3)
    ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (4)
  1. See CostCategoryRuleVersionType
  2. See CostCategoryRuleTypeDef CostCategoryRuleOutputTypeDef
  3. See CostCategorySplitChargeRuleTypeDef CostCategorySplitChargeRuleOutputTypeDef
  4. See ResourceTagTypeDef