Interface BedrockInvokeModelOutputProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BedrockInvokeModelOutputProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:24.424Z")
@Stability(Stable)
public interface BedrockInvokeModelOutputProps
extends software.amazon.jsii.JsiiSerializable
Location where the Bedrock InvokeModel API response is written.
Example:
import software.amazon.awscdk.services.bedrock.*; FoundationModel model = FoundationModel.fromFoundationModelId(this, "Model", FoundationModelIdentifier.AMAZON_TITAN_TEXT_G1_EXPRESS_V1); BedrockInvokeModel task = BedrockInvokeModel.Builder.create(this, "Prompt Model") .model(model) .input(BedrockInvokeModelInputProps.builder().s3InputUri(JsonPath.stringAt("$.prompt")).build()) .output(BedrockInvokeModelOutputProps.builder().s3OutputUri(JsonPath.stringAt("$.prompt")).build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBedrockInvokeModelOutputProps
static final class
An implementation forBedrockInvokeModelOutputProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getS3Location
S3 object where the Bedrock InvokeModel API response is written.If you specify this field, the API response body is replaced with a reference to the Amazon S3 location of the original output.
Default: - Response body is returned in the task result
-
getS3OutputUri
The destination location where the API response is written.This field can be used to specify s3 URI in the form of token
Default: - The API response body is returned in the result.
-
builder
-