Skip to content

Literals#

Index > Bedrock > Literals

Auto-generated documentation for Bedrock type annotations stubs module mypy-boto3-bedrock.

CommitmentDurationType#

# CommitmentDurationType usage example

from mypy_boto3_bedrock.literals import CommitmentDurationType

def get_value() -> CommitmentDurationType:
    return "OneMonth"
# CommitmentDurationType definition

CommitmentDurationType = Literal[
    "OneMonth",
    "SixMonths",
]

CustomizationTypeType#

# CustomizationTypeType usage example

from mypy_boto3_bedrock.literals import CustomizationTypeType

def get_value() -> CustomizationTypeType:
    return "CONTINUED_PRE_TRAINING"
# CustomizationTypeType definition

CustomizationTypeType = Literal[
    "CONTINUED_PRE_TRAINING",
    "FINE_TUNING",
]

EvaluationJobStatusType#

# EvaluationJobStatusType usage example

from mypy_boto3_bedrock.literals import EvaluationJobStatusType

def get_value() -> EvaluationJobStatusType:
    return "Completed"
# EvaluationJobStatusType definition

EvaluationJobStatusType = Literal[
    "Completed",
    "Failed",
    "InProgress",
    "Stopped",
    "Stopping",
]

EvaluationJobTypeType#

# EvaluationJobTypeType usage example

from mypy_boto3_bedrock.literals import EvaluationJobTypeType

def get_value() -> EvaluationJobTypeType:
    return "Automated"
# EvaluationJobTypeType definition

EvaluationJobTypeType = Literal[
    "Automated",
    "Human",
]

EvaluationTaskTypeType#

# EvaluationTaskTypeType usage example

from mypy_boto3_bedrock.literals import EvaluationTaskTypeType

def get_value() -> EvaluationTaskTypeType:
    return "Classification"
# EvaluationTaskTypeType definition

EvaluationTaskTypeType = Literal[
    "Classification",
    "Custom",
    "Generation",
    "QuestionAndAnswer",
    "Summarization",
]

FineTuningJobStatusType#

# FineTuningJobStatusType usage example

from mypy_boto3_bedrock.literals import FineTuningJobStatusType

def get_value() -> FineTuningJobStatusType:
    return "Completed"
# FineTuningJobStatusType definition

FineTuningJobStatusType = Literal[
    "Completed",
    "Failed",
    "InProgress",
    "Stopped",
    "Stopping",
]

FoundationModelLifecycleStatusType#

# FoundationModelLifecycleStatusType usage example

from mypy_boto3_bedrock.literals import FoundationModelLifecycleStatusType

def get_value() -> FoundationModelLifecycleStatusType:
    return "ACTIVE"
# FoundationModelLifecycleStatusType definition

FoundationModelLifecycleStatusType = Literal[
    "ACTIVE",
    "LEGACY",
]

GuardrailContentFilterTypeType#

# GuardrailContentFilterTypeType usage example

from mypy_boto3_bedrock.literals import GuardrailContentFilterTypeType

def get_value() -> GuardrailContentFilterTypeType:
    return "HATE"
# GuardrailContentFilterTypeType definition

GuardrailContentFilterTypeType = Literal[
    "HATE",
    "INSULTS",
    "MISCONDUCT",
    "PROMPT_ATTACK",
    "SEXUAL",
    "VIOLENCE",
]

GuardrailFilterStrengthType#

# GuardrailFilterStrengthType usage example

from mypy_boto3_bedrock.literals import GuardrailFilterStrengthType

def get_value() -> GuardrailFilterStrengthType:
    return "HIGH"
# GuardrailFilterStrengthType definition

GuardrailFilterStrengthType = Literal[
    "HIGH",
    "LOW",
    "MEDIUM",
    "NONE",
]

GuardrailManagedWordsTypeType#

# GuardrailManagedWordsTypeType usage example

from mypy_boto3_bedrock.literals import GuardrailManagedWordsTypeType

def get_value() -> GuardrailManagedWordsTypeType:
    return "PROFANITY"
# GuardrailManagedWordsTypeType definition

GuardrailManagedWordsTypeType = Literal[
    "PROFANITY",
]

GuardrailPiiEntityTypeType#

# GuardrailPiiEntityTypeType usage example

from mypy_boto3_bedrock.literals import GuardrailPiiEntityTypeType

def get_value() -> GuardrailPiiEntityTypeType:
    return "ADDRESS"
# GuardrailPiiEntityTypeType definition

