Literals
Index > CostExplorer > Literals
Auto-generated documentation for CostExplorer type annotations stubs module mypy-boto3-ce.
AccountScopeType
Usage Example
from mypy_boto3_ce.literals import AccountScopeType
def get_value() -> AccountScopeType:
return "LINKED"
AnomalyFeedbackTypeType
Usage Example
from mypy_boto3_ce.literals import AnomalyFeedbackTypeType
def get_value() -> AnomalyFeedbackTypeType:
return "NO"
AnomalySubscriptionFrequencyType
Usage Example
from mypy_boto3_ce.literals import AnomalySubscriptionFrequencyType
def get_value() -> AnomalySubscriptionFrequencyType:
return "DAILY"
ContextType
Usage Example
from mypy_boto3_ce.literals import ContextType
def get_value() -> ContextType:
return "COST_AND_USAGE"
CostAllocationTagStatusType
Usage Example
from mypy_boto3_ce.literals import CostAllocationTagStatusType
def get_value() -> CostAllocationTagStatusType:
return "Active"
CostAllocationTagTypeType
Usage Example
from mypy_boto3_ce.literals import CostAllocationTagTypeType
def get_value() -> CostAllocationTagTypeType:
return "AWSGenerated"
CostCategoryInheritedValueDimensionNameType
Usage Example
from mypy_boto3_ce.literals import CostCategoryInheritedValueDimensionNameType
def get_value() -> CostCategoryInheritedValueDimensionNameType:
return "LINKED_ACCOUNT_NAME"
CostCategoryRuleTypeType
Usage Example
from mypy_boto3_ce.literals import CostCategoryRuleTypeType
def get_value() -> CostCategoryRuleTypeType:
return "INHERITED_VALUE"
CostCategoryRuleVersionType
Usage Example
from mypy_boto3_ce.literals import CostCategoryRuleVersionType
def get_value() -> CostCategoryRuleVersionType:
return "CostCategoryExpression.v1"
CostCategorySplitChargeMethodType
Usage Example
from mypy_boto3_ce.literals import CostCategorySplitChargeMethodType
def get_value() -> CostCategorySplitChargeMethodType:
return "EVEN"
CostCategorySplitChargeRuleParameterTypeType
Usage Example
from mypy_boto3_ce.literals import CostCategorySplitChargeRuleParameterTypeType
def get_value() -> CostCategorySplitChargeRuleParameterTypeType:
return "ALLOCATION_PERCENTAGES"
CostCategoryStatusComponentType
Usage Example
from mypy_boto3_ce.literals import CostCategoryStatusComponentType
def get_value() -> CostCategoryStatusComponentType:
return "COST_EXPLORER"
CostCategoryStatusType
Usage Example
from mypy_boto3_ce.literals import CostCategoryStatusType
def get_value() -> CostCategoryStatusType:
return "APPLIED"
DimensionType
Usage Example
from mypy_boto3_ce.literals import DimensionType
def get_value() -> DimensionType:
return "AGREEMENT_END_DATE_TIME_AFTER"
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
Usage Example
from mypy_boto3_ce.literals import FindingReasonCodeType
def get_value() -> FindingReasonCodeType:
return "CPU_OVER_PROVISIONED"
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
Usage Example
from mypy_boto3_ce.literals import GenerationStatusType
def get_value() -> GenerationStatusType:
return "FAILED"
GranularityType
Usage Example
from mypy_boto3_ce.literals import GranularityType
def get_value() -> GranularityType:
return "DAILY"
GroupDefinitionTypeType
Usage Example
from mypy_boto3_ce.literals import GroupDefinitionTypeType
def get_value() -> GroupDefinitionTypeType:
return "COST_CATEGORY"
LookbackPeriodInDaysType
Usage Example
from mypy_boto3_ce.literals import LookbackPeriodInDaysType
def get_value() -> LookbackPeriodInDaysType:
return "SEVEN_DAYS"
MatchOptionType
Usage Example
from mypy_boto3_ce.literals import MatchOptionType
def get_value() -> MatchOptionType:
return "ABSENT"
Definition
MatchOptionType = Literal[
"ABSENT",
"CASE_INSENSITIVE",
"CASE_SENSITIVE",
"CONTAINS",
"ENDS_WITH",
"EQUALS",
"GREATER_THAN_OR_EQUAL",
"STARTS_WITH",
]
MetricType
Usage Example
from mypy_boto3_ce.literals import MetricType
def get_value() -> MetricType:
return "AMORTIZED_COST"
Definition
MetricType = Literal[
"AMORTIZED_COST",
"BLENDED_COST",
"NET_AMORTIZED_COST",
"NET_UNBLENDED_COST",
"NORMALIZED_USAGE_AMOUNT",
"UNBLENDED_COST",
"USAGE_QUANTITY",
]
MonitorDimensionType
Usage Example
from mypy_boto3_ce.literals import MonitorDimensionType
def get_value() -> MonitorDimensionType:
return "SERVICE"
MonitorTypeType
Usage Example
from mypy_boto3_ce.literals import MonitorTypeType
def get_value() -> MonitorTypeType:
return "CUSTOM"
NumericOperatorType
Usage Example
from mypy_boto3_ce.literals import NumericOperatorType
def get_value() -> NumericOperatorType:
return "BETWEEN"
Definition
NumericOperatorType = Literal[
"BETWEEN",
"EQUAL",
"GREATER_THAN",
"GREATER_THAN_OR_EQUAL",
"LESS_THAN",
"LESS_THAN_OR_EQUAL",
]
OfferingClassType
Usage Example
from mypy_boto3_ce.literals import OfferingClassType
def get_value() -> OfferingClassType:
return "CONVERTIBLE"
PaymentOptionType
Usage Example
from mypy_boto3_ce.literals import PaymentOptionType
def get_value() -> PaymentOptionType:
return "ALL_UPFRONT"
Definition
PaymentOptionType = Literal[
"ALL_UPFRONT",
"HEAVY_UTILIZATION",
"LIGHT_UTILIZATION",
"MEDIUM_UTILIZATION",
"NO_UPFRONT",
"PARTIAL_UPFRONT",
]
PlatformDifferenceType
Usage Example
from mypy_boto3_ce.literals import PlatformDifferenceType
def get_value() -> PlatformDifferenceType:
return "HYPERVISOR"
Definition
PlatformDifferenceType = Literal[
"HYPERVISOR",
"INSTANCE_STORE_AVAILABILITY",
"NETWORK_INTERFACE",
"STORAGE_INTERFACE",
"VIRTUALIZATION_TYPE",
]
RecommendationTargetType
Usage Example
from mypy_boto3_ce.literals import RecommendationTargetType
def get_value() -> RecommendationTargetType:
return "CROSS_INSTANCE_FAMILY"
RightsizingTypeType
Usage Example
from mypy_boto3_ce.literals import RightsizingTypeType
def get_value() -> RightsizingTypeType:
return "MODIFY"
SavingsPlansDataTypeType
Usage Example
from mypy_boto3_ce.literals import SavingsPlansDataTypeType
def get_value() -> SavingsPlansDataTypeType:
return "AMORTIZED_COMMITMENT"
Definition
SavingsPlansDataTypeType = Literal[
"AMORTIZED_COMMITMENT",
"ATTRIBUTES",
"SAVINGS",
"UTILIZATION",
]
SortOrderType
Usage Example
from mypy_boto3_ce.literals import SortOrderType
def get_value() -> SortOrderType:
return "ASCENDING"
SubscriberStatusType
Usage Example
from mypy_boto3_ce.literals import SubscriberStatusType
def get_value() -> SubscriberStatusType:
return "CONFIRMED"
SubscriberTypeType
Usage Example
from mypy_boto3_ce.literals import SubscriberTypeType
def get_value() -> SubscriberTypeType:
return "EMAIL"
SupportedSavingsPlansTypeType
Usage Example
from mypy_boto3_ce.literals import SupportedSavingsPlansTypeType
def get_value() -> SupportedSavingsPlansTypeType:
return "COMPUTE_SP"
Definition
SupportedSavingsPlansTypeType = Literal[
"COMPUTE_SP",
"EC2_INSTANCE_SP",
"SAGEMAKER_SP",
]
TermInYearsType
Usage Example
from mypy_boto3_ce.literals import TermInYearsType
def get_value() -> TermInYearsType:
return "ONE_YEAR"
CostExplorerServiceName
Usage Example
from mypy_boto3_ce.literals import CostExplorerServiceName
def get_value() -> CostExplorerServiceName:
return "ce"
ServiceName
Usage Example
from mypy_boto3_ce.literals import ServiceName
def get_value() -> ServiceName:
return "accessanalyzer"
Definition
ServiceName = Literal[
"accessanalyzer",
"account",
"acm",
"acm-pca",
"alexaforbusiness",
"amp",
"amplify",
"amplifybackend",
"amplifyuibuilder",
"apigateway",
"apigatewaymanagementapi",
"apigatewayv2",
"appconfig",
"appconfigdata",
"appflow",
"appintegrations",
"application-autoscaling",
"application-insights",
"applicationcostprofiler",
"appmesh",
"apprunner",
"appstream",
"appsync",
"arc-zonal-shift",
"athena",
"auditmanager",
"autoscaling",
"autoscaling-plans",
"backup",
"backup-gateway",
"backupstorage",
"batch",
"billingconductor",
"braket",
"budgets",
"ce",
"chime",
"chime-sdk-identity",
"chime-sdk-media-pipelines",
"chime-sdk-meetings",
"chime-sdk-messaging",
"chime-sdk-voice",
"cleanrooms",
"cloud9",
"cloudcontrol",
"clouddirectory",
"cloudformation",
"cloudfront",
"cloudhsm",
"cloudhsmv2",
"cloudsearch",
"cloudsearchdomain",
"cloudtrail",
"cloudtrail-data",
"cloudwatch",
"codeartifact",
"codebuild",
"codecatalyst",
"codecommit",
"codedeploy",
"codeguru-reviewer",
"codeguruprofiler",
"codepipeline",
"codestar",
"codestar-connections",
"codestar-notifications",
"cognito-identity",
"cognito-idp",
"cognito-sync",
"comprehend",
"comprehendmedical",
"compute-optimizer",
"config",
"connect",
"connect-contact-lens",
"connectcampaigns",
"connectcases",
"connectparticipant",
"controltower",
"cur",
"customer-profiles",
"databrew",
"dataexchange",
"datapipeline",
"datasync",
"dax",
"detective",
"devicefarm",
"devops-guru",
"directconnect",
"discovery",
"dlm",
"dms",
"docdb",
"docdb-elastic",
"drs",
"ds",
"dynamodb",
"dynamodbstreams",
"ebs",
"ec2",
"ec2-instance-connect",
"ecr",
"ecr-public",
"ecs",
"efs",
"eks",
"elastic-inference",
"elasticache",
"elasticbeanstalk",
"elastictranscoder",
"elb",
"elbv2",
"emr",
"emr-containers",
"emr-serverless",
"es",
"events",
"evidently",
"finspace",
"finspace-data",
"firehose",
"fis",
"fms",
"forecast",
"forecastquery",
"frauddetector",
"fsx",
"gamelift",
"gamesparks",
"glacier",
"globalaccelerator",
"glue",
"grafana",
"greengrass",
"greengrassv2",
"groundstation",
"guardduty",
"health",
"healthlake",
"honeycode",
"iam",
"identitystore",
"imagebuilder",
"importexport",
"inspector",
"inspector2",
"internetmonitor",
"iot",
"iot-data",
"iot-jobs-data",
"iot-roborunner",
"iot1click-devices",
"iot1click-projects",
"iotanalytics",
"iotdeviceadvisor",
"iotevents",
"iotevents-data",
"iotfleethub",
"iotfleetwise",
"iotsecuretunneling",
"iotsitewise",
"iotthingsgraph",
"iottwinmaker",
"iotwireless",
"ivs",
"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",
"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",
"macie",
"macie2",
"managedblockchain",
"marketplace-catalog",
"marketplace-entitlement",
"marketplacecommerceanalytics",
"mediaconnect",
"mediaconvert",
"medialive",
"mediapackage",
"mediapackage-vod",
"mediastore",
"mediastore-data",
"mediatailor",
"memorydb",
"meteringmarketplace",
"mgh",
"mgn",
"migration-hub-refactor-spaces",
"migrationhub-config",
"migrationhuborchestrator",
"migrationhubstrategy",
"mobile",
"mq",
"mturk",
"mwaa",
"neptune",
"network-firewall",
"networkmanager",
"nimble",
"oam",
"omics",
"opensearch",
"opensearchserverless",
"opsworks",
"opsworkscm",
"organizations",
"outposts",
"panorama",
"personalize",
"personalize-events",
"personalize-runtime",
"pi",
"pinpoint",
"pinpoint-email",
"pinpoint-sms-voice",
"pinpoint-sms-voice-v2",
"pipes",
"polly",
"pricing",
"privatenetworks",
"proton",
"qldb",
"qldb-session",
"quicksight",
"ram",
"rbin",
"rds",
"rds-data",
"redshift",
"redshift-data",
"redshift-serverless",
"rekognition",
"resiliencehub",
"resource-explorer-2",
"resource-groups",
"resourcegroupstaggingapi",
"robomaker",
"rolesanywhere",
"route53",
"route53-recovery-cluster",
"route53-recovery-control-config",
"route53-recovery-readiness",
"route53domains",
"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",
"sqs",
"ssm",
"ssm-contacts",
"ssm-incidents",
"ssm-sap",
"sso",
"sso-admin",
"sso-oidc",
"stepfunctions",
"storagegateway",
"sts",
"support",
"support-app",
"swf",
"synthetics",
"textract",
"timestream-query",
"timestream-write",
"tnb",
"transcribe",
"transfer",
"translate",
"voice-id",
"waf",
"waf-regional",
"wafv2",
"wellarchitected",
"wisdom",
"workdocs",
"worklink",
"workmail",
"workmailmessageflow",
"workspaces",
"workspaces-web",
"xray",
]