@aws-sdk/client-bedrock-data-automation-runtime 3.808.0 → 3.812.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ServiceQuotaExceededException = exports.DataAutomationStage = exports.BlueprintStage = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AutomationJobStatus = exports.AccessDeniedException = void 0;
3
+ exports.ServiceQuotaExceededException = exports.VideoSegmentConfiguration = exports.DataAutomationStage = exports.BlueprintStage = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AutomationJobStatus = exports.AccessDeniedException = void 0;
4
4
  const BedrockDataAutomationRuntimeServiceException_1 = require("./BedrockDataAutomationRuntimeServiceException");
5
5
  class AccessDeniedException extends BedrockDataAutomationRuntimeServiceException_1.BedrockDataAutomationRuntimeServiceException {
6
6
  name = "AccessDeniedException";
@@ -82,6 +82,14 @@ exports.DataAutomationStage = {
82
82
  DEVELOPMENT: "DEVELOPMENT",
83
83
  LIVE: "LIVE",
84
84
  };
85
+ var VideoSegmentConfiguration;
86
+ (function (VideoSegmentConfiguration) {
87
+ VideoSegmentConfiguration.visit = (value, visitor) => {
88
+ if (value.timestampSegment !== undefined)
89
+ return visitor.timestampSegment(value.timestampSegment);
90
+ return visitor._(value.$unknown[0], value.$unknown[1]);
91
+ };
92
+ })(VideoSegmentConfiguration || (exports.VideoSegmentConfiguration = VideoSegmentConfiguration = {}));
85
93
  class ServiceQuotaExceededException extends BedrockDataAutomationRuntimeServiceException_1.BedrockDataAutomationRuntimeServiceException {
86
94
  name = "ServiceQuotaExceededException";
87
95
  $fault = "client";
@@ -74,6 +74,14 @@ export const DataAutomationStage = {
74
74
  DEVELOPMENT: "DEVELOPMENT",
75
75
  LIVE: "LIVE",
76
76
  };
77
+ export var VideoSegmentConfiguration;
78
+ (function (VideoSegmentConfiguration) {
79
+ VideoSegmentConfiguration.visit = (value, visitor) => {
80
+ if (value.timestampSegment !== undefined)
81
+ return visitor.timestampSegment(value.timestampSegment);
82
+ return visitor._(value.$unknown[0], value.$unknown[1]);
83
+ };
84
+ })(VideoSegmentConfiguration || (VideoSegmentConfiguration = {}));
77
85
  export class ServiceQuotaExceededException extends __BaseException {
78
86
  name = "ServiceQuotaExceededException";
79
87
  $fault = "client";
@@ -38,6 +38,16 @@ declare const InvokeDataAutomationAsyncCommand_base: {
38
38
  * clientToken: "STRING_VALUE",
39
39
  * inputConfiguration: { // InputConfiguration
40
40
  * s3Uri: "STRING_VALUE", // required
41
+ * assetProcessingConfiguration: { // AssetProcessingConfiguration
42
+ * video: { // VideoAssetProcessingConfiguration
43
+ * segmentConfiguration: { // VideoSegmentConfiguration Union: only one key present
44
+ * timestampSegment: { // TimestampSegment
45
+ * startTimeMillis: Number("long"), // required
46
+ * endTimeMillis: Number("long"), // required
47
+ * },
48
+ * },
49
+ * },
50
+ * },
41
51
  * },
42
52
  * outputConfiguration: { // OutputConfiguration
43
53
  * s3Uri: "STRING_VALUE", // required
@@ -200,6 +200,74 @@ export interface EncryptionConfiguration {
200
200
  */
201
201
  kmsEncryptionContext?: Record<string, string> | undefined;
202
202
  }
203
+ /**
204
+ * Timestamp segment
205
+ * @public
206
+ */
207
+ export interface TimestampSegment {
208
+ /**
209
+ * Start timestamp in milliseconds
210
+ * @public
211
+ */
212
+ startTimeMillis: number | undefined;
213
+ /**
214
+ * End timestamp in milliseconds
215
+ * @public
216
+ */
217
+ endTimeMillis: number | undefined;
218
+ }
219
+ /**
220
+ * Delimits the segment of the input that will be processed
221
+ * @public
222
+ */
223
+ export type VideoSegmentConfiguration = VideoSegmentConfiguration.TimestampSegmentMember | VideoSegmentConfiguration.$UnknownMember;
224
+ /**
225
+ * @public
226
+ */
227
+ export declare namespace VideoSegmentConfiguration {
228
+ /**
229
+ * Timestamp segment
230
+ * @public
231
+ */
232
+ interface TimestampSegmentMember {
233
+ timestampSegment: TimestampSegment;
234
+ $unknown?: never;
235
+ }
236
+ /**
237
+ * @public
238
+ */
239
+ interface $UnknownMember {
240
+ timestampSegment?: never;
241
+ $unknown: [string, any];
242
+ }
243
+ interface Visitor<T> {
244
+ timestampSegment: (value: TimestampSegment) => T;
245
+ _: (name: string, value: any) => T;
246
+ }
247
+ const visit: <T>(value: VideoSegmentConfiguration, visitor: Visitor<T>) => T;
248
+ }
249
+ /**
250
+ * Video asset processing configuration
251
+ * @public
252
+ */
253
+ export interface VideoAssetProcessingConfiguration {
254
+ /**
255
+ * Delimits the segment of the input that will be processed
256
+ * @public
257
+ */
258
+ segmentConfiguration?: VideoSegmentConfiguration | undefined;
259
+ }
260
+ /**
261
+ * Config containing asset processing related knobs for all modalities
262
+ * @public
263
+ */
264
+ export interface AssetProcessingConfiguration {
265
+ /**
266
+ * Video asset processing configuration
267
+ * @public
268
+ */
269
+ video?: VideoAssetProcessingConfiguration | undefined;
270
+ }
203
271
  /**
204
272
  * Input configuration.
205
273
  * @public
@@ -210,6 +278,11 @@ export interface InputConfiguration {
210
278
  * @public
211
279
  */
212
280
  s3Uri: string | undefined;
281
+ /**
282
+ * Asset processing configuration
283
+ * @public
284
+ */
285
+ assetProcessingConfiguration?: AssetProcessingConfiguration | undefined;
213
286
  }
214
287
  /**
215
288
  * Event bridge configuration.
@@ -81,8 +81,37 @@ export interface EncryptionConfiguration {
81
81
  kmsKeyId: string | undefined;
82
82
  kmsEncryptionContext?: Record<string, string> | undefined;
83
83
  }
84
+ export interface TimestampSegment {
85
+ startTimeMillis: number | undefined;
86
+ endTimeMillis: number | undefined;
87
+ }
88
+ export type VideoSegmentConfiguration =
89
+ | VideoSegmentConfiguration.TimestampSegmentMember
90
+ | VideoSegmentConfiguration.$UnknownMember;
91
+ export declare namespace VideoSegmentConfiguration {
92
+ interface TimestampSegmentMember {
93
+ timestampSegment: TimestampSegment;
94
+ $unknown?: never;
95
+ }
96
+ interface $UnknownMember {
97
+ timestampSegment?: never;
98
+ $unknown: [string, any];
99
+ }
100
+ interface Visitor<T> {
101
+ timestampSegment: (value: TimestampSegment) => T;
102
+ _: (name: string, value: any) => T;
103
+ }
104
+ const visit: <T>(value: VideoSegmentConfiguration, visitor: Visitor<T>) => T;
105
+ }
106
+ export interface VideoAssetProcessingConfiguration {
107
+ segmentConfiguration?: VideoSegmentConfiguration | undefined;
108
+ }
109
+ export interface AssetProcessingConfiguration {
110
+ video?: VideoAssetProcessingConfiguration | undefined;
111
+ }
84
112
  export interface InputConfiguration {
85
113
  s3Uri: string | undefined;
114
+ assetProcessingConfiguration?: AssetProcessingConfiguration | undefined;
86
115
  }
87
116
  export interface EventBridgeConfiguration {
88
117
  eventBridgeEnabled: boolean | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-data-automation-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Data Automation Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.808.0",
4
+ "version": "3.812.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.808.0",
24
- "@aws-sdk/credential-provider-node": "3.808.0",
23
+ "@aws-sdk/core": "3.812.0",
24
+ "@aws-sdk/credential-provider-node": "3.812.0",
25
25
  "@aws-sdk/middleware-host-header": "3.804.0",
26
26
  "@aws-sdk/middleware-logger": "3.804.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
- "@aws-sdk/middleware-user-agent": "3.808.0",
28
+ "@aws-sdk/middleware-user-agent": "3.812.0",
29
29
  "@aws-sdk/region-config-resolver": "3.808.0",
30
30
  "@aws-sdk/types": "3.804.0",
31
31
  "@aws-sdk/util-endpoints": "3.808.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.804.0",
33
- "@aws-sdk/util-user-agent-node": "3.808.0",
33
+ "@aws-sdk/util-user-agent-node": "3.812.0",
34
34
  "@smithy/config-resolver": "^4.1.2",
35
- "@smithy/core": "^3.3.1",
35
+ "@smithy/core": "^3.3.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.4",
41
- "@smithy/middleware-retry": "^4.1.5",
42
- "@smithy/middleware-serde": "^4.0.3",
40
+ "@smithy/middleware-endpoint": "^4.1.6",
41
+ "@smithy/middleware-retry": "^4.1.7",
42
+ "@smithy/middleware-serde": "^4.0.5",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
44
  "@smithy/node-config-provider": "^4.1.1",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.4",
47
+ "@smithy/smithy-client": "^4.2.6",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.12",
54
- "@smithy/util-defaults-mode-node": "^4.0.12",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.14",
54
+ "@smithy/util-defaults-mode-node": "^4.0.14",
55
55
  "@smithy/util-endpoints": "^3.0.4",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
57
  "@smithy/util-retry": "^4.0.3",