Package-level declarations

Types

Link copied to clipboard

The request is denied because of missing access permissions.

Link copied to clipboard

Information about the agreement availability

Link copied to clipboard
sealed class AgreementStatus
Link copied to clipboard
sealed class ApplicationType
Link copied to clipboard
sealed class AttributeType
Link copied to clipboard
sealed class AuthorizationStatus
Link copied to clipboard

The configuration details of an automated evaluation job. The EvaluationDatasetMetricConfig object is used to specify the prompt datasets, task type, and metric names.

Link copied to clipboard

Defines the configuration of custom metrics to be used in an evaluation job. To learn more about using custom metrics in Amazon Bedrock evaluation jobs, see Create a prompt for a custom metrics (LLM-as-a-judge model evaluations) and Create a prompt for a custom metrics (RAG evaluations).

Link copied to clipboard

An array item definining a single custom metric for use in an Amazon Bedrock evaluation job.

Link copied to clipboard

A JSON array that provides the status of the evaluation jobs being deleted.

Link copied to clipboard

An evaluation job for deletion, and it’s current status.

Link copied to clipboard

The evaluator model used in knowledge base evaluation job or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.

Link copied to clipboard

Base class for all service related exceptions thrown by the Bedrock client

Link copied to clipboard

Contains the document contained in the wrapper object, along with its attributes/fields.

Link copied to clipboard

CloudWatch logging configuration.

Link copied to clipboard
sealed class CommitmentDuration
Link copied to clipboard

Error occurred because of a conflict while performing an operation.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class CustomizationConfig

A model customization configuration

Link copied to clipboard
sealed class CustomizationType
Link copied to clipboard

Defines the model you want to evaluate custom metrics in an Amazon Bedrock evaluation job.

Link copied to clipboard

The definition of a custom metric for use in an Amazon Bedrock evaluation job. A custom metric definition includes a metric name, prompt (instructions) and optionally, a rating scale. Your prompt must include a task description and input variables. The required input variables are different for model-as-a-judge and RAG evaluations.

Link copied to clipboard

Configuration of the evaluator model you want to use to evaluate custom metrics in an Amazon Bedrock evaluation job.

Link copied to clipboard
Link copied to clipboard

Contains summary information about a custom model deployment, including its ARN, name, status, and associated custom model.

Link copied to clipboard

Summary information for a custom model.

Link copied to clipboard

A CustomModelUnit (CMU) is an abstract view of the hardware utilization that Amazon Bedrock needs to host a single copy of your custom model. A model copy represents a single instance of your imported model that is ready to serve inference requests. Amazon Bedrock determines the number of custom model units that a model copy needs when you import the custom model.

Link copied to clipboard

For a Distillation job, the status details for the data processing sub-task of the job.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Dimensional price rate.

Link copied to clipboard

Settings for distilling a foundation model into a smaller and more efficient model.

Link copied to clipboard
sealed class EndpointConfig

Specifies the configuration for the endpoint.

Link copied to clipboard
Link copied to clipboard

Contains the ARN of the Amazon Bedrock model or inference profile specified in your evaluation job. Each Amazon Bedrock model supports different inferenceParams. To learn more about supported inference parameters for Amazon Bedrock models, see Inference parameters for foundation models.

Link copied to clipboard
sealed class EvaluationConfig

The configuration details of either an automated or human-based evaluation job.

Link copied to clipboard

Used to specify the name of a built-in prompt dataset and optionally, the Amazon S3 bucket where a custom prompt dataset is saved.

Link copied to clipboard

The location in Amazon S3 where your prompt dataset is stored.

Link copied to clipboard

Defines the prompt datasets, built-in metric names and custom metric names, and the task type.

Link copied to clipboard

The configuration details of the inference model for an evaluation job.

Link copied to clipboard

Identifies the models, Knowledge Bases, or other RAG sources evaluated in a model or Knowledge Base evaluation job.

Link copied to clipboard
sealed class EvaluationJobStatus
Link copied to clipboard
sealed class EvaluationJobType
Link copied to clipboard

Defines the models used in the model evaluation job.

Link copied to clipboard

A summary of the models used in an Amazon Bedrock model evaluation job. These resources can be models in Amazon Bedrock or models outside of Amazon Bedrock that you use to generate your own inference response data.

