Literals#
Index > CostExplorer > Literals
Auto-generated documentation for CostExplorer type annotations stubs module mypy-boto3-ce.
AccountScopeType#
# AccountScopeType usage example
from mypy_boto3_ce.literals import AccountScopeType
def get_value() -> AccountScopeType:
return "LINKED"
# AccountScopeType definition
AccountScopeType = Literal[
"LINKED",
"PAYER",
]
AnomalyFeedbackTypeType#
# AnomalyFeedbackTypeType usage example
from mypy_boto3_ce.literals import AnomalyFeedbackTypeType
def get_value() -> AnomalyFeedbackTypeType:
return "NO"
# AnomalyFeedbackTypeType definition
AnomalyFeedbackTypeType = Literal[
"NO",
"PLANNED_ACTIVITY",
"YES",
]
AnomalySubscriptionFrequencyType#
# AnomalySubscriptionFrequencyType usage example
from mypy_boto3_ce.literals import AnomalySubscriptionFrequencyType
def get_value() -> AnomalySubscriptionFrequencyType:
return "DAILY"
# AnomalySubscriptionFrequencyType definition
AnomalySubscriptionFrequencyType = Literal[
"DAILY",
"IMMEDIATE",
"WEEKLY",
]
ApproximationDimensionType#
# ApproximationDimensionType usage example
from mypy_boto3_ce.literals import ApproximationDimensionType
def get_value() -> ApproximationDimensionType:
return "RESOURCE"
# ApproximationDimensionType definition
ApproximationDimensionType = Literal[
"RESOURCE",
"SERVICE",
]
ContextType#
# ContextType usage example
from mypy_boto3_ce.literals import ContextType
def get_value() -> ContextType:
return "COST_AND_USAGE"
# ContextType definition
ContextType = Literal[
"COST_AND_USAGE",
"RESERVATIONS",
"SAVINGS_PLANS",
]
CostAllocationTagBackfillStatusType#
# CostAllocationTagBackfillStatusType usage example
from mypy_boto3_ce.literals import CostAllocationTagBackfillStatusType
def get_value() -> CostAllocationTagBackfillStatusType:
return "FAILED"
# CostAllocationTagBackfillStatusType definition
CostAllocationTagBackfillStatusType = Literal[
"FAILED",
"PROCESSING",
"SUCCEEDED",
]
CostAllocationTagStatusType#
# CostAllocationTagStatusType usage example
from mypy_boto3_ce.literals import CostAllocationTagStatusType
def get_value() -> CostAllocationTagStatusType:
return "Active"
# CostAllocationTagStatusType definition
CostAllocationTagStatusType = Literal[
"Active",
"Inactive",
]
CostAllocationTagTypeType#
# CostAllocationTagTypeType usage example
from mypy_boto3_ce.literals import CostAllocationTagTypeType
def get_value() -> CostAllocationTagTypeType:
return "AWSGenerated"
# CostAllocationTagTypeType definition
CostAllocationTagTypeType = Literal[
"AWSGenerated",
"UserDefined",
]
CostCategoryInheritedValueDimensionNameType#
# CostCategoryInheritedValueDimensionNameType usage example
from mypy_boto3_ce.literals import CostCategoryInheritedValueDimensionNameType
def get_value() -> CostCategoryInheritedValueDimensionNameType:
return "LINKED_ACCOUNT_NAME"
# CostCategoryInheritedValueDimensionNameType definition
CostCategoryInheritedValueDimensionNameType = Literal[
"LINKED_ACCOUNT_NAME",
"TAG",
]
CostCategoryRuleTypeType#
# CostCategoryRuleTypeType usage example
from mypy_boto3_ce.literals import CostCategoryRuleTypeType
def get_value() -> CostCategoryRuleTypeType:
return "INHERITED_VALUE"
# CostCategoryRuleTypeType definition
CostCategoryRuleTypeType = Literal[
"INHERITED_VALUE",
"REGULAR",
]
CostCategoryRuleVersionType#
# CostCategoryRuleVersionType usage example
from mypy_boto3_ce.literals import CostCategoryRuleVersionType
def get_value() -> CostCategoryRuleVersionType:
return "CostCategoryExpression.v1"
# CostCategoryRuleVersionType definition
CostCategoryRuleVersionType = Literal[
"CostCategoryExpression.v1",
]
CostCategorySplitChargeMethodType#
# CostCategorySplitChargeMethodType usage example
from mypy_boto3_ce.literals import CostCategorySplitChargeMethodType
def get_value() -> CostCategorySplitChargeMethodType:
return "EVEN"
# CostCategorySplitChargeMethodType definition
CostCategorySplitChargeMethodType = Literal[
"EVEN",
"FIXED",
"PROPORTIONAL",
]
CostCategorySplitChargeRuleParameterTypeType#
# CostCategorySplitChargeRuleParameterTypeType usage example
from mypy_boto3_ce.literals import CostCategorySplitChargeRuleParameterTypeType
def get_value() -> CostCategorySplitChargeRuleParameterTypeType:
return "ALLOCATION_PERCENTAGES"
# CostCategorySplitChargeRuleParameterTypeType definition
CostCategorySplitChargeRuleParameterTypeType = Literal[
"ALLOCATION_PERCENTAGES",
]
CostCategoryStatusComponentType#
# CostCategoryStatusComponentType usage example
from mypy_boto3_ce.literals import CostCategoryStatusComponentType
def get_value() -> CostCategoryStatusComponentType:
return "COST_EXPLORER"
# CostCategoryStatusComponentType definition
CostCategoryStatusComponentType = Literal[
"COST_EXPLORER",
]
CostCategoryStatusType#
# CostCategoryStatusType usage example
from mypy_boto3_ce.literals import CostCategoryStatusType
def get_value() -> CostCategoryStatusType:
return "APPLIED"
# CostCategoryStatusType definition
CostCategoryStatusType = Literal[
"APPLIED",
"PROCESSING",
]
DimensionType#
# DimensionType usage example
from mypy_boto3_ce.literals import DimensionType
def get_value() -> DimensionType:
return "AGREEMENT_END_DATE_TIME_AFTER"
# DimensionType definition
DimensionType = Literal[
"AGREEMENT_END_DATE_TIME_AFTER",
"AGREEMENT_END_DATE_TIME_BEFORE",
"ANOMALY_TOTAL_IMPACT_ABSOLUTE",
"ANOMALY_TOTAL_IMPACT_PERCENTAGE",
"AZ",
"BILLING_ENTITY",
"CACHE_ENGINE",
"DATABASE_ENGINE",
"DEPLOYMENT_OPTION",
"INSTANCE_TYPE",
"INSTANCE_TYPE_FAMILY",
"INVOICING_ENTITY",
"LEGAL_ENTITY_NAME",
"LINKED_ACCOUNT",
"LINKED_ACCOUNT_NAME",
"OPERATING_SYSTEM",
"OPERATION",
"PAYMENT_OPTION",
"PLATFORM",
"PURCHASE_TYPE",
"RECORD_TYPE",
"REGION",
"RESERVATION_ID",
"RESOURCE_ID",
"RIGHTSIZING_TYPE",
"SAVINGS_PLAN_ARN",
"SAVINGS_PLANS_TYPE",
"SCOPE",
"SERVICE",
"SERVICE_CODE",
"SUBSCRIPTION_ID",
"TENANCY",
"USAGE_TYPE",
"USAGE_TYPE_GROUP",
]
FindingReasonCodeType#
# FindingReasonCodeType usage example
from mypy_boto3_ce.literals import FindingReasonCodeType
def get_value() -> FindingReasonCodeType:
return "CPU_OVER_PROVISIONED"
# FindingReasonCodeType definition
FindingReasonCodeType = Literal[
"CPU_OVER_PROVISIONED",
"CPU_UNDER_PROVISIONED",
"DISK_IOPS_OVER_PROVISIONED",
"DISK_IOPS_UNDER_PROVISIONED",
"DISK_THROUGHPUT_OVER_PROVISIONED",
"DISK_THROUGHPUT_UNDER_PROVISIONED",
"EBS_IOPS_OVER_PROVISIONED",
"EBS_IOPS_UNDER_PROVISIONED",
"EBS_THROUGHPUT_OVER_PROVISIONED",
"EBS_THROUGHPUT_UNDER_PROVISIONED",
"MEMORY_OVER_PROVISIONED",
"MEMORY_UNDER_PROVISIONED",
"NETWORK_BANDWIDTH_OVER_PROVISIONED",
"NETWORK_BANDWIDTH_UNDER_PROVISIONED",
"NETWORK_PPS_OVER_PROVISIONED",
"NETWORK_PPS_UNDER_PROVISIONED",
]
GenerationStatusType#
# GenerationStatusType usage example
from mypy_boto3_ce.literals import GenerationStatusType
def get_value() -> GenerationStatusType:
return "FAILED"
# GenerationStatusType definition
GenerationStatusType = Literal[
"FAILED",
"PROCESSING",
"SUCCEEDED",
]
GranularityType#
# GranularityType usage example
from mypy_boto3_ce.literals import GranularityType
def get_value() -> GranularityType:
return "DAILY"
# GranularityType definition
GranularityType = Literal[
"DAILY",
"HOURLY",
"MONTHLY",
]
GroupDefinitionTypeType#
# GroupDefinitionTypeType usage example
from mypy_boto3_ce.literals import GroupDefinitionTypeType
def get_value() -> GroupDefinitionTypeType:
return "COST_CATEGORY"
# GroupDefinitionTypeType definition
GroupDefinitionTypeType = Literal[
"COST_CATEGORY",
"DIMENSION",
"TAG",
]
LookbackPeriodInDaysType#
# LookbackPeriodInDaysType usage example
from mypy_boto3_ce.literals import LookbackPeriodInDaysType
def get_value() -> LookbackPeriodInDaysType:
return "SEVEN_DAYS"
# LookbackPeriodInDaysType definition
LookbackPeriodInDaysType = Literal[
"SEVEN_DAYS",
"SIXTY_DAYS",
"THIRTY_DAYS",
]
MatchOptionType#
# MatchOptionType usage example
from mypy_boto3_ce.literals import MatchOptionType
def get_value() -> MatchOptionType:
return "ABSENT"
# MatchOptionType definition
MatchOptionType = Literal[
"ABSENT",
"CASE_INSENSITIVE",
"CASE_SENSITIVE",
"CONTAINS",
"ENDS_WITH",
"EQUALS",
"GREATER_THAN_OR_EQUAL",
"STARTS_WITH",
]
MetricType#
# MetricType usage example
from mypy_boto3_ce.literals import MetricType
def get_value() -> MetricType:
return "AMORTIZED_COST"
# MetricType definition
MetricType = Literal[
"AMORTIZED_COST",
"BLENDED_COST",
"NET_AMORTIZED_COST",
"NET_UNBLENDED_COST",
"NORMALIZED_USAGE_AMOUNT",
"UNBLENDED_COST",
"USAGE_QUANTITY",
]
MonitorDimensionType#
# MonitorDimensionType usage example
from mypy_boto3_ce.literals import MonitorDimensionType
def get_value() -> MonitorDimensionType:
return "SERVICE"
# MonitorDimensionType definition
MonitorDimensionType = Literal[
"SERVICE",
]
MonitorTypeType#
# MonitorTypeType usage example
from mypy_boto3_ce.literals import MonitorTypeType
def get_value() -> MonitorTypeType:
return "CUSTOM"
# MonitorTypeType definition
MonitorTypeType = Literal[
"CUSTOM",
"DIMENSIONAL",
]
NumericOperatorType#
# NumericOperatorType usage example
from mypy_boto3_ce.literals import NumericOperatorType
def get_value() -> NumericOperatorType:
return "BETWEEN"
# NumericOperatorType definition
NumericOperatorType = Literal[
"BETWEEN",
"EQUAL",
"GREATER_THAN",
"GREATER_THAN_OR_EQUAL",
"LESS_THAN",
"LESS_THAN_OR_EQUAL",
]
OfferingClassType#
# OfferingClassType usage example
from mypy_boto3_ce.literals import OfferingClassType
def get_value() -> OfferingClassType:
return "CONVERTIBLE"
# OfferingClassType definition
OfferingClassType = Literal[
"CONVERTIBLE",
"STANDARD",
]
PaymentOptionType#
# PaymentOptionType usage example
from mypy_boto3_ce.literals import PaymentOptionType
def get_value() -> PaymentOptionType:
return "ALL_UPFRONT"
# PaymentOptionType definition
PaymentOptionType = Literal[
"ALL_UPFRONT",
"HEAVY_UTILIZATION",
"LIGHT_UTILIZATION",
"MEDIUM_UTILIZATION",
"NO_UPFRONT",
"PARTIAL_UPFRONT",
]
PlatformDifferenceType#
# PlatformDifferenceType usage example
from mypy_boto3_ce.literals import PlatformDifferenceType
def get_value() -> PlatformDifferenceType:
return "HYPERVISOR"
# PlatformDifferenceType definition
PlatformDifferenceType = Literal[
"HYPERVISOR",
"INSTANCE_STORE_AVAILABILITY",
"NETWORK_INTERFACE",
"STORAGE_INTERFACE",
"VIRTUALIZATION_TYPE",
]
RecommendationTargetType#
# RecommendationTargetType usage example
from mypy_boto3_ce.literals import RecommendationTargetType
def get_value() -> RecommendationTargetType:
return "CROSS_INSTANCE_FAMILY"
# RecommendationTargetType definition
RecommendationTargetType = Literal[
"CROSS_INSTANCE_FAMILY",
"SAME_INSTANCE_FAMILY",
]
RightsizingTypeType#
# RightsizingTypeType usage example
from mypy_boto3_ce.literals import RightsizingTypeType
def get_value() -> RightsizingTypeType:
return "MODIFY"
# RightsizingTypeType definition
RightsizingTypeType = Literal[
"MODIFY",
"TERMINATE",
]
SavingsPlansDataTypeType#
# SavingsPlansDataTypeType usage example
from mypy_boto3_ce.literals import SavingsPlansDataTypeType
def get_value() -> SavingsPlansDataTypeType:
return "AMORTIZED_COMMITMENT"
# SavingsPlansDataTypeType definition
SavingsPlansDataTypeType = Literal[
"AMORTIZED_COMMITMENT",
"ATTRIBUTES",
"SAVINGS",
"UTILIZATION",
]
SortOrderType#
# SortOrderType usage example
from mypy_boto3_ce.literals import SortOrderType
def get_value() -> SortOrderType:
return "ASCENDING"
# SortOrderType definition
SortOrderType = Literal[
"ASCENDING",
"DESCENDING",
]
SubscriberStatusType#
# SubscriberStatusType usage example
from mypy_boto3_ce.literals import SubscriberStatusType
def get_value() -> SubscriberStatusType:
return "CONFIRMED"
# SubscriberStatusType definition
SubscriberStatusType = Literal[
"CONFIRMED",
"DECLINED",
]
SubscriberTypeType#
# SubscriberTypeType usage example
from mypy_boto3_ce.literals import SubscriberTypeType
def get_value() -> SubscriberTypeType:
return "EMAIL"
# SubscriberTypeType definition
SubscriberTypeType = Literal[
"EMAIL",
"SNS",
]
SupportedSavingsPlansTypeType#
# SupportedSavingsPlansTypeType usage example
from mypy_boto3_ce.literals import SupportedSavingsPlansTypeType
def get_value() -> SupportedSavingsPlansTypeType:
return "COMPUTE_SP"
# SupportedSavingsPlansTypeType definition
SupportedSavingsPlansTypeType = Literal[
"COMPUTE_SP",
"EC2_INSTANCE_SP",
"SAGEMAKER_SP",
]
TermInYearsType#
# TermInYearsType usage example
from mypy_boto3_ce.literals import TermInYearsType
def get_value() -> TermInYearsType:
return "ONE_YEAR"
# TermInYearsType definition
TermInYearsType = Literal[
"ONE_YEAR",
"THREE_YEARS",
]
CostExplorerServiceName#
# CostExplorerServiceName usage example
from mypy_boto3_ce.literals import CostExplorerServiceName
def get_value() -> CostExplorerServiceName:
return "ce"
# CostExplorerServiceName definition
CostExplorerServiceName = Literal[
"ce",
]
ServiceName#
# ServiceName usage example
from mypy_boto3_ce.literals import ServiceName
def get_value() -> ServiceName:
return "accessanalyzer"
# ServiceName definition
ServiceName = Literal[
"accessanalyzer",
"account",
"acm",
"acm-pca",
"amp",
"amplify",
"amplifybackend",
"amplifyuibuilder",
"apigateway",
"apigatewaymanagementapi",
"apigatewayv2",
"appconfig",
"appconfigdata",
"appfabric",
"appflow",
"appintegrations",
"application-autoscaling",
"application-insights",
"application-signals",
"applicationcostprofiler",
"appmesh",
"apprunner",
"appstream",
"appsync",
"apptest",
"arc-zonal-shift",
"artifact",
"athena",
"auditmanager",
"autoscaling",
"autoscaling-plans",
"b2bi",
"backup",
"backup-gateway",
"batch",
"bcm-data-exports",
"bedrock",
"bedrock-agent",
"bedrock-agent-runtime",
"bedrock-runtime",
"billing",
"billingconductor",
"braket",
"budgets",
"ce",
"chatbot",
"chime",
"chime-sdk-identity",
"chime-sdk-media-pipelines",
"chime-sdk-meetings",
"chime-sdk-messaging",
"chime-sdk-voice",
"cleanrooms",
"cleanroomsml",
"cloud9",
"cloudcontrol",
"clouddirectory",
"cloudformation",
"cloudfront",
"cloudfront-keyvaluestore",
"cloudhsm",
"cloudhsmv2",
"cloudsearch",
"cloudsearchdomain",
"cloudtrail",
"cloudtrail-data",
"cloudwatch",
"codeartifact",
"codebuild",
"codecatalyst",
"codecommit",
"codeconnections",
"codedeploy",
"codeguru-reviewer",
"codeguru-security",
"codeguruprofiler",
"codepipeline",
"codestar-connections",
"codestar-notifications",
"cognito-identity",
"cognito-idp",
"cognito-sync",
"comprehend",
"comprehendmedical",
"compute-optimizer",
"config",
"connect",
"connect-contact-lens",
"connectcampaigns",
"connectcampaignsv2",
"connectcases",
"connectparticipant",
"controlcatalog",
"controltower",
"cost-optimization-hub",
"cur",
"customer-profiles",
"databrew",
"dataexchange",
"datapipeline",
"datasync",
"datazone",
"dax",
"deadline",
"detective",
"devicefarm",
"devops-guru",
"directconnect",
"discovery",
"dlm",
"dms",
"docdb",
"docdb-elastic",
"drs",
"ds",
"ds-data",
"dynamodb",
"dynamodbstreams",
"ebs",
"ec2",
"ec2-instance-connect",
"ecr",
"ecr-public",
"ecs",
"efs",
"eks",
"eks-auth",
"elastic-inference",
"elasticache",
"elasticbeanstalk",
"elastictranscoder",
"elb",
"elbv2",
"emr",
"emr-containers",
"emr-serverless",
"entityresolution",
"es",
"events",
"evidently",
"finspace",
"finspace-data",
"firehose",
"fis",
"fms",
"forecast",
"forecastquery",
"frauddetector",
"freetier",
"fsx",
"gamelift",
"geo-maps",
"geo-places",
"geo-routes",
"glacier",
"globalaccelerator",
"glue",
"grafana",
"greengrass",
"greengrassv2",
"groundstation",
"guardduty",
"health",
"healthlake",
"iam",
"identitystore",
"imagebuilder",
"importexport",
"inspector",
"inspector-scan",
"inspector2",
"internetmonitor",
"iot",
"iot-data",
"iot-jobs-data",
"iot1click-devices",
"iot1click-projects",
"iotanalytics",
"iotdeviceadvisor",
"iotevents",
"iotevents-data",
"iotfleethub",
"iotfleetwise",
"iotsecuretunneling",
"iotsitewise",
"iotthingsgraph",
"iottwinmaker",
"iotwireless",
"ivs",
"ivs-realtime",
"ivschat",
"kafka",
"kafkaconnect",
"kendra",
"kendra-ranking",
"keyspaces",
"kinesis",
"kinesis-video-archived-media",
"kinesis-video-media",
"kinesis-video-signaling",
"kinesis-video-webrtc-storage",
"kinesisanalytics",
"kinesisanalyticsv2",
"kinesisvideo",
"kms",
"lakeformation",
"lambda",
"launch-wizard",
"lex-models",
"lex-runtime",
"lexv2-models",
"lexv2-runtime",
"license-manager",
"license-manager-linux-subscriptions",
"license-manager-user-subscriptions",
"lightsail",
"location",
"logs",
"lookoutequipment",
"lookoutmetrics",
"lookoutvision",
"m2",
"machinelearning",
"macie2",
"mailmanager",
"managedblockchain",
"managedblockchain-query",
"marketplace-agreement",
"marketplace-catalog",
"marketplace-deployment",
"marketplace-entitlement",
"marketplace-reporting",
"marketplacecommerceanalytics",
"mediaconnect",
"mediaconvert",
"medialive",
"mediapackage",
"mediapackage-vod",
"mediapackagev2",
"mediastore",
"mediastore-data",
"mediatailor",
"medical-imaging",
"memorydb",
"meteringmarketplace",
"mgh",
"mgn",
"migration-hub-refactor-spaces",
"migrationhub-config",
"migrationhuborchestrator",
"migrationhubstrategy",
"mq",
"mturk",
"mwaa",
"neptune",
"neptune-graph",
"neptunedata",
"network-firewall",
"networkmanager",
"networkmonitor",
"oam",
"omics",
"opensearch",
"opensearchserverless",
"opsworks",
"opsworkscm",
"organizations",
"osis",
"outposts",
"panorama",
"partnercentral-selling",
"payment-cryptography",
"payment-cryptography-data",
"pca-connector-ad",
"pca-connector-scep",
"pcs",
"personalize",
"personalize-events",
"personalize-runtime",
"pi",
"pinpoint",
"pinpoint-email",
"pinpoint-sms-voice",
"pinpoint-sms-voice-v2",
"pipes",
"polly",
"pricing",
"privatenetworks",
"proton",
"qapps",
"qbusiness",
"qconnect",
"qldb",
"qldb-session",
"quicksight",
"ram",
"rbin",
"rds",
"rds-data",
"redshift",
"redshift-data",
"redshift-serverless",
"rekognition",
"repostspace",
"resiliencehub",
"resource-explorer-2",
"resource-groups",
"resourcegroupstaggingapi",
"robomaker",
"rolesanywhere",
"route53",
"route53-recovery-cluster",
"route53-recovery-control-config",
"route53-recovery-readiness",
"route53domains",
"route53profiles",
"route53resolver",
"rum",
"s3",
"s3control",
"s3outposts",
"sagemaker",
"sagemaker-a2i-runtime",
"sagemaker-edge",
"sagemaker-featurestore-runtime",
"sagemaker-geospatial",
"sagemaker-metrics",
"sagemaker-runtime",
"savingsplans",
"scheduler",
"schemas",
"sdb",
"secretsmanager",
"securityhub",
"securitylake",
"serverlessrepo",
"service-quotas",
"servicecatalog",
"servicecatalog-appregistry",
"servicediscovery",
"ses",
"sesv2",
"shield",
"signer",
"simspaceweaver",
"sms",
"sms-voice",
"snow-device-management",
"snowball",
"sns",
"socialmessaging",
"sqs",
"ssm",
"ssm-contacts",
"ssm-incidents",
"ssm-quicksetup",
"ssm-sap",
"sso",
"sso-admin",
"sso-oidc",
"stepfunctions",
"storagegateway",
"sts",
"supplychain",
"support",
"support-app",
"swf",
"synthetics",
"taxsettings",
"textract",
"timestream-influxdb",
"timestream-query",
"timestream-write",
"tnb",
"transcribe",
"transfer",
"translate",
"trustedadvisor",
"verifiedpermissions",
"voice-id",
"vpc-lattice",
"waf",
"waf-regional",
"wafv2",
"wellarchitected",
"wisdom",
"workdocs",
"workmail",
"workmailmessageflow",
"workspaces",
"workspaces-thin-client",
"workspaces-web",
"xray",
]
ResourceServiceName#
# ResourceServiceName usage example
from mypy_boto3_ce.literals import ResourceServiceName
def get_value() -> ResourceServiceName:
return "cloudformation"
# ResourceServiceName definition
ResourceServiceName = Literal[
"cloudformation",
"cloudwatch",
"dynamodb",
"ec2",
"glacier",
"iam",
"opsworks",
"s3",
"sns",
"sqs",
]