Skip to content

Typed dictionaries

Index > CostExplorer > Typed dictionaries

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

AnomalyDateIntervalTypeDef

Usage Example
from mypy_boto3_ce.type_defs import AnomalyDateIntervalTypeDef

def get_value() -> AnomalyDateIntervalTypeDef:
    return {
        "StartDate": ...,
    }
Definition
class AnomalyDateIntervalTypeDef(TypedDict):
    StartDate: str,
    EndDate: NotRequired[str],

AnomalyMonitorTypeDef

Usage Example
from mypy_boto3_ce.type_defs import AnomalyMonitorTypeDef

def get_value() -> AnomalyMonitorTypeDef:
    return {
        "MonitorName": ...,
        "MonitorType": ...,
    }
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],
  1. See MonitorTypeType
  2. See MonitorDimensionType
  3. See ExpressionTypeDef

AnomalyScoreTypeDef

Usage Example
from mypy_boto3_ce.type_defs import AnomalyScoreTypeDef

def get_value() -> AnomalyScoreTypeDef:
    return {
        "MaxScore": ...,
        "CurrentScore": ...,
    }
Definition
class AnomalyScoreTypeDef(TypedDict):
    MaxScore: float,
    CurrentScore: float,

SubscriberTypeDef

Usage Example
from mypy_boto3_ce.type_defs import SubscriberTypeDef

def get_value() -> SubscriberTypeDef:
    return {
        "Address": ...,
    }
Definition
class SubscriberTypeDef(TypedDict):
    Address: NotRequired[str],
    Type: NotRequired[SubscriberTypeType],  # (1)
    Status: NotRequired[SubscriberStatusType],  # (2)
  1. See SubscriberTypeType
  2. See SubscriberStatusType

ImpactTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ImpactTypeDef

def get_value() -> ImpactTypeDef:
    return {
        "MaxImpact": ...,
    }
Definition
class ImpactTypeDef(TypedDict):
    MaxImpact: float,
    TotalImpact: NotRequired[float],

RootCauseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import RootCauseTypeDef

def get_value() -> RootCauseTypeDef:
    return {
        "Service": ...,
    }
Definition
class RootCauseTypeDef(TypedDict):
    Service: NotRequired[str],
    Region: NotRequired[str],
    LinkedAccount: NotRequired[str],
    UsageType: NotRequired[str],

CostAllocationTagStatusEntryTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CostAllocationTagStatusEntryTypeDef

def get_value() -> CostAllocationTagStatusEntryTypeDef:
    return {
        "TagKey": ...,
        "Status": ...,
    }
Definition
class CostAllocationTagStatusEntryTypeDef(TypedDict):
    TagKey: str,
    Status: CostAllocationTagStatusType,  # (1)
  1. See CostAllocationTagStatusType

CostAllocationTagTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CostAllocationTagTypeDef

def get_value() -> CostAllocationTagTypeDef:
    return {
        "TagKey": ...,
        "Type": ...,
        "Status": ...,
    }
Definition
class CostAllocationTagTypeDef(TypedDict):
    TagKey: str,
    Type: CostAllocationTagTypeType,  # (1)
    Status: CostAllocationTagStatusType,  # (2)
  1. See CostAllocationTagTypeType
  2. See CostAllocationTagStatusType

CostCategoryInheritedValueDimensionTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CostCategoryInheritedValueDimensionTypeDef

def get_value() -> CostCategoryInheritedValueDimensionTypeDef:
    return {
        "DimensionName": ...,
    }
Definition
class CostCategoryInheritedValueDimensionTypeDef(TypedDict):
    DimensionName: NotRequired[CostCategoryInheritedValueDimensionNameType],  # (1)
    DimensionKey: NotRequired[str],
  1. See CostCategoryInheritedValueDimensionNameType

CostCategoryProcessingStatusTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CostCategoryProcessingStatusTypeDef

def get_value() -> CostCategoryProcessingStatusTypeDef:
    return {
        "Component": ...,
    }
Definition
class CostCategoryProcessingStatusTypeDef(TypedDict):
    Component: NotRequired[CostCategoryStatusComponentType],  # (1)
    Status: NotRequired[CostCategoryStatusType],  # (2)
  1. See CostCategoryStatusComponentType
  2. See CostCategoryStatusType

CostCategorySplitChargeRuleParameterTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CostCategorySplitChargeRuleParameterTypeDef

def get_value() -> CostCategorySplitChargeRuleParameterTypeDef:
    return {
        "Type": ...,
        "Values": ...,
    }
Definition
class CostCategorySplitChargeRuleParameterTypeDef(TypedDict):
    Type: CostCategorySplitChargeRuleParameterTypeType,  # (1)
    Values: Sequence[str],
  1. See CostCategorySplitChargeRuleParameterTypeType

CostCategoryValuesTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CostCategoryValuesTypeDef

def get_value() -> CostCategoryValuesTypeDef:
    return {
        "Key": ...,
    }
Definition
class CostCategoryValuesTypeDef(TypedDict):
    Key: NotRequired[str],
    Values: NotRequired[Sequence[str]],
    MatchOptions: NotRequired[Sequence[MatchOptionType]],  # (1)
  1. See MatchOptionType

DateIntervalTypeDef

Usage Example
from mypy_boto3_ce.type_defs import DateIntervalTypeDef

def get_value() -> DateIntervalTypeDef:
    return {
        "Start": ...,
        "End": ...,
    }
Definition
class DateIntervalTypeDef(TypedDict):
    Start: str,
    End: str,

CoverageCostTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CoverageCostTypeDef

def get_value() -> CoverageCostTypeDef:
    return {
        "OnDemandCost": ...,
    }
Definition
class CoverageCostTypeDef(TypedDict):
    OnDemandCost: NotRequired[str],

CoverageHoursTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CoverageHoursTypeDef

def get_value() -> CoverageHoursTypeDef:
    return {
        "OnDemandHours": ...,
    }
Definition
class CoverageHoursTypeDef(TypedDict):
    OnDemandHours: NotRequired[str],
    ReservedHours: NotRequired[str],
    TotalRunningHours: NotRequired[str],
    CoverageHoursPercentage: NotRequired[str],

CoverageNormalizedUnitsTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CoverageNormalizedUnitsTypeDef

def get_value() -> CoverageNormalizedUnitsTypeDef:
    return {
        "OnDemandNormalizedUnits": ...,
    }
Definition
class CoverageNormalizedUnitsTypeDef(TypedDict):
    OnDemandNormalizedUnits: NotRequired[str],
    ReservedNormalizedUnits: NotRequired[str],
    TotalRunningNormalizedUnits: NotRequired[str],
    CoverageNormalizedUnitsPercentage: NotRequired[str],

ResourceTagTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ResourceTagTypeDef

def get_value() -> ResourceTagTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
Definition
class ResourceTagTypeDef(TypedDict):
    Key: str,
    Value: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

TagValuesTypeDef

Usage Example
from mypy_boto3_ce.type_defs import TagValuesTypeDef

def get_value() -> TagValuesTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagValuesTypeDef(TypedDict):
    Key: NotRequired[str],
    Values: NotRequired[Sequence[str]],
    MatchOptions: NotRequired[Sequence[MatchOptionType]],  # (1)
  1. See MatchOptionType

DeleteAnomalyMonitorRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import DeleteAnomalyMonitorRequestRequestTypeDef

def get_value() -> DeleteAnomalyMonitorRequestRequestTypeDef:
    return {
        "MonitorArn": ...,
    }
Definition
class DeleteAnomalyMonitorRequestRequestTypeDef(TypedDict):
    MonitorArn: str,

DeleteAnomalySubscriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import DeleteAnomalySubscriptionRequestRequestTypeDef

def get_value() -> DeleteAnomalySubscriptionRequestRequestTypeDef:
    return {
        "SubscriptionArn": ...,
    }
Definition
class DeleteAnomalySubscriptionRequestRequestTypeDef(TypedDict):
    SubscriptionArn: str,

DeleteCostCategoryDefinitionRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import DeleteCostCategoryDefinitionRequestRequestTypeDef

def get_value() -> DeleteCostCategoryDefinitionRequestRequestTypeDef:
    return {
        "CostCategoryArn": ...,
    }
Definition
class DeleteCostCategoryDefinitionRequestRequestTypeDef(TypedDict):
    CostCategoryArn: str,

DescribeCostCategoryDefinitionRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import DescribeCostCategoryDefinitionRequestRequestTypeDef

def get_value() -> DescribeCostCategoryDefinitionRequestRequestTypeDef:
    return {
        "CostCategoryArn": ...,
    }
Definition
class DescribeCostCategoryDefinitionRequestRequestTypeDef(TypedDict):
    CostCategoryArn: str,
    EffectiveOn: NotRequired[str],

DimensionValuesTypeDef

Usage Example
from mypy_boto3_ce.type_defs import DimensionValuesTypeDef

def get_value() -> DimensionValuesTypeDef:
    return {
        "Key": ...,
    }
Definition
class DimensionValuesTypeDef(TypedDict):
    Key: NotRequired[DimensionType],  # (1)
    Values: NotRequired[Sequence[str]],
    MatchOptions: NotRequired[Sequence[MatchOptionType]],  # (2)
  1. See DimensionType
  2. See MatchOptionType

DimensionValuesWithAttributesTypeDef

Usage Example
from mypy_boto3_ce.type_defs import DimensionValuesWithAttributesTypeDef

def get_value() -> DimensionValuesWithAttributesTypeDef:
    return {
        "Value": ...,
    }
Definition
class DimensionValuesWithAttributesTypeDef(TypedDict):
    Value: NotRequired[str],
    Attributes: NotRequired[Dict[str, str]],

DiskResourceUtilizationTypeDef

Usage Example
from mypy_boto3_ce.type_defs import DiskResourceUtilizationTypeDef

def get_value() -> DiskResourceUtilizationTypeDef:
    return {
        "DiskReadOpsPerSecond": ...,
    }
Definition
class DiskResourceUtilizationTypeDef(TypedDict):
    DiskReadOpsPerSecond: NotRequired[str],
    DiskWriteOpsPerSecond: NotRequired[str],
    DiskReadBytesPerSecond: NotRequired[str],
    DiskWriteBytesPerSecond: NotRequired[str],

EBSResourceUtilizationTypeDef

Usage Example
from mypy_boto3_ce.type_defs import EBSResourceUtilizationTypeDef

def get_value() -> EBSResourceUtilizationTypeDef:
    return {
        "EbsReadOpsPerSecond": ...,
    }
Definition
class EBSResourceUtilizationTypeDef(TypedDict):
    EbsReadOpsPerSecond: NotRequired[str],
    EbsWriteOpsPerSecond: NotRequired[str],
    EbsReadBytesPerSecond: NotRequired[str],
    EbsWriteBytesPerSecond: NotRequired[str],

EC2InstanceDetailsTypeDef

Usage Example
from mypy_boto3_ce.type_defs import EC2InstanceDetailsTypeDef

def get_value() -> EC2InstanceDetailsTypeDef:
    return {
        "Family": ...,
    }
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

Usage Example
from mypy_boto3_ce.type_defs import EC2ResourceDetailsTypeDef

def get_value() -> EC2ResourceDetailsTypeDef:
    return {
        "HourlyOnDemandRate": ...,
    }
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

Usage Example
from mypy_boto3_ce.type_defs import NetworkResourceUtilizationTypeDef

def get_value() -> NetworkResourceUtilizationTypeDef:
    return {
        "NetworkInBytesPerSecond": ...,
    }
Definition
class NetworkResourceUtilizationTypeDef(TypedDict):
    NetworkInBytesPerSecond: NotRequired[str],
    NetworkOutBytesPerSecond: NotRequired[str],
    NetworkPacketsInPerSecond: NotRequired[str],
    NetworkPacketsOutPerSecond: NotRequired[str],

EC2SpecificationTypeDef

Usage Example
from mypy_boto3_ce.type_defs import EC2SpecificationTypeDef

def get_value() -> EC2SpecificationTypeDef:
    return {
        "OfferingClass": ...,
    }