Link copied to clipboard

The Amazon S3 location where the results of your evaluation job are saved.

Link copied to clipboard

A summary of a model used for a model evaluation job where you provide your own inference response data.

Link copied to clipboard

A summary of a RAG source used for a Knowledge Base evaluation job where you provide your own inference response data.

A summary of a RAG source used for a retrieve-and-generate Knowledge Base evaluation job where you provide your own inference response data.

A summary of a RAG source used for a retrieve-only Knowledge Base evaluation job where you provide your own inference response data.

Link copied to clipboard

A summary of the RAG resources used in an Amazon Bedrock Knowledge Base evaluation job. These resources can be Knowledge Bases in Amazon Bedrock or RAG sources outside of Amazon Bedrock that you use to generate your own inference response data.

Link copied to clipboard

Summary information of an evaluation job.

Link copied to clipboard
sealed class EvaluationTaskType
Link copied to clipboard

Specifies the model configuration for the evaluator model. EvaluatorModelConfig is required for evaluation jobs that use a knowledge base or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.

Link copied to clipboard

The unique external source of the content contained in the wrapper object.

Link copied to clipboard

The response generation configuration of the external source wrapper object.

The configuration of the external source wrapper object in the retrieveAndGenerate function.

Link copied to clipboard
sealed class ExternalSourceType
Link copied to clipboard

Specifies a field to be used during the reranking process in a Knowledge Base vector search. This structure identifies metadata fields that should be considered when reordering search results to improve relevance.

Link copied to clipboard

Specifies the name of the metadata attribute/field to apply filters. You must match the name of the attribute/field in your data source/document metadata.

Link copied to clipboard
sealed class FineTuningJobStatus
Link copied to clipboard

Information about a foundation model.

Link copied to clipboard

Details about whether a model version is available or deprecated.

Link copied to clipboard
Link copied to clipboard

Summary information for a foundation model.

Link copied to clipboard

The configuration details for response generation based on retrieved text chunks.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The configuration details for the guardrail.

Link copied to clipboard

Contains filter strengths for harmful content. Guardrails support the following content filters to detect and filter harmful user inputs and FM-generated outputs.

Link copied to clipboard
Link copied to clipboard

Contains filter strengths for harmful content. Guardrails support the following content filters to detect and filter harmful user inputs and FM-generated outputs.

Link copied to clipboard

The tier that your guardrail uses for content filters.

Link copied to clipboard

The tier that your guardrail uses for content filters. Consider using a tier that balances performance, accuracy, and compatibility with your existing generative AI workflows.

Link copied to clipboard
Link copied to clipboard

Contains details about how to handle harmful content.

Link copied to clipboard

Contains details about how to handle harmful content.

Link copied to clipboard

The details for the guardrails contextual grounding filter.

Link copied to clipboard

The filter configuration details for the guardrails contextual grounding filter.

Link copied to clipboard

The details for the guardrails contextual grounding policy.

Link copied to clipboard

The policy configuration details for the guardrails contextual grounding policy.

Link copied to clipboard

The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles define the destination Amazon Web Services Regions where guardrail inference requests can be automatically routed. Using guardrail profiles helps maintain guardrail performance and reliability when demand increases.

Link copied to clipboard

Contains details about the system-defined guardrail profile that you're using with your guardrail for cross-Region inference.

Link copied to clipboard
Link copied to clipboard

The managed word list that was configured for the guardrail. (This is a list of words that are pre-defined and managed by guardrails only.)

Link copied to clipboard

The managed word list to configure for the guardrail.

Link copied to clipboard
Link copied to clipboard
sealed class GuardrailModality
Link copied to clipboard

The PII entity configured for the guardrail.

Link copied to clipboard

The PII entity to configure for the guardrail.

Link copied to clipboard
Link copied to clipboard

The regular expression configured for the guardrail.

Link copied to clipboard

The regular expression to configure for the guardrail.

Link copied to clipboard

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.

Link copied to clipboard
sealed class GuardrailStatus
Link copied to clipboard

Contains details about a guardrail.

Link copied to clipboard

Details about topics for the guardrail to identify and deny.

Link copied to clipboard
Link copied to clipboard

Details about topics for the guardrail to identify and deny.

Link copied to clipboard

Contains details about topics that the guardrail should identify and deny.

