Skip to content

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"
Definition
AccountScopeType = Literal[
    "LINKED",
    "PAYER",
]

AnomalyFeedbackTypeType

Usage Example
from mypy_boto3_ce.literals import AnomalyFeedbackTypeType

def get_value() -> AnomalyFeedbackTypeType:
    return "NO"
Definition
AnomalyFeedbackTypeType = Literal[
    "NO",
    "PLANNED_ACTIVITY",
    "YES",
]

AnomalySubscriptionFrequencyType

Usage Example
from mypy_boto3_ce.literals import AnomalySubscriptionFrequencyType

def get_value() -> AnomalySubscriptionFrequencyType:
    return "DAILY"
Definition
AnomalySubscriptionFrequencyType = Literal[
    "DAILY",
    "IMMEDIATE",
    "WEEKLY",
]

ContextType

Usage Example
from mypy_boto3_ce.literals import ContextType

def get_value() -> ContextType:
    return "COST_AND_USAGE"
Definition
ContextType = Literal[
    "COST_AND_USAGE",
    "RESERVATIONS",
    "SAVINGS_PLANS",
]

CostAllocationTagStatusType

Usage Example
from mypy_boto3_ce.literals import CostAllocationTagStatusType

def get_value() -> CostAllocationTagStatusType:
    return "Active"
Definition
CostAllocationTagStatusType = Literal[
    "Active",
    "Inactive",
]

CostAllocationTagTypeType

Usage Example
from mypy_boto3_ce.literals import CostAllocationTagTypeType

def get_value() -> CostAllocationTagTypeType:
    return "AWSGenerated"
Definition
CostAllocationTagTypeType = Literal[
    "AWSGenerated",
    "UserDefined",
]

CostCategoryInheritedValueDimensionNameType

Usage Example
from mypy_boto3_ce.literals import CostCategoryInheritedValueDimensionNameType

def get_value() -> CostCategoryInheritedValueDimensionNameType:
    return "LINKED_ACCOUNT_NAME"
Definition
CostCategoryInheritedValueDimensionNameType = Literal[
    "LINKED_ACCOUNT_NAME",
    "TAG",
]

CostCategoryRuleTypeType

Usage Example
from mypy_boto3_ce.literals import CostCategoryRuleTypeType

def get_value() -> CostCategoryRuleTypeType:
    return "INHERITED_VALUE"
Definition
CostCategoryRuleTypeType = Literal[
    "INHERITED_VALUE",
    "REGULAR",
]

CostCategoryRuleVersionType

Usage Example
from mypy_boto3_ce.literals import CostCategoryRuleVersionType

def get_value() -> CostCategoryRuleVersionType:
    return "CostCategoryExpression.v1"
Definition
CostCategoryRuleVersionType = Literal[
    "CostCategoryExpression.v1",
]

CostCategorySplitChargeMethodType

Usage Example
from mypy_boto3_ce.literals import CostCategorySplitChargeMethodType

def get_value() -> CostCategorySplitChargeMethodType:
    return "EVEN"
Definition
CostCategorySplitChargeMethodType = Literal[
    "EVEN",
    "FIXED",
    "PROPORTIONAL",
]

CostCategorySplitChargeRuleParameterTypeType

Usage Example
from mypy_boto3_ce.literals import CostCategorySplitChargeRuleParameterTypeType

def get_value() -> CostCategorySplitChargeRuleParameterTypeType:
    return "ALLOCATION_PERCENTAGES"
Definition
CostCategorySplitChargeRuleParameterTypeType = Literal[
    "ALLOCATION_PERCENTAGES",
]

CostCategoryStatusComponentType

Usage Example
from mypy_boto3_ce.literals import CostCategoryStatusComponentType

def get_value() -> CostCategoryStatusComponentType:
    return "COST_EXPLORER"
Definition
CostCategoryStatusComponentType = Literal[
    "COST_EXPLORER",
]

CostCategoryStatusType

Usage Example
from mypy_boto3_ce.literals import CostCategoryStatusType

def get_value() -> CostCategoryStatusType:
    return "APPLIED"
Definition
CostCategoryStatusType = Literal[
    "APPLIED",
    "PROCESSING",
]

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",
    "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",
]

GranularityType

Usage Example
from mypy_boto3_ce.literals import GranularityType

def get_value() -> GranularityType:
    return "DAILY"
Definition
GranularityType = Literal[
    "DAILY",
    "HOURLY",
    "MONTHLY",
]

GroupDefinitionTypeType

Usage Example
from mypy_boto3_ce.literals import GroupDefinitionTypeType

def get_value() -> GroupDefinitionTypeType:
    return "COST_CATEGORY"
Definition
GroupDefinitionTypeType = Literal[
    "COST_CATEGORY",
    "DIMENSION",
    "TAG",
]

LookbackPeriodInDaysType

Usage Example
from mypy_boto3_ce.literals import LookbackPeriodInDaysType

def get_value() -> LookbackPeriodInDaysType:
    return "SEVEN_DAYS"