Definition
class EC2SpecificationTypeDef(TypedDict):
    OfferingClass: NotRequired[OfferingClassType],  # (1)
  1. See OfferingClassType

ESInstanceDetailsTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ESInstanceDetailsTypeDef

def get_value() -> ESInstanceDetailsTypeDef:
    return {
        "InstanceClass": ...,
    }
Definition
class ESInstanceDetailsTypeDef(TypedDict):
    InstanceClass: NotRequired[str],
    InstanceSize: NotRequired[str],
    Region: NotRequired[str],
    CurrentGeneration: NotRequired[bool],
    SizeFlexEligible: NotRequired[bool],

ElastiCacheInstanceDetailsTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ElastiCacheInstanceDetailsTypeDef

def get_value() -> ElastiCacheInstanceDetailsTypeDef:
    return {
        "Family": ...,
    }
Definition
class ElastiCacheInstanceDetailsTypeDef(TypedDict):
    Family: NotRequired[str],
    NodeType: NotRequired[str],
    Region: NotRequired[str],
    ProductDescription: NotRequired[str],
    CurrentGeneration: NotRequired[bool],
    SizeFlexEligible: NotRequired[bool],

TotalImpactFilterTypeDef

Usage Example
from mypy_boto3_ce.type_defs import TotalImpactFilterTypeDef

def get_value() -> TotalImpactFilterTypeDef:
    return {
        "NumericOperator": ...,
        "StartValue": ...,
    }
Definition
class TotalImpactFilterTypeDef(TypedDict):
    NumericOperator: NumericOperatorType,  # (1)
    StartValue: float,
    EndValue: NotRequired[float],
  1. See NumericOperatorType

GetAnomalyMonitorsRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetAnomalyMonitorsRequestRequestTypeDef

def get_value() -> GetAnomalyMonitorsRequestRequestTypeDef:
    return {
        "MonitorArnList": ...,
    }
Definition
class GetAnomalyMonitorsRequestRequestTypeDef(TypedDict):
    MonitorArnList: NotRequired[Sequence[str]],
    NextPageToken: NotRequired[str],
    MaxResults: NotRequired[int],

GetAnomalySubscriptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetAnomalySubscriptionsRequestRequestTypeDef

def get_value() -> GetAnomalySubscriptionsRequestRequestTypeDef:
    return {
        "SubscriptionArnList": ...,
    }
Definition
class GetAnomalySubscriptionsRequestRequestTypeDef(TypedDict):
    SubscriptionArnList: NotRequired[Sequence[str]],
    MonitorArn: NotRequired[str],
    NextPageToken: NotRequired[str],
    MaxResults: NotRequired[int],

GroupDefinitionTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GroupDefinitionTypeDef

def get_value() -> GroupDefinitionTypeDef:
    return {
        "Type": ...,
    }
Definition
class GroupDefinitionTypeDef(TypedDict):
    Type: NotRequired[GroupDefinitionTypeType],  # (1)
    Key: NotRequired[str],
  1. See GroupDefinitionTypeType

SortDefinitionTypeDef

Usage Example
from mypy_boto3_ce.type_defs import SortDefinitionTypeDef

def get_value() -> SortDefinitionTypeDef:
    return {
        "Key": ...,
    }
Definition
class SortDefinitionTypeDef(TypedDict):
    Key: str,
    SortOrder: NotRequired[SortOrderType],  # (1)
  1. See SortOrderType

MetricValueTypeDef

Usage Example
from mypy_boto3_ce.type_defs import MetricValueTypeDef

def get_value() -> MetricValueTypeDef:
    return {
        "Amount": ...,
    }
Definition
class MetricValueTypeDef(TypedDict):
    Amount: NotRequired[str],
    Unit: NotRequired[str],

ReservationPurchaseRecommendationMetadataTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ReservationPurchaseRecommendationMetadataTypeDef

def get_value() -> ReservationPurchaseRecommendationMetadataTypeDef:
    return {
        "RecommendationId": ...,
    }
Definition
class ReservationPurchaseRecommendationMetadataTypeDef(TypedDict):
    RecommendationId: NotRequired[str],
    GenerationTimestamp: NotRequired[str],

ReservationAggregatesTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ReservationAggregatesTypeDef

def get_value() -> ReservationAggregatesTypeDef:
    return {
        "UtilizationPercentage": ...,
    }
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

Usage Example
from mypy_boto3_ce.type_defs import RightsizingRecommendationConfigurationTypeDef

def get_value() -> RightsizingRecommendationConfigurationTypeDef:
    return {
        "RecommendationTarget": ...,
        "BenefitsConsidered": ...,
    }
Definition
class RightsizingRecommendationConfigurationTypeDef(TypedDict):
    RecommendationTarget: RecommendationTargetType,  # (1)
    BenefitsConsidered: bool,
  1. See RecommendationTargetType

RightsizingRecommendationMetadataTypeDef

Usage Example
from mypy_boto3_ce.type_defs import RightsizingRecommendationMetadataTypeDef

def get_value() -> RightsizingRecommendationMetadataTypeDef:
    return {
        "RecommendationId": ...,
    }
Definition
class RightsizingRecommendationMetadataTypeDef(TypedDict):
    RecommendationId: NotRequired[str],
    GenerationTimestamp: NotRequired[str],
    LookbackPeriodInDays: NotRequired[LookbackPeriodInDaysType],  # (1)
    AdditionalMetadata: NotRequired[str],
  1. See LookbackPeriodInDaysType

RightsizingRecommendationSummaryTypeDef

Usage Example
from mypy_boto3_ce.type_defs import RightsizingRecommendationSummaryTypeDef

def get_value() -> RightsizingRecommendationSummaryTypeDef:
    return {
        "TotalRecommendationCount": ...,
    }
Definition
class RightsizingRecommendationSummaryTypeDef(TypedDict):
    TotalRecommendationCount: NotRequired[str],
    EstimatedTotalMonthlySavingsAmount: NotRequired[str],
    SavingsCurrencyCode: NotRequired[str],
    SavingsPercentage: NotRequired[str],

GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef

def get_value() -> GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef:
    return {
        "SavingsPlansType": ...,
        "TermInYears": ...,
        "PaymentOption": ...,
        "LookbackPeriodInDays": ...,
    }