GuardrailPiiEntityTypeType = Literal[
    "ADDRESS",
    "AGE",
    "AWS_ACCESS_KEY",
    "AWS_SECRET_KEY",
    "CA_HEALTH_NUMBER",
    "CA_SOCIAL_INSURANCE_NUMBER",
    "CREDIT_DEBIT_CARD_CVV",
    "CREDIT_DEBIT_CARD_EXPIRY",
    "CREDIT_DEBIT_CARD_NUMBER",
    "DRIVER_ID",
    "EMAIL",
    "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
    "IP_ADDRESS",
    "LICENSE_PLATE",
    "MAC_ADDRESS",
    "NAME",
    "PASSWORD",
    "PHONE",
    "PIN",
    "SWIFT_CODE",
    "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
    "UK_NATIONAL_INSURANCE_NUMBER",
    "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
    "URL",
    "US_BANK_ACCOUNT_NUMBER",
    "US_BANK_ROUTING_NUMBER",
    "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
    "US_PASSPORT_NUMBER",
    "US_SOCIAL_SECURITY_NUMBER",
    "USERNAME",
    "VEHICLE_IDENTIFICATION_NUMBER",
]

GuardrailSensitiveInformationActionType#

# GuardrailSensitiveInformationActionType usage example

from mypy_boto3_bedrock.literals import GuardrailSensitiveInformationActionType

def get_value() -> GuardrailSensitiveInformationActionType:
    return "ANONYMIZE"
# GuardrailSensitiveInformationActionType definition

GuardrailSensitiveInformationActionType = Literal[
    "ANONYMIZE",
    "BLOCK",
]

GuardrailStatusType#

# GuardrailStatusType usage example

from mypy_boto3_bedrock.literals import GuardrailStatusType

def get_value() -> GuardrailStatusType:
    return "CREATING"
# GuardrailStatusType definition

GuardrailStatusType = Literal[
    "CREATING",
    "DELETING",
    "FAILED",
    "READY",
    "UPDATING",
    "VERSIONING",
]

GuardrailTopicTypeType#

# GuardrailTopicTypeType usage example

from mypy_boto3_bedrock.literals import GuardrailTopicTypeType

def get_value() -> GuardrailTopicTypeType:
    return "DENY"
# GuardrailTopicTypeType definition

GuardrailTopicTypeType = Literal[
    "DENY",
]

InferenceTypeType#

# InferenceTypeType usage example

from mypy_boto3_bedrock.literals import InferenceTypeType

def get_value() -> InferenceTypeType:
    return "ON_DEMAND"
# InferenceTypeType definition

InferenceTypeType = Literal[
    "ON_DEMAND",
    "PROVISIONED",
]

ListCustomModelsPaginatorName#

# ListCustomModelsPaginatorName usage example

from mypy_boto3_bedrock.literals import ListCustomModelsPaginatorName

def get_value() -> ListCustomModelsPaginatorName:
    return "list_custom_models"
# ListCustomModelsPaginatorName definition

ListCustomModelsPaginatorName = Literal[
    "list_custom_models",
]

ListEvaluationJobsPaginatorName#

# ListEvaluationJobsPaginatorName usage example

from mypy_boto3_bedrock.literals import ListEvaluationJobsPaginatorName

def get_value() -> ListEvaluationJobsPaginatorName:
    return "list_evaluation_jobs"
# ListEvaluationJobsPaginatorName definition

ListEvaluationJobsPaginatorName = Literal[
    "list_evaluation_jobs",
]

ListGuardrailsPaginatorName#

# ListGuardrailsPaginatorName usage example

from mypy_boto3_bedrock.literals import ListGuardrailsPaginatorName

def get_value() -> ListGuardrailsPaginatorName:
    return "list_guardrails"
# ListGuardrailsPaginatorName definition

ListGuardrailsPaginatorName = Literal[
    "list_guardrails",
]

ListModelCustomizationJobsPaginatorName#

# ListModelCustomizationJobsPaginatorName usage example

from mypy_boto3_bedrock.literals import ListModelCustomizationJobsPaginatorName

def get_value() -> ListModelCustomizationJobsPaginatorName:
    return "list_model_customization_jobs"
# ListModelCustomizationJobsPaginatorName definition

ListModelCustomizationJobsPaginatorName = Literal[
    "list_model_customization_jobs",
]

ListProvisionedModelThroughputsPaginatorName#

# ListProvisionedModelThroughputsPaginatorName usage example

from mypy_boto3_bedrock.literals import ListProvisionedModelThroughputsPaginatorName

def get_value() -> ListProvisionedModelThroughputsPaginatorName:
    return "list_provisioned_model_throughputs"
# ListProvisionedModelThroughputsPaginatorName definition

ListProvisionedModelThroughputsPaginatorName = Literal[
    "list_provisioned_model_throughputs",
]

ModelCustomizationJobStatusType#

