Skip to content

Literals#

Index > CloudWatchLogs > Literals

Auto-generated documentation for CloudWatchLogs type annotations stubs module mypy-boto3-logs.

AnomalyDetectorStatusType#

# AnomalyDetectorStatusType usage example

from mypy_boto3_logs.literals import AnomalyDetectorStatusType

def get_value() -> AnomalyDetectorStatusType:
    return "ANALYZING"
# AnomalyDetectorStatusType definition

AnomalyDetectorStatusType = Literal[
    "ANALYZING",
    "DELETED",
    "FAILED",
    "INITIALIZING",
    "PAUSED",
    "TRAINING",
]

DataProtectionStatusType#

# DataProtectionStatusType usage example

from mypy_boto3_logs.literals import DataProtectionStatusType

def get_value() -> DataProtectionStatusType:
    return "ACTIVATED"
# DataProtectionStatusType definition

DataProtectionStatusType = Literal[
    "ACTIVATED",
    "ARCHIVED",
    "DELETED",
    "DISABLED",
]

DeliveryDestinationTypeType#

# DeliveryDestinationTypeType usage example

from mypy_boto3_logs.literals import DeliveryDestinationTypeType

def get_value() -> DeliveryDestinationTypeType:
    return "CWL"
# DeliveryDestinationTypeType definition

DeliveryDestinationTypeType = Literal[
    "CWL",
    "FH",
    "S3",
]

DescribeDeliveriesPaginatorName#

# DescribeDeliveriesPaginatorName usage example

from mypy_boto3_logs.literals import DescribeDeliveriesPaginatorName

def get_value() -> DescribeDeliveriesPaginatorName:
    return "describe_deliveries"
# DescribeDeliveriesPaginatorName definition

DescribeDeliveriesPaginatorName = Literal[
    "describe_deliveries",
]

DescribeDeliveryDestinationsPaginatorName#

# DescribeDeliveryDestinationsPaginatorName usage example

from mypy_boto3_logs.literals import DescribeDeliveryDestinationsPaginatorName

def get_value() -> DescribeDeliveryDestinationsPaginatorName:
    return "describe_delivery_destinations"
# DescribeDeliveryDestinationsPaginatorName definition

DescribeDeliveryDestinationsPaginatorName = Literal[
    "describe_delivery_destinations",
]

DescribeDeliverySourcesPaginatorName#

# DescribeDeliverySourcesPaginatorName usage example

from mypy_boto3_logs.literals import DescribeDeliverySourcesPaginatorName

def get_value() -> DescribeDeliverySourcesPaginatorName:
    return "describe_delivery_sources"
# DescribeDeliverySourcesPaginatorName definition

DescribeDeliverySourcesPaginatorName = Literal[
    "describe_delivery_sources",
]

DescribeDestinationsPaginatorName#

# DescribeDestinationsPaginatorName usage example

from mypy_boto3_logs.literals import DescribeDestinationsPaginatorName

def get_value() -> DescribeDestinationsPaginatorName:
    return "describe_destinations"
# DescribeDestinationsPaginatorName definition

DescribeDestinationsPaginatorName = Literal[
    "describe_destinations",
]

DescribeExportTasksPaginatorName#

# DescribeExportTasksPaginatorName usage example

from mypy_boto3_logs.literals import DescribeExportTasksPaginatorName

def get_value() -> DescribeExportTasksPaginatorName:
    return "describe_export_tasks"
# DescribeExportTasksPaginatorName definition

DescribeExportTasksPaginatorName = Literal[
    "describe_export_tasks",
]

DescribeLogGroupsPaginatorName#

# DescribeLogGroupsPaginatorName usage example

from mypy_boto3_logs.literals import DescribeLogGroupsPaginatorName

def get_value() -> DescribeLogGroupsPaginatorName:
    return "describe_log_groups"
# DescribeLogGroupsPaginatorName definition

DescribeLogGroupsPaginatorName = Literal[
    "describe_log_groups",
]

DescribeLogStreamsPaginatorName#

# DescribeLogStreamsPaginatorName usage example

from mypy_boto3_logs.literals import DescribeLogStreamsPaginatorName

def get_value() -> DescribeLogStreamsPaginatorName:
    return "describe_log_streams"
# DescribeLogStreamsPaginatorName definition

DescribeLogStreamsPaginatorName = Literal[
    "describe_log_streams",
]

DescribeMetricFiltersPaginatorName#

# DescribeMetricFiltersPaginatorName usage example

from mypy_boto3_logs.literals import DescribeMetricFiltersPaginatorName

def get_value() -> DescribeMetricFiltersPaginatorName:
    return "describe_metric_filters"
# DescribeMetricFiltersPaginatorName definition

DescribeMetricFiltersPaginatorName = Literal[
    "describe_metric_filters",
]

DescribeQueriesPaginatorName#

# DescribeQueriesPaginatorName usage example

from mypy_boto3_logs.literals import DescribeQueriesPaginatorName