Definition
class GetSavingsPlansPurchaseRecommendationRequestRequestTypeDef(TypedDict):
    SavingsPlansType: SupportedSavingsPlansTypeType,  # (1)
    TermInYears: TermInYearsType,  # (2)
    PaymentOption: PaymentOptionType,  # (3)
    LookbackPeriodInDays: LookbackPeriodInDaysType,  # (4)
    AccountScope: NotRequired[AccountScopeType],  # (5)
    NextPageToken: NotRequired[str],
    PageSize: NotRequired[int],
    Filter: NotRequired[ExpressionTypeDef],  # (6)
  1. See SupportedSavingsPlansTypeType
  2. See TermInYearsType
  3. See PaymentOptionType
  4. See LookbackPeriodInDaysType
  5. See AccountScopeType
  6. See ExpressionTypeDef

SavingsPlansPurchaseRecommendationMetadataTypeDef

Usage Example
from mypy_boto3_ce.type_defs import SavingsPlansPurchaseRecommendationMetadataTypeDef

def get_value() -> SavingsPlansPurchaseRecommendationMetadataTypeDef:
    return {
        "RecommendationId": ...,
    }
Definition
class SavingsPlansPurchaseRecommendationMetadataTypeDef(TypedDict):
    RecommendationId: NotRequired[str],
    GenerationTimestamp: NotRequired[str],
    AdditionalMetadata: NotRequired[str],

RDSInstanceDetailsTypeDef

Usage Example
from mypy_boto3_ce.type_defs import RDSInstanceDetailsTypeDef

def get_value() -> RDSInstanceDetailsTypeDef:
    return {
        "Family": ...,
    }
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

Usage Example
from mypy_boto3_ce.type_defs import RedshiftInstanceDetailsTypeDef

def get_value() -> RedshiftInstanceDetailsTypeDef:
    return {
        "Family": ...,
    }
Definition
class RedshiftInstanceDetailsTypeDef(TypedDict):
    Family: NotRequired[str],
    NodeType: NotRequired[str],
    Region: NotRequired[str],
    CurrentGeneration: NotRequired[bool],
    SizeFlexEligible: NotRequired[bool],

ListCostAllocationTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ListCostAllocationTagsRequestRequestTypeDef

def get_value() -> ListCostAllocationTagsRequestRequestTypeDef:
    return {
        "Status": ...,
    }
Definition
class ListCostAllocationTagsRequestRequestTypeDef(TypedDict):
    Status: NotRequired[CostAllocationTagStatusType],  # (1)
    TagKeys: NotRequired[Sequence[str]],
    Type: NotRequired[CostAllocationTagTypeType],  # (2)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See CostAllocationTagStatusType
  2. See CostAllocationTagTypeType

ListCostCategoryDefinitionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ListCostCategoryDefinitionsRequestRequestTypeDef

def get_value() -> ListCostCategoryDefinitionsRequestRequestTypeDef:
    return {
        "EffectiveOn": ...,
    }
Definition
class ListCostCategoryDefinitionsRequestRequestTypeDef(TypedDict):
    EffectiveOn: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ProvideAnomalyFeedbackRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ProvideAnomalyFeedbackRequestRequestTypeDef

def get_value() -> ProvideAnomalyFeedbackRequestRequestTypeDef:
    return {
        "AnomalyId": ...,
        "Feedback": ...,
    }
Definition
class ProvideAnomalyFeedbackRequestRequestTypeDef(TypedDict):
    AnomalyId: str,
    Feedback: AnomalyFeedbackTypeType,  # (1)
  1. See AnomalyFeedbackTypeType

ReservationPurchaseRecommendationSummaryTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ReservationPurchaseRecommendationSummaryTypeDef

def get_value() -> ReservationPurchaseRecommendationSummaryTypeDef:
    return {
        "TotalEstimatedMonthlySavingsAmount": ...,
    }
Definition
class ReservationPurchaseRecommendationSummaryTypeDef(TypedDict):
    TotalEstimatedMonthlySavingsAmount: NotRequired[str],
    TotalEstimatedMonthlySavingsPercentage: NotRequired[str],
    CurrencyCode: NotRequired[str],

TerminateRecommendationDetailTypeDef

Usage Example
from mypy_boto3_ce.type_defs import TerminateRecommendationDetailTypeDef

def get_value() -> TerminateRecommendationDetailTypeDef:
    return {
        "EstimatedMonthlySavings": ...,
    }
Definition
class TerminateRecommendationDetailTypeDef(TypedDict):
    EstimatedMonthlySavings: NotRequired[str],
    CurrencyCode: NotRequired[str],

SavingsPlansAmortizedCommitmentTypeDef

Usage Example
from mypy_boto3_ce.type_defs import SavingsPlansAmortizedCommitmentTypeDef

def get_value() -> SavingsPlansAmortizedCommitmentTypeDef:
    return {
        "AmortizedRecurringCommitment": ...,
    }
Definition
class SavingsPlansAmortizedCommitmentTypeDef(TypedDict):
    AmortizedRecurringCommitment: NotRequired[str],
    AmortizedUpfrontCommitment: NotRequired[str],
    TotalAmortizedCommitment: NotRequired[str],

SavingsPlansCoverageDataTypeDef

Usage Example
from mypy_boto3_ce.type_defs import SavingsPlansCoverageDataTypeDef

def get_value() -> SavingsPlansCoverageDataTypeDef:
    return {
        "SpendCoveredBySavingsPlans": ...,
    }
Definition
class SavingsPlansCoverageDataTypeDef(TypedDict):
    SpendCoveredBySavingsPlans: NotRequired[str],
    OnDemandCost: NotRequired[str],
    TotalCost: NotRequired[str],
    CoveragePercentage: NotRequired[str],

SavingsPlansDetailsTypeDef

Usage Example
from mypy_boto3_ce.type_defs import SavingsPlansDetailsTypeDef

def get_value() -> SavingsPlansDetailsTypeDef:
    return {
        "Region": ...,
    }
