# Packages
Package bedrockiface provides an interface to enable mocking the Amazon Bedrock service client for testing your code.
# Functions
CommitmentDuration_Values returns all elements of the CommitmentDuration enum.
CustomizationType_Values returns all elements of the CustomizationType enum.
EvaluationJobStatus_Values returns all elements of the EvaluationJobStatus enum.
EvaluationJobType_Values returns all elements of the EvaluationJobType enum.
EvaluationTaskType_Values returns all elements of the EvaluationTaskType enum.
FineTuningJobStatus_Values returns all elements of the FineTuningJobStatus enum.
FoundationModelLifecycleStatus_Values returns all elements of the FoundationModelLifecycleStatus enum.
GuardrailContentFilterType_Values returns all elements of the GuardrailContentFilterType enum.
GuardrailContextualGroundingFilterType_Values returns all elements of the GuardrailContextualGroundingFilterType enum.
GuardrailFilterStrength_Values returns all elements of the GuardrailFilterStrength enum.
GuardrailManagedWordsType_Values returns all elements of the GuardrailManagedWordsType enum.
GuardrailPiiEntityType_Values returns all elements of the GuardrailPiiEntityType enum.
GuardrailSensitiveInformationAction_Values returns all elements of the GuardrailSensitiveInformationAction enum.
GuardrailStatus_Values returns all elements of the GuardrailStatus enum.
GuardrailTopicType_Values returns all elements of the GuardrailTopicType enum.
InferenceType_Values returns all elements of the InferenceType enum.
ModelCustomization_Values returns all elements of the ModelCustomization enum.
ModelCustomizationJobStatus_Values returns all elements of the ModelCustomizationJobStatus enum.
ModelModality_Values returns all elements of the ModelModality enum.
New creates a new instance of the Bedrock client with a session.
ProvisionedModelStatus_Values returns all elements of the ProvisionedModelStatus enum.
SortByProvisionedModels_Values returns all elements of the SortByProvisionedModels enum.
SortJobsBy_Values returns all elements of the SortJobsBy enum.
SortModelsBy_Values returns all elements of the SortModelsBy enum.
SortOrder_Values returns all elements of the SortOrder enum.
# Constants
CommitmentDurationOneMonth is a CommitmentDuration enum value.
CommitmentDurationSixMonths is a CommitmentDuration enum value.
CustomizationTypeContinuedPreTraining is a CustomizationType enum value.
CustomizationTypeFineTuning is a CustomizationType enum value.
ID to lookup a service endpoint with.
ErrCodeAccessDeniedException for service response error code "AccessDeniedException".
ErrCodeConflictException for service response error code "ConflictException".
ErrCodeInternalServerException for service response error code "InternalServerException".
ErrCodeResourceNotFoundException for service response error code "ResourceNotFoundException".
ErrCodeServiceQuotaExceededException for service response error code "ServiceQuotaExceededException".
ErrCodeThrottlingException for service response error code "ThrottlingException".
ErrCodeTooManyTagsException for service response error code "TooManyTagsException".
ErrCodeValidationException for service response error code "ValidationException".
EvaluationJobStatusCompleted is a EvaluationJobStatus enum value.
EvaluationJobStatusFailed is a EvaluationJobStatus enum value.
EvaluationJobStatusInProgress is a EvaluationJobStatus enum value.
EvaluationJobStatusStopped is a EvaluationJobStatus enum value.
EvaluationJobStatusStopping is a EvaluationJobStatus enum value.
EvaluationJobTypeAutomated is a EvaluationJobType enum value.
EvaluationJobTypeHuman is a EvaluationJobType enum value.
EvaluationTaskTypeClassification is a EvaluationTaskType enum value.
EvaluationTaskTypeCustom is a EvaluationTaskType enum value.
EvaluationTaskTypeGeneration is a EvaluationTaskType enum value.
EvaluationTaskTypeQuestionAndAnswer is a EvaluationTaskType enum value.
EvaluationTaskTypeSummarization is a EvaluationTaskType enum value.
FineTuningJobStatusCompleted is a FineTuningJobStatus enum value.
FineTuningJobStatusFailed is a FineTuningJobStatus enum value.
FineTuningJobStatusInProgress is a FineTuningJobStatus enum value.
FineTuningJobStatusStopped is a FineTuningJobStatus enum value.
FineTuningJobStatusStopping is a FineTuningJobStatus enum value.
FoundationModelLifecycleStatusActive is a FoundationModelLifecycleStatus enum value.
FoundationModelLifecycleStatusLegacy is a FoundationModelLifecycleStatus enum value.
GuardrailContentFilterTypeHate is a GuardrailContentFilterType enum value.
GuardrailContentFilterTypeInsults is a GuardrailContentFilterType enum value.
GuardrailContentFilterTypeMisconduct is a GuardrailContentFilterType enum value.
GuardrailContentFilterTypePromptAttack is a GuardrailContentFilterType enum value.
GuardrailContentFilterTypeSexual is a GuardrailContentFilterType enum value.
GuardrailContentFilterTypeViolence is a GuardrailContentFilterType enum value.
GuardrailContextualGroundingFilterTypeGrounding is a GuardrailContextualGroundingFilterType enum value.
GuardrailContextualGroundingFilterTypeRelevance is a GuardrailContextualGroundingFilterType enum value.
GuardrailFilterStrengthHigh is a GuardrailFilterStrength enum value.
GuardrailFilterStrengthLow is a GuardrailFilterStrength enum value.
GuardrailFilterStrengthMedium is a GuardrailFilterStrength enum value.
GuardrailFilterStrengthNone is a GuardrailFilterStrength enum value.
GuardrailManagedWordsTypeProfanity is a GuardrailManagedWordsType enum value.
GuardrailPiiEntityTypeAddress is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeAge is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeAwsAccessKey is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeAwsSecretKey is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeCaHealthNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeCaSocialInsuranceNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeCreditDebitCardCvv is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeCreditDebitCardExpiry is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeCreditDebitCardNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeDriverId is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeEmail is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeInternationalBankAccountNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeIpAddress is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeLicensePlate is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeMacAddress is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeName is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypePassword is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypePhone is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypePin is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeSwiftCode is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUkNationalHealthServiceNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUkNationalInsuranceNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUkUniqueTaxpayerReferenceNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUrl is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUsBankAccountNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUsBankRoutingNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUsername is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUsIndividualTaxIdentificationNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUsPassportNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeUsSocialSecurityNumber is a GuardrailPiiEntityType enum value.
GuardrailPiiEntityTypeVehicleIdentificationNumber is a GuardrailPiiEntityType enum value.
GuardrailSensitiveInformationActionAnonymize is a GuardrailSensitiveInformationAction enum value.
GuardrailSensitiveInformationActionBlock is a GuardrailSensitiveInformationAction enum value.
GuardrailStatusCreating is a GuardrailStatus enum value.
GuardrailStatusDeleting is a GuardrailStatus enum value.
GuardrailStatusFailed is a GuardrailStatus enum value.
GuardrailStatusReady is a GuardrailStatus enum value.
GuardrailStatusUpdating is a GuardrailStatus enum value.
GuardrailStatusVersioning is a GuardrailStatus enum value.
GuardrailTopicTypeDeny is a GuardrailTopicType enum value.
InferenceTypeOnDemand is a InferenceType enum value.
InferenceTypeProvisioned is a InferenceType enum value.
ModelCustomizationContinuedPreTraining is a ModelCustomization enum value.
ModelCustomizationFineTuning is a ModelCustomization enum value.
ModelCustomizationJobStatusCompleted is a ModelCustomizationJobStatus enum value.
ModelCustomizationJobStatusFailed is a ModelCustomizationJobStatus enum value.
ModelCustomizationJobStatusInProgress is a ModelCustomizationJobStatus enum value.
ModelCustomizationJobStatusStopped is a ModelCustomizationJobStatus enum value.
ModelCustomizationJobStatusStopping is a ModelCustomizationJobStatus enum value.
ModelModalityEmbedding is a ModelModality enum value.
ModelModalityImage is a ModelModality enum value.
ModelModalityText is a ModelModality enum value.
ProvisionedModelStatusCreating is a ProvisionedModelStatus enum value.
ProvisionedModelStatusFailed is a ProvisionedModelStatus enum value.
ProvisionedModelStatusInService is a ProvisionedModelStatus enum value.
ProvisionedModelStatusUpdating is a ProvisionedModelStatus enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
SortByProvisionedModelsCreationTime is a SortByProvisionedModels enum value.
SortJobsByCreationTime is a SortJobsBy enum value.
SortModelsByCreationTime is a SortModelsBy enum value.
SortOrderAscending is a SortOrder enum value.
SortOrderDescending is a SortOrder enum value.
# Structs
The request is denied because of missing access permissions.
Use to specify a automatic model evaluation job.
Bedrock provides the API operation methods for making requests to Amazon Bedrock.
CloudWatch logging configuration.
Error occurred because of a conflict while performing an operation.
Summary information for a custom model.
Contains the ARN of the Amazon Bedrock models specified in your model evaluation job.
Used to specify either a AutomatedEvaluationConfig or HumanEvaluationConfig object.
Used to specify the name of a built-in prompt dataset and optionally, the Amazon S3 bucket where a custom prompt dataset is saved.
The location in Amazon S3 where your prompt dataset is stored.
Defines the built-in prompt datasets, built-in metric names and custom metric names, and the task type.
Used to define the models you want used in your model evaluation job.
Defines the models used in the model evaluation job.
The Amazon S3 location where the results of your model evaluation job are saved.
A summary of the model evaluation job.
Information about a foundation model.
Details about whether a model version is available or deprecated.
Summary information for a foundation model.
Contains filter strengths for harmful content.
Contains filter strengths for harmful content.
Contains details about how to handle harmful content.
Contains details about how to handle harmful content.
The details for the guardrails contextual grounding filter.
The filter configuration details for the guardrails contextual grounding filter.
The details for the guardrails contextual grounding policy.
The policy configuration details for the guardrails contextual grounding policy.
The managed word list that was configured for the guardrail.
The managed word list to configure for the guardrail.
The PII entity configured for the guardrail.
The PII entity to configure for the guardrail.
The regular expression configured for the guardrail.
The regular expression to configure for the guardrail.
Contains details about PII entities and regular expressions configured for the guardrail.
Contains details about PII entities and regular expressions to configure for the guardrail.
Contains details about a guardrail.
Details about topics for the guardrail to identify and deny.
Details about topics for the guardrail to identify and deny.
Contains details about topics that the guardrail should identify and deny.
Contains details about topics that the guardrail should identify and deny.
A word configured for the guardrail.
A word to configure for the guardrail.
Contains details about the word policy configured for the guardrail.
Contains details about the word policy to configured for the guardrail.
Specifies the custom metrics, how tasks will be rated, the flow definition ARN, and your custom prompt datasets.
In a model evaluation job that uses human workers you must define the name of the metric, and how you want that metric rated ratingMethod, and an optional description of the metric.
Contains SageMakerFlowDefinition object.
An internal server error occurred.
Configuration fields for invocation logging.
Information about one customization job.
S3 Location of the output data.
A summary of information about a Provisioned Throughput.
The specified resource Amazon Resource Name (ARN) was not found.
S3 configuration for storing log data.
The number of requests exceeds the service quota.
Definition of the key/value pair for a tag.
The number of requests exceeds the limit.
The request contains more tags than can be associated with a resource (50 tags per resource).
S3 Location of the training data.
Metrics associated with the custom job.
Array of up to 10 validators.
Input validation failed.
Information about a validator.
The metric for the validator.
VPC configuration.