| Package | Description |
|---|---|
| com.amazonaws.services.bedrock |
Describes the API operations for creating, managing, fine-turning, and evaluating Amazon Bedrock models.
|
| com.amazonaws.services.bedrock.model |
| Modifier and Type | Method and Description |
|---|---|
Future<CreateGuardrailResult> |
AmazonBedrockAsyncClient.createGuardrailAsync(CreateGuardrailRequest request,
AsyncHandler<CreateGuardrailRequest,CreateGuardrailResult> asyncHandler) |
Future<CreateGuardrailResult> |
AbstractAmazonBedrockAsync.createGuardrailAsync(CreateGuardrailRequest request,
AsyncHandler<CreateGuardrailRequest,CreateGuardrailResult> asyncHandler) |
Future<CreateGuardrailResult> |
AmazonBedrockAsync.createGuardrailAsync(CreateGuardrailRequest createGuardrailRequest,
AsyncHandler<CreateGuardrailRequest,CreateGuardrailResult> asyncHandler)
Creates a guardrail to block topics and to filter out harmful content.
|
| Modifier and Type | Method and Description |
|---|---|
CreateGuardrailRequest |
CreateGuardrailRequest.clone() |
CreateGuardrailRequest |
CreateGuardrailRequest.withBlockedInputMessaging(String blockedInputMessaging)
The message to return when the guardrail blocks a prompt.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withBlockedOutputsMessaging(String blockedOutputsMessaging)
The message to return when the guardrail blocks a model response.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than once.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withContentPolicyConfig(GuardrailContentPolicyConfig contentPolicyConfig)
The content filter policies to configure for the guardrail.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withDescription(String description)
A description of the guardrail.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withKmsKeyId(String kmsKeyId)
The ARN of the KMS key that you use to encrypt the guardrail.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withName(String name)
The name to give the guardrail.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withSensitiveInformationPolicyConfig(GuardrailSensitiveInformationPolicyConfig sensitiveInformationPolicyConfig)
The sensitive information policy to configure for the guardrail.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withTags(Collection<Tag> tags)
The tags that you want to attach to the guardrail.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withTags(Tag... tags)
The tags that you want to attach to the guardrail.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withTopicPolicyConfig(GuardrailTopicPolicyConfig topicPolicyConfig)
The topic policies to configure for the guardrail.
|
CreateGuardrailRequest |
CreateGuardrailRequest.withWordPolicyConfig(GuardrailWordPolicyConfig wordPolicyConfig)
The word policy you configure for the guardrail.
|
Copyright © 2024. All rights reserved.