Definition
class SavingsPlansDetailsTypeDef(TypedDict):
    Region: NotRequired[str],
    InstanceFamily: NotRequired[str],
    OfferingId: NotRequired[str],

SavingsPlansPurchaseRecommendationSummaryTypeDef

Usage Example
from mypy_boto3_ce.type_defs import SavingsPlansPurchaseRecommendationSummaryTypeDef

def get_value() -> SavingsPlansPurchaseRecommendationSummaryTypeDef:
    return {
        "EstimatedROI": ...,
    }
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

Usage Example
from mypy_boto3_ce.type_defs import SavingsPlansSavingsTypeDef

def get_value() -> SavingsPlansSavingsTypeDef:
    return {
        "NetSavings": ...,
    }
Definition
class SavingsPlansSavingsTypeDef(TypedDict):
    NetSavings: NotRequired[str],
    OnDemandCostEquivalent: NotRequired[str],

SavingsPlansUtilizationTypeDef

Usage Example
from mypy_boto3_ce.type_defs import SavingsPlansUtilizationTypeDef

def get_value() -> SavingsPlansUtilizationTypeDef:
    return {
        "TotalCommitment": ...,
    }
Definition
class SavingsPlansUtilizationTypeDef(TypedDict):
    TotalCommitment: NotRequired[str],
    UsedCommitment: NotRequired[str],
    UnusedCommitment: NotRequired[str],
    UtilizationPercentage: NotRequired[str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "ResourceTagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    ResourceTagKeys: Sequence[str],

UpdateAnomalyMonitorRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import UpdateAnomalyMonitorRequestRequestTypeDef

def get_value() -> UpdateAnomalyMonitorRequestRequestTypeDef:
    return {
        "MonitorArn": ...,
    }
Definition
class UpdateAnomalyMonitorRequestRequestTypeDef(TypedDict):
    MonitorArn: str,
    MonitorName: NotRequired[str],

UpdateCostAllocationTagsStatusErrorTypeDef

Usage Example
from mypy_boto3_ce.type_defs import UpdateCostAllocationTagsStatusErrorTypeDef

def get_value() -> UpdateCostAllocationTagsStatusErrorTypeDef:
    return {
        "TagKey": ...,
    }
Definition
class UpdateCostAllocationTagsStatusErrorTypeDef(TypedDict):
    TagKey: NotRequired[str],
    Code: NotRequired[str],
    Message: NotRequired[str],

AnomalySubscriptionTypeDef

Usage Example
from mypy_boto3_ce.type_defs import AnomalySubscriptionTypeDef

def get_value() -> AnomalySubscriptionTypeDef:
    return {
        "MonitorArnList": ...,
        "Subscribers": ...,
        "Threshold": ...,
        "Frequency": ...,
        "SubscriptionName": ...,
    }
Definition
class AnomalySubscriptionTypeDef(TypedDict):
    MonitorArnList: Sequence[str],
    Subscribers: Sequence[SubscriberTypeDef],  # (1)
    Threshold: float,
    Frequency: AnomalySubscriptionFrequencyType,  # (2)
    SubscriptionName: str,
    SubscriptionArn: NotRequired[str],
    AccountId: NotRequired[str],
  1. See SubscriberTypeDef
  2. See AnomalySubscriptionFrequencyType

UpdateAnomalySubscriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import UpdateAnomalySubscriptionRequestRequestTypeDef

def get_value() -> UpdateAnomalySubscriptionRequestRequestTypeDef:
    return {
        "SubscriptionArn": ...,
    }
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],
  1. See AnomalySubscriptionFrequencyType
  2. See SubscriberTypeDef

AnomalyTypeDef

Usage Example
from mypy_boto3_ce.type_defs import AnomalyTypeDef

def get_value() -> AnomalyTypeDef:
    return {
        "AnomalyId": ...,
        "AnomalyScore": ...,
        "Impact": ...,
        "MonitorArn": ...,
    }
Definition
class AnomalyTypeDef(TypedDict):
    AnomalyId: str,
    AnomalyScore: AnomalyScoreTypeDef,  # (2)
    Impact: ImpactTypeDef,  # (3)
    MonitorArn: str,
    AnomalyStartDate: NotRequired[str],
    AnomalyEndDate: NotRequired[str],
    DimensionValue: NotRequired[str],
    RootCauses: NotRequired[List[RootCauseTypeDef]],  # (1)
    Feedback: NotRequired[AnomalyFeedbackTypeType],  # (4)
  1. See RootCauseTypeDef
  2. See AnomalyScoreTypeDef
  3. See ImpactTypeDef
  4. See AnomalyFeedbackTypeType

UpdateCostAllocationTagsStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import UpdateCostAllocationTagsStatusRequestRequestTypeDef

def get_value() -> UpdateCostAllocationTagsStatusRequestRequestTypeDef:
    return {
        "CostAllocationTagsStatus": ...,
    }
Definition
class UpdateCostAllocationTagsStatusRequestRequestTypeDef(TypedDict):
    CostAllocationTagsStatus: Sequence[CostAllocationTagStatusEntryTypeDef],  # (1)
  1. See CostAllocationTagStatusEntryTypeDef

CostCategoryRuleTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CostCategoryRuleTypeDef

def get_value() -> CostCategoryRuleTypeDef:
    return {
        "Value": ...,
    }
Definition
class CostCategoryRuleTypeDef(TypedDict):
    Value: NotRequired[str],
    Rule: NotRequired[ExpressionTypeDef],  # (1)
    InheritedValue: NotRequired[CostCategoryInheritedValueDimensionTypeDef],  # (2)
    Type: NotRequired[CostCategoryRuleTypeType],  # (3)
  1. See ExpressionTypeDef
  2. See CostCategoryInheritedValueDimensionTypeDef
  3. See CostCategoryRuleTypeType

CostCategoryReferenceTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CostCategoryReferenceTypeDef

def get_value() -> CostCategoryReferenceTypeDef:
    return {
        "CostCategoryArn": ...,
    }
