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)
]
- See CostCategorySplitChargeRuleParameterTypeDef
- See CostCategorySplitChargeRuleParameterOutputTypeDef
CostCategoryValuesUnionTypeDef#
# CostCategoryValuesUnionTypeDef definition
CostCategoryValuesUnionTypeDef = Union[
CostCategoryValuesTypeDef, # (1)
CostCategoryValuesOutputTypeDef, # (2)
]
DimensionValuesUnionTypeDef#
# DimensionValuesUnionTypeDef definition
DimensionValuesUnionTypeDef = Union[
DimensionValuesTypeDef, # (1)
DimensionValuesOutputTypeDef, # (2)
]
TagValuesUnionTypeDef#
# TagValuesUnionTypeDef definition
TagValuesUnionTypeDef = Union[
TagValuesTypeDef, # (1)
TagValuesOutputTypeDef, # (2)
]
SavingsPlansPurchaseAnalysisConfigurationUnionTypeDef#
# SavingsPlansPurchaseAnalysisConfigurationUnionTypeDef definition
SavingsPlansPurchaseAnalysisConfigurationUnionTypeDef = Union[
SavingsPlansPurchaseAnalysisConfigurationTypeDef, # (1)
SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef, # (2)
]
- See SavingsPlansPurchaseAnalysisConfigurationTypeDef
- See SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef
CostCategorySplitChargeRuleUnionTypeDef#
# CostCategorySplitChargeRuleUnionTypeDef definition
CostCategorySplitChargeRuleUnionTypeDef = Union[
CostCategorySplitChargeRuleTypeDef, # (1)
CostCategorySplitChargeRuleOutputTypeDef, # (2)
]
ExpressionUnionTypeDef#
# ExpressionUnionTypeDef definition
ExpressionUnionTypeDef = Union[
ExpressionTypeDef, # (1)
ExpressionOutputTypeDef, # (2)
]
CostCategoryRuleUnionTypeDef#
# CostCategoryRuleUnionTypeDef definition
CostCategoryRuleUnionTypeDef = Union[
CostCategoryRuleTypeDef, # (1)
CostCategoryRuleOutputTypeDef, # (2)
]
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)
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],
CostAllocationTagStatusEntryTypeDef#
# CostAllocationTagStatusEntryTypeDef definition
class CostAllocationTagStatusEntryTypeDef(TypedDict):
TagKey: str,
Status: CostAllocationTagStatusType, # (1)
CostAllocationTagTypeDef#
# CostAllocationTagTypeDef definition
class CostAllocationTagTypeDef(TypedDict):
TagKey: str,
Type: CostAllocationTagTypeType, # (1)
Status: CostAllocationTagStatusType, # (2)
LastUpdatedDate: NotRequired[str],
LastUsedDate: NotRequired[str],
CostCategoryInheritedValueDimensionTypeDef#
# CostCategoryInheritedValueDimensionTypeDef definition
class CostCategoryInheritedValueDimensionTypeDef(TypedDict):
DimensionName: NotRequired[CostCategoryInheritedValueDimensionNameType], # (1)
DimensionKey: NotRequired[str],
CostCategoryProcessingStatusTypeDef#
# CostCategoryProcessingStatusTypeDef definition
class CostCategoryProcessingStatusTypeDef(TypedDict):
Component: NotRequired[CostCategoryStatusComponentType], # (1)
Status: NotRequired[CostCategoryStatusType], # (2)
CostCategorySplitChargeRuleParameterOutputTypeDef#
# CostCategorySplitChargeRuleParameterOutputTypeDef definition
class CostCategorySplitChargeRuleParameterOutputTypeDef(TypedDict):
Type: CostCategorySplitChargeRuleParameterTypeType, # (1)
Values: list[str],
CostCategorySplitChargeRuleParameterTypeDef#
# CostCategorySplitChargeRuleParameterTypeDef definition
class CostCategorySplitChargeRuleParameterTypeDef(TypedDict):
Type: CostCategorySplitChargeRuleParameterTypeType, # (1)
Values: Sequence[str],
CostCategoryValuesOutputTypeDef#
# CostCategoryValuesOutputTypeDef definition
class CostCategoryValuesOutputTypeDef(TypedDict):
Key: NotRequired[str],
Values: NotRequired[list[str]],
MatchOptions: NotRequired[list[MatchOptionType]], # (1)
- See MatchOptionType
CostCategoryValuesTypeDef#
# CostCategoryValuesTypeDef definition
class CostCategoryValuesTypeDef(TypedDict):
Key: NotRequired[str],
Values: NotRequired[Sequence[str]],
MatchOptions: NotRequired[Sequence[MatchOptionType]], # (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)
- 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)
- See DimensionType
- See MatchOptionType
DimensionValuesTypeDef#
# DimensionValuesTypeDef definition
class DimensionValuesTypeDef(TypedDict):
Key: NotRequired[DimensionType], # (1)
Values: NotRequired[Sequence[str]],
MatchOptions: NotRequired[Sequence[MatchOptionType]], # (2)
- See DimensionType
- 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)
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],
TotalImpactFilterTypeDef#
# TotalImpactFilterTypeDef definition
class TotalImpactFilterTypeDef(TypedDict):
NumericOperator: NumericOperatorType, # (1)
StartValue: float,
EndValue: NotRequired[float],
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]],
GetCommitmentPurchaseAnalysisRequestRequestTypeDef#
# GetCommitmentPurchaseAnalysisRequestRequestTypeDef definition
class GetCommitmentPurchaseAnalysisRequestRequestTypeDef(TypedDict):
AnalysisId: str,
GroupDefinitionTypeDef#
# GroupDefinitionTypeDef definition
class GroupDefinitionTypeDef(TypedDict):
Type: NotRequired[GroupDefinitionTypeType], # (1)
Key: NotRequired[str],
SortDefinitionTypeDef#
# SortDefinitionTypeDef definition
class SortDefinitionTypeDef(TypedDict):
Key: str,
SortOrder: NotRequired[SortOrderType], # (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,
RightsizingRecommendationMetadataTypeDef#
# RightsizingRecommendationMetadataTypeDef definition
class RightsizingRecommendationMetadataTypeDef(TypedDict):
RecommendationId: NotRequired[str],
GenerationTimestamp: NotRequired[str],
LookbackPeriodInDays: NotRequired[LookbackPeriodInDaysType], # (1)
AdditionalMetadata: NotRequired[str],
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]],
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],
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],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
ProvideAnomalyFeedbackRequestRequestTypeDef#
# ProvideAnomalyFeedbackRequestRequestTypeDef definition
class ProvideAnomalyFeedbackRequestRequestTypeDef(TypedDict):
AnomalyId: str,
Feedback: AnomalyFeedbackTypeType, # (1)
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],
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)
- 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)
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],
CostCategorySplitChargeRuleOutputTypeDef#
# CostCategorySplitChargeRuleOutputTypeDef definition
class CostCategorySplitChargeRuleOutputTypeDef(TypedDict):
Source: str,
Targets: list[str],
Method: CostCategorySplitChargeMethodType, # (1)
Parameters: NotRequired[list[CostCategorySplitChargeRuleParameterOutputTypeDef]], # (2)
ForecastResultTypeDef#
# ForecastResultTypeDef definition
class ForecastResultTypeDef(TypedDict):
TimePeriod: NotRequired[DateIntervalTypeDef], # (1)
MeanValue: NotRequired[str],
PredictionIntervalLowerBound: NotRequired[str],
PredictionIntervalUpperBound: NotRequired[str],
CoverageTypeDef#
# CoverageTypeDef definition
class CoverageTypeDef(TypedDict):
CoverageHours: NotRequired[CoverageHoursTypeDef], # (1)
CoverageNormalizedUnits: NotRequired[CoverageNormalizedUnitsTypeDef], # (2)
CoverageCost: NotRequired[CoverageCostTypeDef], # (3)
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
ResourceTags: Sequence[ResourceTagTypeDef], # (1)
CreateAnomalyMonitorResponseTypeDef#
# CreateAnomalyMonitorResponseTypeDef definition
class CreateAnomalyMonitorResponseTypeDef(TypedDict):
MonitorArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateAnomalySubscriptionResponseTypeDef#
# CreateAnomalySubscriptionResponseTypeDef definition
class CreateAnomalySubscriptionResponseTypeDef(TypedDict):
SubscriptionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateCostCategoryDefinitionResponseTypeDef#
# CreateCostCategoryDefinitionResponseTypeDef definition
class CreateCostCategoryDefinitionResponseTypeDef(TypedDict):
CostCategoryArn: str,
EffectiveStart: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteCostCategoryDefinitionResponseTypeDef#
# DeleteCostCategoryDefinitionResponseTypeDef definition
class DeleteCostCategoryDefinitionResponseTypeDef(TypedDict):
CostCategoryArn: str,
EffectiveEnd: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetApproximateUsageRecordsResponseTypeDef#
# GetApproximateUsageRecordsResponseTypeDef definition
class GetApproximateUsageRecordsResponseTypeDef(TypedDict):
Services: dict[str, int],
TotalRecords: int,
LookbackPeriod: DateIntervalTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetCostCategoriesResponseTypeDef#
# GetCostCategoriesResponseTypeDef definition
class GetCostCategoriesResponseTypeDef(TypedDict):
NextPageToken: str,
CostCategoryNames: list[str],
CostCategoryValues: list[str],
ReturnSize: int,
TotalSize: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetTagsResponseTypeDef#
# GetTagsResponseTypeDef definition
class GetTagsResponseTypeDef(TypedDict):
NextPageToken: str,
Tags: list[str],
ReturnSize: int,
TotalSize: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListCostAllocationTagBackfillHistoryResponseTypeDef#
# ListCostAllocationTagBackfillHistoryResponseTypeDef definition
class ListCostAllocationTagBackfillHistoryResponseTypeDef(TypedDict):
BackfillRequests: list[CostAllocationTagBackfillRequestTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListCostAllocationTagsResponseTypeDef#
# ListCostAllocationTagsResponseTypeDef definition
class ListCostAllocationTagsResponseTypeDef(TypedDict):
CostAllocationTags: list[CostAllocationTagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
ResourceTags: list[ResourceTagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ProvideAnomalyFeedbackResponseTypeDef#
# ProvideAnomalyFeedbackResponseTypeDef definition
class ProvideAnomalyFeedbackResponseTypeDef(TypedDict):
AnomalyId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartCommitmentPurchaseAnalysisResponseTypeDef#
# StartCommitmentPurchaseAnalysisResponseTypeDef definition
class StartCommitmentPurchaseAnalysisResponseTypeDef(TypedDict):
AnalysisId: str,
AnalysisStartedTime: str,
EstimatedCompletionTime: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartCostAllocationTagBackfillResponseTypeDef#
# StartCostAllocationTagBackfillResponseTypeDef definition
class StartCostAllocationTagBackfillResponseTypeDef(TypedDict):
BackfillRequest: CostAllocationTagBackfillRequestTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef#
# StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef definition
class StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef(TypedDict):
RecommendationId: str,
GenerationStartedTime: str,
EstimatedCompletionTime: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateAnomalyMonitorResponseTypeDef#
# UpdateAnomalyMonitorResponseTypeDef definition
class UpdateAnomalyMonitorResponseTypeDef(TypedDict):
MonitorArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateAnomalySubscriptionResponseTypeDef#
# UpdateAnomalySubscriptionResponseTypeDef definition
class UpdateAnomalySubscriptionResponseTypeDef(TypedDict):
SubscriptionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateCostCategoryDefinitionResponseTypeDef#
# UpdateCostCategoryDefinitionResponseTypeDef definition
class UpdateCostCategoryDefinitionResponseTypeDef(TypedDict):
CostCategoryArn: str,
EffectiveStart: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
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)
GetDimensionValuesResponseTypeDef#
# GetDimensionValuesResponseTypeDef definition
class GetDimensionValuesResponseTypeDef(TypedDict):
DimensionValues: list[DimensionValuesWithAttributesTypeDef], # (1)
ReturnSize: int,
TotalSize: int,
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ReservedCapacityDetailsTypeDef#
# ReservedCapacityDetailsTypeDef definition
class ReservedCapacityDetailsTypeDef(TypedDict):
DynamoDBCapacityDetails: NotRequired[DynamoDBCapacityDetailsTypeDef], # (1)
ResourceDetailsTypeDef#
# ResourceDetailsTypeDef definition
class ResourceDetailsTypeDef(TypedDict):
EC2ResourceDetails: NotRequired[EC2ResourceDetailsTypeDef], # (1)
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)
- See EBSResourceUtilizationTypeDef
- See DiskResourceUtilizationTypeDef
- See NetworkResourceUtilizationTypeDef
ServiceSpecificationTypeDef#
# ServiceSpecificationTypeDef definition
class ServiceSpecificationTypeDef(TypedDict):
EC2Specification: NotRequired[EC2SpecificationTypeDef], # (1)
ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef#
# ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef definition
class ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef(TypedDict):
GenerationSummaryList: list[GenerationSummaryTypeDef], # (1)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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],
GroupTypeDef#
# GroupTypeDef definition
class GroupTypeDef(TypedDict):
Keys: NotRequired[list[str]],
Metrics: NotRequired[dict[str, MetricValueTypeDef]], # (1)
ReservationUtilizationGroupTypeDef#
# ReservationUtilizationGroupTypeDef definition
class ReservationUtilizationGroupTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
Attributes: NotRequired[dict[str, str]],
Utilization: NotRequired[ReservationAggregatesTypeDef], # (1)
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)
- See EC2InstanceDetailsTypeDef
- See RDSInstanceDetailsTypeDef
- See RedshiftInstanceDetailsTypeDef
- See ElastiCacheInstanceDetailsTypeDef
- See ESInstanceDetailsTypeDef
- 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)
- See AccountScopeType
- See LookbackPeriodInDaysType
- See SupportedSavingsPlansTypeType
- See TermInYearsType
- See PaymentOptionType
- 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)
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)
SavingsPlansCoverageTypeDef#
# SavingsPlansCoverageTypeDef definition
class SavingsPlansCoverageTypeDef(TypedDict):
Attributes: NotRequired[dict[str, str]],
Coverage: NotRequired[SavingsPlansCoverageDataTypeDef], # (1)
TimePeriod: NotRequired[DateIntervalTypeDef], # (2)
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],
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]],
- See AccountScopeType
- See AnalysisTypeType
- See SavingsPlansTypeDef
- 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]],
- See AccountScopeType
- See AnalysisTypeType
- See SavingsPlansTypeDef
- See DateIntervalTypeDef
SavingsPlansUtilizationAggregatesTypeDef#
# SavingsPlansUtilizationAggregatesTypeDef definition
class SavingsPlansUtilizationAggregatesTypeDef(TypedDict):
Utilization: SavingsPlansUtilizationTypeDef, # (1)
Savings: NotRequired[SavingsPlansSavingsTypeDef], # (2)
AmortizedCommitment: NotRequired[SavingsPlansAmortizedCommitmentTypeDef], # (3)
- See SavingsPlansUtilizationTypeDef
- See SavingsPlansSavingsTypeDef
- See SavingsPlansAmortizedCommitmentTypeDef
SavingsPlansUtilizationByTimeTypeDef#
# SavingsPlansUtilizationByTimeTypeDef definition
class SavingsPlansUtilizationByTimeTypeDef(TypedDict):
TimePeriod: DateIntervalTypeDef, # (1)
Utilization: SavingsPlansUtilizationTypeDef, # (2)
Savings: NotRequired[SavingsPlansSavingsTypeDef], # (3)
AmortizedCommitment: NotRequired[SavingsPlansAmortizedCommitmentTypeDef], # (4)
- See DateIntervalTypeDef
- See SavingsPlansUtilizationTypeDef
- See SavingsPlansSavingsTypeDef
- 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)
- See SavingsPlansUtilizationTypeDef
- See SavingsPlansSavingsTypeDef
- See SavingsPlansAmortizedCommitmentTypeDef
UpdateCostAllocationTagsStatusResponseTypeDef#
# UpdateCostAllocationTagsStatusResponseTypeDef definition
class UpdateCostAllocationTagsStatusResponseTypeDef(TypedDict):
Errors: list[UpdateCostAllocationTagsStatusErrorTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListCostCategoryDefinitionsResponseTypeDef#
# ListCostCategoryDefinitionsResponseTypeDef definition
class ListCostCategoryDefinitionsResponseTypeDef(TypedDict):
CostCategoryReferences: list[CostCategoryReferenceTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
CostCategorySplitChargeRuleTypeDef#
# CostCategorySplitChargeRuleTypeDef definition
class CostCategorySplitChargeRuleTypeDef(TypedDict):
Source: str,
Targets: Sequence[str],
Method: CostCategorySplitChargeMethodType, # (1)
Parameters: NotRequired[Sequence[CostCategorySplitChargeRuleParameterUnionTypeDef]], # (2)
- See CostCategorySplitChargeMethodType
- See CostCategorySplitChargeRuleParameterTypeDef CostCategorySplitChargeRuleParameterOutputTypeDef
GetCostForecastResponseTypeDef#
# GetCostForecastResponseTypeDef definition
class GetCostForecastResponseTypeDef(TypedDict):
Total: MetricValueTypeDef, # (1)
ForecastResultsByTime: list[ForecastResultTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
GetUsageForecastResponseTypeDef#
# GetUsageForecastResponseTypeDef definition
class GetUsageForecastResponseTypeDef(TypedDict):
Total: MetricValueTypeDef, # (1)
ForecastResultsByTime: list[ForecastResultTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ReservationCoverageGroupTypeDef#
# ReservationCoverageGroupTypeDef definition
class ReservationCoverageGroupTypeDef(TypedDict):
Attributes: NotRequired[dict[str, str]],
Coverage: NotRequired[CoverageTypeDef], # (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],
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)
CostCategoryRuleOutputTypeDef#
# CostCategoryRuleOutputTypeDef definition
class CostCategoryRuleOutputTypeDef(TypedDict):
Value: NotRequired[str],
Rule: NotRequired[ExpressionOutputTypeDef], # (1)
InheritedValue: NotRequired[CostCategoryInheritedValueDimensionTypeDef], # (2)
Type: NotRequired[CostCategoryRuleTypeType], # (3)
- See ExpressionOutputTypeDef
- See CostCategoryInheritedValueDimensionTypeDef
- See CostCategoryRuleTypeType
ResourceUtilizationTypeDef#
# ResourceUtilizationTypeDef definition
class ResourceUtilizationTypeDef(TypedDict):
EC2ResourceUtilization: NotRequired[EC2ResourceUtilizationTypeDef], # (1)
ResultByTimeTypeDef#
# ResultByTimeTypeDef definition
class ResultByTimeTypeDef(TypedDict):
TimePeriod: NotRequired[DateIntervalTypeDef], # (1)
Total: NotRequired[dict[str, MetricValueTypeDef]], # (2)
Groups: NotRequired[list[GroupTypeDef]], # (3)
Estimated: NotRequired[bool],
- See DateIntervalTypeDef
- See MetricValueTypeDef
- See GroupTypeDef
UtilizationByTimeTypeDef#
# UtilizationByTimeTypeDef definition
class UtilizationByTimeTypeDef(TypedDict):
TimePeriod: NotRequired[DateIntervalTypeDef], # (1)
Groups: NotRequired[list[ReservationUtilizationGroupTypeDef]], # (2)
Total: NotRequired[ReservationAggregatesTypeDef], # (3)
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],
GetSavingsPlanPurchaseRecommendationDetailsResponseTypeDef#
# GetSavingsPlanPurchaseRecommendationDetailsResponseTypeDef definition
class GetSavingsPlanPurchaseRecommendationDetailsResponseTypeDef(TypedDict):
RecommendationDetailId: str,
RecommendationDetailData: RecommendationDetailDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AnalysisDetailsTypeDef#
# AnalysisDetailsTypeDef definition
class AnalysisDetailsTypeDef(TypedDict):
SavingsPlansPurchaseAnalysisDetails: NotRequired[SavingsPlansPurchaseAnalysisDetailsTypeDef], # (1)
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)
- See RootCauseTypeDef
- See AnomalyScoreTypeDef
- See ImpactTypeDef
- See AnomalyFeedbackTypeType
GetSavingsPlansCoverageResponseTypeDef#
# GetSavingsPlansCoverageResponseTypeDef definition
class GetSavingsPlansCoverageResponseTypeDef(TypedDict):
SavingsPlansCoverages: list[SavingsPlansCoverageTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
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)
- See AccountScopeType
- See SupportedSavingsPlansTypeType
- See TermInYearsType
- See PaymentOptionType
- See LookbackPeriodInDaysType
- See SavingsPlansPurchaseRecommendationDetailTypeDef
- See SavingsPlansPurchaseRecommendationSummaryTypeDef
CommitmentPurchaseAnalysisConfigurationOutputTypeDef#
# CommitmentPurchaseAnalysisConfigurationOutputTypeDef definition
class CommitmentPurchaseAnalysisConfigurationOutputTypeDef(TypedDict):
SavingsPlansPurchaseAnalysisConfiguration: NotRequired[SavingsPlansPurchaseAnalysisConfigurationOutputTypeDef], # (1)
GetSavingsPlansUtilizationResponseTypeDef#
# GetSavingsPlansUtilizationResponseTypeDef definition
class GetSavingsPlansUtilizationResponseTypeDef(TypedDict):
SavingsPlansUtilizationsByTime: list[SavingsPlansUtilizationByTimeTypeDef], # (1)
Total: SavingsPlansUtilizationAggregatesTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See SavingsPlansUtilizationByTimeTypeDef
- See SavingsPlansUtilizationAggregatesTypeDef
- See ResponseMetadataTypeDef
GetSavingsPlansUtilizationDetailsResponseTypeDef#
# GetSavingsPlansUtilizationDetailsResponseTypeDef definition
class GetSavingsPlansUtilizationDetailsResponseTypeDef(TypedDict):
SavingsPlansUtilizationDetails: list[SavingsPlansUtilizationDetailTypeDef], # (1)
Total: SavingsPlansUtilizationAggregatesTypeDef, # (2)
TimePeriod: DateIntervalTypeDef, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
NextToken: NotRequired[str],
- See SavingsPlansUtilizationDetailTypeDef
- See SavingsPlansUtilizationAggregatesTypeDef
- See DateIntervalTypeDef
- 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)
- See DimensionValuesTypeDef DimensionValuesOutputTypeDef
- See TagValuesTypeDef TagValuesOutputTypeDef
- See CostCategoryValuesTypeDef CostCategoryValuesOutputTypeDef
CoverageByTimeTypeDef#
# CoverageByTimeTypeDef definition
class CoverageByTimeTypeDef(TypedDict):
TimePeriod: NotRequired[DateIntervalTypeDef], # (1)
Groups: NotRequired[list[ReservationCoverageGroupTypeDef]], # (2)
Total: NotRequired[CoverageTypeDef], # (3)
GetAnomalyMonitorsResponseTypeDef#
# GetAnomalyMonitorsResponseTypeDef definition
class GetAnomalyMonitorsResponseTypeDef(TypedDict):
AnomalyMonitors: list[AnomalyMonitorOutputTypeDef], # (1)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetAnomalySubscriptionsResponseTypeDef#
# GetAnomalySubscriptionsResponseTypeDef definition
class GetAnomalySubscriptionsResponseTypeDef(TypedDict):
AnomalySubscriptions: list[AnomalySubscriptionOutputTypeDef], # (1)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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],
- See CostCategoryRuleVersionType
- See CostCategoryRuleOutputTypeDef
- See CostCategorySplitChargeRuleOutputTypeDef
- 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],
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)
GetCostAndUsageResponseTypeDef#
# GetCostAndUsageResponseTypeDef definition
class GetCostAndUsageResponseTypeDef(TypedDict):
NextPageToken: str,
GroupDefinitions: list[GroupDefinitionTypeDef], # (1)
ResultsByTime: list[ResultByTimeTypeDef], # (2)
DimensionValueAttributes: list[DimensionValuesWithAttributesTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See GroupDefinitionTypeDef
- See ResultByTimeTypeDef
- See DimensionValuesWithAttributesTypeDef
- 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)
- See GroupDefinitionTypeDef
- See ResultByTimeTypeDef
- See DimensionValuesWithAttributesTypeDef
- See ResponseMetadataTypeDef
GetReservationUtilizationResponseTypeDef#
# GetReservationUtilizationResponseTypeDef definition
class GetReservationUtilizationResponseTypeDef(TypedDict):
UtilizationsByTime: list[UtilizationByTimeTypeDef], # (1)
Total: ReservationAggregatesTypeDef, # (2)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
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)
- See AccountScopeType
- See LookbackPeriodInDaysType
- See TermInYearsType
- See PaymentOptionType
- See ServiceSpecificationTypeDef
- See ReservationPurchaseRecommendationDetailTypeDef
- See ReservationPurchaseRecommendationSummaryTypeDef
GetAnomaliesResponseTypeDef#
# GetAnomaliesResponseTypeDef definition
class GetAnomaliesResponseTypeDef(TypedDict):
Anomalies: list[AnomalyTypeDef], # (1)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetSavingsPlansPurchaseRecommendationResponseTypeDef#
# GetSavingsPlansPurchaseRecommendationResponseTypeDef definition
class GetSavingsPlansPurchaseRecommendationResponseTypeDef(TypedDict):
Metadata: SavingsPlansPurchaseRecommendationMetadataTypeDef, # (1)
SavingsPlansPurchaseRecommendation: SavingsPlansPurchaseRecommendationTypeDef, # (2)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See SavingsPlansPurchaseRecommendationMetadataTypeDef
- See SavingsPlansPurchaseRecommendationTypeDef
- 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)
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)
- See AnalysisStatusType
- See ErrorCodeType
- See AnalysisDetailsTypeDef
- See CommitmentPurchaseAnalysisConfigurationOutputTypeDef
- See ResponseMetadataTypeDef
CommitmentPurchaseAnalysisConfigurationTypeDef#
# CommitmentPurchaseAnalysisConfigurationTypeDef definition
class CommitmentPurchaseAnalysisConfigurationTypeDef(TypedDict):
SavingsPlansPurchaseAnalysisConfiguration: NotRequired[SavingsPlansPurchaseAnalysisConfigurationUnionTypeDef], # (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],
- See DateIntervalTypeDef
- See GranularityType
- See ExpressionTypeDef
- 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],
- See DateIntervalTypeDef
- See GranularityType
- See ExpressionTypeDef
- 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],
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],
- See DateIntervalTypeDef
- See MetricType
- See GranularityType
- 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],
- See DateIntervalTypeDef
- See DimensionType
- See ContextType
- See ExpressionTypeDef
- 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],
- See DateIntervalTypeDef
- See GroupDefinitionTypeDef
- See GranularityType
- See ExpressionTypeDef
- 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],
- See ExpressionTypeDef
- See AccountScopeType
- See LookbackPeriodInDaysType
- See TermInYearsType
- See PaymentOptionType
- 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],
- See DateIntervalTypeDef
- See GroupDefinitionTypeDef
- See GranularityType
- See ExpressionTypeDef
- See SortDefinitionTypeDef
GetRightsizingRecommendationRequestRequestTypeDef#
# GetRightsizingRecommendationRequestRequestTypeDef definition
class GetRightsizingRecommendationRequestRequestTypeDef(TypedDict):
Service: str,
Filter: NotRequired[ExpressionTypeDef], # (1)
Configuration: NotRequired[RightsizingRecommendationConfigurationTypeDef], # (2)
PageSize: NotRequired[int],
NextPageToken: NotRequired[str],
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)
- See DateIntervalTypeDef
- See GroupDefinitionTypeDef
- See GranularityType
- See ExpressionTypeDef
- 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)
- See SupportedSavingsPlansTypeType
- See TermInYearsType
- See PaymentOptionType
- See LookbackPeriodInDaysType
- See AccountScopeType
- 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)
- See DateIntervalTypeDef
- See ExpressionTypeDef
- See SavingsPlansDataTypeType
- See SortDefinitionTypeDef
GetSavingsPlansUtilizationRequestRequestTypeDef#
# GetSavingsPlansUtilizationRequestRequestTypeDef definition
class GetSavingsPlansUtilizationRequestRequestTypeDef(TypedDict):
TimePeriod: DateIntervalTypeDef, # (1)
Granularity: NotRequired[GranularityType], # (2)
Filter: NotRequired[ExpressionTypeDef], # (3)
SortBy: NotRequired[SortDefinitionTypeDef], # (4)
- See DateIntervalTypeDef
- See GranularityType
- See ExpressionTypeDef
- 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],
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],
- See DateIntervalTypeDef
- See MetricType
- See GranularityType
- 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)
GetReservationCoverageResponseTypeDef#
# GetReservationCoverageResponseTypeDef definition
class GetReservationCoverageResponseTypeDef(TypedDict):
CoveragesByTime: list[CoverageByTimeTypeDef], # (1)
Total: CoverageTypeDef, # (2)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeCostCategoryDefinitionResponseTypeDef#
# DescribeCostCategoryDefinitionResponseTypeDef definition
class DescribeCostCategoryDefinitionResponseTypeDef(TypedDict):
CostCategory: CostCategoryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ModifyRecommendationDetailTypeDef#
# ModifyRecommendationDetailTypeDef definition
class ModifyRecommendationDetailTypeDef(TypedDict):
TargetInstances: NotRequired[list[TargetInstanceTypeDef]], # (1)
GetReservationPurchaseRecommendationResponseTypeDef#
# GetReservationPurchaseRecommendationResponseTypeDef definition
class GetReservationPurchaseRecommendationResponseTypeDef(TypedDict):
Metadata: ReservationPurchaseRecommendationMetadataTypeDef, # (1)
Recommendations: list[ReservationPurchaseRecommendationTypeDef], # (2)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ReservationPurchaseRecommendationMetadataTypeDef
- See ReservationPurchaseRecommendationTypeDef
- See ResponseMetadataTypeDef
ListCommitmentPurchaseAnalysesResponseTypeDef#
# ListCommitmentPurchaseAnalysesResponseTypeDef definition
class ListCommitmentPurchaseAnalysesResponseTypeDef(TypedDict):
AnalysisSummaryList: list[AnalysisSummaryTypeDef], # (1)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StartCommitmentPurchaseAnalysisRequestRequestTypeDef#
# StartCommitmentPurchaseAnalysisRequestRequestTypeDef definition
class StartCommitmentPurchaseAnalysisRequestRequestTypeDef(TypedDict):
CommitmentPurchaseAnalysisConfiguration: CommitmentPurchaseAnalysisConfigurationTypeDef, # (1)
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],
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)
- See SubscriberTypeDef
- See AnomalySubscriptionFrequencyType
- See ExpressionTypeDef ExpressionOutputTypeDef
CostCategoryRuleTypeDef#
# CostCategoryRuleTypeDef definition
class CostCategoryRuleTypeDef(TypedDict):
Value: NotRequired[str],
Rule: NotRequired[ExpressionUnionTypeDef], # (1)
InheritedValue: NotRequired[CostCategoryInheritedValueDimensionTypeDef], # (2)
Type: NotRequired[CostCategoryRuleTypeType], # (3)
- See ExpressionTypeDef ExpressionOutputTypeDef
- See CostCategoryInheritedValueDimensionTypeDef
- 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)
- See CurrentInstanceTypeDef
- See RightsizingTypeType
- See ModifyRecommendationDetailTypeDef
- See TerminateRecommendationDetailTypeDef
- See FindingReasonCodeType
CreateAnomalyMonitorRequestRequestTypeDef#
# CreateAnomalyMonitorRequestRequestTypeDef definition
class CreateAnomalyMonitorRequestRequestTypeDef(TypedDict):
AnomalyMonitor: AnomalyMonitorTypeDef, # (1)
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
CreateAnomalySubscriptionRequestRequestTypeDef#
# CreateAnomalySubscriptionRequestRequestTypeDef definition
class CreateAnomalySubscriptionRequestRequestTypeDef(TypedDict):
AnomalySubscription: AnomalySubscriptionTypeDef, # (1)
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
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)
GetRightsizingRecommendationResponseTypeDef#
# GetRightsizingRecommendationResponseTypeDef definition
class GetRightsizingRecommendationResponseTypeDef(TypedDict):
Metadata: RightsizingRecommendationMetadataTypeDef, # (1)
Summary: RightsizingRecommendationSummaryTypeDef, # (2)
RightsizingRecommendations: list[RightsizingRecommendationTypeDef], # (3)
NextPageToken: str,
Configuration: RightsizingRecommendationConfigurationTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See RightsizingRecommendationMetadataTypeDef
- See RightsizingRecommendationSummaryTypeDef
- See RightsizingRecommendationTypeDef
- See RightsizingRecommendationConfigurationTypeDef
- 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)