Definition
LookbackPeriodInDaysType = Literal[
    "SEVEN_DAYS",
    "SIXTY_DAYS",
    "THIRTY_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",
    "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"
Definition
MonitorDimensionType = Literal[
    "SERVICE",
]

MonitorTypeType

Usage Example
from mypy_boto3_ce.literals import MonitorTypeType

def get_value() -> MonitorTypeType:
    return "CUSTOM"
Definition
MonitorTypeType = Literal[
    "CUSTOM",
    "DIMENSIONAL",
]

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"
Definition
OfferingClassType = Literal[
    "CONVERTIBLE",
    "STANDARD",
]

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"
Definition
RecommendationTargetType = Literal[
    "CROSS_INSTANCE_FAMILY",
    "SAME_INSTANCE_FAMILY",
]

RightsizingTypeType

Usage Example
from mypy_boto3_ce.literals import RightsizingTypeType

def get_value() -> RightsizingTypeType:
    return "MODIFY"
Definition
RightsizingTypeType = Literal[
    "MODIFY",
    "TERMINATE",
]

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"
Definition
SortOrderType = Literal[
    "ASCENDING",
    "DESCENDING",
]

SubscriberStatusType

Usage Example
from mypy_boto3_ce.literals import SubscriberStatusType

def get_value() -> SubscriberStatusType:
    return "CONFIRMED"
Definition
SubscriberStatusType = Literal[
    "CONFIRMED",
    "DECLINED",
]

SubscriberTypeType

Usage Example
from mypy_boto3_ce.literals import SubscriberTypeType

def get_value() -> SubscriberTypeType:
    return "EMAIL"
Definition
SubscriberTypeType = Literal[
    "EMAIL",
    "SNS",
]

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"
Definition
TermInYearsType = Literal[
    "ONE_YEAR",
    "THREE_YEARS",
]

CostExplorerServiceName

Usage Example
from mypy_boto3_ce.literals import CostExplorerServiceName

def get_value() -> CostExplorerServiceName:
    return "ce"
Definition
CostExplorerServiceName = Literal[
    "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",
    "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",
    "cloud9",
    "cloudcontrol",
    "clouddirectory",
    "cloudformation",
    "cloudfront",
    "cloudhsm",
    "cloudhsmv2",
    "cloudsearch",
    "cloudsearchdomain",
    "cloudtrail",
    "cloudwatch",
    "codeartifact",
    "codebuild",
    "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",
    "connectparticipant",
    "controltower",
    "cur",
    "customer-profiles",
    "databrew",
    "dataexchange",
    "datapipeline",
    "datasync",
    "dax",
    "detective",
    "devicefarm",
    "devops-guru",
    "directconnect",
    "discovery",
    "dlm",
    "dms",
    "docdb",
    "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",
    "iot",
    "iot-data",
    "iot-jobs-data",
    "iot1click-devices",
    "iot1click-projects",
    "iotanalytics",
    "iotdeviceadvisor",
    "iotevents",
    "iotevents-data",
    "iotfleethub",
    "iotfleetwise",
    "iotsecuretunneling",
    "iotsitewise",
    "iotthingsgraph",
    "iottwinmaker",
    "iotwireless",
    "ivs",
    "ivschat",
    "kafka",
    "kafkaconnect",
    "kendra",
    "keyspaces",
    "kinesis",
    "kinesis-video-archived-media",
    "kinesis-video-media",
    "kinesis-video-signaling",
    "kinesisanalytics",
    "kinesisanalyticsv2",
    "kinesisvideo",
    "kms",
    "lakeformation",
    "lambda",
    "lex-models",
    "lex-runtime",
    "lexv2-models",
    "lexv2-runtime",
    "license-manager",
    "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",
    "migrationhubstrategy",
    "mobile",
    "mq",
    "mturk",
    "mwaa",
    "neptune",
    "network-firewall",
    "networkmanager",
    "nimble",
    "opensearch",
    "opsworks",
    "opsworkscm",
    "organizations",
    "outposts",
    "panorama",
    "personalize",
    "personalize-events",
    "personalize-runtime",
    "pi",
    "pinpoint",
    "pinpoint-email",
    "pinpoint-sms-voice",
    "pinpoint-sms-voice-v2",
    "polly",
    "pricing",
    "privatenetworks",
    "proton",
    "qldb",
    "qldb-session",
    "quicksight",
    "ram",
    "rbin",
    "rds",
    "rds-data",
    "redshift",
    "redshift-data",
    "redshift-serverless",
    "rekognition",
    "resiliencehub",
    "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-runtime",
    "savingsplans",
    "schemas",
    "sdb",
    "secretsmanager",
    "securityhub",
    "serverlessrepo",
    "service-quotas",
    "servicecatalog",
    "servicecatalog-appregistry",
    "servicediscovery",
    "ses",
    "sesv2",
    "shield",
    "signer",
    "sms",
    "sms-voice",
    "snow-device-management",
    "snowball",
    "sns",
    "sqs",
    "ssm",
    "ssm-contacts",
    "ssm-incidents",
    "sso",
    "sso-admin",
    "sso-oidc",
    "stepfunctions",
    "storagegateway",
    "sts",
    "support",
    "support-app",
    "swf",
    "synthetics",
    "textract",
    "timestream-query",
    "timestream-write",
    "transcribe",
    "transfer",
    "translate",
    "voice-id",
    "waf",
    "waf-regional",
    "wafv2",
    "wellarchitected",
    "wisdom",
    "workdocs",
    "worklink",
    "workmail",
    "workmailmessageflow",
    "workspaces",
    "workspaces-web",
    "xray",
]

ResourceServiceName

Usage Example
from mypy_boto3_ce.literals import ResourceServiceName

def get_value() -> ResourceServiceName:
    return "cloudformation"
Definition
ResourceServiceName = Literal[
    "cloudformation",
    "cloudwatch",
    "dynamodb",
    "ec2",
    "glacier",
    "iam",
    "opsworks",
    "s3",
    "sns",
    "sqs",
]