Definition
class CostCategoryReferenceTypeDef(TypedDict):
    CostCategoryArn: NotRequired[str],
    Name: NotRequired[str],
    EffectiveStart: NotRequired[str],
    EffectiveEnd: NotRequired[str],
    NumberOfRules: NotRequired[int],
    ProcessingStatus: NotRequired[List[CostCategoryProcessingStatusTypeDef]],  # (1)
    Values: NotRequired[List[str]],
    DefaultValue: NotRequired[str],
  1. See CostCategoryProcessingStatusTypeDef

CostCategorySplitChargeRuleTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CostCategorySplitChargeRuleTypeDef

def get_value() -> CostCategorySplitChargeRuleTypeDef:
    return {
        "Source": ...,
        "Targets": ...,
        "Method": ...,
    }
Definition
class CostCategorySplitChargeRuleTypeDef(TypedDict):
    Source: str,
    Targets: Sequence[str],
    Method: CostCategorySplitChargeMethodType,  # (1)
    Parameters: NotRequired[Sequence[CostCategorySplitChargeRuleParameterTypeDef]],  # (2)
  1. See CostCategorySplitChargeMethodType
  2. See CostCategorySplitChargeRuleParameterTypeDef

ForecastResultTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ForecastResultTypeDef

def get_value() -> ForecastResultTypeDef:
    return {
        "TimePeriod": ...,
    }
Definition
class ForecastResultTypeDef(TypedDict):
    TimePeriod: NotRequired[DateIntervalTypeDef],  # (1)
    MeanValue: NotRequired[str],
    PredictionIntervalLowerBound: NotRequired[str],
    PredictionIntervalUpperBound: NotRequired[str],
  1. See DateIntervalTypeDef

GetCostForecastRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetCostForecastRequestRequestTypeDef

def get_value() -> GetCostForecastRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
        "Metric": ...,
        "Granularity": ...,
    }
Definition
class GetCostForecastRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Metric: MetricType,  # (2)
    Granularity: GranularityType,  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    PredictionIntervalLevel: NotRequired[int],
  1. See DateIntervalTypeDef
  2. See MetricType
  3. See GranularityType
  4. See ExpressionTypeDef

GetUsageForecastRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetUsageForecastRequestRequestTypeDef

def get_value() -> GetUsageForecastRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
        "Metric": ...,
        "Granularity": ...,
    }
Definition
class GetUsageForecastRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Metric: MetricType,  # (2)
    Granularity: GranularityType,  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    PredictionIntervalLevel: NotRequired[int],
  1. See DateIntervalTypeDef
  2. See MetricType
  3. See GranularityType
  4. See ExpressionTypeDef

CoverageTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CoverageTypeDef

def get_value() -> CoverageTypeDef:
    return {
        "CoverageHours": ...,
    }
Definition
class CoverageTypeDef(TypedDict):
    CoverageHours: NotRequired[CoverageHoursTypeDef],  # (1)
    CoverageNormalizedUnits: NotRequired[CoverageNormalizedUnitsTypeDef],  # (2)
    CoverageCost: NotRequired[CoverageCostTypeDef],  # (3)
  1. See CoverageHoursTypeDef
  2. See CoverageNormalizedUnitsTypeDef
  3. See CoverageCostTypeDef

CreateAnomalyMonitorRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CreateAnomalyMonitorRequestRequestTypeDef

def get_value() -> CreateAnomalyMonitorRequestRequestTypeDef:
    return {
        "AnomalyMonitor": ...,
    }
Definition
class CreateAnomalyMonitorRequestRequestTypeDef(TypedDict):
    AnomalyMonitor: AnomalyMonitorTypeDef,  # (1)
    ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (2)
  1. See AnomalyMonitorTypeDef
  2. See ResourceTagTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "ResourceTags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    ResourceTags: Sequence[ResourceTagTypeDef],  # (1)
  1. See ResourceTagTypeDef

CreateAnomalyMonitorResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CreateAnomalyMonitorResponseTypeDef