Link copied to clipboard

Contains details about topics that the guardrail should identify and deny.

Link copied to clipboard

The tier that your guardrail uses for denied topic filters.

Link copied to clipboard

The tier that your guardrail uses for denied topic filters. Consider using a tier that balances performance, accuracy, and compatibility with your existing generative AI workflows.

Link copied to clipboard
Link copied to clipboard
sealed class GuardrailTopicType
Link copied to clipboard

A word configured for the guardrail.

Link copied to clipboard
sealed class GuardrailWordAction
Link copied to clipboard

A word to configure for the guardrail.

Link copied to clipboard

Contains details about the word policy configured for the guardrail.

Link copied to clipboard

Contains details about the word policy to configured for the guardrail.

Link copied to clipboard

Specifies the custom metrics, how tasks will be rated, the flow definition ARN, and your custom prompt datasets. Model evaluation jobs use human workers only support the use of custom prompt datasets. To learn more about custom prompt datasets and the required format, see Custom prompt datasets.

Link copied to clipboard

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.

Link copied to clipboard

Contains SageMakerFlowDefinition object. The object is used to specify the prompt dataset, task type, rating method and metric names.

Link copied to clipboard

Configuration for implicit filtering in Knowledge Base vector searches. Implicit filtering allows you to automatically filter search results based on metadata attributes without requiring explicit filter expressions in each query.

Link copied to clipboard

Information about the imported model.

Link copied to clipboard

Contains information about a model.

Link copied to clipboard

Contains information about the model or system-defined inference profile that is the source for an inference profile..

Link copied to clipboard
Link copied to clipboard

Contains information about an inference profile.

Link copied to clipboard
Link copied to clipboard
sealed class InferenceType
Link copied to clipboard

An internal server error occurred. Retry your request.

Link copied to clipboard

Settings for using invocation logs to customize a model.

Link copied to clipboard
sealed class InvocationLogSource

A storage location for invocation logs.

Link copied to clipboard
sealed class JobStatusDetails
Link copied to clipboard

Contains configuration details of the inference for knowledge base retrieval and response generation.

Link copied to clipboard
sealed class KnowledgeBaseConfig

The configuration details for retrieving information from a knowledge base and generating responses.

Link copied to clipboard

Contains configuration details for retrieving information from a knowledge base.

Contains configuration details for retrieving information from a knowledge base and generating responses.

Link copied to clipboard

The configuration details for returning the results from the knowledge base vector search.

Link copied to clipboard
class LegalTerm

The legal term of the agreement.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Configuration fields for invocation logging.

Link copied to clipboard

Contains details about an endpoint for a model from Amazon Bedrock Marketplace.

Link copied to clipboard

Provides a summary of an endpoint for a model from Amazon Bedrock Marketplace.

Link copied to clipboard

Defines the schema for a metadata attribute used in Knowledge Base vector searches. Metadata attributes provide additional context for documents and can be used for filtering and reranking search results.

Link copied to clipboard

Configuration for how metadata should be used during the reranking process in Knowledge Base vector searches. This determines which metadata fields are included or excluded when reordering search results.

Link copied to clipboard
sealed class ModelCopyJobStatus
Link copied to clipboard

Contains details about each model copy job.

Link copied to clipboard
sealed class ModelCustomization
Link copied to clipboard
Link copied to clipboard

Information about one customization job

Link copied to clipboard
sealed class ModelDataSource

The data source of the model to import.

Link copied to clipboard
Link copied to clipboard

Information about the import job.

Link copied to clipboard

Details about the location of the input to the batch inference job.

Link copied to clipboard

Contains the configuration of the S3 location of the output data.

Link copied to clipboard

Contains the configuration of the S3 location of the input data.

Link copied to clipboard

Contains the configuration of the S3 location of the output data.

Link copied to clipboard
Link copied to clipboard

A summary of a batch inference job.

Link copied to clipboard
sealed class ModelModality
Link copied to clipboard
sealed class ModelStatus
Link copied to clipboard
class Offer

An offer dictates usage terms for the model.

Link copied to clipboard
sealed class OfferType
Link copied to clipboard

The configuration details for the model to process the prompt prior to retrieval and response generation.

Link copied to clipboard

S3 Location of the output data.

Link copied to clipboard
Link copied to clipboard

