Skip to content

Literals#

Index > CodeArtifact > Literals

Auto-generated documentation for CodeArtifact type annotations stubs module mypy-boto3-codeartifact.

AllowPublishType#

# AllowPublishType usage example

from mypy_boto3_codeartifact.literals import AllowPublishType

def get_value() -> AllowPublishType:
    return "ALLOW"
# AllowPublishType definition

AllowPublishType = Literal[
    "ALLOW",
    "BLOCK",
]

AllowUpstreamType#

# AllowUpstreamType usage example

from mypy_boto3_codeartifact.literals import AllowUpstreamType

def get_value() -> AllowUpstreamType:
    return "ALLOW"
# AllowUpstreamType definition

AllowUpstreamType = Literal[
    "ALLOW",
    "BLOCK",
]

DomainStatusType#

# DomainStatusType usage example

from mypy_boto3_codeartifact.literals import DomainStatusType

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

DomainStatusType = Literal[
    "Active",
    "Deleted",
]

EndpointTypeType#

# EndpointTypeType usage example

from mypy_boto3_codeartifact.literals import EndpointTypeType

def get_value() -> EndpointTypeType:
    return "dualstack"
# EndpointTypeType definition

EndpointTypeType = Literal[
    "dualstack",
    "ipv4",
]

ExternalConnectionStatusType#

# ExternalConnectionStatusType usage example

from mypy_boto3_codeartifact.literals import ExternalConnectionStatusType

def get_value() -> ExternalConnectionStatusType:
    return "Available"
# ExternalConnectionStatusType definition

ExternalConnectionStatusType = Literal[
    "Available",
]

HashAlgorithmType#

# HashAlgorithmType usage example

from mypy_boto3_codeartifact.literals import HashAlgorithmType

def get_value() -> HashAlgorithmType:
    return "MD5"
# HashAlgorithmType definition

HashAlgorithmType = Literal[
    "MD5",
    "SHA-1",
    "SHA-256",
    "SHA-512",
]

ListAllowedRepositoriesForGroupPaginatorName#

# ListAllowedRepositoriesForGroupPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListAllowedRepositoriesForGroupPaginatorName

def get_value() -> ListAllowedRepositoriesForGroupPaginatorName:
    return "list_allowed_repositories_for_group"
# ListAllowedRepositoriesForGroupPaginatorName definition

ListAllowedRepositoriesForGroupPaginatorName = Literal[
    "list_allowed_repositories_for_group",
]

ListAssociatedPackagesPaginatorName#

# ListAssociatedPackagesPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListAssociatedPackagesPaginatorName

def get_value() -> ListAssociatedPackagesPaginatorName:
    return "list_associated_packages"
# ListAssociatedPackagesPaginatorName definition

ListAssociatedPackagesPaginatorName = Literal[
    "list_associated_packages",
]

ListDomainsPaginatorName#

# ListDomainsPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListDomainsPaginatorName

def get_value() -> ListDomainsPaginatorName:
    return "list_domains"
# ListDomainsPaginatorName definition

ListDomainsPaginatorName = Literal[
    "list_domains",
]

ListPackageGroupsPaginatorName#

# ListPackageGroupsPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListPackageGroupsPaginatorName

def get_value() -> ListPackageGroupsPaginatorName:
    return "list_package_groups"
# ListPackageGroupsPaginatorName definition

ListPackageGroupsPaginatorName = Literal[
    "list_package_groups",
]

ListPackageVersionAssetsPaginatorName#

# ListPackageVersionAssetsPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListPackageVersionAssetsPaginatorName

def get_value() -> ListPackageVersionAssetsPaginatorName:
    return "list_package_version_assets"
# ListPackageVersionAssetsPaginatorName definition

ListPackageVersionAssetsPaginatorName = Literal[
    "list_package_version_assets",
]

ListPackageVersionsPaginatorName#

# ListPackageVersionsPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListPackageVersionsPaginatorName

def get_value() -> ListPackageVersionsPaginatorName:
    return "list_package_versions"