def get_value() -> CreateAnomalyMonitorResponseTypeDef:
    return {
        "MonitorArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateAnomalyMonitorResponseTypeDef(TypedDict):
    MonitorArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateAnomalySubscriptionResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CreateAnomalySubscriptionResponseTypeDef

def get_value() -> CreateAnomalySubscriptionResponseTypeDef:
    return {
        "SubscriptionArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateAnomalySubscriptionResponseTypeDef(TypedDict):
    SubscriptionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateCostCategoryDefinitionResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import CreateCostCategoryDefinitionResponseTypeDef

def get_value() -> CreateCostCategoryDefinitionResponseTypeDef:
    return {
        "CostCategoryArn": ...,
        "EffectiveStart": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCostCategoryDefinitionResponseTypeDef(TypedDict):
    CostCategoryArn: str,
    EffectiveStart: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteCostCategoryDefinitionResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import DeleteCostCategoryDefinitionResponseTypeDef

def get_value() -> DeleteCostCategoryDefinitionResponseTypeDef:
    return {
        "CostCategoryArn": ...,
        "EffectiveEnd": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteCostCategoryDefinitionResponseTypeDef(TypedDict):
    CostCategoryArn: str,
    EffectiveEnd: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAnomalyMonitorsResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetAnomalyMonitorsResponseTypeDef

def get_value() -> GetAnomalyMonitorsResponseTypeDef:
    return {
        "AnomalyMonitors": ...,
        "NextPageToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAnomalyMonitorsResponseTypeDef(TypedDict):
    AnomalyMonitors: List[AnomalyMonitorTypeDef],  # (1)
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnomalyMonitorTypeDef
  2. See ResponseMetadataTypeDef

GetCostCategoriesResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetCostCategoriesResponseTypeDef

def get_value() -> GetCostCategoriesResponseTypeDef:
    return {
        "NextPageToken": ...,
        "CostCategoryNames": ...,
        "CostCategoryValues": ...,
        "ReturnSize": ...,
        "TotalSize": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetCostCategoriesResponseTypeDef(TypedDict):
    NextPageToken: str,
    CostCategoryNames: List[str],
    CostCategoryValues: List[str],
    ReturnSize: int,
    TotalSize: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetTagsResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetTagsResponseTypeDef

def get_value() -> GetTagsResponseTypeDef:
    return {
        "NextPageToken": ...,
        "Tags": ...,
        "ReturnSize": ...,
        "TotalSize": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTagsResponseTypeDef(TypedDict):
    NextPageToken: str,
    Tags: List[str],
    ReturnSize: int,
    TotalSize: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListCostAllocationTagsResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ListCostAllocationTagsResponseTypeDef

def get_value() -> ListCostAllocationTagsResponseTypeDef:
    return {
        "CostAllocationTags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListCostAllocationTagsResponseTypeDef(TypedDict):
    CostAllocationTags: List[CostAllocationTagTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CostAllocationTagTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "ResourceTags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    ResourceTags: List[ResourceTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceTagTypeDef
  2. See ResponseMetadataTypeDef

ProvideAnomalyFeedbackResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ProvideAnomalyFeedbackResponseTypeDef

def get_value() -> ProvideAnomalyFeedbackResponseTypeDef:
    return {
        "AnomalyId": ...,
        "ResponseMetadata": ...,
    }
Definition
class ProvideAnomalyFeedbackResponseTypeDef(TypedDict):
    AnomalyId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateAnomalyMonitorResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import UpdateAnomalyMonitorResponseTypeDef

def get_value() -> UpdateAnomalyMonitorResponseTypeDef:
    return {
        "MonitorArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateAnomalyMonitorResponseTypeDef(TypedDict):
    MonitorArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateAnomalySubscriptionResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import UpdateAnomalySubscriptionResponseTypeDef

def get_value() -> UpdateAnomalySubscriptionResponseTypeDef:
    return {
        "SubscriptionArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateAnomalySubscriptionResponseTypeDef(TypedDict):
    SubscriptionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateCostCategoryDefinitionResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import UpdateCostCategoryDefinitionResponseTypeDef

def get_value() -> UpdateCostCategoryDefinitionResponseTypeDef:
    return {
        "CostCategoryArn": ...,
        "EffectiveStart": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateCostCategoryDefinitionResponseTypeDef(TypedDict):
    CostCategoryArn: str,
    EffectiveStart: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ExpressionTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ExpressionTypeDef

def get_value() -> ExpressionTypeDef:
    return {
        "Or": ...,
    }
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)
  1. See ExpressionTypeDef
  2. See ExpressionTypeDef
  3. See ExpressionTypeDef
  4. See DimensionValuesTypeDef
  5. See TagValuesTypeDef
  6. See CostCategoryValuesTypeDef

GetDimensionValuesResponseTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetDimensionValuesResponseTypeDef

def get_value() -> GetDimensionValuesResponseTypeDef:
    return {
        "DimensionValues": ...,
        "ReturnSize": ...,
        "TotalSize": ...,
        "NextPageToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetDimensionValuesResponseTypeDef(TypedDict):
    DimensionValues: List[DimensionValuesWithAttributesTypeDef],  # (1)
    ReturnSize: int,
    TotalSize: int,
    NextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DimensionValuesWithAttributesTypeDef
  2. See ResponseMetadataTypeDef

ResourceDetailsTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ResourceDetailsTypeDef

def get_value() -> ResourceDetailsTypeDef:
    return {
        "EC2ResourceDetails": ...,
    }
Definition
class ResourceDetailsTypeDef(TypedDict):
    EC2ResourceDetails: NotRequired[EC2ResourceDetailsTypeDef],  # (1)
  1. See EC2ResourceDetailsTypeDef

EC2ResourceUtilizationTypeDef

Usage Example
from mypy_boto3_ce.type_defs import EC2ResourceUtilizationTypeDef

def get_value() -> EC2ResourceUtilizationTypeDef:
    return {
        "MaxCpuUtilizationPercentage": ...,
    }
Definition
class EC2ResourceUtilizationTypeDef(TypedDict):
    MaxCpuUtilizationPercentage: NotRequired[str],
    MaxMemoryUtilizationPercentage: NotRequired[str],
    MaxStorageUtilizationPercentage: NotRequired[str],
    EBSResourceUtilization: NotRequired[EBSResourceUtilizationTypeDef],  # (1)
    DiskResourceUtilization: NotRequired[DiskResourceUtilizationTypeDef],  # (2)
    NetworkResourceUtilization: NotRequired[NetworkResourceUtilizationTypeDef],  # (3)
  1. See EBSResourceUtilizationTypeDef
  2. See DiskResourceUtilizationTypeDef
  3. See NetworkResourceUtilizationTypeDef

ServiceSpecificationTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ServiceSpecificationTypeDef

def get_value() -> ServiceSpecificationTypeDef:
    return {
        "EC2Specification": ...,
    }
Definition
class ServiceSpecificationTypeDef(TypedDict):
    EC2Specification: NotRequired[EC2SpecificationTypeDef],  # (1)
  1. See EC2SpecificationTypeDef

GetAnomaliesRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetAnomaliesRequestRequestTypeDef

def get_value() -> GetAnomaliesRequestRequestTypeDef:
    return {
        "DateInterval": ...,
    }
Definition
class GetAnomaliesRequestRequestTypeDef(TypedDict):
    DateInterval: AnomalyDateIntervalTypeDef,  # (1)
    MonitorArn: NotRequired[str],
    Feedback: NotRequired[AnomalyFeedbackTypeType],  # (2)
    TotalImpact: NotRequired[TotalImpactFilterTypeDef],  # (3)
    NextPageToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See AnomalyDateIntervalTypeDef
  2. See AnomalyFeedbackTypeType
  3. See TotalImpactFilterTypeDef

GetCostAndUsageRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetCostAndUsageRequestRequestTypeDef

def get_value() -> GetCostAndUsageRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
        "Granularity": ...,
        "Metrics": ...,
    }
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],
  1. See DateIntervalTypeDef
  2. See GranularityType
  3. See ExpressionTypeDef
  4. See GroupDefinitionTypeDef

GetCostAndUsageWithResourcesRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetCostAndUsageWithResourcesRequestRequestTypeDef

def get_value() -> GetCostAndUsageWithResourcesRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
        "Granularity": ...,
        "Filter": ...,
    }
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],
  1. See DateIntervalTypeDef
  2. See GranularityType
  3. See ExpressionTypeDef
  4. See GroupDefinitionTypeDef

GetCostCategoriesRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetCostCategoriesRequestRequestTypeDef

def get_value() -> GetCostCategoriesRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
    }
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],
  1. See DateIntervalTypeDef
  2. See ExpressionTypeDef
  3. See SortDefinitionTypeDef

GetDimensionValuesRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetDimensionValuesRequestRequestTypeDef

def get_value() -> GetDimensionValuesRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
        "Dimension": ...,
    }
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],
  1. See DateIntervalTypeDef
  2. See DimensionType
  3. See ContextType
  4. See ExpressionTypeDef
  5. See SortDefinitionTypeDef

GetReservationCoverageRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetReservationCoverageRequestRequestTypeDef

def get_value() -> GetReservationCoverageRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
    }
Definition
class GetReservationCoverageRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]],  # (2)
    Granularity: NotRequired[GranularityType],  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    Metrics: NotRequired[Sequence[str]],
    NextPageToken: NotRequired[str],
    SortBy: NotRequired[SortDefinitionTypeDef],  # (5)
    MaxResults: NotRequired[int],
  1. See DateIntervalTypeDef
  2. See GroupDefinitionTypeDef
  3. See GranularityType
  4. See ExpressionTypeDef
  5. See SortDefinitionTypeDef

GetReservationUtilizationRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetReservationUtilizationRequestRequestTypeDef

def get_value() -> GetReservationUtilizationRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
    }
