AWS SDK for C++AWS SDK for C++ Version 1.11.509 |
#include <BedrockClient.h>
Describes the API operations for creating, managing, fine-turning, and evaluating Amazon Bedrock models.
Definition at line 26 of file BedrockClient.h.
Definition at line 41 of file BedrockClient.h.
Definition at line 42 of file BedrockClient.h.
Aws::Bedrock::BedrockClientConfiguration()
,
nullptr
Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
nullptr
,
Aws::Bedrock::BedrockClientConfiguration()
Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
nullptr
,
Aws::Bedrock::BedrockClientConfiguration()
Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, the default http client factory will be used
Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, the default http client factory will be used
Deletes a batch of evaluation jobs. An evaluation job can only be deleted if it has following status FAILED
, COMPLETED
, and STOPPED
. You can request up to 25 model evaluation jobs be deleted in a single request.
nullptr
An Async wrapper for BatchDeleteEvaluationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 115 of file BedrockClient.h.
A Callable wrapper for BatchDeleteEvaluationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 106 of file BedrockClient.h.
nullptr
An Async wrapper for CreateEvaluationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 140 of file BedrockClient.h.
A Callable wrapper for CreateEvaluationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 131 of file BedrockClient.h.
Creates a guardrail to block topics and to implement safeguards for your generative AI applications.
You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection.
Content filters - Adjust filter strengths to block input prompts or model responses containing harmful content.
Denied topics - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses.
Word filters - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc.
Sensitive information filters - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses.
In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail.
For more information, see Amazon Bedrock Guardrails in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for CreateGuardrail that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 184 of file BedrockClient.h.
A Callable wrapper for CreateGuardrail that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 175 of file BedrockClient.h.
Creates a version of the guardrail. Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.
nullptr
An Async wrapper for CreateGuardrailVersion that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 211 of file BedrockClient.h.
A Callable wrapper for CreateGuardrailVersion that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 202 of file BedrockClient.h.
Creates an application inference profile to track metrics and costs when invoking a model. To create an application inference profile for a foundation model in one region, specify the ARN of the model in that region. To create an application inference profile for a foundation model across multiple regions, specify the ARN of the system-defined inference profile that contains the regions that you want to route requests to. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for CreateInferenceProfile that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 244 of file BedrockClient.h.
A Callable wrapper for CreateInferenceProfile that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 235 of file BedrockClient.h.
Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.
nullptr
An Async wrapper for CreateMarketplaceModelEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 270 of file BedrockClient.h.
A Callable wrapper for CreateMarketplaceModelEndpoint that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 261 of file BedrockClient.h.
Copies a model to another region so that it can be used there. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for CreateModelCopyJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 300 of file BedrockClient.h.
A Callable wrapper for CreateModelCopyJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 291 of file BedrockClient.h.
Creates a fine-tuning job to customize a base model.
You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Amazon Bedrock returns validation loss metrics and output generations after the job completes.
For information on the format of training and validation data, see Prepare the datasets.
Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob
operation to retrieve the job status.
For more information, see Custom models in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for CreateModelCustomizationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 339 of file BedrockClient.h.
A Callable wrapper for CreateModelCustomizationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 330 of file BedrockClient.h.
Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see Import a customized model
nullptr
An Async wrapper for CreateModelImportJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 367 of file BedrockClient.h.
A Callable wrapper for CreateModelImportJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 358 of file BedrockClient.h.
Creates a batch inference job to invoke a model on multiple prompts. Format your data according to Format your inference data and upload it to an Amazon S3 bucket. For more information, see Process multiple prompts with batch inference.
The response returns a jobArn
that you can use to stop or get details about the job.
nullptr
An Async wrapper for CreateModelInvocationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 400 of file BedrockClient.h.
A Callable wrapper for CreateModelInvocationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 391 of file BedrockClient.h.
Creates dedicated throughput for a base or custom model with the model units and for the duration that you specify. For pricing details, see Amazon Bedrock Pricing. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for CreateProvisionedModelThroughput that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 432 of file BedrockClient.h.
A Callable wrapper for CreateProvisionedModelThroughput that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 423 of file BedrockClient.h.
Deletes a custom model that you created earlier. For more information, see Custom models in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for DeleteCustomModel that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 461 of file BedrockClient.h.
A Callable wrapper for DeleteCustomModel that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 452 of file BedrockClient.h.
Deletes a guardrail.
To delete a guardrail, only specify the ARN of the guardrail in the guardrailIdentifier
field. If you delete a guardrail, all of its versions will be deleted.
To delete a version of a guardrail, specify the ARN of the guardrail in the guardrailIdentifier
field and the version in the guardrailVersion
field.
nullptr
An Async wrapper for DeleteGuardrail that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 491 of file BedrockClient.h.
A Callable wrapper for DeleteGuardrail that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 482 of file BedrockClient.h.
Deletes a custom model that you imported earlier. For more information, see Import a customized model in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for DeleteImportedModel that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 521 of file BedrockClient.h.
A Callable wrapper for DeleteImportedModel that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 512 of file BedrockClient.h.
Deletes an application inference profile. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for DeleteInferenceProfile that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 549 of file BedrockClient.h.
A Callable wrapper for DeleteInferenceProfile that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 540 of file BedrockClient.h.
nullptr
An Async wrapper for DeleteMarketplaceModelEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 575 of file BedrockClient.h.
A Callable wrapper for DeleteMarketplaceModelEndpoint that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 566 of file BedrockClient.h.
{}
)
const
nullptr
,
{}
An Async wrapper for DeleteModelInvocationLoggingConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 600 of file BedrockClient.h.
{}
)
const
A Callable wrapper for DeleteModelInvocationLoggingConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 591 of file BedrockClient.h.
Deletes a Provisioned Throughput. You can't delete a Provisioned Throughput before the commitment term is over. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for DeleteProvisionedModelThroughput that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 630 of file BedrockClient.h.
A Callable wrapper for DeleteProvisionedModelThroughput that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 621 of file BedrockClient.h.
nullptr
An Async wrapper for DeregisterMarketplaceModelEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 657 of file BedrockClient.h.
A Callable wrapper for DeregisterMarketplaceModelEndpoint that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 648 of file BedrockClient.h.
Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for GetCustomModel that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 687 of file BedrockClient.h.
A Callable wrapper for GetCustomModel that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 678 of file BedrockClient.h.
Gets information about an evaluation job, such as the status of the job.
nullptr
An Async wrapper for GetEvaluationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 713 of file BedrockClient.h.
A Callable wrapper for GetEvaluationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 704 of file BedrockClient.h.
nullptr
An Async wrapper for GetFoundationModel that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 739 of file BedrockClient.h.
A Callable wrapper for GetFoundationModel that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 730 of file BedrockClient.h.
Gets details about a guardrail. If you don't specify a version, the response returns details for the DRAFT
version.
nullptr
An Async wrapper for GetGuardrail that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 766 of file BedrockClient.h.
A Callable wrapper for GetGuardrail that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 757 of file BedrockClient.h.
nullptr
An Async wrapper for GetImportedModel that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 792 of file BedrockClient.h.
A Callable wrapper for GetImportedModel that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 783 of file BedrockClient.h.
Gets information about an inference profile. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for GetInferenceProfile that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 820 of file BedrockClient.h.
A Callable wrapper for GetInferenceProfile that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 811 of file BedrockClient.h.
Retrieves details about a specific endpoint for a model from Amazon Bedrock Marketplace.
nullptr
An Async wrapper for GetMarketplaceModelEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 846 of file BedrockClient.h.
A Callable wrapper for GetMarketplaceModelEndpoint that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 837 of file BedrockClient.h.
Retrieves information about a model copy job. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for GetModelCopyJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 875 of file BedrockClient.h.
A Callable wrapper for GetModelCopyJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 866 of file BedrockClient.h.
Retrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for GetModelCustomizationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 905 of file BedrockClient.h.
A Callable wrapper for GetModelCustomizationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 896 of file BedrockClient.h.
Retrieves the properties associated with import model job, including the status of the job. For more information, see Import a customized model in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for GetModelImportJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 935 of file BedrockClient.h.
A Callable wrapper for GetModelImportJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 926 of file BedrockClient.h.
Gets details about a batch inference job. For more information, see Monitor batch inference jobs
nullptr
An Async wrapper for GetModelInvocationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 962 of file BedrockClient.h.
A Callable wrapper for GetModelInvocationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 953 of file BedrockClient.h.
{}
)
const
nullptr
,
{}
An Async wrapper for GetModelInvocationLoggingConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 988 of file BedrockClient.h.
{}
)
const
A Callable wrapper for GetModelInvocationLoggingConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 979 of file BedrockClient.h.
nullptr
An Async wrapper for GetPromptRouter that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1013 of file BedrockClient.h.
A Callable wrapper for GetPromptRouter that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1004 of file BedrockClient.h.
Returns details for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for GetProvisionedModelThroughput that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1042 of file BedrockClient.h.
A Callable wrapper for GetProvisionedModelThroughput that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1033 of file BedrockClient.h.
Definition at line 39 of file BedrockClient.h.
{}
)
const
Returns a list of the custom models that you have created with the CreateModelCustomizationJob
operation.
For more information, see Custom models in the Amazon Bedrock User Guide.
nullptr
,
{}
An Async wrapper for ListCustomModels that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1073 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListCustomModels that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1064 of file BedrockClient.h.
{}
)
const
nullptr
,
{}
An Async wrapper for ListEvaluationJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1098 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListEvaluationJobs that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1089 of file BedrockClient.h.
{}
)
const
Lists Amazon Bedrock foundation models that you can use. You can filter the results with the request parameters. For more information, see Foundation models in the Amazon Bedrock User Guide.
nullptr
,
{}
An Async wrapper for ListFoundationModels that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1128 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListFoundationModels that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1119 of file BedrockClient.h.
{}
)
const
Lists details about all the guardrails in an account. To list the DRAFT
version of all your guardrails, don't specify the guardrailIdentifier
field. To list all versions of a guardrail, specify the ARN of the guardrail in the guardrailIdentifier
field.
You can set the maximum number of results to return in a response in the maxResults
field. If there are more results than the number you set, the response returns a nextToken
that you can send in another ListGuardrails
request to see the next batch of results.
nullptr
,
{}
An Async wrapper for ListGuardrails that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1161 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListGuardrails that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1152 of file BedrockClient.h.
{}
)
const
Returns a list of models you've imported. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.
nullptr
,
{}
An Async wrapper for ListImportedModels that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1191 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListImportedModels that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1182 of file BedrockClient.h.
{}
)
const
Returns a list of inference profiles that you can use. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
nullptr
,
{}
An Async wrapper for ListInferenceProfiles that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1220 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListInferenceProfiles that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1211 of file BedrockClient.h.
{}
)
const
Lists the endpoints for models from Amazon Bedrock Marketplace in your Amazon Web Services account.
nullptr
,
{}
An Async wrapper for ListMarketplaceModelEndpoints that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1246 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListMarketplaceModelEndpoints that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1237 of file BedrockClient.h.
{}
)
const
Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
nullptr
,
{}
An Async wrapper for ListModelCopyJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1276 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListModelCopyJobs that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1267 of file BedrockClient.h.
{}
)
const
Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.
For more information, see Custom models in the Amazon Bedrock User Guide.
nullptr
,
{}
An Async wrapper for ListModelCustomizationJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1307 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListModelCustomizationJobs that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1298 of file BedrockClient.h.
{}
)
const
Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.
nullptr
,
{}
An Async wrapper for ListModelImportJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1337 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListModelImportJobs that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1328 of file BedrockClient.h.
{}
)
const
Lists all batch inference jobs in the account. For more information, see View details about a batch inference job.
nullptr
,
{}
An Async wrapper for ListModelInvocationJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1364 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListModelInvocationJobs that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1355 of file BedrockClient.h.
{}
)
const
nullptr
,
{}
An Async wrapper for ListPromptRouters that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1389 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListPromptRouters that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1380 of file BedrockClient.h.
{}
)
const
Lists the Provisioned Throughputs in the account. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
nullptr
,
{}
An Async wrapper for ListProvisionedModelThroughputs that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1419 of file BedrockClient.h.
{}
)
const
A Callable wrapper for ListProvisionedModelThroughputs that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1410 of file BedrockClient.h.
List the tags associated with the specified resource.
For more information, see Tagging resources in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1449 of file BedrockClient.h.
A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1440 of file BedrockClient.h.
nullptr
An Async wrapper for PutModelInvocationLoggingConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1475 of file BedrockClient.h.
A Callable wrapper for PutModelInvocationLoggingConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1466 of file BedrockClient.h.
nullptr
An Async wrapper for RegisterMarketplaceModelEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1502 of file BedrockClient.h.
A Callable wrapper for RegisterMarketplaceModelEndpoint that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1493 of file BedrockClient.h.
nullptr
An Async wrapper for StopEvaluationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1528 of file BedrockClient.h.
A Callable wrapper for StopEvaluationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1519 of file BedrockClient.h.
Stops an active model customization job. For more information, see Custom models in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for StopModelCustomizationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1557 of file BedrockClient.h.
A Callable wrapper for StopModelCustomizationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1548 of file BedrockClient.h.
Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see Stop a batch inference job.
nullptr
An Async wrapper for StopModelInvocationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1585 of file BedrockClient.h.
A Callable wrapper for StopModelInvocationJob that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1576 of file BedrockClient.h.
Associate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1614 of file BedrockClient.h.
A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1605 of file BedrockClient.h.
Remove one or more tags from a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1643 of file BedrockClient.h.
A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1634 of file BedrockClient.h.
Updates a guardrail with the values you specify.
Specify a name
and optional description
.
Specify messages for when the guardrail successfully blocks a prompt or a model response in the blockedInputMessaging
and blockedOutputsMessaging
fields.
Specify topics for the guardrail to deny in the topicPolicyConfig
object. Each GuardrailTopicConfig object in the topicsConfig
list pertains to one topic.
Give a name
and description
so that the guardrail can properly identify the topic.
Specify DENY
in the type
field.
(Optional) Provide up to five prompts that you would categorize as belonging to the topic in the examples
list.
Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig
object. Each GuardrailContentFilterConfig object in the filtersConfig
list pertains to a harmful category. For more information, see Content filters. For more information about the fields in a content filter, see GuardrailContentFilterConfig.
Specify the category in the type
field.
Specify the strength of the filter for prompts in the inputStrength
field and for model responses in the strength
field of the GuardrailContentFilterConfig.
(Optional) For security, include the ARN of a KMS key in the kmsKeyId
field.
nullptr
An Async wrapper for UpdateGuardrail that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1695 of file BedrockClient.h.
A Callable wrapper for UpdateGuardrail that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1686 of file BedrockClient.h.
Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace.
nullptr
An Async wrapper for UpdateMarketplaceModelEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1721 of file BedrockClient.h.
A Callable wrapper for UpdateMarketplaceModelEndpoint that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1712 of file BedrockClient.h.
Updates the name or associated model for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
nullptr
An Async wrapper for UpdateProvisionedModelThroughput that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 1751 of file BedrockClient.h.
A Callable wrapper for UpdateProvisionedModelThroughput that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 1742 of file BedrockClient.h.
Definition at line 1758 of file BedrockClient.h.