# ListPackageVersionsPaginatorName definition

ListPackageVersionsPaginatorName = Literal[
    "list_package_versions",
]

ListPackagesPaginatorName#

# ListPackagesPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListPackagesPaginatorName

def get_value() -> ListPackagesPaginatorName:
    return "list_packages"
# ListPackagesPaginatorName definition

ListPackagesPaginatorName = Literal[
    "list_packages",
]

ListRepositoriesInDomainPaginatorName#

# ListRepositoriesInDomainPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListRepositoriesInDomainPaginatorName

def get_value() -> ListRepositoriesInDomainPaginatorName:
    return "list_repositories_in_domain"
# ListRepositoriesInDomainPaginatorName definition

ListRepositoriesInDomainPaginatorName = Literal[
    "list_repositories_in_domain",
]

ListRepositoriesPaginatorName#

# ListRepositoriesPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListRepositoriesPaginatorName

def get_value() -> ListRepositoriesPaginatorName:
    return "list_repositories"
# ListRepositoriesPaginatorName definition

ListRepositoriesPaginatorName = Literal[
    "list_repositories",
]

ListSubPackageGroupsPaginatorName#

# ListSubPackageGroupsPaginatorName usage example

from mypy_boto3_codeartifact.literals import ListSubPackageGroupsPaginatorName

def get_value() -> ListSubPackageGroupsPaginatorName:
    return "list_sub_package_groups"
# ListSubPackageGroupsPaginatorName definition

ListSubPackageGroupsPaginatorName = Literal[
    "list_sub_package_groups",
]

PackageFormatType#

# PackageFormatType usage example

from mypy_boto3_codeartifact.literals import PackageFormatType

def get_value() -> PackageFormatType:
    return "cargo"
# PackageFormatType definition

PackageFormatType = Literal[
    "cargo",
    "generic",
    "maven",
    "npm",
    "nuget",
    "pypi",
    "ruby",
    "swift",
]

PackageGroupAllowedRepositoryUpdateTypeType#

# PackageGroupAllowedRepositoryUpdateTypeType usage example

from mypy_boto3_codeartifact.literals import PackageGroupAllowedRepositoryUpdateTypeType

def get_value() -> PackageGroupAllowedRepositoryUpdateTypeType:
    return "ADDED"
# PackageGroupAllowedRepositoryUpdateTypeType definition

PackageGroupAllowedRepositoryUpdateTypeType = Literal[
    "ADDED",
    "REMOVED",
]

PackageGroupAssociationTypeType#

# PackageGroupAssociationTypeType usage example

from mypy_boto3_codeartifact.literals import PackageGroupAssociationTypeType

def get_value() -> PackageGroupAssociationTypeType:
    return "STRONG"
# PackageGroupAssociationTypeType definition

PackageGroupAssociationTypeType = Literal[
    "STRONG",
    "WEAK",
]

PackageGroupOriginRestrictionModeType#

# PackageGroupOriginRestrictionModeType usage example

from mypy_boto3_codeartifact.literals import PackageGroupOriginRestrictionModeType

def get_value() -> PackageGroupOriginRestrictionModeType:
    return "ALLOW"
# PackageGroupOriginRestrictionModeType definition

PackageGroupOriginRestrictionModeType = Literal[
    "ALLOW",
    "ALLOW_SPECIFIC_REPOSITORIES",
    "BLOCK",
    "INHERIT",
]

PackageGroupOriginRestrictionTypeType#

# PackageGroupOriginRestrictionTypeType usage example

from mypy_boto3_codeartifact.literals import PackageGroupOriginRestrictionTypeType

def get_value() -> PackageGroupOriginRestrictionTypeType:
    return "EXTERNAL_UPSTREAM"
# PackageGroupOriginRestrictionTypeType definition

PackageGroupOriginRestrictionTypeType = Literal[
    "EXTERNAL_UPSTREAM",
    "INTERNAL_UPSTREAM",
    "PUBLISH",
]

PackageVersionErrorCodeType#

