Literals#
Index > CodeCommit > Literals
Auto-generated documentation for CodeCommit type annotations stubs module mypy-boto3-codecommit.
ApprovalStateType#
# ApprovalStateType usage example
from mypy_boto3_codecommit.literals import ApprovalStateType
def get_value() -> ApprovalStateType:
return "APPROVE"
# ApprovalStateType definition
ApprovalStateType = Literal[
"APPROVE",
"REVOKE",
]
BatchGetRepositoriesErrorCodeEnumType#
# BatchGetRepositoriesErrorCodeEnumType usage example
from mypy_boto3_codecommit.literals import BatchGetRepositoriesErrorCodeEnumType
def get_value() -> BatchGetRepositoriesErrorCodeEnumType:
return "EncryptionIntegrityChecksFailedException"
# BatchGetRepositoriesErrorCodeEnumType definition
BatchGetRepositoriesErrorCodeEnumType = Literal[
"EncryptionIntegrityChecksFailedException",
"EncryptionKeyAccessDeniedException",
"EncryptionKeyDisabledException",
"EncryptionKeyNotFoundException",
"EncryptionKeyUnavailableException",
"RepositoryDoesNotExistException",
]
ChangeTypeEnumType#
# ChangeTypeEnumType usage example
from mypy_boto3_codecommit.literals import ChangeTypeEnumType
def get_value() -> ChangeTypeEnumType:
return "A"
# ChangeTypeEnumType definition
ChangeTypeEnumType = Literal[
"A",
"D",
"M",
]
ConflictDetailLevelTypeEnumType#
# ConflictDetailLevelTypeEnumType usage example
from mypy_boto3_codecommit.literals import ConflictDetailLevelTypeEnumType
def get_value() -> ConflictDetailLevelTypeEnumType:
return "FILE_LEVEL"
# ConflictDetailLevelTypeEnumType definition
ConflictDetailLevelTypeEnumType = Literal[
"FILE_LEVEL",
"LINE_LEVEL",
]
ConflictResolutionStrategyTypeEnumType#
# ConflictResolutionStrategyTypeEnumType usage example
from mypy_boto3_codecommit.literals import ConflictResolutionStrategyTypeEnumType
def get_value() -> ConflictResolutionStrategyTypeEnumType:
return "ACCEPT_DESTINATION"
# ConflictResolutionStrategyTypeEnumType definition
ConflictResolutionStrategyTypeEnumType = Literal[
"ACCEPT_DESTINATION",
"ACCEPT_SOURCE",
"AUTOMERGE",
"NONE",
]
DescribePullRequestEventsPaginatorName#
# DescribePullRequestEventsPaginatorName usage example
from mypy_boto3_codecommit.literals import DescribePullRequestEventsPaginatorName
def get_value() -> DescribePullRequestEventsPaginatorName:
return "describe_pull_request_events"
# DescribePullRequestEventsPaginatorName definition
DescribePullRequestEventsPaginatorName = Literal[
"describe_pull_request_events",
]
FileModeTypeEnumType#
# FileModeTypeEnumType usage example
from mypy_boto3_codecommit.literals import FileModeTypeEnumType
def get_value() -> FileModeTypeEnumType:
return "EXECUTABLE"
# FileModeTypeEnumType definition
FileModeTypeEnumType = Literal[
"EXECUTABLE",
"NORMAL",
"SYMLINK",
]
GetCommentsForComparedCommitPaginatorName#
# GetCommentsForComparedCommitPaginatorName usage example
from mypy_boto3_codecommit.literals import GetCommentsForComparedCommitPaginatorName
def get_value() -> GetCommentsForComparedCommitPaginatorName:
return "get_comments_for_compared_commit"
# GetCommentsForComparedCommitPaginatorName definition
GetCommentsForComparedCommitPaginatorName = Literal[
"get_comments_for_compared_commit",
]
GetCommentsForPullRequestPaginatorName#
# GetCommentsForPullRequestPaginatorName usage example
from mypy_boto3_codecommit.literals import GetCommentsForPullRequestPaginatorName
def get_value() -> GetCommentsForPullRequestPaginatorName:
return "get_comments_for_pull_request"
# GetCommentsForPullRequestPaginatorName definition
GetCommentsForPullRequestPaginatorName = Literal[
"get_comments_for_pull_request",
]
GetDifferencesPaginatorName#
# GetDifferencesPaginatorName usage example
from mypy_boto3_codecommit.literals import GetDifferencesPaginatorName
def get_value() -> GetDifferencesPaginatorName:
return "get_differences"
# GetDifferencesPaginatorName definition
GetDifferencesPaginatorName = Literal[
"get_differences",
]
ListBranchesPaginatorName#
# ListBranchesPaginatorName usage example
from mypy_boto3_codecommit.literals import ListBranchesPaginatorName
def get_value() -> ListBranchesPaginatorName:
return "list_branches"
# ListBranchesPaginatorName definition
ListBranchesPaginatorName = Literal[
"list_branches",
]
ListPullRequestsPaginatorName#
# ListPullRequestsPaginatorName usage example
from mypy_boto3_codecommit.literals import ListPullRequestsPaginatorName
def get_value() -> ListPullRequestsPaginatorName:
return "list_pull_requests"
# ListPullRequestsPaginatorName definition
ListPullRequestsPaginatorName = Literal[
"list_pull_requests",
]
ListRepositoriesPaginatorName#
# ListRepositoriesPaginatorName usage example
from mypy_boto3_codecommit.literals import ListRepositoriesPaginatorName
def get_value() -> ListRepositoriesPaginatorName:
return "list_repositories"
# ListRepositoriesPaginatorName definition
ListRepositoriesPaginatorName = Literal[
"list_repositories",
]
MergeOptionTypeEnumType#
# MergeOptionTypeEnumType usage example
from mypy_boto3_codecommit.literals import MergeOptionTypeEnumType
def get_value() -> MergeOptionTypeEnumType:
return "FAST_FORWARD_MERGE"
# MergeOptionTypeEnumType definition
MergeOptionTypeEnumType = Literal[
"FAST_FORWARD_MERGE",
"SQUASH_MERGE",
"THREE_WAY_MERGE",
]
ObjectTypeEnumType#
# ObjectTypeEnumType usage example
from mypy_boto3_codecommit.literals import ObjectTypeEnumType
def get_value() -> ObjectTypeEnumType:
return "DIRECTORY"
# ObjectTypeEnumType definition
ObjectTypeEnumType = Literal[
"DIRECTORY",
"FILE",
"GIT_LINK",
"SYMBOLIC_LINK",
]
OrderEnumType#
# OrderEnumType usage example
from mypy_boto3_codecommit.literals import OrderEnumType
def get_value() -> OrderEnumType:
return "ascending"
# OrderEnumType definition
OrderEnumType = Literal[
"ascending",
"descending",
]
OverrideStatusType#
# OverrideStatusType usage example
from mypy_boto3_codecommit.literals import OverrideStatusType
def get_value() -> OverrideStatusType:
return "OVERRIDE"
# OverrideStatusType definition
OverrideStatusType = Literal[
"OVERRIDE",
"REVOKE",
]
PullRequestEventTypeType#
# PullRequestEventTypeType usage example
from mypy_boto3_codecommit.literals import PullRequestEventTypeType
def get_value() -> PullRequestEventTypeType:
return "PULL_REQUEST_APPROVAL_RULE_CREATED"
# PullRequestEventTypeType definition
PullRequestEventTypeType = Literal[
"PULL_REQUEST_APPROVAL_RULE_CREATED",
"PULL_REQUEST_APPROVAL_RULE_DELETED",
"PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN",
"PULL_REQUEST_APPROVAL_RULE_UPDATED",
"PULL_REQUEST_APPROVAL_STATE_CHANGED",
"PULL_REQUEST_CREATED",
"PULL_REQUEST_MERGE_STATE_CHANGED",
"PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
"PULL_REQUEST_STATUS_CHANGED",
]
PullRequestStatusEnumType#
# PullRequestStatusEnumType usage example
from mypy_boto3_codecommit.literals import PullRequestStatusEnumType
def get_value() -> PullRequestStatusEnumType:
return "CLOSED"
# PullRequestStatusEnumType definition
PullRequestStatusEnumType = Literal[
"CLOSED",
"OPEN",
]
RelativeFileVersionEnumType#
# RelativeFileVersionEnumType usage example
from mypy_boto3_codecommit.literals import RelativeFileVersionEnumType
def get_value() -> RelativeFileVersionEnumType:
return "AFTER"
# RelativeFileVersionEnumType definition
RelativeFileVersionEnumType = Literal[
"AFTER",
"BEFORE",
]
ReplacementTypeEnumType#
# ReplacementTypeEnumType usage example
from mypy_boto3_codecommit.literals import ReplacementTypeEnumType
def get_value() -> ReplacementTypeEnumType:
return "KEEP_BASE"
# ReplacementTypeEnumType definition
ReplacementTypeEnumType = Literal[
"KEEP_BASE",
"KEEP_DESTINATION",
"KEEP_SOURCE",
"USE_NEW_CONTENT",
]
RepositoryTriggerEventEnumType#
# RepositoryTriggerEventEnumType usage example
from mypy_boto3_codecommit.literals import RepositoryTriggerEventEnumType
def get_value() -> RepositoryTriggerEventEnumType:
return "all"
# RepositoryTriggerEventEnumType definition
RepositoryTriggerEventEnumType = Literal[
"all",
"createReference",
"deleteReference",
"updateReference",
]
SortByEnumType#
# SortByEnumType usage example
from mypy_boto3_codecommit.literals import SortByEnumType
def get_value() -> SortByEnumType:
return "lastModifiedDate"
# SortByEnumType definition
SortByEnumType = Literal[
"lastModifiedDate",
"repositoryName",
]
CodeCommitServiceName#
# CodeCommitServiceName usage example
from mypy_boto3_codecommit.literals import CodeCommitServiceName
def get_value() -> CodeCommitServiceName:
return "codecommit"
# CodeCommitServiceName definition
CodeCommitServiceName = Literal[
"codecommit",
]
ServiceName#
# ServiceName usage example
from mypy_boto3_codecommit.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_codecommit.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_codecommit.literals import PaginatorName
def get_value() -> PaginatorName:
return "describe_pull_request_events"
# PaginatorName definition
PaginatorName = Literal[
"describe_pull_request_events",
"get_comments_for_compared_commit",
"get_comments_for_pull_request",
"get_differences",
"list_branches",
"list_pull_requests",
"list_repositories",
]
RegionName#
# RegionName usage example
from mypy_boto3_codecommit.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",
"ca-central-1",
"eu-central-1",
"eu-north-1",
"eu-south-1",
"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",
]