Skip to content

Literals#

Index > CloudTrail > Literals

Auto-generated documentation for CloudTrail type annotations stubs module mypy-boto3-cloudtrail.

BillingModeType#

# BillingModeType usage example

from mypy_boto3_cloudtrail.literals import BillingModeType

def get_value() -> BillingModeType:
    return "EXTENDABLE_RETENTION_PRICING"
# BillingModeType definition

BillingModeType = Literal[
    "EXTENDABLE_RETENTION_PRICING",
    "FIXED_RETENTION_PRICING",
]

DeliveryStatusType#

# DeliveryStatusType usage example

from mypy_boto3_cloudtrail.literals import DeliveryStatusType

def get_value() -> DeliveryStatusType:
    return "ACCESS_DENIED"
# DeliveryStatusType definition

DeliveryStatusType = Literal[
    "ACCESS_DENIED",
    "ACCESS_DENIED_SIGNING_FILE",
    "CANCELLED",
    "FAILED",
    "FAILED_SIGNING_FILE",
    "PENDING",
    "RESOURCE_NOT_FOUND",
    "SUCCESS",
    "UNKNOWN",
]

DestinationTypeType#

# DestinationTypeType usage example

from mypy_boto3_cloudtrail.literals import DestinationTypeType

def get_value() -> DestinationTypeType:
    return "AWS_SERVICE"
# DestinationTypeType definition

DestinationTypeType = Literal[
    "AWS_SERVICE",
    "EVENT_DATA_STORE",
]

EventCategoryType#

# EventCategoryType usage example

from mypy_boto3_cloudtrail.literals import EventCategoryType

def get_value() -> EventCategoryType:
    return "insight"
# EventCategoryType definition

EventCategoryType = Literal[
    "insight",
]

EventDataStoreStatusType#

# EventDataStoreStatusType usage example

from mypy_boto3_cloudtrail.literals import EventDataStoreStatusType

def get_value() -> EventDataStoreStatusType:
    return "CREATED"
# EventDataStoreStatusType definition

EventDataStoreStatusType = Literal[
    "CREATED",
    "ENABLED",
    "PENDING_DELETION",
    "STARTING_INGESTION",
    "STOPPED_INGESTION",
    "STOPPING_INGESTION",
]

FederationStatusType#

# FederationStatusType usage example

from mypy_boto3_cloudtrail.literals import FederationStatusType

def get_value() -> FederationStatusType:
    return "DISABLED"
# FederationStatusType definition

FederationStatusType = Literal[
    "DISABLED",
    "DISABLING",
    "ENABLED",
    "ENABLING",
]

ImportFailureStatusType#

# ImportFailureStatusType usage example

from mypy_boto3_cloudtrail.literals import ImportFailureStatusType

def get_value() -> ImportFailureStatusType:
    return "FAILED"
# ImportFailureStatusType definition

ImportFailureStatusType = Literal[
    "FAILED",
    "RETRY",
    "SUCCEEDED",
]

ImportStatusType#

# ImportStatusType usage example

from mypy_boto3_cloudtrail.literals import ImportStatusType

def get_value() -> ImportStatusType:
    return "COMPLETED"
# ImportStatusType definition

ImportStatusType = Literal[
    "COMPLETED",
    "FAILED",
    "IN_PROGRESS",
    "INITIALIZING",
    "STOPPED",
]

InsightTypeType#

# InsightTypeType usage example

from mypy_boto3_cloudtrail.literals import InsightTypeType

def get_value() -> InsightTypeType:
    return "ApiCallRateInsight"
# InsightTypeType definition

InsightTypeType = Literal[
    "ApiCallRateInsight",
    "ApiErrorRateInsight",
]

InsightsMetricDataTypeType#

# InsightsMetricDataTypeType usage example

from mypy_boto3_cloudtrail.literals import InsightsMetricDataTypeType

def get_value() -> InsightsMetricDataTypeType:
    return "FillWithZeros"
# InsightsMetricDataTypeType definition

InsightsMetricDataTypeType = Literal[
    "FillWithZeros",
    "NonZeroData",
]

ListImportFailuresPaginatorName#

# ListImportFailuresPaginatorName usage example

from mypy_boto3_cloudtrail.literals import ListImportFailuresPaginatorName

def get_value() -> ListImportFailuresPaginatorName:
    return "list_import_failures"
# ListImportFailuresPaginatorName definition

ListImportFailuresPaginatorName = Literal[
    "list_import_failures",
]

ListImportsPaginatorName#

# ListImportsPaginatorName usage example

from mypy_boto3_cloudtrail.literals import ListImportsPaginatorName

def get_value() -> ListImportsPaginatorName:
    return "list_imports"
# ListImportsPaginatorName definition

ListImportsPaginatorName = Literal[
    "list_imports",
]