# PackageVersionErrorCodeType usage example

from mypy_boto3_codeartifact.literals import PackageVersionErrorCodeType

def get_value() -> PackageVersionErrorCodeType:
    return "ALREADY_EXISTS"
# PackageVersionErrorCodeType definition

PackageVersionErrorCodeType = Literal[
    "ALREADY_EXISTS",
    "MISMATCHED_REVISION",
    "MISMATCHED_STATUS",
    "NOT_ALLOWED",
    "NOT_FOUND",
    "SKIPPED",
]

PackageVersionOriginTypeType#

# PackageVersionOriginTypeType usage example

from mypy_boto3_codeartifact.literals import PackageVersionOriginTypeType

def get_value() -> PackageVersionOriginTypeType:
    return "EXTERNAL"
# PackageVersionOriginTypeType definition

PackageVersionOriginTypeType = Literal[
    "EXTERNAL",
    "INTERNAL",
    "UNKNOWN",
]

PackageVersionSortTypeType#

# PackageVersionSortTypeType usage example

from mypy_boto3_codeartifact.literals import PackageVersionSortTypeType

def get_value() -> PackageVersionSortTypeType:
    return "PUBLISHED_TIME"
# PackageVersionSortTypeType definition

PackageVersionSortTypeType = Literal[
    "PUBLISHED_TIME",
]

PackageVersionStatusType#

# PackageVersionStatusType usage example

from mypy_boto3_codeartifact.literals import PackageVersionStatusType

def get_value() -> PackageVersionStatusType:
    return "Archived"
# PackageVersionStatusType definition

PackageVersionStatusType = Literal[
    "Archived",
    "Deleted",
    "Disposed",
    "Published",
    "Unfinished",
    "Unlisted",
]

CodeArtifactServiceName#

# CodeArtifactServiceName usage example

from mypy_boto3_codeartifact.literals import CodeArtifactServiceName

def get_value() -> CodeArtifactServiceName:
    return "codeartifact"
# CodeArtifactServiceName definition

CodeArtifactServiceName = Literal[
    "codeartifact",
]

ServiceName#

# ServiceName usage example

from mypy_boto3_codeartifact.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",
    "backupsearch",
    "batch",
    "bcm-data-exports",
    "bcm-pricing-calculator",
    "bedrock",
    "bedrock-agent",
    "bedrock-agent-runtime",
    "bedrock-data-automation",
    "bedrock-data-automation-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",
    "dsql",
    "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",
    "invoicing",
    "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",
    "networkflowmonitor",
    "networkmanager",
    "networkmonitor",
    "notifications",
    "notificationscontacts",
    "oam",
    "observabilityadmin",
    "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",
    "s3tables",
    "sagemaker",
    "sagemaker-a2i-runtime",
    "sagemaker-edge",
    "sagemaker-featurestore-runtime",
    "sagemaker-geospatial",
    "sagemaker-metrics",
    "sagemaker-runtime",
    "savingsplans",
    "scheduler",
    "schemas",
    "sdb",
    "secretsmanager",
    "security-ir",
    "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_codeartifact.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_codeartifact.literals import PaginatorName

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

PaginatorName = Literal[
    "list_allowed_repositories_for_group",
    "list_associated_packages",
    "list_domains",
    "list_package_groups",
    "list_package_version_assets",
    "list_package_versions",
    "list_packages",
    "list_repositories",
    "list_repositories_in_domain",
    "list_sub_package_groups",
]

RegionName#

# RegionName usage example

from mypy_boto3_codeartifact.literals import RegionName

def get_value() -> RegionName:
    return "ap-northeast-1"
# RegionName definition

RegionName = Literal[
    "ap-northeast-1",
    "ap-south-1",
    "ap-southeast-1",
    "ap-southeast-2",
    "eu-central-1",
    "eu-north-1",
    "eu-south-1",
    "eu-west-1",
    "eu-west-2",
    "eu-west-3",
    "us-east-1",
    "us-east-2",
    "us-west-2",
]