Typed dictionaries#
Index > CostExplorer > Typed dictionaries
Auto-generated documentation for CostExplorer type annotations stubs module mypy-boto3-ce.
AnomalyDateIntervalTypeDef#
# AnomalyDateIntervalTypeDef usage example
from mypy_boto3_ce.type_defs import AnomalyDateIntervalTypeDef
def get_value() -> AnomalyDateIntervalTypeDef:
return {
"StartDate": ...,
}
# AnomalyDateIntervalTypeDef definition
class AnomalyDateIntervalTypeDef(TypedDict):
StartDate: str,
EndDate: NotRequired[str],
AnomalyMonitorTypeDef#
# AnomalyMonitorTypeDef usage example
from mypy_boto3_ce.type_defs import AnomalyMonitorTypeDef
def get_value() -> AnomalyMonitorTypeDef:
return {
"MonitorName": ...,
"MonitorType": ...,
}
# 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[ExpressionTypeDef], # (3)
DimensionalValueCount: NotRequired[int],
- See MonitorTypeType
- See MonitorDimensionType
- See ExpressionTypeDef
AnomalyScoreTypeDef#
# AnomalyScoreTypeDef usage example
from mypy_boto3_ce.type_defs import AnomalyScoreTypeDef
def get_value() -> AnomalyScoreTypeDef:
return {
"MaxScore": ...,
"CurrentScore": ...,
}
# AnomalyScoreTypeDef definition
class AnomalyScoreTypeDef(TypedDict):
MaxScore: float,
CurrentScore: float,
SubscriberTypeDef#
# SubscriberTypeDef usage example
from mypy_boto3_ce.type_defs import SubscriberTypeDef
def get_value() -> SubscriberTypeDef:
return {
"Address": ...,
}
# SubscriberTypeDef definition
class SubscriberTypeDef(TypedDict):
Address: NotRequired[str],
Type: NotRequired[SubscriberTypeType], # (1)
Status: NotRequired[SubscriberStatusType], # (2)
ImpactTypeDef#
# ImpactTypeDef usage example
from mypy_boto3_ce.type_defs import ImpactTypeDef
def get_value() -> ImpactTypeDef:
return {
"MaxImpact": ...,
}
# ImpactTypeDef definition
class ImpactTypeDef(TypedDict):
MaxImpact: float,
TotalImpact: NotRequired[float],
TotalActualSpend: NotRequired[float],
TotalExpectedSpend: NotRequired[float],
TotalImpactPercentage: NotRequired[float],
RootCauseTypeDef#
# RootCauseTypeDef usage example
from mypy_boto3_ce.type_defs import RootCauseTypeDef
def get_value() -> RootCauseTypeDef:
return {
"Service": ...,
}
# RootCauseTypeDef definition
class RootCauseTypeDef(TypedDict):
Service: NotRequired[str],
Region: NotRequired[str],
LinkedAccount: NotRequired[str],
UsageType: NotRequired[str],
LinkedAccountName: NotRequired[str],
CostAllocationTagStatusEntryTypeDef#
# CostAllocationTagStatusEntryTypeDef usage example
from mypy_boto3_ce.type_defs import CostAllocationTagStatusEntryTypeDef
def get_value() -> CostAllocationTagStatusEntryTypeDef:
return {
"TagKey": ...,
"Status": ...,
}
# CostAllocationTagStatusEntryTypeDef definition
class CostAllocationTagStatusEntryTypeDef(TypedDict):
TagKey: str,
Status: CostAllocationTagStatusType, # (1)
CostAllocationTagTypeDef#
# CostAllocationTagTypeDef usage example
from mypy_boto3_ce.type_defs import CostAllocationTagTypeDef
def get_value() -> CostAllocationTagTypeDef:
return {
"TagKey": ...,
"Type": ...,
"Status": ...,
}
# CostAllocationTagTypeDef definition
class CostAllocationTagTypeDef(TypedDict):
TagKey: str,
Type: CostAllocationTagTypeType, # (1)
Status: CostAllocationTagStatusType, # (2)
CostCategoryInheritedValueDimensionTypeDef#
# CostCategoryInheritedValueDimensionTypeDef usage example
from mypy_boto3_ce.type_defs import CostCategoryInheritedValueDimensionTypeDef
def get_value() -> CostCategoryInheritedValueDimensionTypeDef:
return {
"DimensionName": ...,
}
# CostCategoryInheritedValueDimensionTypeDef definition
class CostCategoryInheritedValueDimensionTypeDef(TypedDict):
DimensionName: NotRequired[CostCategoryInheritedValueDimensionNameType], # (1)
DimensionKey: NotRequired[str],
CostCategoryProcessingStatusTypeDef#
# CostCategoryProcessingStatusTypeDef usage example
from mypy_boto3_ce.type_defs import CostCategoryProcessingStatusTypeDef
def get_value() -> CostCategoryProcessingStatusTypeDef:
return {
"Component": ...,
}
# CostCategoryProcessingStatusTypeDef definition
class CostCategoryProcessingStatusTypeDef(TypedDict):
Component: NotRequired[CostCategoryStatusComponentType], # (1)
Status: NotRequired[CostCategoryStatusType], # (2)
CostCategorySplitChargeRuleParameterTypeDef#
# CostCategorySplitChargeRuleParameterTypeDef usage example
from mypy_boto3_ce.type_defs import CostCategorySplitChargeRuleParameterTypeDef
def get_value() -> CostCategorySplitChargeRuleParameterTypeDef:
return {
"Type": ...,
"Values": ...,
}
# CostCategorySplitChargeRuleParameterTypeDef definition
class CostCategorySplitChargeRuleParameterTypeDef(TypedDict):
Type: CostCategorySplitChargeRuleParameterTypeType, # (1)
Values: Sequence[str],
CostCategoryValuesTypeDef#
# CostCategoryValuesTypeDef usage example
from mypy_boto3_ce.type_defs import CostCategoryValuesTypeDef
def get_value() -> CostCategoryValuesTypeDef:
return {
"Key": ...,
}
# CostCategoryValuesTypeDef definition
class CostCategoryValuesTypeDef(TypedDict):
Key: NotRequired[str],
Values: NotRequired[Sequence[str]],
MatchOptions: NotRequired[Sequence[MatchOptionType]], # (1)
- See MatchOptionType
DateIntervalTypeDef#
# DateIntervalTypeDef usage example
from mypy_boto3_ce.type_defs import DateIntervalTypeDef
def get_value() -> DateIntervalTypeDef:
return {
"Start": ...,
"End": ...,
}
# DateIntervalTypeDef definition
class DateIntervalTypeDef(TypedDict):
Start: str,
End: str,
CoverageCostTypeDef#
# CoverageCostTypeDef usage example
from mypy_boto3_ce.type_defs import CoverageCostTypeDef
def get_value() -> CoverageCostTypeDef:
return {
"OnDemandCost": ...,
}
# CoverageCostTypeDef definition
class CoverageCostTypeDef(TypedDict):
OnDemandCost: NotRequired[str],
CoverageHoursTypeDef#
# CoverageHoursTypeDef usage example
from mypy_boto3_ce.type_defs import CoverageHoursTypeDef
def get_value() -> CoverageHoursTypeDef:
return {
"OnDemandHours": ...,
}
# CoverageHoursTypeDef definition
class CoverageHoursTypeDef(TypedDict):
OnDemandHours: NotRequired[str],
ReservedHours: NotRequired[str],
TotalRunningHours: NotRequired[str],
CoverageHoursPercentage: NotRequired[str],
CoverageNormalizedUnitsTypeDef#
# CoverageNormalizedUnitsTypeDef usage example
from mypy_boto3_ce.type_defs import CoverageNormalizedUnitsTypeDef
def get_value() -> CoverageNormalizedUnitsTypeDef:
return {
"OnDemandNormalizedUnits": ...,
}
# CoverageNormalizedUnitsTypeDef definition
class CoverageNormalizedUnitsTypeDef(TypedDict):
OnDemandNormalizedUnits: NotRequired[str],
ReservedNormalizedUnits: NotRequired[str],
TotalRunningNormalizedUnits: NotRequired[str],
CoverageNormalizedUnitsPercentage: NotRequired[str],
ResourceTagTypeDef#
# ResourceTagTypeDef usage example
from mypy_boto3_ce.type_defs import ResourceTagTypeDef
def get_value() -> ResourceTagTypeDef:
return {
"Key": ...,
"Value": ...,
}
# ResourceTagTypeDef definition
class ResourceTagTypeDef(TypedDict):
Key: str,
Value: str,
CreateAnomalyMonitorResponseTypeDef#
# CreateAnomalyMonitorResponseTypeDef usage example
from mypy_boto3_ce.type_defs import CreateAnomalyMonitorResponseTypeDef
def get_value() -> CreateAnomalyMonitorResponseTypeDef:
return {
"MonitorArn": ...,
"ResponseMetadata": ...,
}
# CreateAnomalyMonitorResponseTypeDef definition
class CreateAnomalyMonitorResponseTypeDef(TypedDict):
MonitorArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateAnomalySubscriptionResponseTypeDef#
# CreateAnomalySubscriptionResponseTypeDef usage example
from mypy_boto3_ce.type_defs import CreateAnomalySubscriptionResponseTypeDef
def get_value() -> CreateAnomalySubscriptionResponseTypeDef:
return {
"SubscriptionArn": ...,
"ResponseMetadata": ...,
}
# CreateAnomalySubscriptionResponseTypeDef definition
class CreateAnomalySubscriptionResponseTypeDef(TypedDict):
SubscriptionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateCostCategoryDefinitionResponseTypeDef#
# CreateCostCategoryDefinitionResponseTypeDef usage example
from mypy_boto3_ce.type_defs import CreateCostCategoryDefinitionResponseTypeDef
def get_value() -> CreateCostCategoryDefinitionResponseTypeDef:
return {
"CostCategoryArn": ...,
"EffectiveStart": ...,
"ResponseMetadata": ...,
}
# CreateCostCategoryDefinitionResponseTypeDef definition
class CreateCostCategoryDefinitionResponseTypeDef(TypedDict):
CostCategoryArn: str,
EffectiveStart: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
TagValuesTypeDef#
# TagValuesTypeDef usage example
from mypy_boto3_ce.type_defs import TagValuesTypeDef
def get_value() -> TagValuesTypeDef:
return {
"Key": ...,
}
# TagValuesTypeDef definition
class TagValuesTypeDef(TypedDict):
Key: NotRequired[str],
Values: NotRequired[Sequence[str]],
MatchOptions: NotRequired[Sequence[MatchOptionType]], # (1)
- See MatchOptionType
DeleteAnomalyMonitorRequestRequestTypeDef#
# DeleteAnomalyMonitorRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import DeleteAnomalyMonitorRequestRequestTypeDef
def get_value() -> DeleteAnomalyMonitorRequestRequestTypeDef:
return {
"MonitorArn": ...,
}
# DeleteAnomalyMonitorRequestRequestTypeDef definition
class DeleteAnomalyMonitorRequestRequestTypeDef(TypedDict):
MonitorArn: str,
DeleteAnomalySubscriptionRequestRequestTypeDef#
# DeleteAnomalySubscriptionRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import DeleteAnomalySubscriptionRequestRequestTypeDef
def get_value() -> DeleteAnomalySubscriptionRequestRequestTypeDef:
return {
"SubscriptionArn": ...,
}
# DeleteAnomalySubscriptionRequestRequestTypeDef definition
class DeleteAnomalySubscriptionRequestRequestTypeDef(TypedDict):
SubscriptionArn: str,
DeleteCostCategoryDefinitionRequestRequestTypeDef#
# DeleteCostCategoryDefinitionRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import DeleteCostCategoryDefinitionRequestRequestTypeDef
def get_value() -> DeleteCostCategoryDefinitionRequestRequestTypeDef:
return {
"CostCategoryArn": ...,
}
# DeleteCostCategoryDefinitionRequestRequestTypeDef definition
class DeleteCostCategoryDefinitionRequestRequestTypeDef(TypedDict):
CostCategoryArn: str,
DeleteCostCategoryDefinitionResponseTypeDef#
# DeleteCostCategoryDefinitionResponseTypeDef usage example
from mypy_boto3_ce.type_defs import DeleteCostCategoryDefinitionResponseTypeDef
def get_value() -> DeleteCostCategoryDefinitionResponseTypeDef:
return {
"CostCategoryArn": ...,
"EffectiveEnd": ...,
"ResponseMetadata": ...,
}
# DeleteCostCategoryDefinitionResponseTypeDef definition
class DeleteCostCategoryDefinitionResponseTypeDef(TypedDict):
CostCategoryArn: str,
EffectiveEnd: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeCostCategoryDefinitionRequestRequestTypeDef#
# DescribeCostCategoryDefinitionRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import DescribeCostCategoryDefinitionRequestRequestTypeDef
def get_value() -> DescribeCostCategoryDefinitionRequestRequestTypeDef:
return {
"CostCategoryArn": ...,
}
# DescribeCostCategoryDefinitionRequestRequestTypeDef definition
class DescribeCostCategoryDefinitionRequestRequestTypeDef(TypedDict):
CostCategoryArn: str,
EffectiveOn: NotRequired[str],
DimensionValuesTypeDef#
# DimensionValuesTypeDef usage example
from mypy_boto3_ce.type_defs import DimensionValuesTypeDef
def get_value() -> DimensionValuesTypeDef:
return {
"Key": ...,
}
# DimensionValuesTypeDef definition
class DimensionValuesTypeDef(TypedDict):
Key: NotRequired[DimensionType], # (1)
Values: NotRequired[Sequence[str]],
MatchOptions: NotRequired[Sequence[MatchOptionType]], # (2)
- See DimensionType
- See MatchOptionType
DimensionValuesWithAttributesTypeDef#
# DimensionValuesWithAttributesTypeDef usage example
from mypy_boto3_ce.type_defs import DimensionValuesWithAttributesTypeDef
def get_value() -> DimensionValuesWithAttributesTypeDef:
return {
"Value": ...,
}
# DimensionValuesWithAttributesTypeDef definition
class DimensionValuesWithAttributesTypeDef(TypedDict):
Value: NotRequired[str],
Attributes: NotRequired[Dict[str, str]],
DiskResourceUtilizationTypeDef#
# DiskResourceUtilizationTypeDef usage example
from mypy_boto3_ce.type_defs import DiskResourceUtilizationTypeDef
def get_value() -> DiskResourceUtilizationTypeDef:
return {
"DiskReadOpsPerSecond": ...,
}
# DiskResourceUtilizationTypeDef definition
class DiskResourceUtilizationTypeDef(TypedDict):
DiskReadOpsPerSecond: NotRequired[str],
DiskWriteOpsPerSecond: NotRequired[str],
DiskReadBytesPerSecond: NotRequired[str],
DiskWriteBytesPerSecond: NotRequired[str],
EBSResourceUtilizationTypeDef#
# EBSResourceUtilizationTypeDef usage example
from mypy_boto3_ce.type_defs import EBSResourceUtilizationTypeDef
def get_value() -> EBSResourceUtilizationTypeDef:
return {
"EbsReadOpsPerSecond": ...,
}
# EBSResourceUtilizationTypeDef definition
class EBSResourceUtilizationTypeDef(TypedDict):
EbsReadOpsPerSecond: NotRequired[str],
EbsWriteOpsPerSecond: NotRequired[str],
EbsReadBytesPerSecond: NotRequired[str],
EbsWriteBytesPerSecond: NotRequired[str],
EC2InstanceDetailsTypeDef#
# EC2InstanceDetailsTypeDef usage example
from mypy_boto3_ce.type_defs import EC2InstanceDetailsTypeDef
def get_value() -> EC2InstanceDetailsTypeDef:
return {
"Family": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import EC2ResourceDetailsTypeDef
def get_value() -> EC2ResourceDetailsTypeDef:
return {
"HourlyOnDemandRate": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import NetworkResourceUtilizationTypeDef
def get_value() -> NetworkResourceUtilizationTypeDef:
return {
"NetworkInBytesPerSecond": ...,
}
# NetworkResourceUtilizationTypeDef definition
class NetworkResourceUtilizationTypeDef(TypedDict):
NetworkInBytesPerSecond: NotRequired[str],
NetworkOutBytesPerSecond: NotRequired[str],
NetworkPacketsInPerSecond: NotRequired[str],
NetworkPacketsOutPerSecond: NotRequired[str],
EC2SpecificationTypeDef#
# EC2SpecificationTypeDef usage example
from mypy_boto3_ce.type_defs import EC2SpecificationTypeDef
def get_value() -> EC2SpecificationTypeDef:
return {
"OfferingClass": ...,
}
# EC2SpecificationTypeDef definition
class EC2SpecificationTypeDef(TypedDict):
OfferingClass: NotRequired[OfferingClassType], # (1)
ESInstanceDetailsTypeDef#
# ESInstanceDetailsTypeDef usage example
from mypy_boto3_ce.type_defs import ESInstanceDetailsTypeDef
def get_value() -> ESInstanceDetailsTypeDef:
return {
"InstanceClass": ...,
}
# ESInstanceDetailsTypeDef definition
class ESInstanceDetailsTypeDef(TypedDict):
InstanceClass: NotRequired[str],
InstanceSize: NotRequired[str],
Region: NotRequired[str],
CurrentGeneration: NotRequired[bool],
SizeFlexEligible: NotRequired[bool],
ElastiCacheInstanceDetailsTypeDef#
# ElastiCacheInstanceDetailsTypeDef usage example
from mypy_boto3_ce.type_defs import ElastiCacheInstanceDetailsTypeDef
def get_value() -> ElastiCacheInstanceDetailsTypeDef:
return {
"Family": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import GenerationSummaryTypeDef
def get_value() -> GenerationSummaryTypeDef:
return {
"RecommendationId": ...,
}
# GenerationSummaryTypeDef definition
class GenerationSummaryTypeDef(TypedDict):
RecommendationId: NotRequired[str],
GenerationStatus: NotRequired[GenerationStatusType], # (1)
GenerationStartedTime: NotRequired[str],
GenerationCompletionTime: NotRequired[str],
EstimatedCompletionTime: NotRequired[str],
TotalImpactFilterTypeDef#
# TotalImpactFilterTypeDef usage example
from mypy_boto3_ce.type_defs import TotalImpactFilterTypeDef
def get_value() -> TotalImpactFilterTypeDef:
return {
"NumericOperator": ...,
"StartValue": ...,
}
# TotalImpactFilterTypeDef definition
class TotalImpactFilterTypeDef(TypedDict):
NumericOperator: NumericOperatorType, # (1)
StartValue: float,
EndValue: NotRequired[float],
GetAnomalyMonitorsRequestRequestTypeDef#
# GetAnomalyMonitorsRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetAnomalyMonitorsRequestRequestTypeDef
def get_value() -> GetAnomalyMonitorsRequestRequestTypeDef:
return {
"MonitorArnList": ...,
}
# GetAnomalyMonitorsRequestRequestTypeDef definition
class GetAnomalyMonitorsRequestRequestTypeDef(TypedDict):
MonitorArnList: NotRequired[Sequence[str]],
NextPageToken: NotRequired[str],
MaxResults: NotRequired[int],
GetAnomalySubscriptionsRequestRequestTypeDef#
# GetAnomalySubscriptionsRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetAnomalySubscriptionsRequestRequestTypeDef
def get_value() -> GetAnomalySubscriptionsRequestRequestTypeDef:
return {
"SubscriptionArnList": ...,
}
# GetAnomalySubscriptionsRequestRequestTypeDef definition
class GetAnomalySubscriptionsRequestRequestTypeDef(TypedDict):
SubscriptionArnList: NotRequired[Sequence[str]],
MonitorArn: NotRequired[str],
NextPageToken: NotRequired[str],
MaxResults: NotRequired[int],
GroupDefinitionTypeDef#
# GroupDefinitionTypeDef usage example
from mypy_boto3_ce.type_defs import GroupDefinitionTypeDef
def get_value() -> GroupDefinitionTypeDef:
return {
"Type": ...,
}
# GroupDefinitionTypeDef definition
class GroupDefinitionTypeDef(TypedDict):
Type: NotRequired[GroupDefinitionTypeType], # (1)
Key: NotRequired[str],
SortDefinitionTypeDef#
# SortDefinitionTypeDef usage example
from mypy_boto3_ce.type_defs import SortDefinitionTypeDef
def get_value() -> SortDefinitionTypeDef:
return {
"Key": ...,
}
# SortDefinitionTypeDef definition
class SortDefinitionTypeDef(TypedDict):
Key: str,
SortOrder: NotRequired[SortOrderType], # (1)
- See SortOrderType
GetCostCategoriesResponseTypeDef#
# GetCostCategoriesResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetCostCategoriesResponseTypeDef
def get_value() -> GetCostCategoriesResponseTypeDef:
return {
"NextPageToken": ...,
"CostCategoryNames": ...,
"CostCategoryValues": ...,
"ReturnSize": ...,
"TotalSize": ...,
"ResponseMetadata": ...,
}
# GetCostCategoriesResponseTypeDef definition
class GetCostCategoriesResponseTypeDef(TypedDict):
NextPageToken: str,
CostCategoryNames: List[str],
CostCategoryValues: List[str],
ReturnSize: int,
TotalSize: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
MetricValueTypeDef#
# MetricValueTypeDef usage example
from mypy_boto3_ce.type_defs import MetricValueTypeDef
def get_value() -> MetricValueTypeDef:
return {
"Amount": ...,
}
# MetricValueTypeDef definition
class MetricValueTypeDef(TypedDict):
Amount: NotRequired[str],
Unit: NotRequired[str],
ReservationPurchaseRecommendationMetadataTypeDef#
# ReservationPurchaseRecommendationMetadataTypeDef usage example
from mypy_boto3_ce.type_defs import ReservationPurchaseRecommendationMetadataTypeDef
def get_value() -> ReservationPurchaseRecommendationMetadataTypeDef:
return {
"RecommendationId": ...,
}
# ReservationPurchaseRecommendationMetadataTypeDef definition
class ReservationPurchaseRecommendationMetadataTypeDef(TypedDict):
RecommendationId: NotRequired[str],
GenerationTimestamp: NotRequired[str],
ReservationAggregatesTypeDef#
# ReservationAggregatesTypeDef usage example
from mypy_boto3_ce.type_defs import ReservationAggregatesTypeDef
def get_value() -> ReservationAggregatesTypeDef:
return {
"UtilizationPercentage": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import RightsizingRecommendationConfigurationTypeDef
def get_value() -> RightsizingRecommendationConfigurationTypeDef:
return {
"RecommendationTarget": ...,
"BenefitsConsidered": ...,
}
# RightsizingRecommendationConfigurationTypeDef definition
class RightsizingRecommendationConfigurationTypeDef(TypedDict):
RecommendationTarget: RecommendationTargetType, # (1)
BenefitsConsidered: bool,
RightsizingRecommendationMetadataTypeDef#
# RightsizingRecommendationMetadataTypeDef usage example
from mypy_boto3_ce.type_defs import RightsizingRecommendationMetadataTypeDef
def get_value() -> RightsizingRecommendationMetadataTypeDef:
return {
"RecommendationId": ...,
}
# RightsizingRecommendationMetadataTypeDef definition
class RightsizingRecommendationMetadataTypeDef(TypedDict):
RecommendationId: NotRequired[str],
GenerationTimestamp: NotRequired[str],
LookbackPeriodInDays: NotRequired[LookbackPeriodInDaysType], # (1)
AdditionalMetadata: NotRequired[str],
RightsizingRecommendationSummaryTypeDef#
# RightsizingRecommendationSummaryTypeDef usage example
from mypy_boto3_ce.type_defs import RightsizingRecommendationSummaryTypeDef
def get_value() -> RightsizingRecommendationSummaryTypeDef:
return {
"TotalRecommendationCount": ...,
}
# RightsizingRecommendationSummaryTypeDef definition
class RightsizingRecommendationSummaryTypeDef(TypedDict):
TotalRecommendationCount: NotRequired[str],
EstimatedTotalMonthlySavingsAmount: NotRequired[str],
SavingsCurrencyCode: NotRequired[str],
SavingsPercentage: NotRequired[str],
GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef#
# GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef
def get_value() -> GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef:
return {
"SavingsPlansType": ...,
"TermInYears": ...,
"PaymentOption": ...,
"LookbackPeriodInDays": ...,
}
# 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
SavingsPlansPurchaseRecommendationMetadataTypeDef#
# SavingsPlansPurchaseRecommendationMetadataTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansPurchaseRecommendationMetadataTypeDef
def get_value() -> SavingsPlansPurchaseRecommendationMetadataTypeDef:
return {
"RecommendationId": ...,
}
# SavingsPlansPurchaseRecommendationMetadataTypeDef definition
class SavingsPlansPurchaseRecommendationMetadataTypeDef(TypedDict):
RecommendationId: NotRequired[str],
GenerationTimestamp: NotRequired[str],
AdditionalMetadata: NotRequired[str],
GetTagsResponseTypeDef#
# GetTagsResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetTagsResponseTypeDef
def get_value() -> GetTagsResponseTypeDef:
return {
"NextPageToken": ...,
"Tags": ...,
"ReturnSize": ...,
"TotalSize": ...,
"ResponseMetadata": ...,
}
# GetTagsResponseTypeDef definition
class GetTagsResponseTypeDef(TypedDict):
NextPageToken: str,
Tags: List[str],
ReturnSize: int,
TotalSize: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
RDSInstanceDetailsTypeDef#
# RDSInstanceDetailsTypeDef usage example
from mypy_boto3_ce.type_defs import RDSInstanceDetailsTypeDef
def get_value() -> RDSInstanceDetailsTypeDef:
return {
"Family": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import RedshiftInstanceDetailsTypeDef
def get_value() -> RedshiftInstanceDetailsTypeDef:
return {
"Family": ...,
}
# RedshiftInstanceDetailsTypeDef definition
class RedshiftInstanceDetailsTypeDef(TypedDict):
Family: NotRequired[str],
NodeType: NotRequired[str],
Region: NotRequired[str],
CurrentGeneration: NotRequired[bool],
SizeFlexEligible: NotRequired[bool],
ListCostAllocationTagsRequestRequestTypeDef#
# ListCostAllocationTagsRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import ListCostAllocationTagsRequestRequestTypeDef
def get_value() -> ListCostAllocationTagsRequestRequestTypeDef:
return {
"Status": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import ListCostCategoryDefinitionsRequestRequestTypeDef
def get_value() -> ListCostCategoryDefinitionsRequestRequestTypeDef:
return {
"EffectiveOn": ...,
}
# ListCostCategoryDefinitionsRequestRequestTypeDef definition
class ListCostCategoryDefinitionsRequestRequestTypeDef(TypedDict):
EffectiveOn: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListSavingsPlansPurchaseRecommendationGenerationRequestRequestTypeDef#
# ListSavingsPlansPurchaseRecommendationGenerationRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import ListSavingsPlansPurchaseRecommendationGenerationRequestRequestTypeDef
def get_value() -> ListSavingsPlansPurchaseRecommendationGenerationRequestRequestTypeDef:
return {
"GenerationStatus": ...,
}
# ListSavingsPlansPurchaseRecommendationGenerationRequestRequestTypeDef definition
class ListSavingsPlansPurchaseRecommendationGenerationRequestRequestTypeDef(TypedDict):
GenerationStatus: NotRequired[GenerationStatusType], # (1)
RecommendationIds: NotRequired[Sequence[str]],
PageSize: NotRequired[int],
NextPageToken: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
}
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
ProvideAnomalyFeedbackRequestRequestTypeDef#
# ProvideAnomalyFeedbackRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import ProvideAnomalyFeedbackRequestRequestTypeDef
def get_value() -> ProvideAnomalyFeedbackRequestRequestTypeDef:
return {
"AnomalyId": ...,
"Feedback": ...,
}
# ProvideAnomalyFeedbackRequestRequestTypeDef definition
class ProvideAnomalyFeedbackRequestRequestTypeDef(TypedDict):
AnomalyId: str,
Feedback: AnomalyFeedbackTypeType, # (1)
ProvideAnomalyFeedbackResponseTypeDef#
# ProvideAnomalyFeedbackResponseTypeDef usage example
from mypy_boto3_ce.type_defs import ProvideAnomalyFeedbackResponseTypeDef
def get_value() -> ProvideAnomalyFeedbackResponseTypeDef:
return {
"AnomalyId": ...,
"ResponseMetadata": ...,
}
# ProvideAnomalyFeedbackResponseTypeDef definition
class ProvideAnomalyFeedbackResponseTypeDef(TypedDict):
AnomalyId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ReservationPurchaseRecommendationSummaryTypeDef#
# ReservationPurchaseRecommendationSummaryTypeDef usage example
from mypy_boto3_ce.type_defs import ReservationPurchaseRecommendationSummaryTypeDef
def get_value() -> ReservationPurchaseRecommendationSummaryTypeDef:
return {
"TotalEstimatedMonthlySavingsAmount": ...,
}
# ReservationPurchaseRecommendationSummaryTypeDef definition
class ReservationPurchaseRecommendationSummaryTypeDef(TypedDict):
TotalEstimatedMonthlySavingsAmount: NotRequired[str],
TotalEstimatedMonthlySavingsPercentage: NotRequired[str],
CurrencyCode: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_ce.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
TerminateRecommendationDetailTypeDef#
# TerminateRecommendationDetailTypeDef usage example
from mypy_boto3_ce.type_defs import TerminateRecommendationDetailTypeDef
def get_value() -> TerminateRecommendationDetailTypeDef:
return {
"EstimatedMonthlySavings": ...,
}
# TerminateRecommendationDetailTypeDef definition
class TerminateRecommendationDetailTypeDef(TypedDict):
EstimatedMonthlySavings: NotRequired[str],
CurrencyCode: NotRequired[str],
SavingsPlansAmortizedCommitmentTypeDef#
# SavingsPlansAmortizedCommitmentTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansAmortizedCommitmentTypeDef
def get_value() -> SavingsPlansAmortizedCommitmentTypeDef:
return {
"AmortizedRecurringCommitment": ...,
}
# SavingsPlansAmortizedCommitmentTypeDef definition
class SavingsPlansAmortizedCommitmentTypeDef(TypedDict):
AmortizedRecurringCommitment: NotRequired[str],
AmortizedUpfrontCommitment: NotRequired[str],
TotalAmortizedCommitment: NotRequired[str],
SavingsPlansCoverageDataTypeDef#
# SavingsPlansCoverageDataTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansCoverageDataTypeDef
def get_value() -> SavingsPlansCoverageDataTypeDef:
return {
"SpendCoveredBySavingsPlans": ...,
}
# SavingsPlansCoverageDataTypeDef definition
class SavingsPlansCoverageDataTypeDef(TypedDict):
SpendCoveredBySavingsPlans: NotRequired[str],
OnDemandCost: NotRequired[str],
TotalCost: NotRequired[str],
CoveragePercentage: NotRequired[str],
SavingsPlansDetailsTypeDef#
# SavingsPlansDetailsTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansDetailsTypeDef
def get_value() -> SavingsPlansDetailsTypeDef:
return {
"Region": ...,
}
# SavingsPlansDetailsTypeDef definition
class SavingsPlansDetailsTypeDef(TypedDict):
Region: NotRequired[str],
InstanceFamily: NotRequired[str],
OfferingId: NotRequired[str],
SavingsPlansPurchaseRecommendationSummaryTypeDef#
# SavingsPlansPurchaseRecommendationSummaryTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansPurchaseRecommendationSummaryTypeDef
def get_value() -> SavingsPlansPurchaseRecommendationSummaryTypeDef:
return {
"EstimatedROI": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import SavingsPlansSavingsTypeDef
def get_value() -> SavingsPlansSavingsTypeDef:
return {
"NetSavings": ...,
}
# SavingsPlansSavingsTypeDef definition
class SavingsPlansSavingsTypeDef(TypedDict):
NetSavings: NotRequired[str],
OnDemandCostEquivalent: NotRequired[str],
SavingsPlansUtilizationTypeDef#
# SavingsPlansUtilizationTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansUtilizationTypeDef
def get_value() -> SavingsPlansUtilizationTypeDef:
return {
"TotalCommitment": ...,
}
# SavingsPlansUtilizationTypeDef definition
class SavingsPlansUtilizationTypeDef(TypedDict):
TotalCommitment: NotRequired[str],
UsedCommitment: NotRequired[str],
UnusedCommitment: NotRequired[str],
UtilizationPercentage: NotRequired[str],
StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef#
# StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef usage example
from mypy_boto3_ce.type_defs import StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef
def get_value() -> StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef:
return {
"RecommendationId": ...,
"GenerationStartedTime": ...,
"EstimatedCompletionTime": ...,
"ResponseMetadata": ...,
}
# StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef definition
class StartSavingsPlansPurchaseRecommendationGenerationResponseTypeDef(TypedDict):
RecommendationId: str,
GenerationStartedTime: str,
EstimatedCompletionTime: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
"ResourceTagKeys": ...,
}
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
ResourceTagKeys: Sequence[str],
UpdateAnomalyMonitorRequestRequestTypeDef#
# UpdateAnomalyMonitorRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import UpdateAnomalyMonitorRequestRequestTypeDef
def get_value() -> UpdateAnomalyMonitorRequestRequestTypeDef:
return {
"MonitorArn": ...,
}
# UpdateAnomalyMonitorRequestRequestTypeDef definition
class UpdateAnomalyMonitorRequestRequestTypeDef(TypedDict):
MonitorArn: str,
MonitorName: NotRequired[str],
UpdateAnomalyMonitorResponseTypeDef#
# UpdateAnomalyMonitorResponseTypeDef usage example
from mypy_boto3_ce.type_defs import UpdateAnomalyMonitorResponseTypeDef
def get_value() -> UpdateAnomalyMonitorResponseTypeDef:
return {
"MonitorArn": ...,
"ResponseMetadata": ...,
}
# UpdateAnomalyMonitorResponseTypeDef definition
class UpdateAnomalyMonitorResponseTypeDef(TypedDict):
MonitorArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateAnomalySubscriptionResponseTypeDef#
# UpdateAnomalySubscriptionResponseTypeDef usage example
from mypy_boto3_ce.type_defs import UpdateAnomalySubscriptionResponseTypeDef
def get_value() -> UpdateAnomalySubscriptionResponseTypeDef:
return {
"SubscriptionArn": ...,
"ResponseMetadata": ...,
}
# UpdateAnomalySubscriptionResponseTypeDef definition
class UpdateAnomalySubscriptionResponseTypeDef(TypedDict):
SubscriptionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateCostAllocationTagsStatusErrorTypeDef#
# UpdateCostAllocationTagsStatusErrorTypeDef usage example
from mypy_boto3_ce.type_defs import UpdateCostAllocationTagsStatusErrorTypeDef
def get_value() -> UpdateCostAllocationTagsStatusErrorTypeDef:
return {
"TagKey": ...,
}
# UpdateCostAllocationTagsStatusErrorTypeDef definition
class UpdateCostAllocationTagsStatusErrorTypeDef(TypedDict):
TagKey: NotRequired[str],
Code: NotRequired[str],
Message: NotRequired[str],
UpdateCostCategoryDefinitionResponseTypeDef#
# UpdateCostCategoryDefinitionResponseTypeDef usage example
from mypy_boto3_ce.type_defs import UpdateCostCategoryDefinitionResponseTypeDef
def get_value() -> UpdateCostCategoryDefinitionResponseTypeDef:
return {
"CostCategoryArn": ...,
"EffectiveStart": ...,
"ResponseMetadata": ...,
}
# UpdateCostCategoryDefinitionResponseTypeDef definition
class UpdateCostCategoryDefinitionResponseTypeDef(TypedDict):
CostCategoryArn: str,
EffectiveStart: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetAnomalyMonitorsResponseTypeDef#
# GetAnomalyMonitorsResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetAnomalyMonitorsResponseTypeDef
def get_value() -> GetAnomalyMonitorsResponseTypeDef:
return {
"AnomalyMonitors": ...,
"NextPageToken": ...,
"ResponseMetadata": ...,
}
# GetAnomalyMonitorsResponseTypeDef definition
class GetAnomalyMonitorsResponseTypeDef(TypedDict):
AnomalyMonitors: List[AnomalyMonitorTypeDef], # (1)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AnomalySubscriptionTypeDef#
# AnomalySubscriptionTypeDef usage example
from mypy_boto3_ce.type_defs import AnomalySubscriptionTypeDef
def get_value() -> AnomalySubscriptionTypeDef:
return {
"MonitorArnList": ...,
"Subscribers": ...,
"Frequency": ...,
"SubscriptionName": ...,
}
# 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[ExpressionTypeDef], # (3)
UpdateAnomalySubscriptionRequestRequestTypeDef#
# UpdateAnomalySubscriptionRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import UpdateAnomalySubscriptionRequestRequestTypeDef
def get_value() -> UpdateAnomalySubscriptionRequestRequestTypeDef:
return {
"SubscriptionArn": ...,
}
# 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)
AnomalyTypeDef#
# AnomalyTypeDef usage example
from mypy_boto3_ce.type_defs import AnomalyTypeDef
def get_value() -> AnomalyTypeDef:
return {
"AnomalyId": ...,
"AnomalyScore": ...,
"Impact": ...,
"MonitorArn": ...,
}
# 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
UpdateCostAllocationTagsStatusRequestRequestTypeDef#
# UpdateCostAllocationTagsStatusRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import UpdateCostAllocationTagsStatusRequestRequestTypeDef
def get_value() -> UpdateCostAllocationTagsStatusRequestRequestTypeDef:
return {
"CostAllocationTagsStatus": ...,
}
# UpdateCostAllocationTagsStatusRequestRequestTypeDef definition
class UpdateCostAllocationTagsStatusRequestRequestTypeDef(TypedDict):
CostAllocationTagsStatus: Sequence[CostAllocationTagStatusEntryTypeDef], # (1)
ListCostAllocationTagsResponseTypeDef#
# ListCostAllocationTagsResponseTypeDef usage example
from mypy_boto3_ce.type_defs import ListCostAllocationTagsResponseTypeDef
def get_value() -> ListCostAllocationTagsResponseTypeDef:
return {
"CostAllocationTags": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListCostAllocationTagsResponseTypeDef definition
class ListCostAllocationTagsResponseTypeDef(TypedDict):
CostAllocationTags: List[CostAllocationTagTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CostCategoryRuleTypeDef#
# CostCategoryRuleTypeDef usage example
from mypy_boto3_ce.type_defs import CostCategoryRuleTypeDef
def get_value() -> CostCategoryRuleTypeDef:
return {
"Value": ...,
}
# CostCategoryRuleTypeDef definition
class CostCategoryRuleTypeDef(TypedDict):
Value: NotRequired[str],
Rule: NotRequired[ExpressionTypeDef], # (1)
InheritedValue: NotRequired[CostCategoryInheritedValueDimensionTypeDef], # (2)
Type: NotRequired[CostCategoryRuleTypeType], # (3)
CostCategoryReferenceTypeDef#
# CostCategoryReferenceTypeDef usage example
from mypy_boto3_ce.type_defs import CostCategoryReferenceTypeDef
def get_value() -> CostCategoryReferenceTypeDef:
return {
"CostCategoryArn": ...,
}
# 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],
CostCategorySplitChargeRuleTypeDef#
# CostCategorySplitChargeRuleTypeDef usage example
from mypy_boto3_ce.type_defs import CostCategorySplitChargeRuleTypeDef
def get_value() -> CostCategorySplitChargeRuleTypeDef:
return {
"Source": ...,
"Targets": ...,
"Method": ...,
}
# CostCategorySplitChargeRuleTypeDef definition
class CostCategorySplitChargeRuleTypeDef(TypedDict):
Source: str,
Targets: Sequence[str],
Method: CostCategorySplitChargeMethodType, # (1)
Parameters: NotRequired[Sequence[CostCategorySplitChargeRuleParameterTypeDef]], # (2)
ForecastResultTypeDef#
# ForecastResultTypeDef usage example
from mypy_boto3_ce.type_defs import ForecastResultTypeDef
def get_value() -> ForecastResultTypeDef:
return {
"TimePeriod": ...,
}
# ForecastResultTypeDef definition
class ForecastResultTypeDef(TypedDict):
TimePeriod: NotRequired[DateIntervalTypeDef], # (1)
MeanValue: NotRequired[str],
PredictionIntervalLowerBound: NotRequired[str],
PredictionIntervalUpperBound: NotRequired[str],
GetCostForecastRequestRequestTypeDef#
# GetCostForecastRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetCostForecastRequestRequestTypeDef
def get_value() -> GetCostForecastRequestRequestTypeDef:
return {
"TimePeriod": ...,
"Metric": ...,
"Granularity": ...,
}
# GetCostForecastRequestRequestTypeDef definition
class GetCostForecastRequestRequestTypeDef(TypedDict):
TimePeriod: DateIntervalTypeDef, # (1)
Metric: MetricType, # (2)
Granularity: GranularityType, # (3)
Filter: NotRequired[ExpressionTypeDef], # (4)
PredictionIntervalLevel: NotRequired[int],
- See DateIntervalTypeDef
- See MetricType
- See GranularityType
- See ExpressionTypeDef
GetUsageForecastRequestRequestTypeDef#
# GetUsageForecastRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetUsageForecastRequestRequestTypeDef
def get_value() -> GetUsageForecastRequestRequestTypeDef:
return {
"TimePeriod": ...,
"Metric": ...,
"Granularity": ...,
}
# GetUsageForecastRequestRequestTypeDef definition
class GetUsageForecastRequestRequestTypeDef(TypedDict):
TimePeriod: DateIntervalTypeDef, # (1)
Metric: MetricType, # (2)
Granularity: GranularityType, # (3)
Filter: NotRequired[ExpressionTypeDef], # (4)
PredictionIntervalLevel: NotRequired[int],
- See DateIntervalTypeDef
- See MetricType
- See GranularityType
- See ExpressionTypeDef
CoverageTypeDef#
# CoverageTypeDef usage example
from mypy_boto3_ce.type_defs import CoverageTypeDef
def get_value() -> CoverageTypeDef:
return {
"CoverageHours": ...,
}
# CoverageTypeDef definition
class CoverageTypeDef(TypedDict):
CoverageHours: NotRequired[CoverageHoursTypeDef], # (1)
CoverageNormalizedUnits: NotRequired[CoverageNormalizedUnitsTypeDef], # (2)
CoverageCost: NotRequired[CoverageCostTypeDef], # (3)
CreateAnomalyMonitorRequestRequestTypeDef#
# CreateAnomalyMonitorRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import CreateAnomalyMonitorRequestRequestTypeDef
def get_value() -> CreateAnomalyMonitorRequestRequestTypeDef:
return {
"AnomalyMonitor": ...,
}
# CreateAnomalyMonitorRequestRequestTypeDef definition
class CreateAnomalyMonitorRequestRequestTypeDef(TypedDict):
AnomalyMonitor: AnomalyMonitorTypeDef, # (1)
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef usage example
from mypy_boto3_ce.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"ResourceTags": ...,
"ResponseMetadata": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
ResourceTags: List[ResourceTagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
"ResourceTags": ...,
}
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
ResourceTags: Sequence[ResourceTagTypeDef], # (1)
ExpressionTypeDef#
# ExpressionTypeDef usage example
from mypy_boto3_ce.type_defs import ExpressionTypeDef
def get_value() -> ExpressionTypeDef:
return {
"Or": ...,
}
# ExpressionTypeDef definition
class ExpressionTypeDef(TypedDict):
Or: NotRequired[Sequence[ExpressionTypeDef]], # (1)
And: NotRequired[Sequence[ExpressionTypeDef]], # (1)
Not: NotRequired[ExpressionTypeDef], # (3)
Dimensions: NotRequired[DimensionValuesTypeDef], # (4)
Tags: NotRequired[TagValuesTypeDef], # (5)
CostCategories: NotRequired[CostCategoryValuesTypeDef], # (6)
- See ExpressionTypeDef
- See ExpressionTypeDef
- See ExpressionTypeDef
- See DimensionValuesTypeDef
- See TagValuesTypeDef
- See CostCategoryValuesTypeDef
GetDimensionValuesResponseTypeDef#
# GetDimensionValuesResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetDimensionValuesResponseTypeDef
def get_value() -> GetDimensionValuesResponseTypeDef:
return {
"DimensionValues": ...,
"ReturnSize": ...,
"TotalSize": ...,
"NextPageToken": ...,
"ResponseMetadata": ...,
}
# GetDimensionValuesResponseTypeDef definition
class GetDimensionValuesResponseTypeDef(TypedDict):
DimensionValues: List[DimensionValuesWithAttributesTypeDef], # (1)
ReturnSize: int,
TotalSize: int,
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ResourceDetailsTypeDef#
# ResourceDetailsTypeDef usage example
from mypy_boto3_ce.type_defs import ResourceDetailsTypeDef
def get_value() -> ResourceDetailsTypeDef:
return {
"EC2ResourceDetails": ...,
}
# ResourceDetailsTypeDef definition
class ResourceDetailsTypeDef(TypedDict):
EC2ResourceDetails: NotRequired[EC2ResourceDetailsTypeDef], # (1)
EC2ResourceUtilizationTypeDef#
# EC2ResourceUtilizationTypeDef usage example
from mypy_boto3_ce.type_defs import EC2ResourceUtilizationTypeDef
def get_value() -> EC2ResourceUtilizationTypeDef:
return {
"MaxCpuUtilizationPercentage": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import ServiceSpecificationTypeDef
def get_value() -> ServiceSpecificationTypeDef:
return {
"EC2Specification": ...,
}
# ServiceSpecificationTypeDef definition
class ServiceSpecificationTypeDef(TypedDict):
EC2Specification: NotRequired[EC2SpecificationTypeDef], # (1)
ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef#
# ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef usage example
from mypy_boto3_ce.type_defs import ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef
def get_value() -> ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef:
return {
"GenerationSummaryList": ...,
"NextPageToken": ...,
"ResponseMetadata": ...,
}
# ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef definition
class ListSavingsPlansPurchaseRecommendationGenerationResponseTypeDef(TypedDict):
GenerationSummaryList: List[GenerationSummaryTypeDef], # (1)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetAnomaliesRequestRequestTypeDef#
# GetAnomaliesRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetAnomaliesRequestRequestTypeDef
def get_value() -> GetAnomaliesRequestRequestTypeDef:
return {
"DateInterval": ...,
}
# 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],
GetCostAndUsageRequestRequestTypeDef#
# GetCostAndUsageRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetCostAndUsageRequestRequestTypeDef
def get_value() -> GetCostAndUsageRequestRequestTypeDef:
return {
"TimePeriod": ...,
"Granularity": ...,
"Metrics": ...,
}
# GetCostAndUsageRequestRequestTypeDef definition
class GetCostAndUsageRequestRequestTypeDef(TypedDict):
TimePeriod: DateIntervalTypeDef, # (1)
Granularity: GranularityType, # (2)
Metrics: Sequence[str],
Filter: NotRequired[ExpressionTypeDef], # (3)
GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]], # (4)
NextPageToken: NotRequired[str],
- See DateIntervalTypeDef
- See GranularityType
- See ExpressionTypeDef
- See GroupDefinitionTypeDef
GetCostAndUsageWithResourcesRequestRequestTypeDef#
# GetCostAndUsageWithResourcesRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetCostAndUsageWithResourcesRequestRequestTypeDef
def get_value() -> GetCostAndUsageWithResourcesRequestRequestTypeDef:
return {
"TimePeriod": ...,
"Granularity": ...,
"Filter": ...,
}
# GetCostAndUsageWithResourcesRequestRequestTypeDef definition
class GetCostAndUsageWithResourcesRequestRequestTypeDef(TypedDict):
TimePeriod: DateIntervalTypeDef, # (1)
Granularity: GranularityType, # (2)
Filter: ExpressionTypeDef, # (3)
Metrics: NotRequired[Sequence[str]],
GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]], # (4)
NextPageToken: NotRequired[str],
- See DateIntervalTypeDef
- See GranularityType
- See ExpressionTypeDef
- See GroupDefinitionTypeDef
GetCostCategoriesRequestRequestTypeDef#
# GetCostCategoriesRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetCostCategoriesRequestRequestTypeDef
def get_value() -> GetCostCategoriesRequestRequestTypeDef:
return {
"TimePeriod": ...,
}
# GetCostCategoriesRequestRequestTypeDef definition
class GetCostCategoriesRequestRequestTypeDef(TypedDict):
TimePeriod: DateIntervalTypeDef, # (1)
SearchString: NotRequired[str],
CostCategoryName: NotRequired[str],
Filter: NotRequired[ExpressionTypeDef], # (2)
SortBy: NotRequired[Sequence[SortDefinitionTypeDef]], # (3)
MaxResults: NotRequired[int],
NextPageToken: NotRequired[str],
GetDimensionValuesRequestRequestTypeDef#
# GetDimensionValuesRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetDimensionValuesRequestRequestTypeDef
def get_value() -> GetDimensionValuesRequestRequestTypeDef:
return {
"TimePeriod": ...,
"Dimension": ...,
}
# 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)
MaxResults: NotRequired[int],
NextPageToken: NotRequired[str],
- See DateIntervalTypeDef
- See DimensionType
- See ContextType
- See ExpressionTypeDef
- See SortDefinitionTypeDef
GetReservationCoverageRequestRequestTypeDef#
# GetReservationCoverageRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetReservationCoverageRequestRequestTypeDef
def get_value() -> GetReservationCoverageRequestRequestTypeDef:
return {
"TimePeriod": ...,
}
# 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
GetReservationUtilizationRequestRequestTypeDef#
# GetReservationUtilizationRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetReservationUtilizationRequestRequestTypeDef
def get_value() -> GetReservationUtilizationRequestRequestTypeDef:
return {
"TimePeriod": ...,
}
# 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
GetSavingsPlansCoverageRequestRequestTypeDef#
# GetSavingsPlansCoverageRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetSavingsPlansCoverageRequestRequestTypeDef
def get_value() -> GetSavingsPlansCoverageRequestRequestTypeDef:
return {
"TimePeriod": ...,
}
# 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
GetSavingsPlansUtilizationDetailsRequestRequestTypeDef#
# GetSavingsPlansUtilizationDetailsRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetSavingsPlansUtilizationDetailsRequestRequestTypeDef
def get_value() -> GetSavingsPlansUtilizationDetailsRequestRequestTypeDef:
return {
"TimePeriod": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import GetSavingsPlansUtilizationRequestRequestTypeDef
def get_value() -> GetSavingsPlansUtilizationRequestRequestTypeDef:
return {
"TimePeriod": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import GetTagsRequestRequestTypeDef
def get_value() -> GetTagsRequestRequestTypeDef:
return {
"TimePeriod": ...,
}
# GetTagsRequestRequestTypeDef definition
class GetTagsRequestRequestTypeDef(TypedDict):
TimePeriod: DateIntervalTypeDef, # (1)
SearchString: NotRequired[str],
TagKey: NotRequired[str],
Filter: NotRequired[ExpressionTypeDef], # (2)
SortBy: NotRequired[Sequence[SortDefinitionTypeDef]], # (3)
MaxResults: NotRequired[int],
NextPageToken: NotRequired[str],
GroupTypeDef#
# GroupTypeDef usage example
from mypy_boto3_ce.type_defs import GroupTypeDef
def get_value() -> GroupTypeDef:
return {
"Keys": ...,
}
# GroupTypeDef definition
class GroupTypeDef(TypedDict):
Keys: NotRequired[List[str]],
Metrics: NotRequired[Dict[str, MetricValueTypeDef]], # (1)
ReservationUtilizationGroupTypeDef#
# ReservationUtilizationGroupTypeDef usage example
from mypy_boto3_ce.type_defs import ReservationUtilizationGroupTypeDef
def get_value() -> ReservationUtilizationGroupTypeDef:
return {
"Key": ...,
}
# ReservationUtilizationGroupTypeDef definition
class ReservationUtilizationGroupTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
Attributes: NotRequired[Dict[str, str]],
Utilization: NotRequired[ReservationAggregatesTypeDef], # (1)
GetRightsizingRecommendationRequestRequestTypeDef#
# GetRightsizingRecommendationRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetRightsizingRecommendationRequestRequestTypeDef
def get_value() -> GetRightsizingRecommendationRequestRequestTypeDef:
return {
"Service": ...,
}
# GetRightsizingRecommendationRequestRequestTypeDef definition
class GetRightsizingRecommendationRequestRequestTypeDef(TypedDict):
Service: str,
Filter: NotRequired[ExpressionTypeDef], # (1)
Configuration: NotRequired[RightsizingRecommendationConfigurationTypeDef], # (2)
PageSize: NotRequired[int],
NextPageToken: NotRequired[str],
InstanceDetailsTypeDef#
# InstanceDetailsTypeDef usage example
from mypy_boto3_ce.type_defs import InstanceDetailsTypeDef
def get_value() -> InstanceDetailsTypeDef:
return {
"EC2InstanceDetails": ...,
}
# 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)
- See EC2InstanceDetailsTypeDef
- See RDSInstanceDetailsTypeDef
- See RedshiftInstanceDetailsTypeDef
- See ElastiCacheInstanceDetailsTypeDef
- See ESInstanceDetailsTypeDef
SavingsPlansCoverageTypeDef#
# SavingsPlansCoverageTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansCoverageTypeDef
def get_value() -> SavingsPlansCoverageTypeDef:
return {
"Attributes": ...,
}
# SavingsPlansCoverageTypeDef definition
class SavingsPlansCoverageTypeDef(TypedDict):
Attributes: NotRequired[Dict[str, str]],
Coverage: NotRequired[SavingsPlansCoverageDataTypeDef], # (1)
TimePeriod: NotRequired[DateIntervalTypeDef], # (2)
SavingsPlansPurchaseRecommendationDetailTypeDef#
# SavingsPlansPurchaseRecommendationDetailTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansPurchaseRecommendationDetailTypeDef
def get_value() -> SavingsPlansPurchaseRecommendationDetailTypeDef:
return {
"SavingsPlansDetails": ...,
}
# 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],
SavingsPlansUtilizationAggregatesTypeDef#
# SavingsPlansUtilizationAggregatesTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansUtilizationAggregatesTypeDef
def get_value() -> SavingsPlansUtilizationAggregatesTypeDef:
return {
"Utilization": ...,
}
# SavingsPlansUtilizationAggregatesTypeDef definition
class SavingsPlansUtilizationAggregatesTypeDef(TypedDict):
Utilization: SavingsPlansUtilizationTypeDef, # (1)
Savings: NotRequired[SavingsPlansSavingsTypeDef], # (2)
AmortizedCommitment: NotRequired[SavingsPlansAmortizedCommitmentTypeDef], # (3)
- See SavingsPlansUtilizationTypeDef
- See SavingsPlansSavingsTypeDef
- See SavingsPlansAmortizedCommitmentTypeDef
SavingsPlansUtilizationByTimeTypeDef#
# SavingsPlansUtilizationByTimeTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansUtilizationByTimeTypeDef
def get_value() -> SavingsPlansUtilizationByTimeTypeDef:
return {
"TimePeriod": ...,
"Utilization": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import SavingsPlansUtilizationDetailTypeDef
def get_value() -> SavingsPlansUtilizationDetailTypeDef:
return {
"SavingsPlanArn": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import UpdateCostAllocationTagsStatusResponseTypeDef
def get_value() -> UpdateCostAllocationTagsStatusResponseTypeDef:
return {
"Errors": ...,
"ResponseMetadata": ...,
}
# UpdateCostAllocationTagsStatusResponseTypeDef definition
class UpdateCostAllocationTagsStatusResponseTypeDef(TypedDict):
Errors: List[UpdateCostAllocationTagsStatusErrorTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateAnomalySubscriptionRequestRequestTypeDef#
# CreateAnomalySubscriptionRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import CreateAnomalySubscriptionRequestRequestTypeDef
def get_value() -> CreateAnomalySubscriptionRequestRequestTypeDef:
return {
"AnomalySubscription": ...,
}
# CreateAnomalySubscriptionRequestRequestTypeDef definition
class CreateAnomalySubscriptionRequestRequestTypeDef(TypedDict):
AnomalySubscription: AnomalySubscriptionTypeDef, # (1)
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
GetAnomalySubscriptionsResponseTypeDef#
# GetAnomalySubscriptionsResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetAnomalySubscriptionsResponseTypeDef
def get_value() -> GetAnomalySubscriptionsResponseTypeDef:
return {
"AnomalySubscriptions": ...,
"NextPageToken": ...,
"ResponseMetadata": ...,
}
# GetAnomalySubscriptionsResponseTypeDef definition
class GetAnomalySubscriptionsResponseTypeDef(TypedDict):
AnomalySubscriptions: List[AnomalySubscriptionTypeDef], # (1)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetAnomaliesResponseTypeDef#
# GetAnomaliesResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetAnomaliesResponseTypeDef
def get_value() -> GetAnomaliesResponseTypeDef:
return {
"Anomalies": ...,
"NextPageToken": ...,
"ResponseMetadata": ...,
}
# GetAnomaliesResponseTypeDef definition
class GetAnomaliesResponseTypeDef(TypedDict):
Anomalies: List[AnomalyTypeDef], # (1)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListCostCategoryDefinitionsResponseTypeDef#
# ListCostCategoryDefinitionsResponseTypeDef usage example
from mypy_boto3_ce.type_defs import ListCostCategoryDefinitionsResponseTypeDef
def get_value() -> ListCostCategoryDefinitionsResponseTypeDef:
return {
"CostCategoryReferences": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListCostCategoryDefinitionsResponseTypeDef definition
class ListCostCategoryDefinitionsResponseTypeDef(TypedDict):
CostCategoryReferences: List[CostCategoryReferenceTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CostCategoryTypeDef#
# CostCategoryTypeDef usage example
from mypy_boto3_ce.type_defs import CostCategoryTypeDef
def get_value() -> CostCategoryTypeDef:
return {
"CostCategoryArn": ...,
"EffectiveStart": ...,
"Name": ...,
"RuleVersion": ...,
"Rules": ...,
}
# CostCategoryTypeDef definition
class CostCategoryTypeDef(TypedDict):
CostCategoryArn: str,
EffectiveStart: str,
Name: str,
RuleVersion: CostCategoryRuleVersionType, # (1)
Rules: List[CostCategoryRuleTypeDef], # (2)
EffectiveEnd: NotRequired[str],
SplitChargeRules: NotRequired[List[CostCategorySplitChargeRuleTypeDef]], # (3)
ProcessingStatus: NotRequired[List[CostCategoryProcessingStatusTypeDef]], # (4)
DefaultValue: NotRequired[str],
- See CostCategoryRuleVersionType
- See CostCategoryRuleTypeDef
- See CostCategorySplitChargeRuleTypeDef
- See CostCategoryProcessingStatusTypeDef
CreateCostCategoryDefinitionRequestRequestTypeDef#
# CreateCostCategoryDefinitionRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import CreateCostCategoryDefinitionRequestRequestTypeDef
def get_value() -> CreateCostCategoryDefinitionRequestRequestTypeDef:
return {
"Name": ...,
"RuleVersion": ...,
"Rules": ...,
}
# CreateCostCategoryDefinitionRequestRequestTypeDef definition
class CreateCostCategoryDefinitionRequestRequestTypeDef(TypedDict):
Name: str,
RuleVersion: CostCategoryRuleVersionType, # (1)
Rules: Sequence[CostCategoryRuleTypeDef], # (2)
EffectiveStart: NotRequired[str],
DefaultValue: NotRequired[str],
SplitChargeRules: NotRequired[Sequence[CostCategorySplitChargeRuleTypeDef]], # (3)
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (4)
- See CostCategoryRuleVersionType
- See CostCategoryRuleTypeDef
- See CostCategorySplitChargeRuleTypeDef
- See ResourceTagTypeDef
UpdateCostCategoryDefinitionRequestRequestTypeDef#
# UpdateCostCategoryDefinitionRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import UpdateCostCategoryDefinitionRequestRequestTypeDef
def get_value() -> UpdateCostCategoryDefinitionRequestRequestTypeDef:
return {
"CostCategoryArn": ...,
"RuleVersion": ...,
"Rules": ...,
}
# 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)
GetCostForecastResponseTypeDef#
# GetCostForecastResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetCostForecastResponseTypeDef
def get_value() -> GetCostForecastResponseTypeDef:
return {
"Total": ...,
"ForecastResultsByTime": ...,
"ResponseMetadata": ...,
}
# GetCostForecastResponseTypeDef definition
class GetCostForecastResponseTypeDef(TypedDict):
Total: MetricValueTypeDef, # (1)
ForecastResultsByTime: List[ForecastResultTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
GetUsageForecastResponseTypeDef#
# GetUsageForecastResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetUsageForecastResponseTypeDef
def get_value() -> GetUsageForecastResponseTypeDef:
return {
"Total": ...,
"ForecastResultsByTime": ...,
"ResponseMetadata": ...,
}
# GetUsageForecastResponseTypeDef definition
class GetUsageForecastResponseTypeDef(TypedDict):
Total: MetricValueTypeDef, # (1)
ForecastResultsByTime: List[ForecastResultTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ReservationCoverageGroupTypeDef#
# ReservationCoverageGroupTypeDef usage example
from mypy_boto3_ce.type_defs import ReservationCoverageGroupTypeDef
def get_value() -> ReservationCoverageGroupTypeDef:
return {
"Attributes": ...,
}
# ReservationCoverageGroupTypeDef definition
class ReservationCoverageGroupTypeDef(TypedDict):
Attributes: NotRequired[Dict[str, str]],
Coverage: NotRequired[CoverageTypeDef], # (1)
- See CoverageTypeDef
ResourceUtilizationTypeDef#
# ResourceUtilizationTypeDef usage example
from mypy_boto3_ce.type_defs import ResourceUtilizationTypeDef
def get_value() -> ResourceUtilizationTypeDef:
return {
"EC2ResourceUtilization": ...,
}
# ResourceUtilizationTypeDef definition
class ResourceUtilizationTypeDef(TypedDict):
EC2ResourceUtilization: NotRequired[EC2ResourceUtilizationTypeDef], # (1)
GetReservationPurchaseRecommendationRequestRequestTypeDef#
# GetReservationPurchaseRecommendationRequestRequestTypeDef usage example
from mypy_boto3_ce.type_defs import GetReservationPurchaseRecommendationRequestRequestTypeDef
def get_value() -> GetReservationPurchaseRecommendationRequestRequestTypeDef:
return {
"Service": ...,
}
# 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
ResultByTimeTypeDef#
# ResultByTimeTypeDef usage example
from mypy_boto3_ce.type_defs import ResultByTimeTypeDef
def get_value() -> ResultByTimeTypeDef:
return {
"TimePeriod": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import UtilizationByTimeTypeDef
def get_value() -> UtilizationByTimeTypeDef:
return {
"TimePeriod": ...,
}
# UtilizationByTimeTypeDef definition
class UtilizationByTimeTypeDef(TypedDict):
TimePeriod: NotRequired[DateIntervalTypeDef], # (1)
Groups: NotRequired[List[ReservationUtilizationGroupTypeDef]], # (2)
Total: NotRequired[ReservationAggregatesTypeDef], # (3)
ReservationPurchaseRecommendationDetailTypeDef#
# ReservationPurchaseRecommendationDetailTypeDef usage example
from mypy_boto3_ce.type_defs import ReservationPurchaseRecommendationDetailTypeDef
def get_value() -> ReservationPurchaseRecommendationDetailTypeDef:
return {
"AccountId": ...,
}
# 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],
GetSavingsPlansCoverageResponseTypeDef#
# GetSavingsPlansCoverageResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetSavingsPlansCoverageResponseTypeDef
def get_value() -> GetSavingsPlansCoverageResponseTypeDef:
return {
"SavingsPlansCoverages": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# GetSavingsPlansCoverageResponseTypeDef definition
class GetSavingsPlansCoverageResponseTypeDef(TypedDict):
SavingsPlansCoverages: List[SavingsPlansCoverageTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SavingsPlansPurchaseRecommendationTypeDef#
# SavingsPlansPurchaseRecommendationTypeDef usage example
from mypy_boto3_ce.type_defs import SavingsPlansPurchaseRecommendationTypeDef
def get_value() -> SavingsPlansPurchaseRecommendationTypeDef:
return {
"AccountScope": ...,
}
# 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
GetSavingsPlansUtilizationResponseTypeDef#
# GetSavingsPlansUtilizationResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetSavingsPlansUtilizationResponseTypeDef
def get_value() -> GetSavingsPlansUtilizationResponseTypeDef:
return {
"SavingsPlansUtilizationsByTime": ...,
"Total": ...,
"ResponseMetadata": ...,
}
# GetSavingsPlansUtilizationResponseTypeDef definition
class GetSavingsPlansUtilizationResponseTypeDef(TypedDict):
SavingsPlansUtilizationsByTime: List[SavingsPlansUtilizationByTimeTypeDef], # (1)
Total: SavingsPlansUtilizationAggregatesTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See SavingsPlansUtilizationByTimeTypeDef
- See SavingsPlansUtilizationAggregatesTypeDef
- See ResponseMetadataTypeDef
GetSavingsPlansUtilizationDetailsResponseTypeDef#
# GetSavingsPlansUtilizationDetailsResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetSavingsPlansUtilizationDetailsResponseTypeDef
def get_value() -> GetSavingsPlansUtilizationDetailsResponseTypeDef:
return {
"SavingsPlansUtilizationDetails": ...,
"Total": ...,
"TimePeriod": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# GetSavingsPlansUtilizationDetailsResponseTypeDef definition
class GetSavingsPlansUtilizationDetailsResponseTypeDef(TypedDict):
SavingsPlansUtilizationDetails: List[SavingsPlansUtilizationDetailTypeDef], # (1)
Total: SavingsPlansUtilizationAggregatesTypeDef, # (2)
TimePeriod: DateIntervalTypeDef, # (3)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See SavingsPlansUtilizationDetailTypeDef
- See SavingsPlansUtilizationAggregatesTypeDef
- See DateIntervalTypeDef
- See ResponseMetadataTypeDef
DescribeCostCategoryDefinitionResponseTypeDef#
# DescribeCostCategoryDefinitionResponseTypeDef usage example
from mypy_boto3_ce.type_defs import DescribeCostCategoryDefinitionResponseTypeDef
def get_value() -> DescribeCostCategoryDefinitionResponseTypeDef:
return {
"CostCategory": ...,
"ResponseMetadata": ...,
}
# DescribeCostCategoryDefinitionResponseTypeDef definition
class DescribeCostCategoryDefinitionResponseTypeDef(TypedDict):
CostCategory: CostCategoryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CoverageByTimeTypeDef#
# CoverageByTimeTypeDef usage example
from mypy_boto3_ce.type_defs import CoverageByTimeTypeDef
def get_value() -> CoverageByTimeTypeDef:
return {
"TimePeriod": ...,
}
# CoverageByTimeTypeDef definition
class CoverageByTimeTypeDef(TypedDict):
TimePeriod: NotRequired[DateIntervalTypeDef], # (1)
Groups: NotRequired[List[ReservationCoverageGroupTypeDef]], # (2)
Total: NotRequired[CoverageTypeDef], # (3)
CurrentInstanceTypeDef#
# CurrentInstanceTypeDef usage example
from mypy_boto3_ce.type_defs import CurrentInstanceTypeDef
def get_value() -> CurrentInstanceTypeDef:
return {
"ResourceId": ...,
}
# CurrentInstanceTypeDef definition
class CurrentInstanceTypeDef(TypedDict):
ResourceId: NotRequired[str],
InstanceName: NotRequired[str],
Tags: NotRequired[List[TagValuesTypeDef]], # (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 usage example
from mypy_boto3_ce.type_defs import TargetInstanceTypeDef
def get_value() -> TargetInstanceTypeDef:
return {
"EstimatedMonthlyCost": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import GetCostAndUsageResponseTypeDef
def get_value() -> GetCostAndUsageResponseTypeDef:
return {
"NextPageToken": ...,
"GroupDefinitions": ...,
"ResultsByTime": ...,
"DimensionValueAttributes": ...,
"ResponseMetadata": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import GetCostAndUsageWithResourcesResponseTypeDef
def get_value() -> GetCostAndUsageWithResourcesResponseTypeDef:
return {
"NextPageToken": ...,
"GroupDefinitions": ...,
"ResultsByTime": ...,
"DimensionValueAttributes": ...,
"ResponseMetadata": ...,
}
# 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 usage example
from mypy_boto3_ce.type_defs import GetReservationUtilizationResponseTypeDef
def get_value() -> GetReservationUtilizationResponseTypeDef:
return {
"UtilizationsByTime": ...,
"Total": ...,
"NextPageToken": ...,
"ResponseMetadata": ...,
}
# GetReservationUtilizationResponseTypeDef definition
class GetReservationUtilizationResponseTypeDef(TypedDict):
UtilizationsByTime: List[UtilizationByTimeTypeDef], # (1)
Total: ReservationAggregatesTypeDef, # (2)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ReservationPurchaseRecommendationTypeDef#
# ReservationPurchaseRecommendationTypeDef usage example
from mypy_boto3_ce.type_defs import ReservationPurchaseRecommendationTypeDef
def get_value() -> ReservationPurchaseRecommendationTypeDef:
return {
"AccountScope": ...,
}
# 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
GetSavingsPlansPurchaseRecommendationResponseTypeDef#
# GetSavingsPlansPurchaseRecommendationResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetSavingsPlansPurchaseRecommendationResponseTypeDef
def get_value() -> GetSavingsPlansPurchaseRecommendationResponseTypeDef:
return {
"Metadata": ...,
"SavingsPlansPurchaseRecommendation": ...,
"NextPageToken": ...,
"ResponseMetadata": ...,
}
# GetSavingsPlansPurchaseRecommendationResponseTypeDef definition
class GetSavingsPlansPurchaseRecommendationResponseTypeDef(TypedDict):
Metadata: SavingsPlansPurchaseRecommendationMetadataTypeDef, # (1)
SavingsPlansPurchaseRecommendation: SavingsPlansPurchaseRecommendationTypeDef, # (2)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See SavingsPlansPurchaseRecommendationMetadataTypeDef
- See SavingsPlansPurchaseRecommendationTypeDef
- See ResponseMetadataTypeDef
GetReservationCoverageResponseTypeDef#
# GetReservationCoverageResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetReservationCoverageResponseTypeDef
def get_value() -> GetReservationCoverageResponseTypeDef:
return {
"CoveragesByTime": ...,
"Total": ...,
"NextPageToken": ...,
"ResponseMetadata": ...,
}
# GetReservationCoverageResponseTypeDef definition
class GetReservationCoverageResponseTypeDef(TypedDict):
CoveragesByTime: List[CoverageByTimeTypeDef], # (1)
Total: CoverageTypeDef, # (2)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ModifyRecommendationDetailTypeDef#
# ModifyRecommendationDetailTypeDef usage example
from mypy_boto3_ce.type_defs import ModifyRecommendationDetailTypeDef
def get_value() -> ModifyRecommendationDetailTypeDef:
return {
"TargetInstances": ...,
}
# ModifyRecommendationDetailTypeDef definition
class ModifyRecommendationDetailTypeDef(TypedDict):
TargetInstances: NotRequired[List[TargetInstanceTypeDef]], # (1)
GetReservationPurchaseRecommendationResponseTypeDef#
# GetReservationPurchaseRecommendationResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetReservationPurchaseRecommendationResponseTypeDef
def get_value() -> GetReservationPurchaseRecommendationResponseTypeDef:
return {
"Metadata": ...,
"Recommendations": ...,
"NextPageToken": ...,
"ResponseMetadata": ...,
}
# GetReservationPurchaseRecommendationResponseTypeDef definition
class GetReservationPurchaseRecommendationResponseTypeDef(TypedDict):
Metadata: ReservationPurchaseRecommendationMetadataTypeDef, # (1)
Recommendations: List[ReservationPurchaseRecommendationTypeDef], # (2)
NextPageToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ReservationPurchaseRecommendationMetadataTypeDef
- See ReservationPurchaseRecommendationTypeDef
- See ResponseMetadataTypeDef
RightsizingRecommendationTypeDef#
# RightsizingRecommendationTypeDef usage example
from mypy_boto3_ce.type_defs import RightsizingRecommendationTypeDef
def get_value() -> RightsizingRecommendationTypeDef:
return {
"AccountId": ...,
}
# 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
GetRightsizingRecommendationResponseTypeDef#
# GetRightsizingRecommendationResponseTypeDef usage example
from mypy_boto3_ce.type_defs import GetRightsizingRecommendationResponseTypeDef
def get_value() -> GetRightsizingRecommendationResponseTypeDef:
return {
"Metadata": ...,
"Summary": ...,
"RightsizingRecommendations": ...,
"NextPageToken": ...,
"Configuration": ...,
"ResponseMetadata": ...,
}
# GetRightsizingRecommendationResponseTypeDef definition
class GetRightsizingRecommendationResponseTypeDef(TypedDict):
Metadata: RightsizingRecommendationMetadataTypeDef, # (1)
Summary: RightsizingRecommendationSummaryTypeDef, # (2)
RightsizingRecommendations: List[RightsizingRecommendationTypeDef], # (3)
NextPageToken: str,
Configuration: RightsizingRecommendationConfigurationTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)