def get_value() -> DescribeQueriesPaginatorName:
    return "describe_queries"
# DescribeQueriesPaginatorName definition

DescribeQueriesPaginatorName = Literal[
    "describe_queries",
]

DescribeResourcePoliciesPaginatorName#

# DescribeResourcePoliciesPaginatorName usage example

from mypy_boto3_logs.literals import DescribeResourcePoliciesPaginatorName

def get_value() -> DescribeResourcePoliciesPaginatorName:
    return "describe_resource_policies"
# DescribeResourcePoliciesPaginatorName definition

DescribeResourcePoliciesPaginatorName = Literal[
    "describe_resource_policies",
]

DescribeSubscriptionFiltersPaginatorName#

# DescribeSubscriptionFiltersPaginatorName usage example

from mypy_boto3_logs.literals import DescribeSubscriptionFiltersPaginatorName

def get_value() -> DescribeSubscriptionFiltersPaginatorName:
    return "describe_subscription_filters"
# DescribeSubscriptionFiltersPaginatorName definition

DescribeSubscriptionFiltersPaginatorName = Literal[
    "describe_subscription_filters",
]

DistributionType#

# DistributionType usage example

from mypy_boto3_logs.literals import DistributionType

def get_value() -> DistributionType:
    return "ByLogStream"
# DistributionType definition

DistributionType = Literal[
    "ByLogStream",
    "Random",
]

EvaluationFrequencyType#

# EvaluationFrequencyType usage example

from mypy_boto3_logs.literals import EvaluationFrequencyType

def get_value() -> EvaluationFrequencyType:
    return "FIFTEEN_MIN"
# EvaluationFrequencyType definition

EvaluationFrequencyType = Literal[
    "FIFTEEN_MIN",
    "FIVE_MIN",
    "ONE_HOUR",
    "ONE_MIN",
    "TEN_MIN",
    "THIRTY_MIN",
]

ExportTaskStatusCodeType#

# ExportTaskStatusCodeType usage example

from mypy_boto3_logs.literals import ExportTaskStatusCodeType

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

ExportTaskStatusCodeType = Literal[
    "CANCELLED",
    "COMPLETED",
    "FAILED",
    "PENDING",
    "PENDING_CANCEL",
    "RUNNING",
]

FilterLogEventsPaginatorName#

# FilterLogEventsPaginatorName usage example

from mypy_boto3_logs.literals import FilterLogEventsPaginatorName

def get_value() -> FilterLogEventsPaginatorName:
    return "filter_log_events"
# FilterLogEventsPaginatorName definition

FilterLogEventsPaginatorName = Literal[
    "filter_log_events",
]

InheritedPropertyType#

# InheritedPropertyType usage example

from mypy_boto3_logs.literals import InheritedPropertyType

def get_value() -> InheritedPropertyType:
    return "ACCOUNT_DATA_PROTECTION"
# InheritedPropertyType definition

InheritedPropertyType = Literal[
    "ACCOUNT_DATA_PROTECTION",
]

ListAnomaliesPaginatorName#

# ListAnomaliesPaginatorName usage example

from mypy_boto3_logs.literals import ListAnomaliesPaginatorName

def get_value() -> ListAnomaliesPaginatorName:
    return "list_anomalies"
# ListAnomaliesPaginatorName definition

ListAnomaliesPaginatorName = Literal[
    "list_anomalies",
]

ListLogAnomalyDetectorsPaginatorName#

# ListLogAnomalyDetectorsPaginatorName usage example

from mypy_boto3_logs.literals import ListLogAnomalyDetectorsPaginatorName

def get_value() -> ListLogAnomalyDetectorsPaginatorName:
    return "list_log_anomaly_detectors"
# ListLogAnomalyDetectorsPaginatorName definition

ListLogAnomalyDetectorsPaginatorName = Literal[
    "list_log_anomaly_detectors",
]

LogGroupClassType#

# LogGroupClassType usage example

from mypy_boto3_logs.literals import LogGroupClassType

def get_value() -> LogGroupClassType:
    return "INFREQUENT_ACCESS"
# LogGroupClassType definition

LogGroupClassType = Literal[
    "INFREQUENT_ACCESS",
    "STANDARD",
]

OrderByType#

# OrderByType usage example

from mypy_boto3_logs.literals import OrderByType

def get_value() -> OrderByType:
    return "LastEventTime"
# OrderByType definition

OrderByType = Literal[
    "LastEventTime",
    "LogStreamName",
]

OutputFormatType#

# OutputFormatType usage example

from mypy_boto3_logs.literals import OutputFormatType

def get_value() -> OutputFormatType:
    return "json"
# OutputFormatType definition

OutputFormatType = Literal[
    "json",
    "parquet",
    "plain",
    "raw",
    "w3c",
]

PolicyTypeType#

# PolicyTypeType usage example

from mypy_boto3_logs.literals import PolicyTypeType

def get_value() -> PolicyTypeType:
    return "DATA_PROTECTION_POLICY"
# PolicyTypeType definition