Definition
class GetReservationUtilizationRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]],  # (2)
    Granularity: NotRequired[GranularityType],  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    SortBy: NotRequired[SortDefinitionTypeDef],  # (5)
    NextPageToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See DateIntervalTypeDef
  2. See GroupDefinitionTypeDef
  3. See GranularityType
  4. See ExpressionTypeDef
  5. See SortDefinitionTypeDef

GetSavingsPlansCoverageRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetSavingsPlansCoverageRequestRequestTypeDef

def get_value() -> GetSavingsPlansCoverageRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
    }
Definition
class GetSavingsPlansCoverageRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    GroupBy: NotRequired[Sequence[GroupDefinitionTypeDef]],  # (2)
    Granularity: NotRequired[GranularityType],  # (3)
    Filter: NotRequired[ExpressionTypeDef],  # (4)
    Metrics: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    SortBy: NotRequired[SortDefinitionTypeDef],  # (5)
  1. See DateIntervalTypeDef
  2. See GroupDefinitionTypeDef
  3. See GranularityType
  4. See ExpressionTypeDef
  5. See SortDefinitionTypeDef

GetSavingsPlansUtilizationDetailsRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetSavingsPlansUtilizationDetailsRequestRequestTypeDef

def get_value() -> GetSavingsPlansUtilizationDetailsRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
    }
Definition
class GetSavingsPlansUtilizationDetailsRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Filter: NotRequired[ExpressionTypeDef],  # (2)
    DataType: NotRequired[Sequence[SavingsPlansDataTypeType]],  # (3)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    SortBy: NotRequired[SortDefinitionTypeDef],  # (4)
  1. See DateIntervalTypeDef
  2. See ExpressionTypeDef
  3. See SavingsPlansDataTypeType
  4. See SortDefinitionTypeDef

GetSavingsPlansUtilizationRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetSavingsPlansUtilizationRequestRequestTypeDef

def get_value() -> GetSavingsPlansUtilizationRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
    }
Definition
class GetSavingsPlansUtilizationRequestRequestTypeDef(TypedDict):
    TimePeriod: DateIntervalTypeDef,  # (1)
    Granularity: NotRequired[GranularityType],  # (2)
    Filter: NotRequired[ExpressionTypeDef],  # (3)
    SortBy: NotRequired[SortDefinitionTypeDef],  # (4)
  1. See DateIntervalTypeDef
  2. See GranularityType
  3. See ExpressionTypeDef
  4. See SortDefinitionTypeDef

GetTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetTagsRequestRequestTypeDef

def get_value() -> GetTagsRequestRequestTypeDef:
    return {
        "TimePeriod": ...,
    }
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],
  1. See DateIntervalTypeDef
  2. See ExpressionTypeDef
  3. See SortDefinitionTypeDef

GroupTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GroupTypeDef

def get_value() -> GroupTypeDef:
    return {
        "Keys": ...,
    }
Definition
class GroupTypeDef(TypedDict):
    Keys: NotRequired[List[str]],
    Metrics: NotRequired[Dict[str, MetricValueTypeDef]],  # (1)
  1. See MetricValueTypeDef

ReservationUtilizationGroupTypeDef

Usage Example
from mypy_boto3_ce.type_defs import ReservationUtilizationGroupTypeDef

def get_value() -> ReservationUtilizationGroupTypeDef:
    return {
        "Key": ...,
    }
Definition
class ReservationUtilizationGroupTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],
    Attributes: NotRequired[Dict[str, str]],
    Utilization: NotRequired[ReservationAggregatesTypeDef],  # (1)
  1. See ReservationAggregatesTypeDef

GetRightsizingRecommendationRequestRequestTypeDef

Usage Example
from mypy_boto3_ce.type_defs import GetRightsizingRecommendationRequestRequestTypeDef

def get_value() -> GetRightsizingRecommendationRequestRequestTypeDef:
    return {
        "Service": ...,
    }
Definition
class GetRightsizingRecommendationRequestRequestTypeDef(TypedDict):
    Service: str,
    Filter: NotRequired[ExpressionTypeDef],  # (1)
    Configuration: NotRequired[RightsizingRecommendationConfigurationTypeDef],  # (2)
    PageSize: NotRequired[int],
    NextPageToken: NotRequired[str],
  1. See ExpressionTypeDef
  2. See RightsizingRecommendationConfigurationTypeDef

InstanceDetailsTypeDef

Usage Example
from mypy_boto3_ce.type_defs import InstanceDetailsTypeDef

def get_value() -> InstanceDetailsTypeDef:
    return {
        "EC2InstanceDetails": ...,
    }
Definition
class InstanceDetailsTypeDef