Contains performance settings for a model.

Link copied to clipboard

Describes the usage-based pricing term.

Link copied to clipboard
sealed class PromptRouterStatus
Link copied to clipboard

Details about a prompt router.

Link copied to clipboard

The target model for a prompt router.

Link copied to clipboard
sealed class PromptRouterType
Link copied to clipboard

The template for the prompt that's sent to the model for response generation.

Link copied to clipboard
Link copied to clipboard

A summary of information about a Provisioned Throughput.

Link copied to clipboard

The configuration details for transforming the prompt.

Link copied to clipboard
Link copied to clipboard
sealed class RagConfig

Contains configuration details for retrieval of information and response generation.

Link copied to clipboard

Defines the value and corresponding definition for one rating in a custom metric rating scale.

Link copied to clipboard

Defines the value for one rating in a custom metric rating scale.

Link copied to clipboard
sealed class RegionAvailability
Link copied to clipboard

A mapping of a metadata key to a value that it should or should not equal.

Link copied to clipboard

Rules for filtering invocation logs. A filter can be a mapping of a metadata key to a value that it should or should not equal (a base filter), or a list of base filters that are all applied with AND or OR logical operators

Link copied to clipboard

Configuration for selectively including or excluding metadata fields during the reranking process. This allows you to control which metadata attributes are considered when reordering search results.

Link copied to clipboard

The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.

Link copied to clipboard
sealed class RetrievalFilter

Specifies the filters to use on the metadata attributes/fields in the knowledge base data sources before returning results.

Link copied to clipboard

Contains configuration details for a knowledge base retrieval and response generation.

Link copied to clipboard
Link copied to clipboard

The configuration details for retrieving information from a knowledge base.

Link copied to clipboard

Routing criteria for a prompt router.

Link copied to clipboard
class S3Config

S3 configuration for storing log data.

Link copied to clipboard

The Amazon S3 data source of the model to import.

Link copied to clipboard
sealed class S3InputFormat
Link copied to clipboard

The unique wrapper object of the document from the S3 location.

Link copied to clipboard

Specifies the configuration for a Amazon SageMaker endpoint.

Link copied to clipboard
sealed class SearchType
Link copied to clipboard

The number of requests exceeds the service quota. Resubmit your request later.

Link copied to clipboard

Returned if the service cannot complete the request.

Link copied to clipboard
Link copied to clipboard
sealed class SortJobsBy
Link copied to clipboard
sealed class SortModelsBy
Link copied to clipboard
sealed class SortOrder
Link copied to clipboard
sealed class Status
Link copied to clipboard

For a Distillation job, the status details for sub-tasks of the job. Possible statuses for each sub-task include the following:

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Describes a support term.

Link copied to clipboard
class Tag

Definition of the key/value pair for a tag.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Details about a teacher model used for model customization.

Link copied to clipboard

Describes the usage terms of an offer.

Link copied to clipboard

The configuration details for text generation using a language model via the RetrieveAndGenerate function.

Link copied to clipboard

The number of requests exceeds the limit. Resubmit your request later.

Link copied to clipboard

The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.

Link copied to clipboard

S3 Location of the training data.

Link copied to clipboard

For a Distillation job, the status details for the training sub-task of the job.

Link copied to clipboard

Metrics associated with the custom job.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Array of up to 10 validators.

Link copied to clipboard

For a Distillation job, the status details for the validation sub-task of the job.

Link copied to clipboard

Input validation failed. Check your request parameters and retry the request.

Link copied to clipboard
class Validator

Information about a validator.

Link copied to clipboard

The metric for the validator.

Link copied to clipboard

Describes the validity terms.

Configuration for using Amazon Bedrock foundation models to rerank Knowledge Base vector search results. This enables more sophisticated relevance ranking using large language models.

Configuration for the Amazon Bedrock foundation model used for reranking vector search results. This specifies which model to use and any additional parameters required by the model.

Link copied to clipboard

Configuration for reranking vector search results to improve relevance. Reranking applies additional relevance models to reorder the initial vector search results based on more sophisticated criteria.

Link copied to clipboard
class VpcConfig

The configuration of a virtual private cloud (VPC). For more information, see Protect your data using Amazon Virtual Private Cloud and Amazon Web Services PrivateLink.