ListPublicKeysPaginatorName#

# ListPublicKeysPaginatorName usage example

from mypy_boto3_cloudtrail.literals import ListPublicKeysPaginatorName

def get_value() -> ListPublicKeysPaginatorName:
    return "list_public_keys"
# ListPublicKeysPaginatorName definition

ListPublicKeysPaginatorName = Literal[
    "list_public_keys",
]

ListTagsPaginatorName#

# ListTagsPaginatorName usage example

from mypy_boto3_cloudtrail.literals import ListTagsPaginatorName

def get_value() -> ListTagsPaginatorName:
    return "list_tags"
# ListTagsPaginatorName definition

ListTagsPaginatorName = Literal[
    "list_tags",
]

ListTrailsPaginatorName#

# ListTrailsPaginatorName usage example

from mypy_boto3_cloudtrail.literals import ListTrailsPaginatorName

def get_value() -> ListTrailsPaginatorName:
    return "list_trails"
# ListTrailsPaginatorName definition

ListTrailsPaginatorName = Literal[
    "list_trails",
]

LookupAttributeKeyType#

# LookupAttributeKeyType usage example

from mypy_boto3_cloudtrail.literals import LookupAttributeKeyType

def get_value() -> LookupAttributeKeyType:
    return "AccessKeyId"
# LookupAttributeKeyType definition

LookupAttributeKeyType = Literal[
    "AccessKeyId",
    "EventId",
    "EventName",
    "EventSource",
    "ReadOnly",
    "ResourceName",
    "ResourceType",
    "Username",
]

LookupEventsPaginatorName#

# LookupEventsPaginatorName usage example

from mypy_boto3_cloudtrail.literals import LookupEventsPaginatorName

def get_value() -> LookupEventsPaginatorName:
    return "lookup_events"
# LookupEventsPaginatorName definition

LookupEventsPaginatorName = Literal[
    "lookup_events",
]

QueryStatusType#

# QueryStatusType usage example

from mypy_boto3_cloudtrail.literals import QueryStatusType

def get_value() -> QueryStatusType:
    return "CANCELLED"
# QueryStatusType definition

QueryStatusType = Literal[
    "CANCELLED",
    "FAILED",
    "FINISHED",
    "QUEUED",
    "RUNNING",
    "TIMED_OUT",
]

ReadWriteTypeType#

# ReadWriteTypeType usage example

from mypy_boto3_cloudtrail.literals import ReadWriteTypeType

def get_value() -> ReadWriteTypeType:
    return "All"
# ReadWriteTypeType definition

ReadWriteTypeType = Literal[
    "All",
    "ReadOnly",
    "WriteOnly",
]

CloudTrailServiceName#

# CloudTrailServiceName usage example

from mypy_boto3_cloudtrail.literals import CloudTrailServiceName

def get_value() -> CloudTrailServiceName:
    return "cloudtrail"
# CloudTrailServiceName definition

CloudTrailServiceName = Literal[
    "cloudtrail",
]

ServiceName#

# ServiceName usage example

from mypy_boto3_cloudtrail.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_cloudtrail.literals import ResourceServiceName

def get_value() -> ResourceServiceName:
    return "cloudformation"
# ResourceServiceName definition

ResourceServiceName = Literal[
    "cloudformation",
    "cloudwatch",
    "dynamodb",
    "ec2",
    "glacier",
    "iam",
    "opsworks",
    "s3",
    "sns",
    "sqs",
]

PaginatorName#

# PaginatorName usage example

from mypy_boto3_cloudtrail.literals import PaginatorName

def get_value() -> PaginatorName:
    return "list_import_failures"
# PaginatorName definition

PaginatorName = Literal[
    "list_import_failures",
    "list_imports",
    "list_public_keys",
    "list_tags",
    "list_trails",
    "lookup_events",
]

RegionName#

# RegionName usage example

from mypy_boto3_cloudtrail.literals import RegionName

def get_value() -> RegionName:
    return "af-south-1"
# RegionName definition

RegionName = Literal[
    "af-south-1",
    "ap-east-1",
    "ap-northeast-1",
    "ap-northeast-2",
    "ap-northeast-3",
    "ap-south-1",
    "ap-south-2",
    "ap-southeast-1",
    "ap-southeast-2",
    "ap-southeast-3",
    "ap-southeast-4",
    "ap-southeast-5",
    "ca-central-1",
    "ca-west-1",
    "eu-central-1",
    "eu-central-2",
    "eu-north-1",
    "eu-south-1",
    "eu-south-2",
    "eu-west-1",
    "eu-west-2",
    "eu-west-3",
    "il-central-1",
    "me-central-1",
    "me-south-1",
    "sa-east-1",
    "us-east-1",
    "us-east-2",
    "us-west-1",
    "us-west-2",
]