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",
"Deleting",
"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",
]
GuardrailContextualGroundingFilterTypeType#
# GuardrailContextualGroundingFilterTypeType usage example
from mypy_boto3_bedrock.literals import GuardrailContextualGroundingFilterTypeType
def get_value() -> GuardrailContextualGroundingFilterTypeType:
return "GROUNDING"
# GuardrailContextualGroundingFilterTypeType definition
GuardrailContextualGroundingFilterTypeType = Literal[
"GROUNDING",
"RELEVANCE",
]
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",
]
InferenceProfileStatusType#
# InferenceProfileStatusType usage example
from mypy_boto3_bedrock.literals import InferenceProfileStatusType
def get_value() -> InferenceProfileStatusType:
return "ACTIVE"
# InferenceProfileStatusType definition
InferenceProfileStatusType = Literal[
"ACTIVE",
]
InferenceProfileTypeType#
# InferenceProfileTypeType usage example
from mypy_boto3_bedrock.literals import InferenceProfileTypeType
def get_value() -> InferenceProfileTypeType:
return "SYSTEM_DEFINED"
# InferenceProfileTypeType definition
InferenceProfileTypeType = Literal[
"SYSTEM_DEFINED",
]
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",
]
ListImportedModelsPaginatorName#
# ListImportedModelsPaginatorName usage example
from mypy_boto3_bedrock.literals import ListImportedModelsPaginatorName
def get_value() -> ListImportedModelsPaginatorName:
return "list_imported_models"
# ListImportedModelsPaginatorName definition
ListImportedModelsPaginatorName = Literal[
"list_imported_models",
]
ListInferenceProfilesPaginatorName#
# ListInferenceProfilesPaginatorName usage example
from mypy_boto3_bedrock.literals import ListInferenceProfilesPaginatorName
def get_value() -> ListInferenceProfilesPaginatorName:
return "list_inference_profiles"
# ListInferenceProfilesPaginatorName definition
ListInferenceProfilesPaginatorName = Literal[
"list_inference_profiles",
]
ListModelCopyJobsPaginatorName#
# ListModelCopyJobsPaginatorName usage example
from mypy_boto3_bedrock.literals import ListModelCopyJobsPaginatorName
def get_value() -> ListModelCopyJobsPaginatorName:
return "list_model_copy_jobs"
# ListModelCopyJobsPaginatorName definition
ListModelCopyJobsPaginatorName = Literal[
"list_model_copy_jobs",
]
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",
]
ListModelImportJobsPaginatorName#
# ListModelImportJobsPaginatorName usage example
from mypy_boto3_bedrock.literals import ListModelImportJobsPaginatorName
def get_value() -> ListModelImportJobsPaginatorName:
return "list_model_import_jobs"
# ListModelImportJobsPaginatorName definition
ListModelImportJobsPaginatorName = Literal[
"list_model_import_jobs",
]
ListModelInvocationJobsPaginatorName#
# ListModelInvocationJobsPaginatorName usage example
from mypy_boto3_bedrock.literals import ListModelInvocationJobsPaginatorName
def get_value() -> ListModelInvocationJobsPaginatorName:
return "list_model_invocation_jobs"
# ListModelInvocationJobsPaginatorName definition
ListModelInvocationJobsPaginatorName = Literal[
"list_model_invocation_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",
]
ModelCopyJobStatusType#
# ModelCopyJobStatusType usage example
from mypy_boto3_bedrock.literals import ModelCopyJobStatusType
def get_value() -> ModelCopyJobStatusType:
return "Completed"
# ModelCopyJobStatusType definition
ModelCopyJobStatusType = Literal[
"Completed",
"Failed",
"InProgress",
]
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",
]
ModelImportJobStatusType#
# ModelImportJobStatusType usage example
from mypy_boto3_bedrock.literals import ModelImportJobStatusType
def get_value() -> ModelImportJobStatusType:
return "Completed"
# ModelImportJobStatusType definition
ModelImportJobStatusType = Literal[
"Completed",
"Failed",
"InProgress",
]
ModelInvocationJobStatusType#
# ModelInvocationJobStatusType usage example
from mypy_boto3_bedrock.literals import ModelInvocationJobStatusType
def get_value() -> ModelInvocationJobStatusType:
return "Completed"
# ModelInvocationJobStatusType definition
ModelInvocationJobStatusType = Literal[
"Completed",
"Expired",
"Failed",
"InProgress",
"PartiallyCompleted",
"Scheduled",
"Stopped",
"Stopping",
"Submitted",
"Validating",
]
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",
]
S3InputFormatType#
# S3InputFormatType usage example
from mypy_boto3_bedrock.literals import S3InputFormatType
def get_value() -> S3InputFormatType:
return "JSONL"
# S3InputFormatType definition
S3InputFormatType = Literal[
"JSONL",
]
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",
"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-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",
"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",
"glacier",
"globalaccelerator",
"glue",
"grafana",
"greengrass",
"greengrassv2",
"groundstation",
"guardduty",
"health",
"healthlake",
"iam",
"identitystore",
"imagebuilder",
"importexport",
"inspector",
"inspector-scan",
"inspector2",
"internetmon