# ModelCustomizationJobStatusType usage example

from mypy_boto3_bedrock.literals import ModelCustomizationJobStatusType

def get_value() -> ModelCustomizationJobStatusType:
    return "Completed"
# ModelCustomizationJobStatusType definition

ModelCustomizationJobStatusType = Literal[
    "Completed",
    "Failed",
    "InProgress",
    "Stopped",
    "Stopping",
]

ModelCustomizationType#

# ModelCustomizationType usage example

from mypy_boto3_bedrock.literals import ModelCustomizationType

def get_value() -> ModelCustomizationType:
    return "CONTINUED_PRE_TRAINING"
# ModelCustomizationType definition

ModelCustomizationType = Literal[
    "CONTINUED_PRE_TRAINING",
    "FINE_TUNING",
]

ModelModalityType#

# ModelModalityType usage example

from mypy_boto3_bedrock.literals import ModelModalityType

def get_value() -> ModelModalityType:
    return "EMBEDDING"
# ModelModalityType definition

ModelModalityType = Literal[
    "EMBEDDING",
    "IMAGE",
    "TEXT",
]

ProvisionedModelStatusType#

# ProvisionedModelStatusType usage example

from mypy_boto3_bedrock.literals import ProvisionedModelStatusType

def get_value() -> ProvisionedModelStatusType:
    return "Creating"
# ProvisionedModelStatusType definition

ProvisionedModelStatusType = Literal[
    "Creating",
    "Failed",
    "InService",
    "Updating",
]

SortByProvisionedModelsType#

# SortByProvisionedModelsType usage example

from mypy_boto3_bedrock.literals import SortByProvisionedModelsType

def get_value() -> SortByProvisionedModelsType:
    return "CreationTime"
# SortByProvisionedModelsType definition

SortByProvisionedModelsType = Literal[
    "CreationTime",
]

SortJobsByType#

# SortJobsByType usage example

from mypy_boto3_bedrock.literals import SortJobsByType

def get_value() -> SortJobsByType:
    return "CreationTime"
# SortJobsByType definition

SortJobsByType = Literal[
    "CreationTime",
]

SortModelsByType#

# SortModelsByType usage example

from mypy_boto3_bedrock.literals import SortModelsByType

def get_value() -> SortModelsByType:
    return "CreationTime"
# SortModelsByType definition

SortModelsByType = Literal[
    "CreationTime",
]

SortOrderType#

# SortOrderType usage example

from mypy_boto3_bedrock.literals import SortOrderType

def get_value() -> SortOrderType:
    return "Ascending"
# SortOrderType definition

SortOrderType = Literal[
    "Ascending",
    "Descending",
]

BedrockServiceName#

# BedrockServiceName usage example

from mypy_boto3_bedrock.literals import BedrockServiceName

def get_value() -> BedrockServiceName:
    return "bedrock"
# BedrockServiceName definition

BedrockServiceName = Literal[
    "bedrock",
]

ServiceName#

# ServiceName usage example

from mypy_boto3_bedrock.literals import ServiceName

def get_value() -> ServiceName:
    return "accessanalyzer"
# ServiceName definition

ServiceName = Literal[
    "accessanalyzer",
    "account",
    "acm",
    "acm-pca",
    "alexaforbusiness",
    "amp",
    "amplify",
    "amplifybackend",
    "amplifyuibuilder",
    "apigateway",
    "apigatewaymanagementapi",
    "apigatewayv2",
    "appconfig",
    "appconfigdata",
    "appfabric",
    "appflow",
    "appintegrations",
    "application-autoscaling",
    "application-insights",
    "applicationcostprofiler",
    "appmesh",
    "apprunner",
    "appstream",
    "appsync",
    "arc-zonal-shift",
    "artifact",
    "athena",
    "auditmanager",
    "autoscaling",
    "autoscaling-plans",
    "b2bi",
    "backup",
    "backup-gateway",
    "backupstorage",
    "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",
    "honeycode",
    "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",
    "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",
    "personalize",
    "personalize-events",
    "personalize-runtime",
    "pi",
    "pinpoint",
    "pinpoint-email",
    "pinpoint-sms-voice",
    "pinpoint-sms-voice-v2",
    "pipes",
    "polly",
    "pricing",
    "privatenetworks",
    "proton",
    "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",
    "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_bedrock.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_bedrock.literals import PaginatorName

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

PaginatorName = Literal[
    "list_custom_models",
    "list_evaluation_jobs",
    "list_guardrails",
    "list_model_customization_jobs",
    "list_provisioned_model_throughputs",
]

RegionName#

# RegionName usage example

from mypy_boto3_bedrock.literals import RegionName

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

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