@aws-sdk/client-bedrock-data-automation-runtime 3.936.0 → 3.938.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.
package/README.md CHANGED
@@ -216,6 +216,14 @@ GetDataAutomationStatus
216
216
 
217
217
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-data-automation-runtime/command/GetDataAutomationStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation-runtime/Interface/GetDataAutomationStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation-runtime/Interface/GetDataAutomationStatusCommandOutput/)
218
218
 
219
+ </details>
220
+ <details>
221
+ <summary>
222
+ InvokeDataAutomation
223
+ </summary>
224
+
225
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-data-automation-runtime/command/InvokeDataAutomationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation-runtime/Interface/InvokeDataAutomationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation-runtime/Interface/InvokeDataAutomationCommandOutput/)
226
+
219
227
  </details>
220
228
  <details>
221
229
  <summary>
package/dist-cjs/index.js CHANGED
@@ -189,6 +189,18 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
189
189
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
190
190
  }
191
191
  };
192
+ let ServiceUnavailableException$1 = class ServiceUnavailableException extends BedrockDataAutomationRuntimeServiceException$1 {
193
+ name = "ServiceUnavailableException";
194
+ $fault = "server";
195
+ constructor(opts) {
196
+ super({
197
+ name: "ServiceUnavailableException",
198
+ $fault: "server",
199
+ ...opts,
200
+ });
201
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
202
+ }
203
+ };
192
204
 
193
205
  const _ADE = "AccessDeniedException";
194
206
  const _APC = "AssetProcessingConfiguration";
@@ -201,17 +213,24 @@ const _GDAS = "GetDataAutomationStatus";
201
213
  const _GDASR = "GetDataAutomationStatusRequest";
202
214
  const _GDASRe = "GetDataAutomationStatusResponse";
203
215
  const _IC = "InputConfiguration";
216
+ const _IDA = "InvokeDataAutomation";
204
217
  const _IDAA = "InvokeDataAutomationAsync";
205
218
  const _IDAAR = "InvokeDataAutomationAsyncRequest";
206
219
  const _IDAARn = "InvokeDataAutomationAsyncResponse";
220
+ const _IDAR = "InvokeDataAutomationRequest";
221
+ const _IDARn = "InvokeDataAutomationResponse";
207
222
  const _ISE = "InternalServerException";
208
223
  const _LTFR = "ListTagsForResource";
209
224
  const _LTFRR = "ListTagsForResourceRequest";
210
225
  const _LTFRRi = "ListTagsForResourceResponse";
211
226
  const _NC = "NotificationConfiguration";
212
227
  const _OC = "OutputConfiguration";
228
+ const _OS = "OutputSegment";
229
+ const _OSL = "OutputSegmentList";
213
230
  const _RNFE = "ResourceNotFoundException";
231
+ const _SIC = "SyncInputConfiguration";
214
232
  const _SQEE = "ServiceQuotaExceededException";
233
+ const _SUE = "ServiceUnavailableException";
215
234
  const _T = "Tag";
216
235
  const _TE = "ThrottlingException";
217
236
  const _TL = "TagList";
@@ -228,7 +247,10 @@ const _VSC = "VideoSegmentConfiguration";
228
247
  const _aPC = "assetProcessingConfiguration";
229
248
  const _b = "blueprints";
230
249
  const _bA = "blueprintArn";
250
+ const _by = "bytes";
231
251
  const _c = "client";
252
+ const _cO = "customOutput";
253
+ const _cOS = "customOutputStatus";
232
254
  const _cT = "clientToken";
233
255
  const _dAC = "dataAutomationConfiguration";
234
256
  const _dAPA = "dataAutomationProjectArn";
@@ -243,15 +265,21 @@ const _eTM = "endTimeMillis";
243
265
  const _hE = "httpError";
244
266
  const _iA = "invocationArn";
245
267
  const _iC = "inputConfiguration";
268
+ const _jCT = "jobCompletionTime";
269
+ const _jDIS = "jobDurationInSeconds";
270
+ const _jST = "jobSubmissionTime";
246
271
  const _k = "key";
247
272
  const _kEC = "kmsEncryptionContext";
248
273
  const _kKI = "kmsKeyId";
249
274
  const _m = "message";
250
275
  const _nC = "notificationConfiguration";
251
276
  const _oC = "outputConfiguration";
277
+ const _oS = "outputSegments";
252
278
  const _rARN = "resourceARN";
253
279
  const _s = "stage";
254
280
  const _sC = "segmentConfiguration";
281
+ const _sM = "semanticModality";
282
+ const _sO = "standardOutput";
255
283
  const _sTM = "startTimeMillis";
256
284
  const _sU = "s3Uri";
257
285
  const _se = "server";
@@ -294,8 +322,8 @@ var GetDataAutomationStatusResponse = [
294
322
  n0,
295
323
  _GDASRe,
296
324
  0,
297
- [_st, _eT, _eM, _oC],
298
- [0, 0, 0, () => OutputConfiguration],
325
+ [_st, _eT, _eM, _oC, _jST, _jCT, _jDIS],
326
+ [0, 0, 0, () => OutputConfiguration, 5, 5, 1],
299
327
  ];
300
328
  var InputConfiguration = [
301
329
  3,
@@ -336,10 +364,33 @@ var InvokeDataAutomationAsyncRequest = [
336
364
  ],
337
365
  ];
338
366
  var InvokeDataAutomationAsyncResponse = [3, n0, _IDAARn, 0, [_iA], [0]];
367
+ var InvokeDataAutomationRequest = [
368
+ 3,
369
+ n0,
370
+ _IDAR,
371
+ 0,
372
+ [_iC, _dAC, _b, _dAPAa, _eC],
373
+ [
374
+ () => SyncInputConfiguration,
375
+ () => DataAutomationConfiguration,
376
+ () => BlueprintList,
377
+ 0,
378
+ () => EncryptionConfiguration,
379
+ ],
380
+ ];
381
+ var InvokeDataAutomationResponse = [
382
+ 3,
383
+ n0,
384
+ _IDARn,
385
+ 0,
386
+ [_sM, _oS],
387
+ [0, () => OutputSegmentList],
388
+ ];
339
389
  var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rARN], [0]];