PolicyTypeType = Literal[
    "DATA_PROTECTION_POLICY",
    "SUBSCRIPTION_FILTER_POLICY",
]

QueryStatusType#

# QueryStatusType usage example

from mypy_boto3_logs.literals import QueryStatusType

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

QueryStatusType = Literal[
    "Cancelled",
    "Complete",
    "Failed",
    "Running",
    "Scheduled",
    "Timeout",
    "Unknown",
]

ScopeType#

# ScopeType usage example

from mypy_boto3_logs.literals import ScopeType

def get_value() -> ScopeType:
    return "ALL"
# ScopeType definition

ScopeType = Literal[
    "ALL",
]

StandardUnitType#

# StandardUnitType usage example

from mypy_boto3_logs.literals import StandardUnitType

def get_value() -> StandardUnitType:
    return "Bits"
# StandardUnitType definition

StandardUnitType = Literal[
    "Bits",
    "Bits/Second",
    "Bytes",
    "Bytes/Second",
    "Count",
    "Count/Second",
    "Gigabits",
    "Gigabits/Second",
    "Gigabytes",
    "Gigabytes/Second",
    "Kilobits",
    "Kilobits/Second",
    "Kilobytes",
    "Kilobytes/Second",
    "Megabits",
    "Megabits/Second",
    "Megabytes",
    "Megabytes/Second",
    "Microseconds",
    "Milliseconds",
    "None",
    "Percent",
    "Seconds",
    "Terabits",
    "Terabits/Second",
    "Terabytes",
    "Terabytes/Second",
]

StateType#

# StateType usage example

from mypy_boto3_logs.literals import StateType

def get_value() -> StateType:
    return "Active"
# StateType definition

StateType = Literal[
    "Active",
    "Baseline",
    "Suppressed",
]

SuppressionStateType#

# SuppressionStateType usage example

from mypy_boto3_logs.literals import SuppressionStateType

def get_value() -> SuppressionStateType:
    return "SUPPRESSED"
# SuppressionStateType definition

SuppressionStateType = Literal[
    "SUPPRESSED",
    "UNSUPPRESSED",
]

SuppressionTypeType#

# SuppressionTypeType usage example

from mypy_boto3_logs.literals import SuppressionTypeType

def get_value() -> SuppressionTypeType:
    return "INFINITE"
# SuppressionTypeType definition

SuppressionTypeType = Literal[
    "INFINITE",
    "LIMITED",
]

SuppressionUnitType#

# SuppressionUnitType usage example

from mypy_boto3_logs.literals import SuppressionUnitType

def get_value() -> SuppressionUnitType:
    return "HOURS"
# SuppressionUnitType definition

SuppressionUnitType = Literal[
    "HOURS",
    "MINUTES",
    "SECONDS",
]

CloudWatchLogsServiceName#

# CloudWatchLogsServiceName usage example

from mypy_boto3_logs.literals import CloudWatchLogsServiceName

def get_value() -> CloudWatchLogsServiceName:
    return "logs"
# CloudWatchLogsServiceName definition

CloudWatchLogsServiceName = Literal[
    "logs",
]

ServiceName#

# ServiceName usage example

from mypy_boto3_logs.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",
    "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",
    "codestar-connections",
    "codestar-notifications",
    "cognito-identity",
    "cognito-idp",
    "cognito-sync",
    "comprehend",
    "comprehendmedical",
    "compute-optimizer",
    "config",
    "connect",
    "connect-contact-lens",
    "connectcampaigns",
    "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",
    "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",
    "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",
    "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",
    "mobile",
    "mq",
    "mturk",
    "mwaa",
    "neptune",
    "neptune-graph",
    "neptunedata",
    "network-firewall",
    "networkmanager",
    "networkmonitor",
    "nimble",
    "oam",
    "omics",
    "opensearch",
    "opensearchserverless",
    "opsworks",
    "opsworkscm",
    "organizations",
    "osis",
    "outposts",
    "panorama",
    "payment-cryptography",
    "payment-cryptography-data",
    "pca-connector-ad",
    "pca-connector-scep",
    "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",
    "sqs",
    "ssm",
    "ssm-contacts",
    "ssm-incidents",
    "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",
    "worklink",
    "workmail",
    "workmailmessageflow",
    "workspaces",
    "workspaces-thin-client",
    "workspaces-web",
    "xray",
]

ResourceServiceName#

# ResourceServiceName usage example

from mypy_boto3_logs.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_logs.literals import PaginatorName

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

PaginatorName = Literal[
    "describe_deliveries",
    "describe_delivery_destinations",
    "describe_delivery_sources",
    "describe_destinations",
    "describe_export_tasks",
    "describe_log_groups",
    "describe_log_streams",
    "describe_metric_filters",
    "describe_queries",
    "describe_resource_policies",
    "describe_subscription_filters",
    "filter_log_events",
    "list_anomalies",
    "list_log_anomaly_detectors",
]

RegionName#

# RegionName usage example

from mypy_boto3_logs.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",
    "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",
]