(
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
+): T & HttpAuthSchemeResolvedConfig => {
+ const config_0 = resolveAwsSdkSigV4Config(config);
+ return {
+ ...config_0,
+ } as T & HttpAuthSchemeResolvedConfig;
+};
diff --git a/clients/client-bedrock-data-automation-runtime/src/commands/GetDataAutomationStatusCommand.ts b/clients/client-bedrock-data-automation-runtime/src/commands/GetDataAutomationStatusCommand.ts
new file mode 100644
index 000000000000..1fba86df24c6
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/commands/GetDataAutomationStatusCommand.ts
@@ -0,0 +1,116 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import {
+ BedrockDataAutomationRuntimeClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+} from "../BedrockDataAutomationRuntimeClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import { GetDataAutomationStatusRequest, GetDataAutomationStatusResponse } from "../models/models_0";
+import { de_GetDataAutomationStatusCommand, se_GetDataAutomationStatusCommand } from "../protocols/Aws_json1_1";
+
+/**
+ * @public
+ */
+export type { __MetadataBearer };
+export { $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetDataAutomationStatusCommand}.
+ */
+export interface GetDataAutomationStatusCommandInput extends GetDataAutomationStatusRequest {}
+/**
+ * @public
+ *
+ * The output of {@link GetDataAutomationStatusCommand}.
+ */
+export interface GetDataAutomationStatusCommandOutput extends GetDataAutomationStatusResponse, __MetadataBearer {}
+
+/**
+ * API used to get data automation status.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { BedrockDataAutomationRuntimeClient, GetDataAutomationStatusCommand } from "@aws-sdk/client-bedrock-data-automation-runtime"; // ES Modules import
+ * // const { BedrockDataAutomationRuntimeClient, GetDataAutomationStatusCommand } = require("@aws-sdk/client-bedrock-data-automation-runtime"); // CommonJS import
+ * const client = new BedrockDataAutomationRuntimeClient(config);
+ * const input = { // GetDataAutomationStatusRequest
+ * invocationArn: "STRING_VALUE", // required
+ * };
+ * const command = new GetDataAutomationStatusCommand(input);
+ * const response = await client.send(command);
+ * // { // GetDataAutomationStatusResponse
+ * // status: "Created" || "InProgress" || "Success" || "ServiceError" || "ClientError",
+ * // errorType: "STRING_VALUE",
+ * // errorMessage: "STRING_VALUE",
+ * // outputConfiguration: { // OutputConfiguration
+ * // s3Uri: "STRING_VALUE", // required
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetDataAutomationStatusCommandInput - {@link GetDataAutomationStatusCommandInput}
+ * @returns {@link GetDataAutomationStatusCommandOutput}
+ * @see {@link GetDataAutomationStatusCommandInput} for command's `input` shape.
+ * @see {@link GetDataAutomationStatusCommandOutput} for command's `response` shape.
+ * @see {@link BedrockDataAutomationRuntimeClientResolvedConfig | config} for BedrockDataAutomationRuntimeClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * This exception will be thrown when customer does not have access to API.
+ *
+ * @throws {@link InternalServerException} (server fault)
+ * This exception is for any internal un-expected service errors.
+ *
+ * @throws {@link ResourceNotFoundException} (client fault)
+ * This exception will be thrown when resource provided from customer not found.
+ *
+ * @throws {@link ThrottlingException} (client fault)
+ * This exception will be thrown when customer reached API TPS limit.
+ *
+ * @throws {@link ValidationException} (client fault)
+ * This exception will be thrown when customer provided invalid parameters.
+ *
+ * @throws {@link BedrockDataAutomationRuntimeServiceException}
+ * Base exception class for all service exceptions from BedrockDataAutomationRuntime service.
+ *
+ * @public
+ */
+export class GetDataAutomationStatusCommand extends $Command
+ .classBuilder<
+ GetDataAutomationStatusCommandInput,
+ GetDataAutomationStatusCommandOutput,
+ BedrockDataAutomationRuntimeClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep(commonParams)
+ .m(function (this: any, Command: any, cs: any, config: BedrockDataAutomationRuntimeClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonBedrockKeystoneRuntimeService", "GetDataAutomationStatus", {})
+ .n("BedrockDataAutomationRuntimeClient", "GetDataAutomationStatusCommand")
+ .f(void 0, void 0)
+ .ser(se_GetDataAutomationStatusCommand)
+ .de(de_GetDataAutomationStatusCommand)
+ .build() {
+ /** @internal type navigation helper, not in runtime. */
+ protected declare static __types: {
+ api: {
+ input: GetDataAutomationStatusRequest;
+ output: GetDataAutomationStatusResponse;
+ };
+ sdk: {
+ input: GetDataAutomationStatusCommandInput;
+ output: GetDataAutomationStatusCommandOutput;
+ };
+ };
+}
diff --git a/clients/client-bedrock-data-automation-runtime/src/commands/InvokeDataAutomationAsyncCommand.ts b/clients/client-bedrock-data-automation-runtime/src/commands/InvokeDataAutomationAsyncCommand.ts
new file mode 100644
index 000000000000..b335afedf37a
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/commands/InvokeDataAutomationAsyncCommand.ts
@@ -0,0 +1,139 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import {
+ BedrockDataAutomationRuntimeClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+} from "../BedrockDataAutomationRuntimeClient";
+import { commonParams } from "../endpoint/EndpointParameters";
+import { InvokeDataAutomationAsyncRequest, InvokeDataAutomationAsyncResponse } from "../models/models_0";
+import { de_InvokeDataAutomationAsyncCommand, se_InvokeDataAutomationAsyncCommand } from "../protocols/Aws_json1_1";
+
+/**
+ * @public
+ */
+export type { __MetadataBearer };
+export { $Command };
+/**
+ * @public
+ *
+ * The input for {@link InvokeDataAutomationAsyncCommand}.
+ */
+export interface InvokeDataAutomationAsyncCommandInput extends InvokeDataAutomationAsyncRequest {}
+/**
+ * @public
+ *
+ * The output of {@link InvokeDataAutomationAsyncCommand}.
+ */
+export interface InvokeDataAutomationAsyncCommandOutput extends InvokeDataAutomationAsyncResponse, __MetadataBearer {}
+
+/**
+ * Async API: Invoke data automation.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { BedrockDataAutomationRuntimeClient, InvokeDataAutomationAsyncCommand } from "@aws-sdk/client-bedrock-data-automation-runtime"; // ES Modules import
+ * // const { BedrockDataAutomationRuntimeClient, InvokeDataAutomationAsyncCommand } = require("@aws-sdk/client-bedrock-data-automation-runtime"); // CommonJS import
+ * const client = new BedrockDataAutomationRuntimeClient(config);
+ * const input = { // InvokeDataAutomationAsyncRequest
+ * clientToken: "STRING_VALUE",
+ * inputConfiguration: { // InputConfiguration
+ * s3Uri: "STRING_VALUE", // required
+ * },
+ * outputConfiguration: { // OutputConfiguration
+ * s3Uri: "STRING_VALUE", // required
+ * },
+ * dataAutomationConfiguration: { // DataAutomationConfiguration
+ * dataAutomationArn: "STRING_VALUE", // required
+ * stage: "LIVE" || "DEVELOPMENT",
+ * },
+ * encryptionConfiguration: { // EncryptionConfiguration
+ * kmsKeyId: "STRING_VALUE", // required
+ * kmsEncryptionContext: { // EncryptionContextMap
+ * "": "STRING_VALUE",
+ * },
+ * },
+ * notificationConfiguration: { // NotificationConfiguration
+ * eventBridgeConfiguration: { // EventBridgeConfiguration
+ * eventBridgeEnabled: true || false, // required
+ * },
+ * },
+ * blueprints: [ // BlueprintList
+ * { // Blueprint
+ * blueprintArn: "STRING_VALUE", // required
+ * version: "STRING_VALUE",
+ * stage: "DEVELOPMENT" || "LIVE",
+ * },
+ * ],
+ * };
+ * const command = new InvokeDataAutomationAsyncCommand(input);
+ * const response = await client.send(command);
+ * // { // InvokeDataAutomationAsyncResponse
+ * // invocationArn: "STRING_VALUE", // required
+ * // };
+ *
+ * ```
+ *
+ * @param InvokeDataAutomationAsyncCommandInput - {@link InvokeDataAutomationAsyncCommandInput}
+ * @returns {@link InvokeDataAutomationAsyncCommandOutput}
+ * @see {@link InvokeDataAutomationAsyncCommandInput} for command's `input` shape.
+ * @see {@link InvokeDataAutomationAsyncCommandOutput} for command's `response` shape.
+ * @see {@link BedrockDataAutomationRuntimeClientResolvedConfig | config} for BedrockDataAutomationRuntimeClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * This exception will be thrown when customer does not have access to API.
+ *
+ * @throws {@link InternalServerException} (server fault)
+ * This exception is for any internal un-expected service errors.
+ *
+ * @throws {@link ServiceQuotaExceededException} (client fault)
+ * This exception will be thrown when service quota is exceeded.
+ *
+ * @throws {@link ThrottlingException} (client fault)
+ * This exception will be thrown when customer reached API TPS limit.
+ *
+ * @throws {@link ValidationException} (client fault)
+ * This exception will be thrown when customer provided invalid parameters.
+ *
+ * @throws {@link BedrockDataAutomationRuntimeServiceException}
+ * Base exception class for all service exceptions from BedrockDataAutomationRuntime service.
+ *
+ * @public
+ */
+export class InvokeDataAutomationAsyncCommand extends $Command
+ .classBuilder<
+ InvokeDataAutomationAsyncCommandInput,
+ InvokeDataAutomationAsyncCommandOutput,
+ BedrockDataAutomationRuntimeClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep(commonParams)
+ .m(function (this: any, Command: any, cs: any, config: BedrockDataAutomationRuntimeClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonBedrockKeystoneRuntimeService", "InvokeDataAutomationAsync", {})
+ .n("BedrockDataAutomationRuntimeClient", "InvokeDataAutomationAsyncCommand")
+ .f(void 0, void 0)
+ .ser(se_InvokeDataAutomationAsyncCommand)
+ .de(de_InvokeDataAutomationAsyncCommand)
+ .build() {
+ /** @internal type navigation helper, not in runtime. */
+ protected declare static __types: {
+ api: {
+ input: InvokeDataAutomationAsyncRequest;
+ output: InvokeDataAutomationAsyncResponse;
+ };
+ sdk: {
+ input: InvokeDataAutomationAsyncCommandInput;
+ output: InvokeDataAutomationAsyncCommandOutput;
+ };
+ };
+}
diff --git a/clients/client-bedrock-data-automation-runtime/src/commands/index.ts b/clients/client-bedrock-data-automation-runtime/src/commands/index.ts
new file mode 100644
index 000000000000..d025ec0f6563
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/commands/index.ts
@@ -0,0 +1,3 @@
+// smithy-typescript generated code
+export * from "./GetDataAutomationStatusCommand";
+export * from "./InvokeDataAutomationAsyncCommand";
diff --git a/clients/client-bedrock-data-automation-runtime/src/endpoint/EndpointParameters.ts b/clients/client-bedrock-data-automation-runtime/src/endpoint/EndpointParameters.ts
new file mode 100644
index 000000000000..a164c103c4b7
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/endpoint/EndpointParameters.ts
@@ -0,0 +1,41 @@
+// smithy-typescript generated code
+import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
+
+/**
+ * @public
+ */
+export interface ClientInputEndpointParameters {
+ region?: string | Provider;
+ useDualstackEndpoint?: boolean | Provider;
+ useFipsEndpoint?: boolean | Provider;
+ endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider;
+}
+
+export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
+ defaultSigningName: string;
+};
+
+export const resolveClientEndpointParameters = (
+ options: T & ClientInputEndpointParameters
+): T & ClientResolvedEndpointParameters => {
+ return {
+ ...options,
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
+ defaultSigningName: "bedrock",
+ };
+};
+
+export const commonParams = {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+} as const;
+
+export interface EndpointParameters extends __EndpointParameters {
+ Region?: string;
+ UseDualStack?: boolean;
+ UseFIPS?: boolean;
+ Endpoint?: string;
+}
diff --git a/clients/client-bedrock-data-automation-runtime/src/endpoint/endpointResolver.ts b/clients/client-bedrock-data-automation-runtime/src/endpoint/endpointResolver.ts
new file mode 100644
index 000000000000..ccee107f30d6
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/endpoint/endpointResolver.ts
@@ -0,0 +1,26 @@
+// smithy-typescript generated code
+import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
+import { EndpointV2, Logger } from "@smithy/types";
+import { customEndpointFunctions, EndpointCache, EndpointParams, resolveEndpoint } from "@smithy/util-endpoints";
+
+import { EndpointParameters } from "./EndpointParameters";
+import { ruleSet } from "./ruleset";
+
+const cache = new EndpointCache({
+ size: 50,
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
+});
+
+export const defaultEndpointResolver = (
+ endpointParams: EndpointParameters,
+ context: { logger?: Logger } = {}
+): EndpointV2 => {
+ return cache.get(endpointParams as EndpointParams, () =>
+ resolveEndpoint(ruleSet, {
+ endpointParams: endpointParams as EndpointParams,
+ logger: context.logger,
+ })
+ );
+};
+
+customEndpointFunctions.aws = awsEndpointFunctions;
diff --git a/clients/client-bedrock-data-automation-runtime/src/endpoint/ruleset.ts b/clients/client-bedrock-data-automation-runtime/src/endpoint/ruleset.ts
new file mode 100644
index 000000000000..b9c168634777
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/endpoint/ruleset.ts
@@ -0,0 +1,32 @@
+// @ts-nocheck
+// generated code, do not edit
+import { RuleSetObject } from "@smithy/types";
+
+/* This file is compressed. Log this object
+ or see "smithy.rules#endpointRuleSet"
+ in codegen/sdk-codegen/aws-models/bedrock-data-automation-runtime.json */
+
+const s="required",
+t="fn",
+u="argv",
+v="ref";
+const a=true,
+b="isSet",
+c="booleanEquals",
+d="error",
+e="endpoint",
+f="tree",
+g="PartitionResult",
+h={[s]:false,"type":"String"},
+i={[s]:true,"default":false,"type":"Boolean"},
+j={[v]:"Endpoint"},
+k={[t]:c,[u]:[{[v]:"UseFIPS"},true]},
+l={[t]:c,[u]:[{[v]:"UseDualStack"},true]},
+m={},
+n={[t]:"getAttr",[u]:[{[v]:g},"supportsFIPS"]},
+o={[t]:c,[u]:[true,{[t]:"getAttr",[u]:[{[v]:g},"supportsDualStack"]}]},
+p=[k],
+q=[l],
+r=[{[v]:"Region"}];
+const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[t]:b,[u]:[j]}],rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:d},{rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:d},{endpoint:{url:j,properties:m,headers:m},type:e}],type:f}],type:f},{rules:[{conditions:[{[t]:b,[u]:r}],rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:g}],rules:[{conditions:[k,l],rules:[{conditions:[{[t]:c,[u]:[a,n]},o],rules:[{rules:[{endpoint:{url:"https://bedrock-data-automation-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:d}],type:f},{conditions:p,rules:[{conditions:[{[t]:c,[u]:[n,a]}],rules:[{rules:[{endpoint:{url:"https://bedrock-data-automation-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f},{error:"FIPS is enabled but this partition does not support FIPS",type:d}],type:f},{conditions:q,rules:[{conditions:[o],rules:[{rules:[{endpoint:{url:"https://bedrock-data-automation-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f},{error:"DualStack is enabled but this partition does not support DualStack",type:d}],type:f},{rules:[{endpoint:{url:"https://bedrock-data-automation-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f}],type:f},{error:"Invalid Configuration: Missing Region",type:d}],type:f}]};
+export const ruleSet: RuleSetObject = _data;
diff --git a/clients/client-bedrock-data-automation-runtime/src/extensionConfiguration.ts b/clients/client-bedrock-data-automation-runtime/src/extensionConfiguration.ts
new file mode 100644
index 000000000000..46027e6ff985
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/extensionConfiguration.ts
@@ -0,0 +1,15 @@
+// smithy-typescript generated code
+import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
+import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
+import { DefaultExtensionConfiguration } from "@smithy/types";
+
+import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
+
+/**
+ * @internal
+ */
+export interface BedrockDataAutomationRuntimeExtensionConfiguration
+ extends HttpHandlerExtensionConfiguration,
+ DefaultExtensionConfiguration,
+ AwsRegionExtensionConfiguration,
+ HttpAuthExtensionConfiguration {}
diff --git a/clients/client-bedrock-data-automation-runtime/src/index.ts b/clients/client-bedrock-data-automation-runtime/src/index.ts
new file mode 100644
index 000000000000..cacc902a7ca3
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/index.ts
@@ -0,0 +1,16 @@
+// smithy-typescript generated code
+/* eslint-disable */
+/**
+ * Amazon Bedrock Keystone Runtime
+ *
+ * @packageDocumentation
+ */
+export * from "./BedrockDataAutomationRuntimeClient";
+export * from "./BedrockDataAutomationRuntime";
+export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
+export type { RuntimeExtension } from "./runtimeExtensions";
+export type { BedrockDataAutomationRuntimeExtensionConfiguration } from "./extensionConfiguration";
+export * from "./commands";
+export * from "./models";
+
+export { BedrockDataAutomationRuntimeServiceException } from "./models/BedrockDataAutomationRuntimeServiceException";
diff --git a/clients/client-bedrock-data-automation-runtime/src/models/BedrockDataAutomationRuntimeServiceException.ts b/clients/client-bedrock-data-automation-runtime/src/models/BedrockDataAutomationRuntimeServiceException.ts
new file mode 100644
index 000000000000..a36f5001399c
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/models/BedrockDataAutomationRuntimeServiceException.ts
@@ -0,0 +1,24 @@
+// smithy-typescript generated code
+import {
+ ServiceException as __ServiceException,
+ ServiceExceptionOptions as __ServiceExceptionOptions,
+} from "@smithy/smithy-client";
+
+export type { __ServiceExceptionOptions };
+
+export { __ServiceException };
+
+/**
+ * @public
+ *
+ * Base exception class for all service exceptions from BedrockDataAutomationRuntime service.
+ */
+export class BedrockDataAutomationRuntimeServiceException extends __ServiceException {
+ /**
+ * @internal
+ */
+ constructor(options: __ServiceExceptionOptions) {
+ super(options);
+ Object.setPrototypeOf(this, BedrockDataAutomationRuntimeServiceException.prototype);
+ }
+}
diff --git a/clients/client-bedrock-data-automation-runtime/src/models/index.ts b/clients/client-bedrock-data-automation-runtime/src/models/index.ts
new file mode 100644
index 000000000000..9eaceb12865f
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/models/index.ts
@@ -0,0 +1,2 @@
+// smithy-typescript generated code
+export * from "./models_0";
diff --git a/clients/client-bedrock-data-automation-runtime/src/models/models_0.ts b/clients/client-bedrock-data-automation-runtime/src/models/models_0.ts
new file mode 100644
index 000000000000..014000601194
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/models/models_0.ts
@@ -0,0 +1,379 @@
+// smithy-typescript generated code
+import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
+
+import { BedrockDataAutomationRuntimeServiceException as __BaseException } from "./BedrockDataAutomationRuntimeServiceException";
+
+/**
+ * This exception will be thrown when customer does not have access to API.
+ * @public
+ */
+export class AccessDeniedException extends __BaseException {
+ readonly name: "AccessDeniedException" = "AccessDeniedException";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "AccessDeniedException",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
+ }
+}
+
+/**
+ * Structure for request of GetDataAutomationStatus API.
+ * @public
+ */
+export interface GetDataAutomationStatusRequest {
+ /**
+ * Invocation arn.
+ * @public
+ */
+ invocationArn: string | undefined;
+}
+
+/**
+ * Output configuration.
+ * @public
+ */
+export interface OutputConfiguration {
+ /**
+ * S3 uri.
+ * @public
+ */
+ s3Uri: string | undefined;
+}
+
+/**
+ * @public
+ * @enum
+ */
+export const AutomationJobStatus = {
+ CLIENT_ERROR: "ClientError",
+ CREATED: "Created",
+ IN_PROGRESS: "InProgress",
+ SERVICE_ERROR: "ServiceError",
+ SUCCESS: "Success",
+} as const;
+
+/**
+ * @public
+ */
+export type AutomationJobStatus = (typeof AutomationJobStatus)[keyof typeof AutomationJobStatus];
+
+/**
+ * Response of GetDataAutomationStatus API.
+ * @public
+ */
+export interface GetDataAutomationStatusResponse {
+ /**
+ * Job Status.
+ * @public
+ */
+ status?: AutomationJobStatus | undefined;
+
+ /**
+ * Error Type.
+ * @public
+ */
+ errorType?: string | undefined;
+
+ /**
+ * Error Message.
+ * @public
+ */
+ errorMessage?: string | undefined;
+
+ /**
+ * Output configuration.
+ * @public
+ */
+ outputConfiguration?: OutputConfiguration | undefined;
+}
+
+/**
+ * This exception is for any internal un-expected service errors.
+ * @public
+ */
+export class InternalServerException extends __BaseException {
+ readonly name: "InternalServerException" = "InternalServerException";
+ readonly $fault: "server" = "server";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "InternalServerException",
+ $fault: "server",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, InternalServerException.prototype);
+ }
+}
+
+/**
+ * This exception will be thrown when resource provided from customer not found.
+ * @public
+ */
+export class ResourceNotFoundException extends __BaseException {
+ readonly name: "ResourceNotFoundException" = "ResourceNotFoundException";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "ResourceNotFoundException",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
+ }
+}
+
+/**
+ * This exception will be thrown when customer reached API TPS limit.
+ * @public
+ */
+export class ThrottlingException extends __BaseException {
+ readonly name: "ThrottlingException" = "ThrottlingException";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "ThrottlingException",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
+ }
+}
+
+/**
+ * This exception will be thrown when customer provided invalid parameters.
+ * @public
+ */
+export class ValidationException extends __BaseException {
+ readonly name: "ValidationException" = "ValidationException";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "ValidationException",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, ValidationException.prototype);
+ }
+}
+
+/**
+ * @public
+ * @enum
+ */
+export const BlueprintStage = {
+ DEVELOPMENT: "DEVELOPMENT",
+ LIVE: "LIVE",
+} as const;
+
+/**
+ * @public
+ */
+export type BlueprintStage = (typeof BlueprintStage)[keyof typeof BlueprintStage];
+
+/**
+ * Structure for single blueprint entity.
+ * @public
+ */
+export interface Blueprint {
+ /**
+ * Arn of blueprint.
+ * @public
+ */
+ blueprintArn: string | undefined;
+
+ /**
+ * Version of blueprint.
+ * @public
+ */
+ version?: string | undefined;
+
+ /**
+ * Stage of blueprint.
+ * @public
+ */
+ stage?: BlueprintStage | undefined;
+}
+
+/**
+ * @public
+ * @enum
+ */
+export const DataAutomationStage = {
+ DEVELOPMENT: "DEVELOPMENT",
+ LIVE: "LIVE",
+} as const;
+
+/**
+ * @public
+ */
+export type DataAutomationStage = (typeof DataAutomationStage)[keyof typeof DataAutomationStage];
+
+/**
+ * Data automation configuration.
+ * @public
+ */
+export interface DataAutomationConfiguration {
+ /**
+ * Data automation arn.
+ * @public
+ */
+ dataAutomationArn: string | undefined;
+
+ /**
+ * Data automation stage.
+ * @public
+ */
+ stage?: DataAutomationStage | undefined;
+}
+
+/**
+ * Encryption configuration.
+ * @public
+ */
+export interface EncryptionConfiguration {
+ /**
+ * KMS key id.
+ * @public
+ */
+ kmsKeyId: string | undefined;
+
+ /**
+ * KMS encryption context.
+ * @public
+ */
+ kmsEncryptionContext?: Record | undefined;
+}
+
+/**
+ * Input configuration.
+ * @public
+ */
+export interface InputConfiguration {
+ /**
+ * S3 uri.
+ * @public
+ */
+ s3Uri: string | undefined;
+}
+
+/**
+ * Event bridge configuration.
+ * @public
+ */
+export interface EventBridgeConfiguration {
+ /**
+ * Event bridge flag.
+ * @public
+ */
+ eventBridgeEnabled: boolean | undefined;
+}
+
+/**
+ * Notification configuration.
+ * @public
+ */
+export interface NotificationConfiguration {
+ /**
+ * Event bridge configuration.
+ * @public
+ */
+ eventBridgeConfiguration: EventBridgeConfiguration | undefined;
+}
+
+/**
+ * Invoke Data Automation Async Request
+ * @public
+ */
+export interface InvokeDataAutomationAsyncRequest {
+ /**
+ * Idempotency token.
+ * @public
+ */
+ clientToken?: string | undefined;
+
+ /**
+ * Input configuration.
+ * @public
+ */
+ inputConfiguration: InputConfiguration | undefined;
+
+ /**
+ * Output configuration.
+ * @public
+ */
+ outputConfiguration: OutputConfiguration | undefined;
+
+ /**
+ * Data automation configuration.
+ * @public
+ */
+ dataAutomationConfiguration?: DataAutomationConfiguration | undefined;
+
+ /**
+ * Encryption configuration.
+ * @public
+ */
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
+
+ /**
+ * Notification configuration.
+ * @public
+ */
+ notificationConfiguration?: NotificationConfiguration | undefined;
+
+ /**
+ * Blueprint list.
+ * @public
+ */
+ blueprints?: Blueprint[] | undefined;
+}
+
+/**
+ * Invoke Data Automation Async Response
+ * @public
+ */
+export interface InvokeDataAutomationAsyncResponse {
+ /**
+ * ARN of the automation job
+ * @public
+ */
+ invocationArn: string | undefined;
+}
+
+/**
+ * This exception will be thrown when service quota is exceeded.
+ * @public
+ */
+export class ServiceQuotaExceededException extends __BaseException {
+ readonly name: "ServiceQuotaExceededException" = "ServiceQuotaExceededException";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "ServiceQuotaExceededException",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
+ }
+}
diff --git a/clients/client-bedrock-data-automation-runtime/src/protocols/Aws_json1_1.ts b/clients/client-bedrock-data-automation-runtime/src/protocols/Aws_json1_1.ts
new file mode 100644
index 000000000000..475e96df9153
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/protocols/Aws_json1_1.ts
@@ -0,0 +1,335 @@
+// smithy-typescript generated code
+import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import {
+ _json,
+ collectBody,
+ decorateServiceException as __decorateServiceException,
+ take,
+ withBaseException,
+} from "@smithy/smithy-client";
+import {
+ Endpoint as __Endpoint,
+ HeaderBag as __HeaderBag,
+ ResponseMetadata as __ResponseMetadata,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+import { v4 as generateIdempotencyToken } from "uuid";
+
+import {
+ GetDataAutomationStatusCommandInput,
+ GetDataAutomationStatusCommandOutput,
+} from "../commands/GetDataAutomationStatusCommand";
+import {
+ InvokeDataAutomationAsyncCommandInput,
+ InvokeDataAutomationAsyncCommandOutput,
+} from "../commands/InvokeDataAutomationAsyncCommand";
+import { BedrockDataAutomationRuntimeServiceException as __BaseException } from "../models/BedrockDataAutomationRuntimeServiceException";
+import {
+ AccessDeniedException,
+ Blueprint,
+ DataAutomationConfiguration,
+ EncryptionConfiguration,
+ EventBridgeConfiguration,
+ GetDataAutomationStatusRequest,
+ InputConfiguration,
+ InternalServerException,
+ InvokeDataAutomationAsyncRequest,
+ NotificationConfiguration,
+ OutputConfiguration,
+ ResourceNotFoundException,
+ ServiceQuotaExceededException,
+ ThrottlingException,
+ ValidationException,
+} from "../models/models_0";
+
+/**
+ * serializeAws_json1_1GetDataAutomationStatusCommand
+ */
+export const se_GetDataAutomationStatusCommand = async (
+ input: GetDataAutomationStatusCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = sharedHeaders("GetDataAutomationStatus");
+ let body: any;
+ body = JSON.stringify(_json(input));
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
+/**
+ * serializeAws_json1_1InvokeDataAutomationAsyncCommand
+ */
+export const se_InvokeDataAutomationAsyncCommand = async (
+ input: InvokeDataAutomationAsyncCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = sharedHeaders("InvokeDataAutomationAsync");
+ let body: any;
+ body = JSON.stringify(se_InvokeDataAutomationAsyncRequest(input, context));
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
+/**
+ * deserializeAws_json1_1GetDataAutomationStatusCommand
+ */
+export const de_GetDataAutomationStatusCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_CommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = _json(data);
+ const response: GetDataAutomationStatusCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
+/**
+ * deserializeAws_json1_1InvokeDataAutomationAsyncCommand
+ */
+export const de_InvokeDataAutomationAsyncCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_CommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = _json(data);
+ const response: InvokeDataAutomationAsyncCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
+/**
+ * deserialize_Aws_json1_1CommandError
+ */
+const de_CommandError = async (output: __HttpResponse, context: __SerdeContext): Promise => {
+ const parsedOutput: any = {
+ ...output,
+ body: await parseErrorBody(output.body, context),
+ };
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
+ switch (errorCode) {
+ case "AccessDeniedException":
+ case "com.amazonaws.bedrockdataautomationruntime#AccessDeniedException":
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
+ case "InternalServerException":
+ case "com.amazonaws.bedrockdataautomationruntime#InternalServerException":
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
+ case "ResourceNotFoundException":
+ case "com.amazonaws.bedrockdataautomationruntime#ResourceNotFoundException":
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
+ case "ThrottlingException":
+ case "com.amazonaws.bedrockdataautomationruntime#ThrottlingException":
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
+ case "ValidationException":
+ case "com.amazonaws.bedrockdataautomationruntime#ValidationException":
+ throw await de_ValidationExceptionRes(parsedOutput, context);
+ case "ServiceQuotaExceededException":
+ case "com.amazonaws.bedrockdataautomationruntime#ServiceQuotaExceededException":
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
+ default:
+ const parsedBody = parsedOutput.body;
+ return throwDefaultError({
+ output,
+ parsedBody,
+ errorCode,
+ }) as never;
+ }
+};
+
+/**
+ * deserializeAws_json1_1AccessDeniedExceptionRes
+ */
+const de_AccessDeniedExceptionRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = _json(body);
+ const exception = new AccessDeniedException({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
+/**
+ * deserializeAws_json1_1InternalServerExceptionRes
+ */
+const de_InternalServerExceptionRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = _json(body);
+ const exception = new InternalServerException({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
+/**
+ * deserializeAws_json1_1ResourceNotFoundExceptionRes
+ */
+const de_ResourceNotFoundExceptionRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = _json(body);
+ const exception = new ResourceNotFoundException({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
+/**
+ * deserializeAws_json1_1ServiceQuotaExceededExceptionRes
+ */
+const de_ServiceQuotaExceededExceptionRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = _json(body);
+ const exception = new ServiceQuotaExceededException({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
+/**
+ * deserializeAws_json1_1ThrottlingExceptionRes
+ */
+const de_ThrottlingExceptionRes = async (parsedOutput: any, context: __SerdeContext): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = _json(body);
+ const exception = new ThrottlingException({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
+/**
+ * deserializeAws_json1_1ValidationExceptionRes
+ */
+const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeContext): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = _json(body);
+ const exception = new ValidationException({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
+// se_Blueprint omitted.
+
+// se_BlueprintList omitted.
+
+// se_DataAutomationConfiguration omitted.
+
+// se_EncryptionConfiguration omitted.
+
+// se_EncryptionContextMap omitted.
+
+// se_EventBridgeConfiguration omitted.
+
+// se_GetDataAutomationStatusRequest omitted.
+
+// se_InputConfiguration omitted.
+
+/**
+ * serializeAws_json1_1InvokeDataAutomationAsyncRequest
+ */
+const se_InvokeDataAutomationAsyncRequest = (input: InvokeDataAutomationAsyncRequest, context: __SerdeContext): any => {
+ return take(input, {
+ blueprints: _json,
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
+ dataAutomationConfiguration: _json,
+ encryptionConfiguration: _json,
+ inputConfiguration: _json,
+ notificationConfiguration: _json,
+ outputConfiguration: _json,
+ });
+};
+
+// se_NotificationConfiguration omitted.
+
+// se_OutputConfiguration omitted.
+
+// de_AccessDeniedException omitted.
+
+// de_GetDataAutomationStatusResponse omitted.
+
+// de_InternalServerException omitted.
+
+// de_InvokeDataAutomationAsyncResponse omitted.
+
+// de_OutputConfiguration omitted.
+
+// de_ResourceNotFoundException omitted.
+
+// de_ServiceQuotaExceededException omitted.
+
+// de_ThrottlingException omitted.
+
+// de_ValidationException omitted.
+
+const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({
+ httpStatusCode: output.statusCode,
+ requestId:
+ output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
+ extendedRequestId: output.headers["x-amz-id-2"],
+ cfId: output.headers["x-amz-cf-id"],
+});
+
+// Encode Uint8Array data into string with utf-8.
+const collectBodyString = (streamBody: any, context: __SerdeContext): Promise =>
+ collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
+
+const throwDefaultError = withBaseException(__BaseException);
+const buildHttpRpcRequest = async (
+ context: __SerdeContext,
+ headers: __HeaderBag,
+ path: string,
+ resolvedHostname: string | undefined,
+ body: any
+): Promise<__HttpRequest> => {
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
+ const contents: any = {
+ protocol,
+ hostname,
+ port,
+ method: "POST",
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
+ headers,
+ };
+ if (resolvedHostname !== undefined) {
+ contents.hostname = resolvedHostname;
+ }
+ if (body !== undefined) {
+ contents.body = body;
+ }
+ return new __HttpRequest(contents);
+};
+function sharedHeaders(operation: string): __HeaderBag {
+ return {
+ "content-type": "application/x-amz-json-1.1",
+ "x-amz-target": `AmazonBedrockKeystoneRuntimeService.${operation}`,
+ };
+}
diff --git a/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.browser.ts b/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.browser.ts
new file mode 100644
index 000000000000..7d97bd74d330
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.browser.ts
@@ -0,0 +1,44 @@
+// smithy-typescript generated code
+// @ts-ignore: package.json will be imported from dist folders
+import packageInfo from "../package.json"; // eslint-disable-line
+
+import { Sha256 } from "@aws-crypto/sha256-browser";
+import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
+import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
+import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
+import { invalidProvider } from "@smithy/invalid-dependency";
+import { calculateBodyLength } from "@smithy/util-body-length-browser";
+import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
+import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
+import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
+import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
+import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
+
+/**
+ * @internal
+ */
+export const getRuntimeConfig = (config: BedrockDataAutomationRuntimeClientConfig) => {
+ const defaultsMode = resolveDefaultsModeConfig(config);
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
+ const clientSharedValues = getSharedRuntimeConfig(config);
+ return {
+ ...clientSharedValues,
+ ...config,
+ runtime: "browser",
+ defaultsMode,
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
+ credentialDefaultProvider:
+ config?.credentialDefaultProvider ?? ((_: unknown) => () => Promise.reject(new Error("Credential is missing"))),
+ defaultUserAgentProvider:
+ config?.defaultUserAgentProvider ??
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
+ region: config?.region ?? invalidProvider("Region is missing"),
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
+ sha256: config?.sha256 ?? Sha256,
+ streamCollector: config?.streamCollector ?? streamCollector,
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
+ };
+};
diff --git a/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.native.ts b/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.native.ts
new file mode 100644
index 000000000000..cb709dfc2ba5
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.native.ts
@@ -0,0 +1,18 @@
+// smithy-typescript generated code
+import { Sha256 } from "@aws-crypto/sha256-js";
+
+import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
+import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
+
+/**
+ * @internal
+ */
+export const getRuntimeConfig = (config: BedrockDataAutomationRuntimeClientConfig) => {
+ const browserDefaults = getBrowserRuntimeConfig(config);
+ return {
+ ...browserDefaults,
+ ...config,
+ runtime: "react-native",
+ sha256: config?.sha256 ?? Sha256,
+ };
+};
diff --git a/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.shared.ts b/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.shared.ts
new file mode 100644
index 000000000000..7137fb73cced
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.shared.ts
@@ -0,0 +1,38 @@
+// smithy-typescript generated code
+import { AwsSdkSigV4Signer } from "@aws-sdk/core";
+import { NoOpLogger } from "@smithy/smithy-client";
+import { IdentityProviderConfig } from "@smithy/types";
+import { parseUrl } from "@smithy/url-parser";
+import { fromBase64, toBase64 } from "@smithy/util-base64";
+import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
+
+import { defaultBedrockDataAutomationRuntimeHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
+import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
+import { defaultEndpointResolver } from "./endpoint/endpointResolver";
+
+/**
+ * @internal
+ */
+export const getRuntimeConfig = (config: BedrockDataAutomationRuntimeClientConfig) => {
+ return {
+ apiVersion: "2024-06-13",
+ base64Decoder: config?.base64Decoder ?? fromBase64,
+ base64Encoder: config?.base64Encoder ?? toBase64,
+ disableHostPrefix: config?.disableHostPrefix ?? false,
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
+ extensions: config?.extensions ?? [],
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBedrockDataAutomationRuntimeHttpAuthSchemeProvider,
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
+ {
+ schemeId: "aws.auth#sigv4",
+ identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"),
+ signer: new AwsSdkSigV4Signer(),
+ },
+ ],
+ logger: config?.logger ?? new NoOpLogger(),
+ serviceId: config?.serviceId ?? "Bedrock Data Automation Runtime",
+ urlParser: config?.urlParser ?? parseUrl,
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
+ };
+};
diff --git a/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.ts b/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.ts
new file mode 100644
index 000000000000..a2ff8a98e194
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/runtimeConfig.ts
@@ -0,0 +1,60 @@
+// smithy-typescript generated code
+// @ts-ignore: package.json will be imported from dist folders
+import packageInfo from "../package.json"; // eslint-disable-line
+
+import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
+import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
+import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
+import {
+ NODE_REGION_CONFIG_FILE_OPTIONS,
+ NODE_REGION_CONFIG_OPTIONS,
+ NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
+ NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
+} from "@smithy/config-resolver";
+import { Hash } from "@smithy/hash-node";
+import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
+import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
+import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
+import { calculateBodyLength } from "@smithy/util-body-length-node";
+import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
+import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
+import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
+import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
+import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
+import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
+
+/**
+ * @internal
+ */
+export const getRuntimeConfig = (config: BedrockDataAutomationRuntimeClientConfig) => {
+ emitWarningIfUnsupportedVersion(process.version);
+ const defaultsMode = resolveDefaultsModeConfig(config);
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
+ const clientSharedValues = getSharedRuntimeConfig(config);
+ awsCheckVersion(process.version);
+ return {
+ ...clientSharedValues,
+ ...config,
+ runtime: "node",
+ defaultsMode,
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
+ defaultUserAgentProvider:
+ config?.defaultUserAgentProvider ??
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
+ retryMode:
+ config?.retryMode ??
+ loadNodeConfig({
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
+ }),
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
+ streamCollector: config?.streamCollector ?? streamCollector,
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
+ };
+};
diff --git a/clients/client-bedrock-data-automation-runtime/src/runtimeExtensions.ts b/clients/client-bedrock-data-automation-runtime/src/runtimeExtensions.ts
new file mode 100644
index 000000000000..210609da3711
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/src/runtimeExtensions.ts
@@ -0,0 +1,48 @@
+// smithy-typescript generated code
+import {
+ getAwsRegionExtensionConfiguration,
+ resolveAwsRegionExtensionConfiguration,
+} from "@aws-sdk/region-config-resolver";
+import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
+import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
+
+import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
+import { BedrockDataAutomationRuntimeExtensionConfiguration } from "./extensionConfiguration";
+
+/**
+ * @public
+ */
+export interface RuntimeExtension {
+ configure(extensionConfiguration: BedrockDataAutomationRuntimeExtensionConfiguration): void;
+}
+
+/**
+ * @public
+ */
+export interface RuntimeExtensionsConfig {
+ extensions: RuntimeExtension[];
+}
+
+const asPartial = >(t: T) => t;
+
+/**
+ * @internal
+ */
+export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => {
+ const extensionConfiguration: BedrockDataAutomationRuntimeExtensionConfiguration = {
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
+ ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
+ ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
+ };
+
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
+
+ return {
+ ...runtimeConfig,
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
+ ...resolveDefaultRuntimeConfig(extensionConfiguration),
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
+ ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
+ };
+};
diff --git a/clients/client-bedrock-data-automation-runtime/tsconfig.cjs.json b/clients/client-bedrock-data-automation-runtime/tsconfig.cjs.json
new file mode 100644
index 000000000000..3567d85ba846
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/tsconfig.cjs.json
@@ -0,0 +1,6 @@
+{
+ "extends": "./tsconfig",
+ "compilerOptions": {
+ "outDir": "dist-cjs"
+ }
+}
diff --git a/clients/client-bedrock-data-automation-runtime/tsconfig.es.json b/clients/client-bedrock-data-automation-runtime/tsconfig.es.json
new file mode 100644
index 000000000000..809f57bde65e
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/tsconfig.es.json
@@ -0,0 +1,8 @@
+{
+ "extends": "./tsconfig",
+ "compilerOptions": {
+ "lib": ["dom"],
+ "module": "esnext",
+ "outDir": "dist-es"
+ }
+}
diff --git a/clients/client-bedrock-data-automation-runtime/tsconfig.json b/clients/client-bedrock-data-automation-runtime/tsconfig.json
new file mode 100644
index 000000000000..e7f5ec56b742
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/tsconfig.json
@@ -0,0 +1,13 @@
+{
+ "extends": "@tsconfig/node16/tsconfig.json",
+ "compilerOptions": {
+ "downlevelIteration": true,
+ "importHelpers": true,
+ "incremental": true,
+ "removeComments": true,
+ "resolveJsonModule": true,
+ "rootDir": "src",
+ "useUnknownInCatchVariables": false
+ },
+ "exclude": ["test/"]
+}
diff --git a/clients/client-bedrock-data-automation-runtime/tsconfig.types.json b/clients/client-bedrock-data-automation-runtime/tsconfig.types.json
new file mode 100644
index 000000000000..4c3dfa7b3d25
--- /dev/null
+++ b/clients/client-bedrock-data-automation-runtime/tsconfig.types.json
@@ -0,0 +1,10 @@
+{
+ "extends": "./tsconfig",
+ "compilerOptions": {
+ "removeComments": false,
+ "declaration": true,
+ "declarationDir": "dist-types",
+ "emitDeclarationOnly": true
+ },
+ "exclude": ["test/**/*", "dist-types/**/*"]
+}
diff --git a/codegen/sdk-codegen/aws-models/bedrock-data-automation-runtime.json b/codegen/sdk-codegen/aws-models/bedrock-data-automation-runtime.json
new file mode 100644
index 000000000000..2fe61d839c55
--- /dev/null
+++ b/codegen/sdk-codegen/aws-models/bedrock-data-automation-runtime.json
@@ -0,0 +1,1310 @@
+{
+ "smithy": "2.0",
+ "shapes": {
+ "com.amazonaws.bedrockdataautomationruntime#AccessDeniedException": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#NonBlankString"
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "This exception will be thrown when customer does not have access to API.",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 403
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#AmazonBedrockKeystoneRuntimeService": {
+ "type": "service",
+ "version": "2024-06-13",
+ "resources": [
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#AutomationJobResource"
+ }
+ ],
+ "traits": {
+ "aws.api#service": {
+ "sdkId": "Bedrock Data Automation Runtime",
+ "arnNamespace": "bedrock",
+ "endpointPrefix": "bedrock-data-automation-runtime",
+ "cloudTrailEventSource": "bedrock.amazonaws.com"
+ },
+ "aws.auth#sigv4": {
+ "name": "bedrock"
+ },
+ "aws.protocols#awsJson1_1": {},
+ "smithy.api#documentation": "Amazon Bedrock Keystone Runtime",
+ "smithy.api#title": "Runtime for Amazon Bedrock Data Automation",
+ "smithy.rules#endpointRuleSet": {
+ "version": "1.0",
+ "parameters": {
+ "Region": {
+ "builtIn": "AWS::Region",
+ "required": false,
+ "documentation": "The AWS region used to dispatch the request.",
+ "type": "String"
+ },
+ "UseDualStack": {
+ "builtIn": "AWS::UseDualStack",
+ "required": true,
+ "default": false,
+ "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
+ "type": "Boolean"
+ },
+ "UseFIPS": {
+ "builtIn": "AWS::UseFIPS",
+ "required": true,
+ "default": false,
+ "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
+ "type": "Boolean"
+ },
+ "Endpoint": {
+ "builtIn": "SDK::Endpoint",
+ "required": false,
+ "documentation": "Override the endpoint used to send this request",
+ "type": "String"
+ }
+ },
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Endpoint"
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
+ },
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "aws.partition",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ],
+ "assign": "PartitionResult"
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ }
+ ]
+ },
+ "smithy.rules#endpointTests": {
+ "testCases": [
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime-fips.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://bedrock-data-automation-runtime.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with fips enabled and dualstack disabled",
+ "expect": {
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with fips disabled and dualstack enabled",
+ "expect": {
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "Missing region",
+ "expect": {
+ "error": "Invalid Configuration: Missing Region"
+ }
+ }
+ ],
+ "version": "1.0"
+ }
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#AutomationJobResource": {
+ "type": "resource",
+ "identifiers": {
+ "invocationArn": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#InvocationArn"
+ }
+ },
+ "create": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#InvokeDataAutomationAsync"
+ },
+ "read": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#GetDataAutomationStatus"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#AutomationJobStatus": {
+ "type": "enum",
+ "members": {
+ "CREATED": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "Created"
+ }
+ },
+ "IN_PROGRESS": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "InProgress"
+ }
+ },
+ "SUCCESS": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "Success"
+ }
+ },
+ "SERVICE_ERROR": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "ServiceError"
+ }
+ },
+ "CLIENT_ERROR": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "ClientError"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "List of status supported by automation jobs"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#Blueprint": {
+ "type": "structure",
+ "members": {
+ "blueprintArn": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#BlueprintArn",
+ "traits": {
+ "smithy.api#documentation": "Arn of blueprint.",
+ "smithy.api#required": {}
+ }
+ },
+ "version": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#BlueprintVersion",
+ "traits": {
+ "smithy.api#documentation": "Version of blueprint."
+ }
+ },
+ "stage": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#BlueprintStage",
+ "traits": {
+ "smithy.api#documentation": "Stage of blueprint."
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Structure for single blueprint entity."
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#BlueprintArn": {
+ "type": "string",
+ "traits": {
+ "smithy.api#documentation": "ARN of a Blueprint",
+ "smithy.api#length": {
+ "max": 128
+ },
+ "smithy.api#pattern": "^arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):blueprint/(bedrock-data-insights-public-[a-zA-Z0-9-_]{1,30}|bedrock-data-automation-public-[a-zA-Z0-9-_]{1,30}|[a-zA-Z0-9-]{12,36})$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#BlueprintList": {
+ "type": "list",
+ "member": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#Blueprint",
+ "traits": {
+ "smithy.api#documentation": "Blueprint."
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Blueprint list.",
+ "smithy.api#length": {
+ "min": 1
+ }
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#BlueprintStage": {
+ "type": "enum",
+ "members": {
+ "DEVELOPMENT": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "DEVELOPMENT"
+ }
+ },
+ "LIVE": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "LIVE"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Blueprint stage enum."
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#BlueprintVersion": {
+ "type": "string",
+ "traits": {
+ "smithy.api#documentation": "Blueprint version.",
+ "smithy.api#length": {
+ "min": 1,
+ "max": 128
+ },
+ "smithy.api#pattern": "^[0-9]*$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#DataAutomationArn": {
+ "type": "string",
+ "traits": {
+ "smithy.api#documentation": "Data automation arn.",
+ "smithy.api#length": {
+ "min": 1,
+ "max": 128
+ },
+ "smithy.api#pattern": "^arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):data-automation-project/[a-zA-Z0-9-_]+$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#DataAutomationConfiguration": {
+ "type": "structure",
+ "members": {
+ "dataAutomationArn": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#DataAutomationArn",
+ "traits": {
+ "smithy.api#documentation": "Data automation arn.",
+ "smithy.api#required": {}
+ }
+ },
+ "stage": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#DataAutomationStage",
+ "traits": {
+ "smithy.api#documentation": "Data automation stage."
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Data automation configuration."
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#DataAutomationStage": {
+ "type": "enum",
+ "members": {
+ "LIVE": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "LIVE"
+ }
+ },
+ "DEVELOPMENT": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "DEVELOPMENT"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Data automation stage."
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#EncryptionConfiguration": {
+ "type": "structure",
+ "members": {
+ "kmsKeyId": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#NonEmptyString",
+ "traits": {
+ "smithy.api#documentation": "KMS key id.",
+ "smithy.api#required": {}
+ }
+ },
+ "kmsEncryptionContext": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#EncryptionContextMap",
+ "traits": {
+ "smithy.api#documentation": "KMS encryption context."
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Encryption configuration."
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#EncryptionContextKey": {
+ "type": "string",
+ "traits": {
+ "smithy.api#documentation": "Excryption context key.",
+ "smithy.api#length": {
+ "min": 1,
+ "max": 2000
+ },
+ "smithy.api#pattern": "^.*\\S.*$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#EncryptionContextMap": {
+ "type": "map",
+ "key": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#EncryptionContextKey"
+ },
+ "value": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#EncryptionContextValue"
+ },
+ "traits": {
+ "smithy.api#length": {
+ "min": 1,
+ "max": 10
+ }
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#EncryptionContextValue": {
+ "type": "string",
+ "traits": {
+ "smithy.api#documentation": "Encryption context value.",
+ "smithy.api#length": {
+ "min": 1,
+ "max": 2000
+ },
+ "smithy.api#pattern": "^.*\\S.*$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#EventBridgeConfiguration": {
+ "type": "structure",
+ "members": {
+ "eventBridgeEnabled": {
+ "target": "smithy.api#Boolean",
+ "traits": {
+ "smithy.api#documentation": "Event bridge flag.",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Event bridge configuration."
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#GetDataAutomationStatus": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#GetDataAutomationStatusRequest"
+ },
+ "output": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#GetDataAutomationStatusResponse"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#AccessDeniedException"
+ },
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#InternalServerException"
+ },
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#ResourceNotFoundException"
+ },
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#ThrottlingException"
+ },
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#ValidationException"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "API used to get data automation status.",
+ "smithy.api#readonly": {}
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#GetDataAutomationStatusRequest": {
+ "type": "structure",
+ "members": {
+ "invocationArn": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#InvocationArn",
+ "traits": {
+ "smithy.api#documentation": "Invocation arn.",
+ "smithy.api#httpLabel": {},
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Structure for request of GetDataAutomationStatus API.",
+ "smithy.api#input": {},
+ "smithy.api#references": [
+ {
+ "resource": "com.amazonaws.bedrockdataautomationruntime#AutomationJobResource"
+ }
+ ]
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#GetDataAutomationStatusResponse": {
+ "type": "structure",
+ "members": {
+ "status": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#AutomationJobStatus",
+ "traits": {
+ "smithy.api#documentation": "Job Status."
+ }
+ },
+ "errorType": {
+ "target": "smithy.api#String",
+ "traits": {
+ "smithy.api#documentation": "Error Type."
+ }
+ },
+ "errorMessage": {
+ "target": "smithy.api#String",
+ "traits": {
+ "smithy.api#documentation": "Error Message."
+ }
+ },
+ "outputConfiguration": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#OutputConfiguration",
+ "traits": {
+ "smithy.api#documentation": "Output configuration."
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Response of GetDataAutomationStatus API.",
+ "smithy.api#output": {}
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#IdempotencyToken": {
+ "type": "string",
+ "traits": {
+ "smithy.api#documentation": "Client specified token used for idempotency checks",
+ "smithy.api#length": {
+ "min": 1,
+ "max": 256
+ },
+ "smithy.api#pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#InputConfiguration": {
+ "type": "structure",
+ "members": {
+ "s3Uri": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#S3Uri",
+ "traits": {
+ "smithy.api#documentation": "S3 uri.",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Input configuration."
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#InternalServerException": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#NonBlankString"
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "This exception is for any internal un-expected service errors.",
+ "smithy.api#error": "server",
+ "smithy.api#httpError": 500
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#InvocationArn": {
+ "type": "string",
+ "traits": {
+ "smithy.api#documentation": "Invocation arn.",
+ "smithy.api#length": {
+ "min": 1,
+ "max": 128
+ },
+ "smithy.api#pattern": "^arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:(insights-invocation|data-automation-invocation)/[a-zA-Z0-9-_]+$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#InvokeDataAutomationAsync": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#InvokeDataAutomationAsyncRequest"
+ },
+ "output": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#InvokeDataAutomationAsyncResponse"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#AccessDeniedException"
+ },
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#InternalServerException"
+ },
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#ServiceQuotaExceededException"
+ },
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#ThrottlingException"
+ },
+ {
+ "target": "com.amazonaws.bedrockdataautomationruntime#ValidationException"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Async API: Invoke data automation.",
+ "smithy.api#idempotent": {}
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#InvokeDataAutomationAsyncRequest": {
+ "type": "structure",
+ "members": {
+ "clientToken": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#IdempotencyToken",
+ "traits": {
+ "smithy.api#documentation": "Idempotency token.",
+ "smithy.api#idempotencyToken": {}
+ }
+ },
+ "inputConfiguration": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#InputConfiguration",
+ "traits": {
+ "smithy.api#documentation": "Input configuration.",
+ "smithy.api#required": {}
+ }
+ },
+ "outputConfiguration": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#OutputConfiguration",
+ "traits": {
+ "smithy.api#documentation": "Output configuration.",
+ "smithy.api#required": {}
+ }
+ },
+ "dataAutomationConfiguration": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#DataAutomationConfiguration",
+ "traits": {
+ "smithy.api#documentation": "Data automation configuration."
+ }
+ },
+ "encryptionConfiguration": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#EncryptionConfiguration",
+ "traits": {
+ "smithy.api#documentation": "Encryption configuration."
+ }
+ },
+ "notificationConfiguration": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#NotificationConfiguration",
+ "traits": {
+ "smithy.api#documentation": "Notification configuration."
+ }
+ },
+ "blueprints": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#BlueprintList",
+ "traits": {
+ "smithy.api#documentation": "Blueprint list."
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Invoke Data Automation Async Request",
+ "smithy.api#input": {}
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#InvokeDataAutomationAsyncResponse": {
+ "type": "structure",
+ "members": {
+ "invocationArn": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#InvocationArn",
+ "traits": {
+ "smithy.api#documentation": "ARN of the automation job",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Invoke Data Automation Async Response",
+ "smithy.api#output": {},
+ "smithy.api#references": [
+ {
+ "resource": "com.amazonaws.bedrockdataautomationruntime#AutomationJobResource"
+ }
+ ]
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#NonBlankString": {
+ "type": "string",
+ "traits": {
+ "smithy.api#pattern": "^[\\s\\S]*$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#NonEmptyString": {
+ "type": "string",
+ "traits": {
+ "smithy.api#pattern": "^.*\\S.*$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#NotificationConfiguration": {
+ "type": "structure",
+ "members": {
+ "eventBridgeConfiguration": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#EventBridgeConfiguration",
+ "traits": {
+ "smithy.api#documentation": "Event bridge configuration.",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Notification configuration."
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#OutputConfiguration": {
+ "type": "structure",
+ "members": {
+ "s3Uri": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#S3Uri",
+ "traits": {
+ "smithy.api#documentation": "S3 uri.",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Output configuration."
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#ResourceNotFoundException": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#NonBlankString"
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "This exception will be thrown when resource provided from customer not found.",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 404
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#S3Uri": {
+ "type": "string",
+ "traits": {
+ "smithy.api#documentation": "A path in S3",
+ "smithy.api#length": {
+ "min": 1,
+ "max": 1024
+ },
+ "smithy.api#pattern": "^s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]([^\\x00-\\x1F\\x7F\\{^}%`\\]\">\\[~<#|]*)?$"
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#ServiceQuotaExceededException": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#NonBlankString"
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "This exception will be thrown when service quota is exceeded.",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 402
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#ThrottlingException": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#NonBlankString"
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "This exception will be thrown when customer reached API TPS limit.",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 429
+ }
+ },
+ "com.amazonaws.bedrockdataautomationruntime#ValidationException": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.bedrockdataautomationruntime#NonBlankString"
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "This exception will be thrown when customer provided invalid parameters.",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 400
+ }
+ }
+ }
+}