340
390
  var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [() => TagList]];
341
391
  var NotificationConfiguration = [3, n0, _NC, 0, [_eBC], [() => EventBridgeConfiguration]];
342
392
  var OutputConfiguration = [3, n0, _OC, 0, [_sU], [0]];
393
+ var OutputSegment = [3, n0, _OS, 0, [_cOS, _cO, _sO], [0, 0, 0]];
343
394
  var ResourceNotFoundException = [
344
395
  -3,
345
396
  n0,
@@ -364,6 +415,19 @@ var ServiceQuotaExceededException = [
364
415
  [0],
365
416
  ];
366
417
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
418
+ var ServiceUnavailableException = [
419
+ -3,
420
+ n0,
421
+ _SUE,
422
+ {
423
+ [_e]: _se,
424
+ [_hE]: 503,
425
+ },
426
+ [_m],
427
+ [0],
428
+ ];
429
+ schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
430
+ var SyncInputConfiguration = [3, n0, _SIC, 0, [_by, _sU], [21, 0]];
367
431
  var Tag = [3, n0, _T, 0, [_k, _va], [0, 0]];
368
432
  var TagResourceRequest = [3, n0, _TRR, 0, [_rARN, _t], [0, () => TagList]];
369
433
  var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
@@ -412,6 +476,7 @@ var BedrockDataAutomationRuntimeServiceException = [
412
476
  ];
413
477
  schema.TypeRegistry.for(_sm).registerError(BedrockDataAutomationRuntimeServiceException, BedrockDataAutomationRuntimeServiceException$1);
414
478
  var BlueprintList = [1, n0, _BL, 0, () => Blueprint];
479
+ var OutputSegmentList = [1, n0, _OSL, 0, () => OutputSegment];
415
480
  var TagList = [1, n0, _TL, 0, () => Tag];
416
481
  var VideoSegmentConfiguration = [3, n0, _VSC, 0, [_tS], [() => TimestampSegment]];
417
482
  var GetDataAutomationStatus = [
@@ -422,6 +487,14 @@ var GetDataAutomationStatus = [
422
487
  () => GetDataAutomationStatusRequest,
423
488
  () => GetDataAutomationStatusResponse,
424
489
  ];
490
+ var InvokeDataAutomation = [
491
+ 9,
492
+ n0,
493
+ _IDA,
494
+ 0,
495
+ () => InvokeDataAutomationRequest,
496
+ () => InvokeDataAutomationResponse,
497
+ ];
425
498
  var InvokeDataAutomationAsync = [
426
499
  9,
427
500
  n0,
@@ -472,6 +545,18 @@ class InvokeDataAutomationAsyncCommand extends smithyClient.Command
472
545
  .build() {
473
546
  }
474
547
 
548
+ class InvokeDataAutomationCommand extends smithyClient.Command
549
+ .classBuilder()
550
+ .ep(commonParams)
551
+ .m(function (Command, cs, config, o) {
552
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
553
+ })
554
+ .s("AmazonBedrockKeystoneRuntimeService", "InvokeDataAutomation", {})
555
+ .n("BedrockDataAutomationRuntimeClient", "InvokeDataAutomationCommand")
556
+ .sc(InvokeDataAutomation)
557
+ .build() {
558
+ }
559
+
475
560
  class ListTagsForResourceCommand extends smithyClient.Command
476
561
  .classBuilder()
477
562
  .ep(commonParams)
@@ -510,6 +595,7 @@ class UntagResourceCommand extends smithyClient.Command
510
595
 
511
596
  const commands = {
512
597
  GetDataAutomationStatusCommand,
598
+ InvokeDataAutomationCommand,
513
599
  InvokeDataAutomationAsyncCommand,
514
600
  ListTagsForResourceCommand,
515
601
  TagResourceCommand,
@@ -534,6 +620,16 @@ const DataAutomationStage = {
534
620
  DEVELOPMENT: "DEVELOPMENT",
535
621
  LIVE: "LIVE",
536
622
  };
623
+ const CustomOutputStatus = {
624
+ MATCH: "MATCH",
625
+ NO_MATCH: "NO_MATCH",
626
+ };
627
+ const SemanticModality = {
628
+ AUDIO: "AUDIO",
629
+ DOCUMENT: "DOCUMENT",
630
+ IMAGE: "IMAGE",
631
+ VIDEO: "VIDEO",
632
+ };
537
633
 
538
634
  Object.defineProperty(exports, "$Command", {
539
635
  enumerable: true,
@@ -549,13 +645,17 @@ exports.BedrockDataAutomationRuntime = BedrockDataAutomationRuntime;
549
645
  exports.BedrockDataAutomationRuntimeClient = BedrockDataAutomationRuntimeClient;
550
646
  exports.BedrockDataAutomationRuntimeServiceException = BedrockDataAutomationRuntimeServiceException$1;
551
647
  exports.BlueprintStage = BlueprintStage;
648
+ exports.CustomOutputStatus = CustomOutputStatus;
552
649
  exports.DataAutomationStage = DataAutomationStage;
553
650
  exports.GetDataAutomationStatusCommand = GetDataAutomationStatusCommand;
554
651
  exports.InternalServerException = InternalServerException$1;
555
652
  exports.InvokeDataAutomationAsyncCommand = InvokeDataAutomationAsyncCommand;
653
+ exports.InvokeDataAutomationCommand = InvokeDataAutomationCommand;
556
654
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
557
655
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
656
+ exports.SemanticModality = SemanticModality;
558
657
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
658
+ exports.ServiceUnavailableException = ServiceUnavailableException$1;
559
659
  exports.TagResourceCommand = TagResourceCommand;
560
660
  exports.ThrottlingException = ThrottlingException$1;
561
661
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -2,11 +2,13 @@ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { BedrockDataAutomationRuntimeClient, } from "./BedrockDataAutomationRuntimeClient";
3
3
  import { GetDataAutomationStatusCommand, } from "./commands/GetDataAutomationStatusCommand";
4
4
  import { InvokeDataAutomationAsyncCommand, } from "./commands/InvokeDataAutomationAsyncCommand";
5
+ import { InvokeDataAutomationCommand, } from "./commands/InvokeDataAutomationCommand";
5
6
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
6
7
  import { TagResourceCommand } from "./commands/TagResourceCommand";
7
8
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
8
9
  const commands = {
9
10
  GetDataAutomationStatusCommand,
11
+ InvokeDataAutomationCommand,
10
12
  InvokeDataAutomationAsyncCommand,
11
13
  ListTagsForResourceCommand,
12
14
  TagResourceCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { InvokeDataAutomation } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class InvokeDataAutomationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockKeystoneRuntimeService", "InvokeDataAutomation", {})
13
+ .n("BedrockDataAutomationRuntimeClient", "InvokeDataAutomationCommand")
14
+ .sc(InvokeDataAutomation)
15
+ .build() {
16
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./GetDataAutomationStatusCommand";
2
2
  export * from "./InvokeDataAutomationAsyncCommand";
3
+ export * from "./InvokeDataAutomationCommand";
3
4
  export * from "./ListTagsForResourceCommand";
4
5
  export * from "./TagResourceCommand";
5
6
  export * from "./UntagResourceCommand";
@@ -13,3 +13,13 @@ export const DataAutomationStage = {
13
13
  DEVELOPMENT: "DEVELOPMENT",
14
14
  LIVE: "LIVE",
15
15
  };
16
+ export const CustomOutputStatus = {
17
+ MATCH: "MATCH",
18
+ NO_MATCH: "NO_MATCH",
19
+ };
20
+ export const SemanticModality = {
21
+ AUDIO: "AUDIO",
22
+ DOCUMENT: "DOCUMENT",
23
+ IMAGE: "IMAGE",
24
+ VIDEO: "VIDEO",
25
+ };
@@ -71,3 +71,15 @@ export class ServiceQuotaExceededException extends __BaseException {
71
71
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
72
72
  }
73
73
  }
74
+ export class ServiceUnavailableException extends __BaseException {
75
+ name = "ServiceUnavailableException";
76
+ $fault = "server";
77
+ constructor(opts) {
78
+ super({
79
+ name: "ServiceUnavailableException",
80
+ $fault: "server",
81
+ ...opts,
82
+ });
83
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
84
+ }
85
+ }
@@ -9,17 +9,24 @@ const _GDAS = "GetDataAutomationStatus";
9
9
  const _GDASR = "GetDataAutomationStatusRequest";
10
10
  const _GDASRe = "GetDataAutomationStatusResponse";
11
11
  const _IC = "InputConfiguration";
12
+ const _IDA = "InvokeDataAutomation";
12
13
  const _IDAA = "InvokeDataAutomationAsync";
13
14
  const _IDAAR = "InvokeDataAutomationAsyncRequest";
14
15
  const _IDAARn = "InvokeDataAutomationAsyncResponse";
16
+ const _IDAR = "InvokeDataAutomationRequest";
17
+ const _IDARn = "InvokeDataAutomationResponse";
15
18
  const _ISE = "InternalServerException";
16
19
  const _LTFR = "ListTagsForResource";
17
20
  const _LTFRR = "ListTagsForResourceRequest";
18
21
  const _LTFRRi = "ListTagsForResourceResponse";
19
22
  const _NC = "NotificationConfiguration";
20
23
  const _OC = "OutputConfiguration";
24
+ const _OS = "OutputSegment";
25
+ const _OSL = "OutputSegmentList";
21
26
  const _RNFE = "ResourceNotFoundException";
27
+ const _SIC = "SyncInputConfiguration";
22
28
  const _SQEE = "ServiceQuotaExceededException";
29
+ const _SUE = "ServiceUnavailableException";
23
30
  const _T = "Tag";
24
31
  const _TE = "ThrottlingException";
25
32
  const _TL = "TagList";
@@ -36,7 +43,10 @@ const _VSC = "VideoSegmentConfiguration";
36
43
  const _aPC = "assetProcessingConfiguration";
37
44
  const _b = "blueprints";
38
45
  const _bA = "blueprintArn";
46
+ const _by = "bytes";
39
47
  const _c = "client";
48
+ const _cO = "customOutput";
49
+ const _cOS = "customOutputStatus";
40
50
  const _cT = "clientToken";
41
51
  const _dAC = "dataAutomationConfiguration";
42
52
  const _dAPA = "dataAutomationProjectArn";
@@ -51,15 +61,21 @@ const _eTM = "endTimeMillis";
51
61
  const _hE = "httpError";
52
62
  const _iA = "invocationArn";
53
63
  const _iC = "inputConfiguration";
64
+ const _jCT = "jobCompletionTime";
65
+ const _jDIS = "jobDurationInSeconds";
66
+ const _jST = "jobSubmissionTime";
54
67
  const _k = "key";
55
68
  const _kEC = "kmsEncryptionContext";
56
69
  const _kKI = "kmsKeyId";
57
70
  const _m = "message";
58
71
  const _nC = "notificationConfiguration";
59
72
  const _oC = "outputConfiguration";
73
+ const _oS = "outputSegments";
60
74
  const _rARN = "resourceARN";
61
75
  const _s = "stage";
62
76
  const _sC = "segmentConfiguration";
77
+ const _sM = "semanticModality";
78
+ const _sO = "standardOutput";
63
79
  const _sTM = "startTimeMillis";
64
80
  const _sU = "s3Uri";
65
81
  const _se = "server";
@@ -74,7 +90,7 @@ const _ve = "version";
74
90
  const n0 = "com.amazonaws.bedrockdataautomationruntime";
75
91
  import { TypeRegistry } from "@smithy/core/schema";
76
92
  import { BedrockDataAutomationRuntimeServiceException as __BedrockDataAutomationRuntimeServiceException } from "../models/BedrockDataAutomationRuntimeServiceException";
77
- import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
93
+ import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
78
94
  export var AccessDeniedException = [
79
95
  -3,
80
96
  n0,
@@ -105,8 +121,8 @@ export var GetDataAutomationStatusResponse = [
105
121
  n0,
106
122
  _GDASRe,
107
123
  0,
108
- [_st, _eT, _eM, _oC],
109
- [0, 0, 0, () => OutputConfiguration],
124
+ [_st, _eT, _eM, _oC, _jST, _jCT, _jDIS],
125
+ [0, 0, 0, () => OutputConfiguration, 5, 5, 1],
110
126
  ];
111
127
  export var InputConfiguration = [
112
128
  3,
@@ -147,10 +163,33 @@ export var InvokeDataAutomationAsyncRequest = [
147
163
  ],
148
164
  ];
149
165
  export var InvokeDataAutomationAsyncResponse = [3, n0, _IDAARn, 0, [_iA], [0]];
166
+ export var InvokeDataAutomationRequest = [
167
+ 3,
168
+ n0,
169
+ _IDAR,
170
+ 0,
171
+ [_iC, _dAC, _b, _dAPAa, _eC],
172
+ [
173
+ () => SyncInputConfiguration,
174
+ () => DataAutomationConfiguration,
175
+ () => BlueprintList,
176
+ 0,
177
+ () => EncryptionConfiguration,
178
+ ],
179
+ ];
180
+ export var InvokeDataAutomationResponse = [
181
+ 3,
182
+ n0,
183
+ _IDARn,
184
+ 0,
185
+ [_sM, _oS],
186
+ [0, () => OutputSegmentList],
187
+ ];
150
188
  export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rARN], [0]];
151
189
  export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [() => TagList]];
152
190
  export var NotificationConfiguration = [3, n0, _NC, 0, [_eBC], [() => EventBridgeConfiguration]];
153
191
  export var OutputConfiguration = [3, n0, _OC, 0, [_sU], [0]];
192
+ export var OutputSegment = [3, n0, _OS, 0, [_cOS, _cO, _sO], [0, 0, 0]];
154
193
  export var ResourceNotFoundException = [
155
194
  -3,
156
195
  n0,
@@ -175,6 +214,19 @@ export var ServiceQuotaExceededException = [
175
214
  [0],
176
215
  ];
177
216
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
217
+ export var ServiceUnavailableException = [
218
+ -3,
219
+ n0,
220
+ _SUE,
221
+ {
222
+ [_e]: _se,
223
+ [_hE]: 503,
224
+ },
225
+ [_m],
226
+ [0],
227
+ ];
228
+ TypeRegistry.for(n0).registerError(ServiceUnavailableException, __ServiceUnavailableException);
229
+ export var SyncInputConfiguration = [3, n0, _SIC, 0, [_by, _sU], [21, 0]];
178
230
  export var Tag = [3, n0, _T, 0, [_k, _va], [0, 0]];
179
231
  export var TagResourceRequest = [3, n0, _TRR, 0, [_rARN, _t], [0, () => TagList]];
180
232
  export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
@@ -224,6 +276,7 @@ export var BedrockDataAutomationRuntimeServiceException = [
224
276
  ];
225
277
  TypeRegistry.for(_sm).registerError(BedrockDataAutomationRuntimeServiceException, __BedrockDataAutomationRuntimeServiceException);
226
278
  export var BlueprintList = [1, n0, _BL, 0, () => Blueprint];
279
+ export var OutputSegmentList = [1, n0, _OSL, 0, () => OutputSegment];
227
280
  export var TagKeyList = 64 | 0;
228
281
  export var TagList = [1, n0, _TL, 0, () => Tag];
229
282
  export var EncryptionContextMap = 128 | 0;
@@ -236,6 +289,14 @@ export var GetDataAutomationStatus = [
236
289
  () => GetDataAutomationStatusRequest,
237
290
  () => GetDataAutomationStatusResponse,
238
291
  ];
292
+ export var InvokeDataAutomation = [
293
+ 9,
294
+ n0,
295
+ _IDA,
296
+ 0,
297
+ () => InvokeDataAutomationRequest,
298
+ () => InvokeDataAutomationResponse,
299
+ ];
239
300
  export var InvokeDataAutomationAsync = [
240
301
  9,
241
302
  n0,
@@ -2,6 +2,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { BedrockDataAutomationRuntimeClient } from "./BedrockDataAutomationRuntimeClient";
3
3
  import { GetDataAutomationStatusCommandInput, GetDataAutomationStatusCommandOutput } from "./commands/GetDataAutomationStatusCommand";
4
4
  import { InvokeDataAutomationAsyncCommandInput, InvokeDataAutomationAsyncCommandOutput } from "./commands/InvokeDataAutomationAsyncCommand";
5
+ import { InvokeDataAutomationCommandInput, InvokeDataAutomationCommandOutput } from "./commands/InvokeDataAutomationCommand";
5
6
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
6
7
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
7
8
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -12,6 +13,12 @@ export interface BedrockDataAutomationRuntime {
12
13
  getDataAutomationStatus(args: GetDataAutomationStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetDataAutomationStatusCommandOutput>;
13
14
  getDataAutomationStatus(args: GetDataAutomationStatusCommandInput, cb: (err: any, data?: GetDataAutomationStatusCommandOutput) => void): void;
14
15
  getDataAutomationStatus(args: GetDataAutomationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataAutomationStatusCommandOutput) => void): void;
16
+ /**
17
+ * @see {@link InvokeDataAutomationCommand}
18
+ */
19
+ invokeDataAutomation(args: InvokeDataAutomationCommandInput, options?: __HttpHandlerOptions): Promise<InvokeDataAutomationCommandOutput>;
20
+ invokeDataAutomation(args: InvokeDataAutomationCommandInput, cb: (err: any, data?: InvokeDataAutomationCommandOutput) => void): void;
21
+ invokeDataAutomation(args: InvokeDataAutomationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeDataAutomationCommandOutput) => void): void;
15
22
  /**
16
23
  * @see {@link InvokeDataAutomationAsyncCommand}
17
24
  */
@@ -9,6 +9,7 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { GetDataAutomationStatusCommandInput, GetDataAutomationStatusCommandOutput } from "./commands/GetDataAutomationStatusCommand";
11
11
  import { InvokeDataAutomationAsyncCommandInput, InvokeDataAutomationAsyncCommandOutput } from "./commands/InvokeDataAutomationAsyncCommand";
12
+ import { InvokeDataAutomationCommandInput, InvokeDataAutomationCommandOutput } from "./commands/InvokeDataAutomationCommand";
12
13
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
13
14
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
14
15
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -18,11 +19,11 @@ export { __Client };
18
19
  /**
19
20
  * @public
20
21
  */
21
- export type ServiceInputTypes = GetDataAutomationStatusCommandInput | InvokeDataAutomationAsyncCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
22
+ export type ServiceInputTypes = GetDataAutomationStatusCommandInput | InvokeDataAutomationAsyncCommandInput | InvokeDataAutomationCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
22
23
  /**
23
24
  * @public
24
25
  */
25
- export type ServiceOutputTypes = GetDataAutomationStatusCommandOutput | InvokeDataAutomationAsyncCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
26
+ export type ServiceOutputTypes = GetDataAutomationStatusCommandOutput | InvokeDataAutomationAsyncCommandOutput | InvokeDataAutomationCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
26
27
  /**
27
28
  * @public
28
29
  */
@@ -48,6 +48,9 @@ declare const GetDataAutomationStatusCommand_base: {
48
48
  * // outputConfiguration: { // OutputConfiguration
49
49
  * // s3Uri: "STRING_VALUE", // required
50
50
  * // },
51
+ * // jobSubmissionTime: new Date("TIMESTAMP"),
52
+ * // jobCompletionTime: new Date("TIMESTAMP"),
53
+ * // jobDurationInSeconds: Number("int"),
51
54
  * // };
52
55
  *
53
56
  * ```
@@ -0,0 +1,117 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationRuntimeClient";
4
+ import { InvokeDataAutomationRequest, InvokeDataAutomationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link InvokeDataAutomationCommand}.
14
+ */
15
+ export interface InvokeDataAutomationCommandInput extends InvokeDataAutomationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link InvokeDataAutomationCommand}.
21
+ */
22
+ export interface InvokeDataAutomationCommandOutput extends InvokeDataAutomationResponse, __MetadataBearer {
23
+ }
24
+ declare const InvokeDataAutomationCommand_base: {
25
+ new (input: InvokeDataAutomationCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeDataAutomationCommandInput, InvokeDataAutomationCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: InvokeDataAutomationCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeDataAutomationCommandInput, InvokeDataAutomationCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Sync API: Invoke data automation.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockDataAutomationRuntimeClient, InvokeDataAutomationCommand } from "@aws-sdk/client-bedrock-data-automation-runtime"; // ES Modules import
35
+ * // const { BedrockDataAutomationRuntimeClient, InvokeDataAutomationCommand } = require("@aws-sdk/client-bedrock-data-automation-runtime"); // CommonJS import
36
+ * // import type { BedrockDataAutomationRuntimeClientConfig } from "@aws-sdk/client-bedrock-data-automation-runtime";
37
+ * const config = {}; // type is BedrockDataAutomationRuntimeClientConfig
38
+ * const client = new BedrockDataAutomationRuntimeClient(config);
39
+ * const input = { // InvokeDataAutomationRequest
40
+ * inputConfiguration: { // SyncInputConfiguration
41
+ * bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
42
+ * s3Uri: "STRING_VALUE",
43
+ * },
44
+ * dataAutomationConfiguration: { // DataAutomationConfiguration
45
+ * dataAutomationProjectArn: "STRING_VALUE", // required
46
+ * stage: "LIVE" || "DEVELOPMENT",
47
+ * },
48
+ * blueprints: [ // BlueprintList
49
+ * { // Blueprint
50
+ * blueprintArn: "STRING_VALUE", // required
51
+ * version: "STRING_VALUE",
52
+ * stage: "DEVELOPMENT" || "LIVE",
53
+ * },
54
+ * ],
55
+ * dataAutomationProfileArn: "STRING_VALUE", // required
56
+ * encryptionConfiguration: { // EncryptionConfiguration
57
+ * kmsKeyId: "STRING_VALUE", // required
58
+ * kmsEncryptionContext: { // EncryptionContextMap
59
+ * "<keys>": "STRING_VALUE",
60
+ * },
61
+ * },
62
+ * };
63
+ * const command = new InvokeDataAutomationCommand(input);
64
+ * const response = await client.send(command);
65
+ * // { // InvokeDataAutomationResponse
66
+ * // semanticModality: "DOCUMENT" || "IMAGE" || "AUDIO" || "VIDEO", // required
67
+ * // outputSegments: [ // OutputSegmentList // required
68
+ * // { // OutputSegment
69
+ * // customOutputStatus: "MATCH" || "NO_MATCH",
70
+ * // customOutput: "STRING_VALUE",
71
+ * // standardOutput: "STRING_VALUE",
72
+ * // },
73
+ * // ],
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param InvokeDataAutomationCommandInput - {@link InvokeDataAutomationCommandInput}
79
+ * @returns {@link InvokeDataAutomationCommandOutput}
80
+ * @see {@link InvokeDataAutomationCommandInput} for command's `input` shape.
81
+ * @see {@link InvokeDataAutomationCommandOutput} for command's `response` shape.
82
+ * @see {@link BedrockDataAutomationRuntimeClientResolvedConfig | config} for BedrockDataAutomationRuntimeClient's `config` shape.
83
+ *
84
+ * @throws {@link AccessDeniedException} (client fault)
85
+ * This exception will be thrown when customer does not have access to API.
86
+ *
87
+ * @throws {@link InternalServerException} (server fault)
88
+ * This exception is for any internal un-expected service errors.
89
+ *
90
+ * @throws {@link ServiceUnavailableException} (server fault)
91
+ * This exception will be thrown when service is temporarily unavailable.
92
+ *
93
+ * @throws {@link ThrottlingException} (client fault)
94
+ * This exception will be thrown when customer reached API TPS limit.
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * This exception will be thrown when customer provided invalid parameters.
98
+ *
99
+ * @throws {@link BedrockDataAutomationRuntimeServiceException}
100
+ * <p>Base exception class for all service exceptions from BedrockDataAutomationRuntime service.</p>
101
+ *
102
+ *
103
+ * @public
104
+ */
105
+ export declare class InvokeDataAutomationCommand extends InvokeDataAutomationCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: InvokeDataAutomationRequest;
110
+ output: InvokeDataAutomationResponse;
111
+ };
112
+ sdk: {
113
+ input: InvokeDataAutomationCommandInput;
114
+ output: InvokeDataAutomationCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./GetDataAutomationStatusCommand";
2
2
  export * from "./InvokeDataAutomationAsyncCommand";
3
+ export * from "./InvokeDataAutomationCommand";
3
4
  export * from "./ListTagsForResourceCommand";
4
5
  export * from "./TagResourceCommand";
5
6
  export * from "./UntagResourceCommand";
@@ -37,3 +37,29 @@ export declare const DataAutomationStage: {
37
37
  * @public
38
38
  */
39
39
  export type DataAutomationStage = (typeof DataAutomationStage)[keyof typeof DataAutomationStage];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const CustomOutputStatus: {
45
+ readonly MATCH: "MATCH";
46
+ readonly NO_MATCH: "NO_MATCH";
47
+ };
48
+ /**
49
+ * @public
50
+ */
51
+ export type CustomOutputStatus = (typeof CustomOutputStatus)[keyof typeof CustomOutputStatus];
52
+ /**
53
+ * @public
54
+ * @enum
55
+ */
56
+ export declare const SemanticModality: {
57
+ readonly AUDIO: "AUDIO";
58
+ readonly DOCUMENT: "DOCUMENT";
59
+ readonly IMAGE: "IMAGE";
60
+ readonly VIDEO: "VIDEO";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type SemanticModality = (typeof SemanticModality)[keyof typeof SemanticModality];
@@ -72,3 +72,15 @@ export declare class ServiceQuotaExceededException extends __BaseException {
72
72
  */
73
73
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
74
74
  }
75
+ /**
76
+ * This exception will be thrown when service is temporarily unavailable.
77
+ * @public
78
+ */
79
+ export declare class ServiceUnavailableException extends __BaseException {
80
+ readonly name: "ServiceUnavailableException";
81
+ readonly $fault: "server";
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
86
+ }
@@ -1,4 +1,4 @@
1
- import { AutomationJobStatus, BlueprintStage, DataAutomationStage } from "./enums";
1
+ import { AutomationJobStatus, BlueprintStage, CustomOutputStatus, DataAutomationStage, SemanticModality } from "./enums";
2
2
  /**
3
3
  * Structure for request of GetDataAutomationStatus API.
4
4
  * @public
@@ -46,6 +46,21 @@ export interface GetDataAutomationStatusResponse {
46
46
  * @public
47
47
  */
48
48
  outputConfiguration?: OutputConfiguration | undefined;
49
+ /**
50
+ * Job Submission time.
51
+ * @public
52
+ */
53
+ jobSubmissionTime?: Date | undefined;
54
+ /**
55
+ * Job completion time.
56
+ * @public
57
+ */
58
+ jobCompletionTime?: Date | undefined;
59
+ /**
60
+ * Job duration in seconds.
61
+ * @public
62
+ */
63
+ jobDurationInSeconds?: number | undefined;
49
64
  }
50
65
  /**
51
66
  * Structure for single blueprint entity.
@@ -287,6 +302,90 @@ export interface InvokeDataAutomationAsyncResponse {
287
302
  */
288
303
  invocationArn: string | undefined;
289
304
  }
305
+ /**
306
+ * Input configuration for synchronous API
307
+ * @public
308
+ */
309
+ export interface SyncInputConfiguration {
310
+ /**
311
+ * Input data as bytes
312
+ * @public
313
+ */
314
+ bytes?: Uint8Array | undefined;
315
+ /**
316
+ * S3 URI of the input data
317
+ * @public
318
+ */
319
+ s3Uri?: string | undefined;
320
+ }
321
+ /**
322
+ * Invoke Data Automation Request
323
+ * @public
324
+ */
325
+ export interface InvokeDataAutomationRequest {
326
+ /**
327
+ * Input configuration.
328
+ * @public
329
+ */
330
+ inputConfiguration: SyncInputConfiguration | undefined;
331
+ /**
332
+ * Data automation configuration.
333
+ * @public
334
+ */
335
+ dataAutomationConfiguration?: DataAutomationConfiguration | undefined;
336
+ /**
337
+ * Blueprint list.
338
+ * @public
339
+ */
340
+ blueprints?: Blueprint[] | undefined;
341
+ /**
342
+ * Data automation profile ARN
343
+ * @public
344
+ */
345
+ dataAutomationProfileArn: string | undefined;
346
+ /**
347
+ * Encryption configuration.
348
+ * @public
349
+ */
350
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
351
+ }
352
+ /**
353
+ * Results for an output segment
354
+ * @public
355
+ */
356
+ export interface OutputSegment {
357
+ /**
358
+ * Status of blueprint match
359
+ * @public
360
+ */
361
+ customOutputStatus?: CustomOutputStatus | undefined;
362
+ /**
363
+ * Custom output response
364
+ * @public
365
+ */
366
+ customOutput?: string | undefined;
367
+ /**
368
+ * Standard output response
369
+ * @public
370
+ */
371
+ standardOutput?: string | undefined;
372
+ }
373
+ /**
374
+ * Invoke Data Automation Response
375
+ * @public
376
+ */
377
+ export interface InvokeDataAutomationResponse {
378
+ /**
379
+ * Detected semantic modality
380
+ * @public
381
+ */
382
+ semanticModality: SemanticModality | undefined;
383
+ /**
384
+ * List of outputs for each logical sub-doc
385
+ * @public
386
+ */
387
+ outputSegments: OutputSegment[] | undefined;
388
+ }
290
389
  /**
291
390
  * @public
292
391
  */
@@ -11,12 +11,17 @@ export declare var InputConfiguration: StaticStructureSchema;
11
11
  export declare var InternalServerException: StaticErrorSchema;
12
12
  export declare var InvokeDataAutomationAsyncRequest: StaticStructureSchema;
13
13
  export declare var InvokeDataAutomationAsyncResponse: StaticStructureSchema;
14
+ export declare var InvokeDataAutomationRequest: StaticStructureSchema;
15
+ export declare var InvokeDataAutomationResponse: StaticStructureSchema;
14
16
  export declare var ListTagsForResourceRequest: StaticStructureSchema;
15
17
  export declare var ListTagsForResourceResponse: StaticStructureSchema;
16
18
  export declare var NotificationConfiguration: StaticStructureSchema;
17
19
  export declare var OutputConfiguration: StaticStructureSchema;
20
+ export declare var OutputSegment: StaticStructureSchema;
18
21
  export declare var ResourceNotFoundException: StaticErrorSchema;
19
22
  export declare var ServiceQuotaExceededException: StaticErrorSchema;
23
+ export declare var ServiceUnavailableException: StaticErrorSchema;
24
+ export declare var SyncInputConfiguration: StaticStructureSchema;
20
25
  export declare var Tag: StaticStructureSchema;
21
26
  export declare var TagResourceRequest: StaticStructureSchema;
22
27
  export declare var TagResourceResponse: StaticStructureSchema;
@@ -29,11 +34,13 @@ export declare var VideoAssetProcessingConfiguration: StaticStructureSchema;
29
34
  export declare var __Unit: "unit";
30
35
  export declare var BedrockDataAutomationRuntimeServiceException: StaticErrorSchema;
31
36
  export declare var BlueprintList: StaticListSchema;
37
+ export declare var OutputSegmentList: StaticListSchema;
32
38
  export declare var TagKeyList: number;
33
39
  export declare var TagList: StaticListSchema;
34
40
  export declare var EncryptionContextMap: number;
35
41
  export declare var VideoSegmentConfiguration: StaticStructureSchema;
36
42
  export declare var GetDataAutomationStatus: StaticOperationSchema;
43
+ export declare var InvokeDataAutomation: StaticOperationSchema;
37
44
  export declare var InvokeDataAutomationAsync: StaticOperationSchema;
38
45
  export declare var ListTagsForResource: StaticOperationSchema;
39
46
  export declare var TagResource: StaticOperationSchema;
@@ -8,6 +8,10 @@ import {
8
8
  InvokeDataAutomationAsyncCommandInput,
9
9
  InvokeDataAutomationAsyncCommandOutput,
10
10
  } from "./commands/InvokeDataAutomationAsyncCommand";
11
+ import {
12
+ InvokeDataAutomationCommandInput,
13
+ InvokeDataAutomationCommandOutput,
14
+ } from "./commands/InvokeDataAutomationCommand";
11
15
  import {
12
16
  ListTagsForResourceCommandInput,
13
17
  ListTagsForResourceCommandOutput,
@@ -34,6 +38,19 @@ export interface BedrockDataAutomationRuntime {
34
38
  options: __HttpHandlerOptions,
35
39
  cb: (err: any, data?: GetDataAutomationStatusCommandOutput) => void
36
40
  ): void;
41
+ invokeDataAutomation(
42
+ args: InvokeDataAutomationCommandInput,
43
+ options?: __HttpHandlerOptions
44
+ ): Promise<InvokeDataAutomationCommandOutput>;
45
+ invokeDataAutomation(
46
+ args: InvokeDataAutomationCommandInput,
47
+ cb: (err: any, data?: InvokeDataAutomationCommandOutput) => void
48
+ ): void;
49
+ invokeDataAutomation(
50
+ args: InvokeDataAutomationCommandInput,
51
+ options: __HttpHandlerOptions,
52
+ cb: (err: any, data?: InvokeDataAutomationCommandOutput) => void
53
+ ): void;
37
54
  invokeDataAutomationAsync(
38
55
  args: InvokeDataAutomationAsyncCommandInput,
39
56
  options?: __HttpHandlerOptions
@@ -56,6 +56,10 @@ import {
56
56
  InvokeDataAutomationAsyncCommandInput,
57
57
  InvokeDataAutomationAsyncCommandOutput,
58
58
  } from "./commands/InvokeDataAutomationAsyncCommand";
59
+ import {
60
+ InvokeDataAutomationCommandInput,
61
+ InvokeDataAutomationCommandOutput,
62
+ } from "./commands/InvokeDataAutomationCommand";
59
63
  import {
60
64
  ListTagsForResourceCommandInput,
61
65
  ListTagsForResourceCommandOutput,
@@ -78,12 +82,14 @@ export { __Client };
78
82
  export type ServiceInputTypes =
79
83
  | GetDataAutomationStatusCommandInput
80
84
  | InvokeDataAutomationAsyncCommandInput
85
+ | InvokeDataAutomationCommandInput
81
86
  | ListTagsForResourceCommandInput
82
87
  | TagResourceCommandInput
83
88
  | UntagResourceCommandInput;
84
89
  export type ServiceOutputTypes =
85
90
  | GetDataAutomationStatusCommandOutput
86
91
  | InvokeDataAutomationAsyncCommandOutput
92
+ | InvokeDataAutomationCommandOutput
87
93
  | ListTagsForResourceCommandOutput
88
94
  | TagResourceCommandOutput
89
95
  | UntagResourceCommandOutput;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockDataAutomationRuntimeClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockDataAutomationRuntimeClient";
8
+ import {
9
+ InvokeDataAutomationRequest,
10
+ InvokeDataAutomationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface InvokeDataAutomationCommandInput
15
+ extends InvokeDataAutomationRequest {}
16
+ export interface InvokeDataAutomationCommandOutput
17
+ extends InvokeDataAutomationResponse,
18
+ __MetadataBearer {}
19
+ declare const InvokeDataAutomationCommand_base: {
20
+ new (
21
+ input: InvokeDataAutomationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ InvokeDataAutomationCommandInput,
24
+ InvokeDataAutomationCommandOutput,
25
+ BedrockDataAutomationRuntimeClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: InvokeDataAutomationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ InvokeDataAutomationCommandInput,
33
+ InvokeDataAutomationCommandOutput,
34
+ BedrockDataAutomationRuntimeClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class InvokeDataAutomationCommand extends InvokeDataAutomationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: InvokeDataAutomationRequest;
44
+ output: InvokeDataAutomationResponse;
45
+ };
46
+ sdk: {
47
+ input: InvokeDataAutomationCommandInput;
48
+ output: InvokeDataAutomationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./GetDataAutomationStatusCommand";
2
2
  export * from "./InvokeDataAutomationAsyncCommand";
3
+ export * from "./InvokeDataAutomationCommand";
3
4
  export * from "./ListTagsForResourceCommand";
4
5
  export * from "./TagResourceCommand";
5
6
  export * from "./UntagResourceCommand";
@@ -19,3 +19,17 @@ export declare const DataAutomationStage: {
19
19
  };
20
20
  export type DataAutomationStage =
21
21
  (typeof DataAutomationStage)[keyof typeof DataAutomationStage];
22
+ export declare const CustomOutputStatus: {
23
+ readonly MATCH: "MATCH";
24
+ readonly NO_MATCH: "NO_MATCH";
25
+ };
26
+ export type CustomOutputStatus =
27
+ (typeof CustomOutputStatus)[keyof typeof CustomOutputStatus];
28
+ export declare const SemanticModality: {
29
+ readonly AUDIO: "AUDIO";
30
+ readonly DOCUMENT: "DOCUMENT";
31
+ readonly IMAGE: "IMAGE";
32
+ readonly VIDEO: "VIDEO";
33
+ };
34
+ export type SemanticModality =
35
+ (typeof SemanticModality)[keyof typeof SemanticModality];
@@ -42,3 +42,10 @@ export declare class ServiceQuotaExceededException extends __BaseException {
42
42
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
43
43
  );
44
44
  }
45
+ export declare class ServiceUnavailableException extends __BaseException {
46
+ readonly name: "ServiceUnavailableException";
47
+ readonly $fault: "server";
48
+ constructor(
49
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
50
+ );
51
+ }
@@ -1,7 +1,9 @@
1
1
  import {
2
2
  AutomationJobStatus,
3
3
  BlueprintStage,
4
+ CustomOutputStatus,
4
5
  DataAutomationStage,
6
+ SemanticModality,
5
7
  } from "./enums";
6
8
  export interface GetDataAutomationStatusRequest {
7
9
  invocationArn: string | undefined;
@@ -14,6 +16,9 @@ export interface GetDataAutomationStatusResponse {
14
16
  errorType?: string | undefined;
15
17
  errorMessage?: string | undefined;
16
18
  outputConfiguration?: OutputConfiguration | undefined;
19
+ jobSubmissionTime?: Date | undefined;
20
+ jobCompletionTime?: Date | undefined;
21
+ jobDurationInSeconds?: number | undefined;
17
22
  }
18
23
  export interface Blueprint {
19
24
  blueprintArn: string | undefined;
@@ -83,6 +88,26 @@ export interface InvokeDataAutomationAsyncRequest {
83
88
  export interface InvokeDataAutomationAsyncResponse {
84
89
  invocationArn: string | undefined;
85
90
  }
91
+ export interface SyncInputConfiguration {
92
+ bytes?: Uint8Array | undefined;
93
+ s3Uri?: string | undefined;
94
+ }
95
+ export interface InvokeDataAutomationRequest {
96
+ inputConfiguration: SyncInputConfiguration | undefined;
97
+ dataAutomationConfiguration?: DataAutomationConfiguration | undefined;
98
+ blueprints?: Blueprint[] | undefined;
99
+ dataAutomationProfileArn: string | undefined;
100
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
101
+ }
102
+ export interface OutputSegment {
103
+ customOutputStatus?: CustomOutputStatus | undefined;
104
+ customOutput?: string | undefined;
105
+ standardOutput?: string | undefined;
106
+ }
107
+ export interface InvokeDataAutomationResponse {
108
+ semanticModality: SemanticModality | undefined;
109
+ outputSegments: OutputSegment[] | undefined;
110
+ }
86
111
  export interface ListTagsForResourceRequest {
87
112
  resourceARN: string | undefined;
88
113
  }
@@ -16,12 +16,17 @@ export declare var InputConfiguration: StaticStructureSchema;
16
16
  export declare var InternalServerException: StaticErrorSchema;
17
17
  export declare var InvokeDataAutomationAsyncRequest: StaticStructureSchema;
18
18
  export declare var InvokeDataAutomationAsyncResponse: StaticStructureSchema;
19
+ export declare var InvokeDataAutomationRequest: StaticStructureSchema;
20
+ export declare var InvokeDataAutomationResponse: StaticStructureSchema;
19
21
  export declare var ListTagsForResourceRequest: StaticStructureSchema;
20
22
  export declare var ListTagsForResourceResponse: StaticStructureSchema;
21
23
  export declare var NotificationConfiguration: StaticStructureSchema;
22
24
  export declare var OutputConfiguration: StaticStructureSchema;
25
+ export declare var OutputSegment: StaticStructureSchema;
23
26
  export declare var ResourceNotFoundException: StaticErrorSchema;
24
27
  export declare var ServiceQuotaExceededException: StaticErrorSchema;
28
+ export declare var ServiceUnavailableException: StaticErrorSchema;
29
+ export declare var SyncInputConfiguration: StaticStructureSchema;
25
30
  export declare var Tag: StaticStructureSchema;
26
31
  export declare var TagResourceRequest: StaticStructureSchema;
27
32
  export declare var TagResourceResponse: StaticStructureSchema;
@@ -34,11 +39,13 @@ export declare var VideoAssetProcessingConfiguration: StaticStructureSchema;
34
39
  export declare var __Unit: "unit";
35
40
  export declare var BedrockDataAutomationRuntimeServiceException: StaticErrorSchema;
36
41
  export declare var BlueprintList: StaticListSchema;
42
+ export declare var OutputSegmentList: StaticListSchema;
37
43
  export declare var TagKeyList: number;
38
44
  export declare var TagList: StaticListSchema;
39
45
  export declare var EncryptionContextMap: number;
40
46
  export declare var VideoSegmentConfiguration: StaticStructureSchema;
41
47
  export declare var GetDataAutomationStatus: StaticOperationSchema;
48
+ export declare var InvokeDataAutomation: StaticOperationSchema;
42
49
  export declare var InvokeDataAutomationAsync: StaticOperationSchema;
43
50
  export declare var ListTagsForResource: StaticOperationSchema;
44
51
  export declare var TagResource: StaticOperationSchema;
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.936.0",
4
+ "version": "3.938.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-data-automation-runtime",