@aws-sdk/client-bedrock-data-automation 3.927.0 → 3.929.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.
Files changed (41) hide show
  1. package/dist-cjs/index.js +846 -810
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/BedrockDataAutomationClient.js +2 -0
  4. package/dist-es/commands/CreateBlueprintCommand.js +3 -10
  5. package/dist-es/commands/CreateBlueprintVersionCommand.js +3 -10
  6. package/dist-es/commands/CreateDataAutomationProjectCommand.js +3 -10
  7. package/dist-es/commands/DeleteBlueprintCommand.js +3 -9
  8. package/dist-es/commands/DeleteDataAutomationProjectCommand.js +3 -9
  9. package/dist-es/commands/GetBlueprintCommand.js +3 -10
  10. package/dist-es/commands/GetDataAutomationProjectCommand.js +3 -10
  11. package/dist-es/commands/ListBlueprintsCommand.js +3 -10
  12. package/dist-es/commands/ListDataAutomationProjectsCommand.js +3 -10
  13. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  14. package/dist-es/commands/TagResourceCommand.js +3 -9
  15. package/dist-es/commands/UntagResourceCommand.js +3 -9
  16. package/dist-es/commands/UpdateBlueprintCommand.js +3 -10
  17. package/dist-es/commands/UpdateDataAutomationProjectCommand.js +3 -10
  18. package/dist-es/models/models_0.js +17 -65
  19. package/dist-es/runtimeConfig.shared.js +2 -0
  20. package/dist-es/schemas/schemas_0.js +789 -0
  21. package/dist-types/BedrockDataAutomationClient.d.ts +10 -1
  22. package/dist-types/commands/CreateDataAutomationProjectCommand.d.ts +7 -0
  23. package/dist-types/commands/GetDataAutomationProjectCommand.d.ts +7 -0
  24. package/dist-types/commands/UpdateDataAutomationProjectCommand.d.ts +7 -0
  25. package/dist-types/models/models_0.d.ts +59 -60
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  27. package/dist-types/runtimeConfig.d.ts +1 -0
  28. package/dist-types/runtimeConfig.native.d.ts +1 -0
  29. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  30. package/dist-types/schemas/schemas_0.d.ts +119 -0
  31. package/dist-types/ts3.4/BedrockDataAutomationClient.d.ts +4 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +26 -43
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +125 -0
  38. package/package.json +5 -6
  39. package/dist-es/protocols/Aws_restJson1.js +0 -614
  40. package/dist-types/protocols/Aws_restJson1.d.ts +0 -128
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -173
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class BedrockDataAutomationClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class BedrockDataAutomationClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class BedrockDataAutomationServiceException extends smithyClient.ServiceException {
113
+ let BedrockDataAutomationServiceException$1 = class BedrockDataAutomationServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, BedrockDataAutomationServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends BedrockDataAutomationServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends BedrockDataAutomationServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  constructor(opts) {
@@ -129,8 +128,8 @@ class AccessDeniedException extends BedrockDataAutomationServiceException {
129
128
  });
130
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
130
  }
132
- }
133
- class ConflictException extends BedrockDataAutomationServiceException {
131
+ };
132
+ let ConflictException$1 = class ConflictException extends BedrockDataAutomationServiceException$1 {
134
133
  name = "ConflictException";
135
134
  $fault = "client";
136
135
  constructor(opts) {
@@ -141,7 +140,7 @@ class ConflictException extends BedrockDataAutomationServiceException {
141
140
  });
142
141
  Object.setPrototypeOf(this, ConflictException.prototype);
143
142
  }
144
- }
143
+ };
145
144
  const BlueprintStage = {
146
145
  DEVELOPMENT: "DEVELOPMENT",
147
146
  LIVE: "LIVE",
@@ -152,7 +151,7 @@ const Type = {
152
151
  IMAGE: "IMAGE",
153
152
  VIDEO: "VIDEO",
154
153
  };
155
- class InternalServerException extends BedrockDataAutomationServiceException {
154
+ let InternalServerException$1 = class InternalServerException extends BedrockDataAutomationServiceException$1 {
156
155
  name = "InternalServerException";
157
156
  $fault = "server";
158
157
  constructor(opts) {
@@ -163,8 +162,8 @@ class InternalServerException extends BedrockDataAutomationServiceException {
163
162
  });
164
163
  Object.setPrototypeOf(this, InternalServerException.prototype);
165
164
  }
166
- }
167
- class ServiceQuotaExceededException extends BedrockDataAutomationServiceException {
165
+ };
166
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends BedrockDataAutomationServiceException$1 {
168
167
  name = "ServiceQuotaExceededException";
169
168
  $fault = "client";
170
169
  constructor(opts) {
@@ -175,8 +174,8 @@ class ServiceQuotaExceededException extends BedrockDataAutomationServiceExceptio
175
174
  });
176
175
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
177
176
  }
178
- }
179
- class ThrottlingException extends BedrockDataAutomationServiceException {
177
+ };
178
+ let ThrottlingException$1 = class ThrottlingException extends BedrockDataAutomationServiceException$1 {
180
179
  name = "ThrottlingException";
181
180
  $fault = "client";
182
181
  constructor(opts) {
@@ -187,8 +186,8 @@ class ThrottlingException extends BedrockDataAutomationServiceException {
187
186
  });
188
187
  Object.setPrototypeOf(this, ThrottlingException.prototype);
189
188
  }
190
- }
191
- class ValidationException extends BedrockDataAutomationServiceException {
189
+ };
190
+ let ValidationException$1 = class ValidationException extends BedrockDataAutomationServiceException$1 {
192
191
  name = "ValidationException";
193
192
  $fault = "client";
194
193
  fieldList;
@@ -201,8 +200,8 @@ class ValidationException extends BedrockDataAutomationServiceException {
201
200
  Object.setPrototypeOf(this, ValidationException.prototype);
202
201
  this.fieldList = opts.fieldList;
203
202
  }
204
- }
205
- class ResourceNotFoundException extends BedrockDataAutomationServiceException {
203
+ };
204
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends BedrockDataAutomationServiceException$1 {
206
205
  name = "ResourceNotFoundException";
207
206
  $fault = "client";
208
207
  constructor(opts) {
@@ -213,7 +212,7 @@ class ResourceNotFoundException extends BedrockDataAutomationServiceException {
213
212
  });
214
213
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
215
214
  }
216
- }
215
+ };
217
216
  const BlueprintStageFilter = {
218
217
  ALL: "ALL",
219
218
  DEVELOPMENT: "DEVELOPMENT",
@@ -227,6 +226,23 @@ const ResourceOwner = {
227
226
  ACCOUNT: "ACCOUNT",
228
227
  SERVICE: "SERVICE",
229
228
  };
229
+ const AudioGenerativeOutputLanguage = {
230
+ DEFAULT: "DEFAULT",
231
+ EN: "EN",
232
+ };
233
+ const Language = {
234
+ CN: "CN",
235
+ DE: "DE",
236
+ EN: "EN",
237
+ ES: "ES",
238
+ FR: "FR",
239
+ HK: "HK",
240
+ IT: "IT",
241
+ JA: "JA",
242
+ KO: "KO",
243
+ PT: "PT",
244
+ TW: "TW",
245
+ };
230
246
  const State = {
231
247
  DISABLED: "DISABLED",
232
248
  ENABLED: "ENABLED",
@@ -290,693 +306,791 @@ const DataAutomationProjectStageFilter = {
290
306
  DEVELOPMENT: "DEVELOPMENT",
291
307
  LIVE: "LIVE",
292
308
  };
293
- const CreateBlueprintRequestFilterSensitiveLog = (obj) => ({
294
- ...obj,
295
- ...(obj.blueprintName && { blueprintName: smithyClient.SENSITIVE_STRING }),
296
- ...(obj.schema && { schema: smithyClient.SENSITIVE_STRING }),
297
- });
298
- const BlueprintFilterSensitiveLog = (obj) => ({
299
- ...obj,
300
- ...(obj.schema && { schema: smithyClient.SENSITIVE_STRING }),
301
- ...(obj.blueprintName && { blueprintName: smithyClient.SENSITIVE_STRING }),
302
- });
303
- const CreateBlueprintResponseFilterSensitiveLog = (obj) => ({
304
- ...obj,
305
- ...(obj.blueprint && { blueprint: BlueprintFilterSensitiveLog(obj.blueprint) }),
306
- });
307
- const GetBlueprintResponseFilterSensitiveLog = (obj) => ({
308
- ...obj,
309
- ...(obj.blueprint && { blueprint: BlueprintFilterSensitiveLog(obj.blueprint) }),
310
- });
311
- const BlueprintSummaryFilterSensitiveLog = (obj) => ({
312
- ...obj,
313
- ...(obj.blueprintName && { blueprintName: smithyClient.SENSITIVE_STRING }),
314
- });
315
- const ListBlueprintsResponseFilterSensitiveLog = (obj) => ({
316
- ...obj,
317
- ...(obj.blueprints && { blueprints: obj.blueprints.map((item) => BlueprintSummaryFilterSensitiveLog(item)) }),
318
- });
319
- const UpdateBlueprintRequestFilterSensitiveLog = (obj) => ({
320
- ...obj,
321
- ...(obj.schema && { schema: smithyClient.SENSITIVE_STRING }),
322
- });
323
- const UpdateBlueprintResponseFilterSensitiveLog = (obj) => ({
324
- ...obj,
325
- ...(obj.blueprint && { blueprint: BlueprintFilterSensitiveLog(obj.blueprint) }),
326
- });
327
- const CreateBlueprintVersionResponseFilterSensitiveLog = (obj) => ({
328
- ...obj,
329
- ...(obj.blueprint && { blueprint: BlueprintFilterSensitiveLog(obj.blueprint) }),
330
- });
331
- const CreateDataAutomationProjectRequestFilterSensitiveLog = (obj) => ({
332
- ...obj,
333
- ...(obj.projectName && { projectName: smithyClient.SENSITIVE_STRING }),
334
- ...(obj.projectDescription && { projectDescription: smithyClient.SENSITIVE_STRING }),
335
- });
336
- const DataAutomationProjectFilterSensitiveLog = (obj) => ({
337
- ...obj,
338
- ...(obj.projectName && { projectName: smithyClient.SENSITIVE_STRING }),
339
- ...(obj.projectDescription && { projectDescription: smithyClient.SENSITIVE_STRING }),
340
- });
341
- const GetDataAutomationProjectResponseFilterSensitiveLog = (obj) => ({
342
- ...obj,
343
- ...(obj.project && { project: DataAutomationProjectFilterSensitiveLog(obj.project) }),
344
- });
345
- const DataAutomationProjectSummaryFilterSensitiveLog = (obj) => ({
346
- ...obj,
347
- ...(obj.projectName && { projectName: smithyClient.SENSITIVE_STRING }),
348
- });
349
- const ListDataAutomationProjectsResponseFilterSensitiveLog = (obj) => ({
350
- ...obj,
351
- ...(obj.projects && { projects: obj.projects.map((item) => DataAutomationProjectSummaryFilterSensitiveLog(item)) }),
352
- });
353
- const UpdateDataAutomationProjectRequestFilterSensitiveLog = (obj) => ({
354
- ...obj,
355
- ...(obj.projectDescription && { projectDescription: smithyClient.SENSITIVE_STRING }),
356
- });
357
309
 
358
- const se_CreateBlueprintCommand = async (input, context) => {
359
- const b = core.requestBuilder(input, context);
360
- const headers = {
361
- "content-type": "application/json",
362
- };
363
- b.bp("/blueprints");
364
- let body;
365
- body = JSON.stringify(smithyClient.take(input, {
366
- blueprintName: [],
367
- blueprintStage: [],
368
- clientToken: [true, (_) => _ ?? uuid.v4()],
369
- encryptionConfiguration: (_) => smithyClient._json(_),
370
- schema: [],
371
- tags: (_) => smithyClient._json(_),
372
- type: [],
373
- }));
374
- b.m("PUT").h(headers).b(body);
375
- return b.build();
376
- };
377
- const se_CreateBlueprintVersionCommand = async (input, context) => {
378
- const b = core.requestBuilder(input, context);
379
- const headers = {
380
- "content-type": "application/json",
381
- };
382
- b.bp("/blueprints/{blueprintArn}/versions");
383
- b.p("blueprintArn", () => input.blueprintArn, "{blueprintArn}", false);
384
- let body;
385
- body = JSON.stringify(smithyClient.take(input, {
386
- clientToken: [true, (_) => _ ?? uuid.v4()],
387
- }));
388
- b.m("POST").h(headers).b(body);
389
- return b.build();
390
- };
391
- const se_CreateDataAutomationProjectCommand = async (input, context) => {
392
- const b = core.requestBuilder(input, context);
393
- const headers = {
394
- "content-type": "application/json",
395
- };
396
- b.bp("/data-automation-projects");
397
- let body;
398
- body = JSON.stringify(smithyClient.take(input, {
399
- clientToken: [true, (_) => _ ?? uuid.v4()],
400
- customOutputConfiguration: (_) => smithyClient._json(_),
401
- encryptionConfiguration: (_) => smithyClient._json(_),
402
- overrideConfiguration: (_) => smithyClient._json(_),
403
- projectDescription: [],
404
- projectName: [],
405
- projectStage: [],
406
- standardOutputConfiguration: (_) => smithyClient._json(_),
407
- tags: (_) => smithyClient._json(_),
408
- }));
409
- b.m("PUT").h(headers).b(body);
410
- return b.build();
411
- };
412
- const se_DeleteBlueprintCommand = async (input, context) => {
413
- const b = core.requestBuilder(input, context);
414
- const headers = {};
415
- b.bp("/blueprints/{blueprintArn}");
416
- b.p("blueprintArn", () => input.blueprintArn, "{blueprintArn}", false);
417
- const query = smithyClient.map({
418
- [_bV]: [, input[_bV]],
419
- });
420
- let body;
421
- b.m("DELETE").h(headers).q(query).b(body);
422
- return b.build();
423
- };
424
- const se_DeleteDataAutomationProjectCommand = async (input, context) => {
425
- const b = core.requestBuilder(input, context);
426
- const headers = {};
427
- b.bp("/data-automation-projects/{projectArn}");
428
- b.p("projectArn", () => input.projectArn, "{projectArn}", false);
429
- let body;
430
- b.m("DELETE").h(headers).b(body);
431
- return b.build();
432
- };
433
- const se_GetBlueprintCommand = async (input, context) => {
434
- const b = core.requestBuilder(input, context);
435
- const headers = {
436
- "content-type": "application/json",
437
- };
438
- b.bp("/blueprints/{blueprintArn}");
439
- b.p("blueprintArn", () => input.blueprintArn, "{blueprintArn}", false);
440
- let body;
441
- body = JSON.stringify(smithyClient.take(input, {
442
- blueprintStage: [],
443
- blueprintVersion: [],
444
- }));
445
- b.m("POST").h(headers).b(body);
446
- return b.build();
447
- };
448
- const se_GetDataAutomationProjectCommand = async (input, context) => {
449
- const b = core.requestBuilder(input, context);
450
- const headers = {
451
- "content-type": "application/json",
452
- };
453
- b.bp("/data-automation-projects/{projectArn}");
454
- b.p("projectArn", () => input.projectArn, "{projectArn}", false);
455
- let body;
456
- body = JSON.stringify(smithyClient.take(input, {
457
- projectStage: [],
458
- }));
459
- b.m("POST").h(headers).b(body);
460
- return b.build();
461
- };
462
- const se_ListBlueprintsCommand = async (input, context) => {
463
- const b = core.requestBuilder(input, context);
464
- const headers = {
465
- "content-type": "application/json",
466
- };
467
- b.bp("/blueprints");
468
- let body;
469
- body = JSON.stringify(smithyClient.take(input, {
470
- blueprintArn: [],
471
- blueprintStageFilter: [],
472
- maxResults: [],
473
- nextToken: [],
474
- projectFilter: (_) => smithyClient._json(_),
475
- resourceOwner: [],
476
- }));
477
- b.m("POST").h(headers).b(body);
478
- return b.build();
479
- };
480
- const se_ListDataAutomationProjectsCommand = async (input, context) => {
481
- const b = core.requestBuilder(input, context);
482
- const headers = {
483
- "content-type": "application/json",
484
- };
485
- b.bp("/data-automation-projects");
486
- let body;
487
- body = JSON.stringify(smithyClient.take(input, {
488
- blueprintFilter: (_) => smithyClient._json(_),
489
- maxResults: [],
490
- nextToken: [],
491
- projectStageFilter: [],
492
- resourceOwner: [],
493
- }));
494
- b.m("POST").h(headers).b(body);
495
- return b.build();
496
- };
497
- const se_ListTagsForResourceCommand = async (input, context) => {
498
- const b = core.requestBuilder(input, context);
499
- const headers = {
500
- "content-type": "application/json",
501
- };
502
- b.bp("/listTagsForResource");
503
- let body;
504
- body = JSON.stringify(smithyClient.take(input, {
505
- resourceARN: [],
506
- }));
507
- b.m("POST").h(headers).b(body);
508
- return b.build();
509
- };
510
- const se_TagResourceCommand = async (input, context) => {
511
- const b = core.requestBuilder(input, context);
512
- const headers = {
513
- "content-type": "application/json",
514
- };
515
- b.bp("/tagResource");
516
- let body;
517
- body = JSON.stringify(smithyClient.take(input, {
518
- resourceARN: [],
519
- tags: (_) => smithyClient._json(_),
520
- }));
521
- b.m("POST").h(headers).b(body);
522
- return b.build();
523
- };
524
- const se_UntagResourceCommand = async (input, context) => {
525
- const b = core.requestBuilder(input, context);
526
- const headers = {
527
- "content-type": "application/json",
528
- };
529
- b.bp("/untagResource");
530
- let body;
531
- body = JSON.stringify(smithyClient.take(input, {
532
- resourceARN: [],
533
- tagKeys: (_) => smithyClient._json(_),
534
- }));
535
- b.m("POST").h(headers).b(body);
536
- return b.build();
537
- };
538
- const se_UpdateBlueprintCommand = async (input, context) => {
539
- const b = core.requestBuilder(input, context);
540
- const headers = {
541
- "content-type": "application/json",
542
- };
543
- b.bp("/blueprints/{blueprintArn}");
544
- b.p("blueprintArn", () => input.blueprintArn, "{blueprintArn}", false);
545
- let body;
546
- body = JSON.stringify(smithyClient.take(input, {
547
- blueprintStage: [],
548
- encryptionConfiguration: (_) => smithyClient._json(_),
549
- schema: [],
550
- }));
551
- b.m("PUT").h(headers).b(body);
552
- return b.build();
553
- };
554
- const se_UpdateDataAutomationProjectCommand = async (input, context) => {
555
- const b = core.requestBuilder(input, context);
556
- const headers = {
557
- "content-type": "application/json",
558
- };
559
- b.bp("/data-automation-projects/{projectArn}");
560
- b.p("projectArn", () => input.projectArn, "{projectArn}", false);
561
- let body;
562
- body = JSON.stringify(smithyClient.take(input, {
563
- customOutputConfiguration: (_) => smithyClient._json(_),
564
- encryptionConfiguration: (_) => smithyClient._json(_),
565
- overrideConfiguration: (_) => smithyClient._json(_),
566
- projectDescription: [],
567
- projectStage: [],
568
- standardOutputConfiguration: (_) => smithyClient._json(_),
569
- }));
570
- b.m("PUT").h(headers).b(body);
571
- return b.build();
572
- };
573
- const de_CreateBlueprintCommand = async (output, context) => {
574
- if (output.statusCode !== 201 && output.statusCode >= 300) {
575
- return de_CommandError(output, context);
576
- }
577
- const contents = smithyClient.map({
578
- $metadata: deserializeMetadata(output),
579
- });
580
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
581
- const doc = smithyClient.take(data, {
582
- blueprint: (_) => de_Blueprint(_),
583
- });
584
- Object.assign(contents, doc);
585
- return contents;
586
- };
587
- const de_CreateBlueprintVersionCommand = async (output, context) => {
588
- if (output.statusCode !== 201 && output.statusCode >= 300) {
589
- return de_CommandError(output, context);
590
- }
591
- const contents = smithyClient.map({
592
- $metadata: deserializeMetadata(output),
593
- });
594
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
595
- const doc = smithyClient.take(data, {
596
- blueprint: (_) => de_Blueprint(_),
597
- });
598
- Object.assign(contents, doc);
599
- return contents;
600
- };
601
- const de_CreateDataAutomationProjectCommand = async (output, context) => {
602
- if (output.statusCode !== 201 && output.statusCode >= 300) {
603
- return de_CommandError(output, context);
604
- }
605
- const contents = smithyClient.map({
606
- $metadata: deserializeMetadata(output),
607
- });
608
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
609
- const doc = smithyClient.take(data, {
610
- projectArn: smithyClient.expectString,
611
- projectStage: smithyClient.expectString,
612
- status: smithyClient.expectString,
613
- });
614
- Object.assign(contents, doc);
615
- return contents;
616
- };
617
- const de_DeleteBlueprintCommand = async (output, context) => {
618
- if (output.statusCode !== 200 && output.statusCode >= 300) {
619
- return de_CommandError(output, context);
620
- }
621
- const contents = smithyClient.map({
622
- $metadata: deserializeMetadata(output),
623
- });
624
- await smithyClient.collectBody(output.body, context);
625
- return contents;
626
- };
627
- const de_DeleteDataAutomationProjectCommand = async (output, context) => {
628
- if (output.statusCode !== 200 && output.statusCode >= 300) {
629
- return de_CommandError(output, context);
630
- }
631
- const contents = smithyClient.map({
632
- $metadata: deserializeMetadata(output),
633
- });
634
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
635
- const doc = smithyClient.take(data, {
636
- projectArn: smithyClient.expectString,
637
- status: smithyClient.expectString,
638
- });
639
- Object.assign(contents, doc);
640
- return contents;
641
- };
642
- const de_GetBlueprintCommand = async (output, context) => {
643
- if (output.statusCode !== 200 && output.statusCode >= 300) {
644
- return de_CommandError(output, context);
645
- }
646
- const contents = smithyClient.map({
647
- $metadata: deserializeMetadata(output),
648
- });
649
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
650
- const doc = smithyClient.take(data, {
651
- blueprint: (_) => de_Blueprint(_),
652
- });
653
- Object.assign(contents, doc);
654
- return contents;
655
- };
656
- const de_GetDataAutomationProjectCommand = async (output, context) => {
657
- if (output.statusCode !== 200 && output.statusCode >= 300) {
658
- return de_CommandError(output, context);
659
- }
660
- const contents = smithyClient.map({
661
- $metadata: deserializeMetadata(output),
662
- });
663
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
664
- const doc = smithyClient.take(data, {
665
- project: (_) => de_DataAutomationProject(_),
666
- });
667
- Object.assign(contents, doc);
668
- return contents;
669
- };
670
- const de_ListBlueprintsCommand = async (output, context) => {
671
- if (output.statusCode !== 200 && output.statusCode >= 300) {
672
- return de_CommandError(output, context);
673
- }
674
- const contents = smithyClient.map({
675
- $metadata: deserializeMetadata(output),
676
- });
677
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
678
- const doc = smithyClient.take(data, {
679
- blueprints: (_) => de_Blueprints(_),
680
- nextToken: smithyClient.expectString,
681
- });
682
- Object.assign(contents, doc);
683
- return contents;
684
- };
685
- const de_ListDataAutomationProjectsCommand = async (output, context) => {
686
- if (output.statusCode !== 200 && output.statusCode >= 300) {
687
- return de_CommandError(output, context);
688
- }
689
- const contents = smithyClient.map({
690
- $metadata: deserializeMetadata(output),
691
- });
692
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
693
- const doc = smithyClient.take(data, {
694
- nextToken: smithyClient.expectString,
695
- projects: (_) => de_DataAutomationProjectSummaries(_),
696
- });
697
- Object.assign(contents, doc);
698
- return contents;
699
- };
700
- const de_ListTagsForResourceCommand = async (output, context) => {
701
- if (output.statusCode !== 200 && output.statusCode >= 300) {
702
- return de_CommandError(output, context);
703
- }
704
- const contents = smithyClient.map({
705
- $metadata: deserializeMetadata(output),
706
- });
707
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
708
- const doc = smithyClient.take(data, {
709
- tags: smithyClient._json,
710
- });
711
- Object.assign(contents, doc);
712
- return contents;
713
- };
714
- const de_TagResourceCommand = async (output, context) => {
715
- if (output.statusCode !== 200 && output.statusCode >= 300) {
716
- return de_CommandError(output, context);
717
- }
718
- const contents = smithyClient.map({
719
- $metadata: deserializeMetadata(output),
720
- });
721
- await smithyClient.collectBody(output.body, context);
722
- return contents;
723
- };
724
- const de_UntagResourceCommand = async (output, context) => {
725
- if (output.statusCode !== 200 && output.statusCode >= 300) {
726
- return de_CommandError(output, context);
727
- }
728
- const contents = smithyClient.map({
729
- $metadata: deserializeMetadata(output),
730
- });
731
- await smithyClient.collectBody(output.body, context);
732
- return contents;
733
- };
734
- const de_UpdateBlueprintCommand = async (output, context) => {
735
- if (output.statusCode !== 200 && output.statusCode >= 300) {
736
- return de_CommandError(output, context);
737
- }
738
- const contents = smithyClient.map({
739
- $metadata: deserializeMetadata(output),
740
- });
741
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
742
- const doc = smithyClient.take(data, {
743
- blueprint: (_) => de_Blueprint(_),
744
- });
745
- Object.assign(contents, doc);
746
- return contents;
747
- };
748
- const de_UpdateDataAutomationProjectCommand = async (output, context) => {
749
- if (output.statusCode !== 200 && output.statusCode >= 300) {
750
- return de_CommandError(output, context);
751
- }
752
- const contents = smithyClient.map({
753
- $metadata: deserializeMetadata(output),
754
- });
755
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
756
- const doc = smithyClient.take(data, {
757
- projectArn: smithyClient.expectString,
758
- projectStage: smithyClient.expectString,
759
- status: smithyClient.expectString,
760
- });
761
- Object.assign(contents, doc);
762
- return contents;
763
- };
764
- const de_CommandError = async (output, context) => {
765
- const parsedOutput = {
766
- ...output,
767
- body: await core$1.parseJsonErrorBody(output.body, context),
768
- };
769
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
770
- switch (errorCode) {
771
- case "AccessDeniedException":
772
- case "com.amazonaws.bedrockdataautomation#AccessDeniedException":
773
- throw await de_AccessDeniedExceptionRes(parsedOutput);
774
- case "ConflictException":
775
- case "com.amazonaws.bedrockdataautomation#ConflictException":
776
- throw await de_ConflictExceptionRes(parsedOutput);
777
- case "InternalServerException":
778
- case "com.amazonaws.bedrockdataautomation#InternalServerException":
779
- throw await de_InternalServerExceptionRes(parsedOutput);
780
- case "ServiceQuotaExceededException":
781
- case "com.amazonaws.bedrockdataautomation#ServiceQuotaExceededException":
782
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
783
- case "ThrottlingException":
784
- case "com.amazonaws.bedrockdataautomation#ThrottlingException":
785
- throw await de_ThrottlingExceptionRes(parsedOutput);
786
- case "ValidationException":
787
- case "com.amazonaws.bedrockdataautomation#ValidationException":
788
- throw await de_ValidationExceptionRes(parsedOutput);
789
- case "ResourceNotFoundException":
790
- case "com.amazonaws.bedrockdataautomation#ResourceNotFoundException":
791
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
792
- default:
793
- const parsedBody = parsedOutput.body;
794
- return throwDefaultError({
795
- output,
796
- parsedBody,
797
- errorCode,
798
- });
799
- }
800
- };
801
- const throwDefaultError = smithyClient.withBaseException(BedrockDataAutomationServiceException);
802
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
803
- const contents = smithyClient.map({});
804
- const data = parsedOutput.body;
805
- const doc = smithyClient.take(data, {
806
- message: smithyClient.expectString,
807
- });
808
- Object.assign(contents, doc);
809
- const exception = new AccessDeniedException({
810
- $metadata: deserializeMetadata(parsedOutput),
811
- ...contents,
812
- });
813
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
814
- };
815
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
816
- const contents = smithyClient.map({});
817
- const data = parsedOutput.body;
818
- const doc = smithyClient.take(data, {
819
- message: smithyClient.expectString,
820
- });
821
- Object.assign(contents, doc);
822
- const exception = new ConflictException({
823
- $metadata: deserializeMetadata(parsedOutput),
824
- ...contents,
825
- });
826
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
827
- };
828
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
829
- const contents = smithyClient.map({});
830
- const data = parsedOutput.body;
831
- const doc = smithyClient.take(data, {
832
- message: smithyClient.expectString,
833
- });
834
- Object.assign(contents, doc);
835
- const exception = new InternalServerException({
836
- $metadata: deserializeMetadata(parsedOutput),
837
- ...contents,
838
- });
839
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
840
- };
841
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
842
- const contents = smithyClient.map({});
843
- const data = parsedOutput.body;
844
- const doc = smithyClient.take(data, {
845
- message: smithyClient.expectString,
846
- });
847
- Object.assign(contents, doc);
848
- const exception = new ResourceNotFoundException({
849
- $metadata: deserializeMetadata(parsedOutput),
850
- ...contents,
851
- });
852
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
853
- };
854
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
855
- const contents = smithyClient.map({});
856
- const data = parsedOutput.body;
857
- const doc = smithyClient.take(data, {
858
- message: smithyClient.expectString,
859
- });
860
- Object.assign(contents, doc);
861
- const exception = new ServiceQuotaExceededException({
862
- $metadata: deserializeMetadata(parsedOutput),
863
- ...contents,
864
- });
865
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
866
- };
867
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
868
- const contents = smithyClient.map({});
869
- const data = parsedOutput.body;
870
- const doc = smithyClient.take(data, {
871
- message: smithyClient.expectString,
872
- });
873
- Object.assign(contents, doc);
874
- const exception = new ThrottlingException({
875
- $metadata: deserializeMetadata(parsedOutput),
876
- ...contents,
877
- });
878
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
879
- };
880
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
881
- const contents = smithyClient.map({});
882
- const data = parsedOutput.body;
883
- const doc = smithyClient.take(data, {
884
- fieldList: smithyClient._json,
885
- message: smithyClient.expectString,
886
- });
887
- Object.assign(contents, doc);
888
- const exception = new ValidationException({
889
- $metadata: deserializeMetadata(parsedOutput),
890
- ...contents,
891
- });
892
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
893
- };
894
- const de_Blueprint = (output, context) => {
895
- return smithyClient.take(output, {
896
- blueprintArn: smithyClient.expectString,
897
- blueprintName: smithyClient.expectString,
898
- blueprintStage: smithyClient.expectString,
899
- blueprintVersion: smithyClient.expectString,
900
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
901
- kmsEncryptionContext: smithyClient._json,
902
- kmsKeyId: smithyClient.expectString,
903
- lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
904
- schema: smithyClient.expectString,
905
- type: smithyClient.expectString,
906
- });
907
- };
908
- const de_Blueprints = (output, context) => {
909
- const retVal = (output || [])
910
- .filter((e) => e != null)
911
- .map((entry) => {
912
- return de_BlueprintSummary(entry);
913
- });
914
- return retVal;
915
- };
916
- const de_BlueprintSummary = (output, context) => {
917
- return smithyClient.take(output, {
918
- blueprintArn: smithyClient.expectString,
919
- blueprintName: smithyClient.expectString,
920
- blueprintStage: smithyClient.expectString,
921
- blueprintVersion: smithyClient.expectString,
922
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
923
- lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
924
- });
925
- };
926
- const de_DataAutomationProject = (output, context) => {
927
- return smithyClient.take(output, {
928
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
929
- customOutputConfiguration: smithyClient._json,
930
- kmsEncryptionContext: smithyClient._json,
931
- kmsKeyId: smithyClient.expectString,
932
- lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
933
- overrideConfiguration: smithyClient._json,
934
- projectArn: smithyClient.expectString,
935
- projectDescription: smithyClient.expectString,
936
- projectName: smithyClient.expectString,
937
- projectStage: smithyClient.expectString,
938
- standardOutputConfiguration: smithyClient._json,
939
- status: smithyClient.expectString,
940
- });
941
- };
942
- const de_DataAutomationProjectSummaries = (output, context) => {
943
- const retVal = (output || [])
944
- .filter((e) => e != null)
945
- .map((entry) => {
946
- return de_DataAutomationProjectSummary(entry);
947
- });
948
- return retVal;
949
- };
950
- const de_DataAutomationProjectSummary = (output, context) => {
951
- return smithyClient.take(output, {
952
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
953
- projectArn: smithyClient.expectString,
954
- projectName: smithyClient.expectString,
955
- projectStage: smithyClient.expectString,
956
- });
957
- };
958
- const deserializeMetadata = (output) => ({
959
- httpStatusCode: output.statusCode,
960
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
961
- extendedRequestId: output.headers["x-amz-id-2"],
962
- cfId: output.headers["x-amz-cf-id"],
963
- });
310
+ const _ADE = "AccessDeniedException";
311
+ const _AEC = "AudioExtractionCategory";
312
+ const _AECTC = "AudioExtractionCategoryTypeConfiguration";
313
+ const _ALC = "AudioLanguageConfiguration";
314
+ const _AOC = "AudioOverrideConfiguration";
315
+ const _ASE = "AudioStandardExtraction";
316
+ const _ASGF = "AudioStandardGenerativeField";
317
+ const _ASOC = "AudioStandardOutputConfiguration";
318
+ const _B = "Blueprint";
319
+ const _BF = "BlueprintFilter";
320
+ const _BI = "BlueprintItem";
321
+ const _BIl = "BlueprintItems";
322
+ const _BN = "BlueprintName";
323
+ const _BS = "BlueprintSchema";
324
+ const _BSl = "BlueprintSummary";
325
+ const _Bl = "Blueprints";
326
+ const _CB = "CreateBlueprint";
327
+ const _CBR = "CreateBlueprintRequest";
328
+ const _CBRr = "CreateBlueprintResponse";
329
+ const _CBV = "CreateBlueprintVersion";
330
+ const _CBVR = "CreateBlueprintVersionRequest";
331
+ const _CBVRr = "CreateBlueprintVersionResponse";
332
+ const _CDAP = "CreateDataAutomationProject";
333
+ const _CDAPR = "CreateDataAutomationProjectRequest";
334
+ const _CDAPRr = "CreateDataAutomationProjectResponse";
335
+ const _CE = "ConflictException";
336
+ const _CLC = "ChannelLabelingConfiguration";
337
+ const _COC = "CustomOutputConfiguration";
338
+ const _DAP = "DataAutomationProject";
339
+ const _DAPD = "DataAutomationProjectDescription";
340
+ const _DAPF = "DataAutomationProjectFilter";
341
+ const _DAPN = "DataAutomationProjectName";
342
+ const _DAPS = "DataAutomationProjectSummary";
343
+ const _DAPSa = "DataAutomationProjectSummaries";
344
+ const _DB = "DeleteBlueprint";
345
+ const _DBB = "DocumentBoundingBox";
346
+ const _DBR = "DeleteBlueprintRequest";
347
+ const _DBRe = "DeleteBlueprintResponse";
348
+ const _DDAP = "DeleteDataAutomationProject";
349
+ const _DDAPR = "DeleteDataAutomationProjectRequest";
350
+ const _DDAPRe = "DeleteDataAutomationProjectResponse";
351
+ const _DEG = "DocumentExtractionGranularity";
352
+ const _DOAFF = "DocumentOutputAdditionalFileFormat";
353
+ const _DOC = "DocumentOverrideConfiguration";
354
+ const _DOF = "DocumentOutputFormat";
355
+ const _DOTF = "DocumentOutputTextFormat";
356
+ const _DSE = "DocumentStandardExtraction";
357
+ const _DSGF = "DocumentStandardGenerativeField";
358
+ const _DSOC = "DocumentStandardOutputConfiguration";
359
+ const _EC = "EncryptionConfiguration";
360
+ const _GB = "GetBlueprint";
361
+ const _GBR = "GetBlueprintRequest";
362
+ const _GBRe = "GetBlueprintResponse";
363
+ const _GDAP = "GetDataAutomationProject";
364
+ const _GDAPR = "GetDataAutomationProjectRequest";
365
+ const _GDAPRe = "GetDataAutomationProjectResponse";
366
+ const _IBB = "ImageBoundingBox";
367
+ const _IEC = "ImageExtractionCategory";
368
+ const _IOC = "ImageOverrideConfiguration";
369
+ const _ISE = "ImageStandardExtraction";
370
+ const _ISEn = "InternalServerException";
371
+ const _ISGF = "ImageStandardGenerativeField";
372
+ const _ISOC = "ImageStandardOutputConfiguration";
373
+ const _LB = "ListBlueprints";
374
+ const _LBR = "ListBlueprintsRequest";
375
+ const _LBRi = "ListBlueprintsResponse";
376
+ const _LDAP = "ListDataAutomationProjects";
377
+ const _LDAPR = "ListDataAutomationProjectsRequest";
378
+ const _LDAPRi = "ListDataAutomationProjectsResponse";
379
+ const _LTFR = "ListTagsForResource";
380
+ const _LTFRR = "ListTagsForResourceRequest";
381
+ const _LTFRRi = "ListTagsForResourceResponse";
382
+ const _MPC = "ModalityProcessingConfiguration";
383
+ const _MRC = "ModalityRoutingConfiguration";
384
+ const _OC = "OverrideConfiguration";
385
+ const _RNFE = "ResourceNotFoundException";
386
+ const _SC = "SplitterConfiguration";
387
+ const _SLC = "SpeakerLabelingConfiguration";
388
+ const _SOC = "StandardOutputConfiguration";
389
+ const _SQEE = "ServiceQuotaExceededException";
390
+ const _T = "Tag";
391
+ const _TC = "TranscriptConfiguration";
392
+ const _TE = "ThrottlingException";
393
+ const _TL = "TagList";
394
+ const _TR = "TagResource";
395
+ const _TRR = "TagResourceRequest";
396
+ const _TRRa = "TagResourceResponse";
397
+ const _UB = "UpdateBlueprint";
398
+ const _UBR = "UpdateBlueprintRequest";
399
+ const _UBRp = "UpdateBlueprintResponse";
400
+ const _UDAP = "UpdateDataAutomationProject";
401
+ const _UDAPR = "UpdateDataAutomationProjectRequest";
402
+ const _UDAPRp = "UpdateDataAutomationProjectResponse";
403
+ const _UR = "UntagResource";
404
+ const _URR = "UntagResourceRequest";
405
+ const _URRn = "UntagResourceResponse";
406
+ const _VBB = "VideoBoundingBox";
407
+ const _VE = "ValidationException";
408
+ const _VEC = "VideoExtractionCategory";
409
+ const _VEF = "ValidationExceptionField";
410
+ const _VEFL = "ValidationExceptionFieldList";
411
+ const _VOC = "VideoOverrideConfiguration";
412
+ const _VSE = "VideoStandardExtraction";
413
+ const _VSGF = "VideoStandardGenerativeField";
414
+ const _VSOC = "VideoStandardOutputConfiguration";
415
+ const _a = "audio";
416
+ const _aFF = "additionalFileFormat";
417
+ const _b = "blueprint";
418
+ const _bA = "blueprintArn";
419
+ const _bB = "boundingBox";
420
+ const _bF = "blueprintFilter";
421
+ const _bN = "blueprintName";
422
+ const _bS = "blueprintStage";
423
+ const _bSF = "blueprintStageFilter";
964
424
  const _bV = "blueprintVersion";
425
+ const _bl = "blueprints";
426
+ const _c = "client";
427
+ const _cL = "channelLabeling";
428
+ const _cOC = "customOutputConfiguration";
429
+ const _cT = "creationTime";
430
+ const _cTl = "clientToken";
431
+ const _ca = "category";
432
+ const _d = "document";
433
+ const _e = "error";
434
+ const _eC = "encryptionConfiguration";
435
+ const _ex = "extraction";
436
+ const _fL = "fieldList";
437
+ const _g = "granularity";
438
+ const _gF = "generativeField";
439
+ const _gOL = "generativeOutputLanguage";
440
+ const _h = "http";
441
+ const _hE = "httpError";
442
+ const _hQ = "httpQuery";
443
+ const _i = "image";
444
+ const _iL = "inputLanguages";
445
+ const _iML = "identifyMultipleLanguages";
446
+ const _j = "jpeg";
447
+ const _k = "key";
448
+ const _kEC = "kmsEncryptionContext";
449
+ const _kKI = "kmsKeyId";
450
+ const _lC = "languageConfiguration";
451
+ const _lMT = "lastModifiedTime";
452
+ const _m = "message";
453
+ const _mP = "modalityProcessing";
454
+ const _mR = "maxResults";
455
+ const _mRo = "modalityRouting";
456
+ const _mo = "mov";
457
+ const _mp = "mp4";
458
+ const _n = "name";
459
+ const _nT = "nextToken";
460
+ const _oC = "overrideConfiguration";
461
+ const _oF = "outputFormat";
462
+ const _p = "project";
463
+ const _pA = "projectArn";
464
+ const _pD = "projectDescription";
465
+ const _pF = "projectFilter";
466
+ const _pN = "projectName";
467
+ const _pS = "projectStage";
468
+ const _pSF = "projectStageFilter";
469
+ const _pn = "png";
470
+ const _pr = "projects";
471
+ const _rARN = "resourceARN";
472
+ const _rO = "resourceOwner";
473
+ const _s = "state";
474
+ const _sL = "speakerLabeling";
475
+ const _sOC = "standardOutputConfiguration";
476
+ const _sc = "schema";
477
+ const _se = "server";
478
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockdataautomation";
479
+ const _sp = "splitter";
480
+ const _st = "status";
481
+ const _t = "types";
482
+ const _tC = "typeConfiguration";
483
+ const _tF = "textFormat";
484
+ const _tK = "tagKeys";
485
+ const _ta = "tags";
486
+ const _tr = "transcript";
487
+ const _ty = "type";
488
+ const _v = "video";
489
+ const _va = "value";
490
+ const n0 = "com.amazonaws.bedrockdataautomation";
491
+ var BlueprintName = [0, n0, _BN, 8, 0];
492
+ var BlueprintSchema = [0, n0, _BS, 8, 0];
493
+ var DataAutomationProjectDescription = [0, n0, _DAPD, 8, 0];
494
+ var DataAutomationProjectName = [0, n0, _DAPN, 8, 0];
495
+ var AccessDeniedException = [
496
+ -3,
497
+ n0,
498
+ _ADE,
499
+ {
500
+ [_e]: _c,
501
+ [_hE]: 403,
502
+ },
503
+ [_m],
504
+ [0],
505
+ ];
506
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
507
+ var AudioExtractionCategory = [
508
+ 3,
509
+ n0,
510
+ _AEC,
511
+ 0,
512
+ [_s, _t, _tC],
513
+ [0, 64 | 0, () => AudioExtractionCategoryTypeConfiguration],
514
+ ];
515
+ var AudioExtractionCategoryTypeConfiguration = [
516
+ 3,
517
+ n0,
518
+ _AECTC,
519
+ 0,
520
+ [_tr],
521
+ [() => TranscriptConfiguration],
522
+ ];
523
+ var AudioLanguageConfiguration = [3, n0, _ALC, 0, [_iL, _gOL, _iML], [64 | 0, 0, 2]];
524
+ var AudioOverrideConfiguration = [
525
+ 3,
526
+ n0,
527
+ _AOC,
528
+ 0,
529
+ [_mP, _lC],
530
+ [() => ModalityProcessingConfiguration, () => AudioLanguageConfiguration],
531
+ ];
532
+ var AudioStandardExtraction = [3, n0, _ASE, 0, [_ca], [() => AudioExtractionCategory]];
533
+ var AudioStandardGenerativeField = [3, n0, _ASGF, 0, [_s, _t], [0, 64 | 0]];
534
+ var AudioStandardOutputConfiguration = [
535
+ 3,
536
+ n0,
537
+ _ASOC,
538
+ 0,
539
+ [_ex, _gF],
540
+ [() => AudioStandardExtraction, () => AudioStandardGenerativeField],
541
+ ];
542
+ var Blueprint = [
543
+ 3,
544
+ n0,
545
+ _B,
546
+ 0,
547
+ [_bA, _sc, _ty, _cT, _lMT, _bN, _bV, _bS, _kKI, _kEC],
548
+ [0, [() => BlueprintSchema, 0], 0, 5, 5, [() => BlueprintName, 0], 0, 0, 0, 128 | 0],
549
+ ];
550
+ var BlueprintFilter = [3, n0, _BF, 0, [_bA, _bV, _bS], [0, 0, 0]];
551
+ var BlueprintItem = [3, n0, _BI, 0, [_bA, _bV, _bS], [0, 0, 0]];
552
+ var BlueprintSummary = [
553
+ 3,
554
+ n0,
555
+ _BSl,
556
+ 0,
557
+ [_bA, _bV, _bS, _bN, _cT, _lMT],
558
+ [0, 0, 0, [() => BlueprintName, 0], 5, 5],
559
+ ];
560
+ var ChannelLabelingConfiguration = [3, n0, _CLC, 0, [_s], [0]];
561
+ var ConflictException = [
562
+ -3,
563
+ n0,
564
+ _CE,
565
+ {
566
+ [_e]: _c,
567
+ [_hE]: 409,
568
+ },
569
+ [_m],
570
+ [0],
571
+ ];
572
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
573
+ var CreateBlueprintRequest = [
574
+ 3,
575
+ n0,
576
+ _CBR,
577
+ 0,
578
+ [_bN, _ty, _bS, _sc, _cTl, _eC, _ta],
579
+ [[() => BlueprintName, 0], 0, 0, [() => BlueprintSchema, 0], [0, 4], () => EncryptionConfiguration, () => TagList],
580
+ ];
581
+ var CreateBlueprintResponse = [3, n0, _CBRr, 0, [_b], [[() => Blueprint, 0]]];
582
+ var CreateBlueprintVersionRequest = [
583
+ 3,
584
+ n0,
585
+ _CBVR,
586
+ 0,
587
+ [_bA, _cTl],
588
+ [
589
+ [0, 1],
590
+ [0, 4],
591
+ ],
592
+ ];
593
+ var CreateBlueprintVersionResponse = [3, n0, _CBVRr, 0, [_b], [[() => Blueprint, 0]]];
594
+ var CreateDataAutomationProjectRequest = [
595
+ 3,
596
+ n0,
597
+ _CDAPR,
598
+ 0,
599
+ [_pN, _pD, _pS, _sOC, _cOC, _oC, _cTl, _eC, _ta],
600
+ [
601
+ [() => DataAutomationProjectName, 0],
602
+ [() => DataAutomationProjectDescription, 0],
603
+ 0,
604
+ () => StandardOutputConfiguration,
605
+ () => CustomOutputConfiguration,
606
+ () => OverrideConfiguration,
607
+ [0, 4],
608
+ () => EncryptionConfiguration,
609
+ () => TagList,
610
+ ],
611
+ ];
612
+ var CreateDataAutomationProjectResponse = [3, n0, _CDAPRr, 0, [_pA, _pS, _st], [0, 0, 0]];
613
+ var CustomOutputConfiguration = [3, n0, _COC, 0, [_bl], [() => BlueprintItems]];
614
+ var DataAutomationProject = [
615
+ 3,
616
+ n0,
617
+ _DAP,
618
+ 0,
619
+ [_pA, _cT, _lMT, _pN, _pS, _pD, _sOC, _cOC, _oC, _st, _kKI, _kEC],
620
+ [
621
+ 0,
622
+ 5,
623
+ 5,
624
+ [() => DataAutomationProjectName, 0],
625
+ 0,
626
+ [() => DataAutomationProjectDescription, 0],
627
+ () => StandardOutputConfiguration,
628
+ () => CustomOutputConfiguration,
629
+ () => OverrideConfiguration,
630
+ 0,
631
+ 0,
632
+ 128 | 0,
633
+ ],
634
+ ];
635
+ var DataAutomationProjectFilter = [3, n0, _DAPF, 0, [_pA, _pS], [0, 0]];
636
+ var DataAutomationProjectSummary = [
637
+ 3,
638
+ n0,
639
+ _DAPS,
640
+ 0,
641
+ [_pA, _pS, _pN, _cT],
642
+ [0, 0, [() => DataAutomationProjectName, 0], 5],
643
+ ];
644
+ var DeleteBlueprintRequest = [
645
+ 3,
646
+ n0,
647
+ _DBR,
648
+ 0,
649
+ [_bA, _bV],
650
+ [
651
+ [0, 1],
652
+ [
653
+ 0,
654
+ {
655
+ [_hQ]: _bV,
656
+ },
657
+ ],
658
+ ],
659
+ ];
660
+ var DeleteBlueprintResponse = [3, n0, _DBRe, 0, [], []];
661
+ var DeleteDataAutomationProjectRequest = [3, n0, _DDAPR, 0, [_pA], [[0, 1]]];
662
+ var DeleteDataAutomationProjectResponse = [3, n0, _DDAPRe, 0, [_pA, _st], [0, 0]];
663
+ var DocumentBoundingBox = [3, n0, _DBB, 0, [_s], [0]];
664
+ var DocumentExtractionGranularity = [3, n0, _DEG, 0, [_t], [64 | 0]];
665
+ var DocumentOutputAdditionalFileFormat = [3, n0, _DOAFF, 0, [_s], [0]];
666
+ var DocumentOutputFormat = [
667
+ 3,
668
+ n0,
669
+ _DOF,
670
+ 0,
671
+ [_tF, _aFF],
672
+ [() => DocumentOutputTextFormat, () => DocumentOutputAdditionalFileFormat],
673
+ ];
674
+ var DocumentOutputTextFormat = [3, n0, _DOTF, 0, [_t], [64 | 0]];
675
+ var DocumentOverrideConfiguration = [
676
+ 3,
677
+ n0,
678
+ _DOC,
679
+ 0,
680
+ [_sp, _mP],
681
+ [() => SplitterConfiguration, () => ModalityProcessingConfiguration],
682
+ ];
683
+ var DocumentStandardExtraction = [
684
+ 3,
685
+ n0,
686
+ _DSE,
687
+ 0,
688
+ [_g, _bB],
689
+ [() => DocumentExtractionGranularity, () => DocumentBoundingBox],
690
+ ];
691
+ var DocumentStandardGenerativeField = [3, n0, _DSGF, 0, [_s], [0]];
692
+ var DocumentStandardOutputConfiguration = [
693
+ 3,
694
+ n0,
695
+ _DSOC,
696
+ 0,
697
+ [_ex, _gF, _oF],
698
+ [() => DocumentStandardExtraction, () => DocumentStandardGenerativeField, () => DocumentOutputFormat],
699
+ ];
700
+ var EncryptionConfiguration = [3, n0, _EC, 0, [_kKI, _kEC], [0, 128 | 0]];
701
+ var GetBlueprintRequest = [3, n0, _GBR, 0, [_bA, _bV, _bS], [[0, 1], 0, 0]];
702
+ var GetBlueprintResponse = [3, n0, _GBRe, 0, [_b], [[() => Blueprint, 0]]];
703
+ var GetDataAutomationProjectRequest = [3, n0, _GDAPR, 0, [_pA, _pS], [[0, 1], 0]];
704
+ var GetDataAutomationProjectResponse = [
705
+ 3,
706
+ n0,
707
+ _GDAPRe,
708
+ 0,
709
+ [_p],
710
+ [[() => DataAutomationProject, 0]],
711
+ ];
712
+ var ImageBoundingBox = [3, n0, _IBB, 0, [_s], [0]];
713
+ var ImageExtractionCategory = [3, n0, _IEC, 0, [_s, _t], [0, 64 | 0]];
714
+ var ImageOverrideConfiguration = [
715
+ 3,
716
+ n0,
717
+ _IOC,
718
+ 0,
719
+ [_mP],
720
+ [() => ModalityProcessingConfiguration],
721
+ ];
722
+ var ImageStandardExtraction = [
723
+ 3,
724
+ n0,
725
+ _ISE,
726
+ 0,
727
+ [_ca, _bB],
728
+ [() => ImageExtractionCategory, () => ImageBoundingBox],
729
+ ];
730
+ var ImageStandardGenerativeField = [3, n0, _ISGF, 0, [_s, _t], [0, 64 | 0]];
731
+ var ImageStandardOutputConfiguration = [
732
+ 3,
733
+ n0,
734
+ _ISOC,
735
+ 0,
736
+ [_ex, _gF],
737
+ [() => ImageStandardExtraction, () => ImageStandardGenerativeField],
738
+ ];
739
+ var InternalServerException = [
740
+ -3,
741
+ n0,
742
+ _ISEn,
743
+ {
744
+ [_e]: _se,
745
+ [_hE]: 500,
746
+ },
747
+ [_m],
748
+ [0],
749
+ ];
750
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
751
+ var ListBlueprintsRequest = [
752
+ 3,
753
+ n0,
754
+ _LBR,
755
+ 0,
756
+ [_bA, _rO, _bSF, _mR, _nT, _pF],
757
+ [0, 0, 0, 1, 0, () => DataAutomationProjectFilter],
758
+ ];
759
+ var ListBlueprintsResponse = [3, n0, _LBRi, 0, [_bl, _nT], [[() => Blueprints, 0], 0]];
760
+ var ListDataAutomationProjectsRequest = [
761
+ 3,
762
+ n0,
763
+ _LDAPR,
764
+ 0,
765
+ [_mR, _nT, _pSF, _bF, _rO],
766
+ [1, 0, 0, () => BlueprintFilter, 0],
767
+ ];
768
+ var ListDataAutomationProjectsResponse = [
769
+ 3,
770
+ n0,
771
+ _LDAPRi,
772
+ 0,
773
+ [_pr, _nT],
774
+ [[() => DataAutomationProjectSummaries, 0], 0],
775
+ ];
776
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rARN], [0]];
777
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [() => TagList]];
778
+ var ModalityProcessingConfiguration = [3, n0, _MPC, 0, [_s], [0]];
779
+ var ModalityRoutingConfiguration = [3, n0, _MRC, 0, [_j, _pn, _mp, _mo], [0, 0, 0, 0]];
780
+ var OverrideConfiguration = [
781
+ 3,
782
+ n0,
783
+ _OC,
784
+ 0,
785
+ [_d, _i, _v, _a, _mRo],
786
+ [
787
+ () => DocumentOverrideConfiguration,
788
+ () => ImageOverrideConfiguration,
789
+ () => VideoOverrideConfiguration,
790
+ () => AudioOverrideConfiguration,
791
+ () => ModalityRoutingConfiguration,
792
+ ],
793
+ ];
794
+ var ResourceNotFoundException = [
795
+ -3,
796
+ n0,
797
+ _RNFE,
798
+ {
799
+ [_e]: _c,
800
+ [_hE]: 404,
801
+ },
802
+ [_m],
803
+ [0],
804
+ ];
805
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
806
+ var ServiceQuotaExceededException = [
807
+ -3,
808
+ n0,
809
+ _SQEE,
810
+ {
811
+ [_e]: _c,
812
+ [_hE]: 402,
813
+ },
814
+ [_m],
815
+ [0],
816
+ ];
817
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
818
+ var SpeakerLabelingConfiguration = [3, n0, _SLC, 0, [_s], [0]];
819
+ var SplitterConfiguration = [3, n0, _SC, 0, [_s], [0]];
820
+ var StandardOutputConfiguration = [
821
+ 3,
822
+ n0,
823
+ _SOC,
824
+ 0,
825
+ [_d, _i, _v, _a],
826
+ [
827
+ () => DocumentStandardOutputConfiguration,
828
+ () => ImageStandardOutputConfiguration,
829
+ () => VideoStandardOutputConfiguration,
830
+ () => AudioStandardOutputConfiguration,
831
+ ],
832
+ ];
833
+ var Tag = [3, n0, _T, 0, [_k, _va], [0, 0]];
834
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rARN, _ta], [0, () => TagList]];
835
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
836
+ var ThrottlingException = [
837
+ -3,
838
+ n0,
839
+ _TE,
840
+ {
841
+ [_e]: _c,
842
+ [_hE]: 429,
843
+ },
844
+ [_m],
845
+ [0],
846
+ ];
847
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
848
+ var TranscriptConfiguration = [
849
+ 3,
850
+ n0,
851
+ _TC,
852
+ 0,
853
+ [_sL, _cL],
854
+ [() => SpeakerLabelingConfiguration, () => ChannelLabelingConfiguration],
855
+ ];
856
+ var UntagResourceRequest = [3, n0, _URR, 0, [_rARN, _tK], [0, 64 | 0]];
857
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
858
+ var UpdateBlueprintRequest = [
859
+ 3,
860
+ n0,
861
+ _UBR,
862
+ 0,
863
+ [_bA, _sc, _bS, _eC],
864
+ [[0, 1], [() => BlueprintSchema, 0], 0, () => EncryptionConfiguration],
865
+ ];
866
+ var UpdateBlueprintResponse = [3, n0, _UBRp, 0, [_b], [[() => Blueprint, 0]]];
867
+ var UpdateDataAutomationProjectRequest = [
868
+ 3,
869
+ n0,
870
+ _UDAPR,
871
+ 0,
872
+ [_pA, _pS, _pD, _sOC, _cOC, _oC, _eC],
873
+ [
874
+ [0, 1],
875
+ 0,
876
+ [() => DataAutomationProjectDescription, 0],
877
+ () => StandardOutputConfiguration,
878
+ () => CustomOutputConfiguration,
879
+ () => OverrideConfiguration,
880
+ () => EncryptionConfiguration,
881
+ ],
882
+ ];
883
+ var UpdateDataAutomationProjectResponse = [3, n0, _UDAPRp, 0, [_pA, _pS, _st], [0, 0, 0]];
884
+ var ValidationException = [
885
+ -3,
886
+ n0,
887
+ _VE,
888
+ {
889
+ [_e]: _c,
890
+ [_hE]: 400,
891
+ },
892
+ [_m, _fL],
893
+ [0, () => ValidationExceptionFieldList],
894
+ ];
895
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
896
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
897
+ var VideoBoundingBox = [3, n0, _VBB, 0, [_s], [0]];
898
+ var VideoExtractionCategory = [3, n0, _VEC, 0, [_s, _t], [0, 64 | 0]];
899
+ var VideoOverrideConfiguration = [
900
+ 3,
901
+ n0,
902
+ _VOC,
903
+ 0,
904
+ [_mP],
905
+ [() => ModalityProcessingConfiguration],
906
+ ];
907
+ var VideoStandardExtraction = [
908
+ 3,
909
+ n0,
910
+ _VSE,
911
+ 0,
912
+ [_ca, _bB],
913
+ [() => VideoExtractionCategory, () => VideoBoundingBox],
914
+ ];
915
+ var VideoStandardGenerativeField = [3, n0, _VSGF, 0, [_s, _t], [0, 64 | 0]];
916
+ var VideoStandardOutputConfiguration = [
917
+ 3,
918
+ n0,
919
+ _VSOC,
920
+ 0,
921
+ [_ex, _gF],
922
+ [() => VideoStandardExtraction, () => VideoStandardGenerativeField],
923
+ ];
924
+ var BedrockDataAutomationServiceException = [
925
+ -3,
926
+ _sm,
927
+ "BedrockDataAutomationServiceException",
928
+ 0,
929
+ [],
930
+ [],
931
+ ];
932
+ schema.TypeRegistry.for(_sm).registerError(BedrockDataAutomationServiceException, BedrockDataAutomationServiceException$1);
933
+ var BlueprintItems = [1, n0, _BIl, 0, () => BlueprintItem];
934
+ var Blueprints = [1, n0, _Bl, 0, [() => BlueprintSummary, 0]];
935
+ var DataAutomationProjectSummaries = [
936
+ 1,
937
+ n0,
938
+ _DAPSa,
939
+ 0,
940
+ [() => DataAutomationProjectSummary, 0],
941
+ ];
942
+ var TagList = [1, n0, _TL, 0, () => Tag];
943
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
944
+ var CreateBlueprint = [
945
+ 9,
946
+ n0,
947
+ _CB,
948
+ {
949
+ [_h]: ["PUT", "/blueprints/", 201],
950
+ },
951
+ () => CreateBlueprintRequest,
952
+ () => CreateBlueprintResponse,
953
+ ];
954
+ var CreateBlueprintVersion = [
955
+ 9,
956
+ n0,
957
+ _CBV,
958
+ {
959
+ [_h]: ["POST", "/blueprints/{blueprintArn}/versions/", 201],
960
+ },
961
+ () => CreateBlueprintVersionRequest,
962
+ () => CreateBlueprintVersionResponse,
963
+ ];
964
+ var CreateDataAutomationProject = [
965
+ 9,
966
+ n0,
967
+ _CDAP,
968
+ {
969
+ [_h]: ["PUT", "/data-automation-projects/", 201],
970
+ },
971
+ () => CreateDataAutomationProjectRequest,
972
+ () => CreateDataAutomationProjectResponse,
973
+ ];
974
+ var DeleteBlueprint = [
975
+ 9,
976
+ n0,
977
+ _DB,
978
+ {
979
+ [_h]: ["DELETE", "/blueprints/{blueprintArn}/", 200],
980
+ },
981
+ () => DeleteBlueprintRequest,
982
+ () => DeleteBlueprintResponse,
983
+ ];
984
+ var DeleteDataAutomationProject = [
985
+ 9,
986
+ n0,
987
+ _DDAP,
988
+ {
989
+ [_h]: ["DELETE", "/data-automation-projects/{projectArn}/", 200],
990
+ },
991
+ () => DeleteDataAutomationProjectRequest,
992
+ () => DeleteDataAutomationProjectResponse,
993
+ ];
994
+ var GetBlueprint = [
995
+ 9,
996
+ n0,
997
+ _GB,
998
+ {
999
+ [_h]: ["POST", "/blueprints/{blueprintArn}/", 200],
1000
+ },
1001
+ () => GetBlueprintRequest,
1002
+ () => GetBlueprintResponse,
1003
+ ];
1004
+ var GetDataAutomationProject = [
1005
+ 9,
1006
+ n0,
1007
+ _GDAP,
1008
+ {
1009
+ [_h]: ["POST", "/data-automation-projects/{projectArn}/", 200],
1010
+ },
1011
+ () => GetDataAutomationProjectRequest,
1012
+ () => GetDataAutomationProjectResponse,
1013
+ ];
1014
+ var ListBlueprints = [
1015
+ 9,
1016
+ n0,
1017
+ _LB,
1018
+ {
1019
+ [_h]: ["POST", "/blueprints/", 200],
1020
+ },
1021
+ () => ListBlueprintsRequest,
1022
+ () => ListBlueprintsResponse,
1023
+ ];
1024
+ var ListDataAutomationProjects = [
1025
+ 9,
1026
+ n0,
1027
+ _LDAP,
1028
+ {
1029
+ [_h]: ["POST", "/data-automation-projects/", 200],
1030
+ },
1031
+ () => ListDataAutomationProjectsRequest,
1032
+ () => ListDataAutomationProjectsResponse,
1033
+ ];
1034
+ var ListTagsForResource = [
1035
+ 9,
1036
+ n0,
1037
+ _LTFR,
1038
+ {
1039
+ [_h]: ["POST", "/listTagsForResource", 200],
1040
+ },
1041
+ () => ListTagsForResourceRequest,
1042
+ () => ListTagsForResourceResponse,
1043
+ ];
1044
+ var TagResource = [
1045
+ 9,
1046
+ n0,
1047
+ _TR,
1048
+ {
1049
+ [_h]: ["POST", "/tagResource", 200],
1050
+ },
1051
+ () => TagResourceRequest,
1052
+ () => TagResourceResponse,
1053
+ ];
1054
+ var UntagResource = [
1055
+ 9,
1056
+ n0,
1057
+ _UR,
1058
+ {
1059
+ [_h]: ["POST", "/untagResource", 200],
1060
+ },
1061
+ () => UntagResourceRequest,
1062
+ () => UntagResourceResponse,
1063
+ ];
1064
+ var UpdateBlueprint = [
1065
+ 9,
1066
+ n0,
1067
+ _UB,
1068
+ {
1069
+ [_h]: ["PUT", "/blueprints/{blueprintArn}/", 200],
1070
+ },
1071
+ () => UpdateBlueprintRequest,
1072
+ () => UpdateBlueprintResponse,
1073
+ ];
1074
+ var UpdateDataAutomationProject = [
1075
+ 9,
1076
+ n0,
1077
+ _UDAP,
1078
+ {
1079
+ [_h]: ["PUT", "/data-automation-projects/{projectArn}/", 200],
1080
+ },
1081
+ () => UpdateDataAutomationProjectRequest,
1082
+ () => UpdateDataAutomationProjectResponse,
1083
+ ];
965
1084
 
966
1085
  class CreateBlueprintCommand extends smithyClient.Command
967
1086
  .classBuilder()
968
1087
  .ep(commonParams)
969
1088
  .m(function (Command, cs, config, o) {
970
- return [
971
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
972
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
973
- ];
1089
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
974
1090
  })
975
1091
  .s("AmazonBedrockKeystoneBuildTimeService", "CreateBlueprint", {})
976
1092
  .n("BedrockDataAutomationClient", "CreateBlueprintCommand")
977
- .f(CreateBlueprintRequestFilterSensitiveLog, CreateBlueprintResponseFilterSensitiveLog)
978
- .ser(se_CreateBlueprintCommand)
979
- .de(de_CreateBlueprintCommand)
1093
+ .sc(CreateBlueprint)
980
1094
  .build() {
981
1095
  }
982
1096
 
@@ -984,16 +1098,11 @@ class CreateBlueprintVersionCommand extends smithyClient.Command
984
1098
  .classBuilder()
985
1099
  .ep(commonParams)
986
1100
  .m(function (Command, cs, config, o) {
987
- return [
988
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
989
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
990
- ];
1101
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
991
1102
  })
992
1103
  .s("AmazonBedrockKeystoneBuildTimeService", "CreateBlueprintVersion", {})
993
1104
  .n("BedrockDataAutomationClient", "CreateBlueprintVersionCommand")
994
- .f(void 0, CreateBlueprintVersionResponseFilterSensitiveLog)
995
- .ser(se_CreateBlueprintVersionCommand)
996
- .de(de_CreateBlueprintVersionCommand)
1105
+ .sc(CreateBlueprintVersion)
997
1106
  .build() {
998
1107
  }
999
1108
 
@@ -1001,16 +1110,11 @@ class CreateDataAutomationProjectCommand extends smithyClient.Command
1001
1110
  .classBuilder()
1002
1111
  .ep(commonParams)
1003
1112
  .m(function (Command, cs, config, o) {
1004
- return [
1005
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1006
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1007
- ];
1113
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1008
1114
  })
1009
1115
  .s("AmazonBedrockKeystoneBuildTimeService", "CreateDataAutomationProject", {})
1010
1116
  .n("BedrockDataAutomationClient", "CreateDataAutomationProjectCommand")
1011
- .f(CreateDataAutomationProjectRequestFilterSensitiveLog, void 0)
1012
- .ser(se_CreateDataAutomationProjectCommand)
1013
- .de(de_CreateDataAutomationProjectCommand)
1117
+ .sc(CreateDataAutomationProject)
1014
1118
  .build() {
1015
1119
  }
1016
1120
 
@@ -1018,16 +1122,11 @@ class DeleteBlueprintCommand extends smithyClient.Command
1018
1122
  .classBuilder()
1019
1123
  .ep(commonParams)
1020
1124
  .m(function (Command, cs, config, o) {
1021
- return [
1022
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1023
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1024
- ];
1125
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1025
1126
  })
1026
1127
  .s("AmazonBedrockKeystoneBuildTimeService", "DeleteBlueprint", {})
1027
1128
  .n("BedrockDataAutomationClient", "DeleteBlueprintCommand")
1028
- .f(void 0, void 0)
1029
- .ser(se_DeleteBlueprintCommand)
1030
- .de(de_DeleteBlueprintCommand)
1129
+ .sc(DeleteBlueprint)
1031
1130
  .build() {
1032
1131
  }
1033
1132
 
@@ -1035,16 +1134,11 @@ class DeleteDataAutomationProjectCommand extends smithyClient.Command
1035
1134
  .classBuilder()
1036
1135
  .ep(commonParams)
1037
1136
  .m(function (Command, cs, config, o) {
1038
- return [
1039
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1040
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1041
- ];
1137
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1042
1138
  })
1043
1139
  .s("AmazonBedrockKeystoneBuildTimeService", "DeleteDataAutomationProject", {})
1044
1140
  .n("BedrockDataAutomationClient", "DeleteDataAutomationProjectCommand")
1045
- .f(void 0, void 0)
1046
- .ser(se_DeleteDataAutomationProjectCommand)
1047
- .de(de_DeleteDataAutomationProjectCommand)
1141
+ .sc(DeleteDataAutomationProject)
1048
1142
  .build() {
1049
1143
  }
1050
1144
 
@@ -1052,16 +1146,11 @@ class GetBlueprintCommand extends smithyClient.Command
1052
1146
  .classBuilder()
1053
1147
  .ep(commonParams)
1054
1148
  .m(function (Command, cs, config, o) {
1055
- return [
1056
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1057
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1058
- ];
1149
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1059
1150
  })
1060
1151
  .s("AmazonBedrockKeystoneBuildTimeService", "GetBlueprint", {})
1061
1152
  .n("BedrockDataAutomationClient", "GetBlueprintCommand")
1062
- .f(void 0, GetBlueprintResponseFilterSensitiveLog)
1063
- .ser(se_GetBlueprintCommand)
1064
- .de(de_GetBlueprintCommand)
1153
+ .sc(GetBlueprint)
1065
1154
  .build() {
1066
1155
  }
1067
1156
 
@@ -1069,16 +1158,11 @@ class GetDataAutomationProjectCommand extends smithyClient.Command
1069
1158
  .classBuilder()
1070
1159
  .ep(commonParams)
1071
1160
  .m(function (Command, cs, config, o) {
1072
- return [
1073
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1074
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1075
- ];
1161
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1076
1162
  })
1077
1163
  .s("AmazonBedrockKeystoneBuildTimeService", "GetDataAutomationProject", {})
1078
1164
  .n("BedrockDataAutomationClient", "GetDataAutomationProjectCommand")
1079
- .f(void 0, GetDataAutomationProjectResponseFilterSensitiveLog)
1080
- .ser(se_GetDataAutomationProjectCommand)
1081
- .de(de_GetDataAutomationProjectCommand)
1165
+ .sc(GetDataAutomationProject)
1082
1166
  .build() {
1083
1167
  }
1084
1168
 
@@ -1086,16 +1170,11 @@ class ListBlueprintsCommand extends smithyClient.Command
1086
1170
  .classBuilder()
1087
1171
  .ep(commonParams)
1088
1172
  .m(function (Command, cs, config, o) {
1089
- return [
1090
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1091
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1092
- ];
1173
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1093
1174
  })
1094
1175
  .s("AmazonBedrockKeystoneBuildTimeService", "ListBlueprints", {})
1095
1176
  .n("BedrockDataAutomationClient", "ListBlueprintsCommand")
1096
- .f(void 0, ListBlueprintsResponseFilterSensitiveLog)
1097
- .ser(se_ListBlueprintsCommand)
1098
- .de(de_ListBlueprintsCommand)
1177
+ .sc(ListBlueprints)
1099
1178
  .build() {
1100
1179
  }
1101
1180
 
@@ -1103,16 +1182,11 @@ class ListDataAutomationProjectsCommand extends smithyClient.Command
1103
1182
  .classBuilder()
1104
1183
  .ep(commonParams)
1105
1184
  .m(function (Command, cs, config, o) {
1106
- return [
1107
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1108
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1109
- ];
1185
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1110
1186
  })
1111
1187
  .s("AmazonBedrockKeystoneBuildTimeService", "ListDataAutomationProjects", {})
1112
1188
  .n("BedrockDataAutomationClient", "ListDataAutomationProjectsCommand")
1113
- .f(void 0, ListDataAutomationProjectsResponseFilterSensitiveLog)
1114
- .ser(se_ListDataAutomationProjectsCommand)
1115
- .de(de_ListDataAutomationProjectsCommand)
1189
+ .sc(ListDataAutomationProjects)
1116
1190
  .build() {
1117
1191
  }
1118
1192
 
@@ -1120,16 +1194,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1120
1194
  .classBuilder()
1121
1195
  .ep(commonParams)
1122
1196
  .m(function (Command, cs, config, o) {
1123
- return [
1124
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1125
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1126
- ];
1197
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1127
1198
  })
1128
1199
  .s("AmazonBedrockKeystoneBuildTimeService", "ListTagsForResource", {})
1129
1200
  .n("BedrockDataAutomationClient", "ListTagsForResourceCommand")
1130
- .f(void 0, void 0)
1131
- .ser(se_ListTagsForResourceCommand)
1132
- .de(de_ListTagsForResourceCommand)
1201
+ .sc(ListTagsForResource)
1133
1202
  .build() {
1134
1203
  }
1135
1204
 
@@ -1137,16 +1206,11 @@ class TagResourceCommand extends smithyClient.Command
1137
1206
  .classBuilder()
1138
1207
  .ep(commonParams)
1139
1208
  .m(function (Command, cs, config, o) {
1140
- return [
1141
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1142
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1143
- ];
1209
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1144
1210
  })
1145
1211
  .s("AmazonBedrockKeystoneBuildTimeService", "TagResource", {})
1146
1212
  .n("BedrockDataAutomationClient", "TagResourceCommand")
1147
- .f(void 0, void 0)
1148
- .ser(se_TagResourceCommand)
1149
- .de(de_TagResourceCommand)
1213
+ .sc(TagResource)
1150
1214
  .build() {
1151
1215
  }
1152
1216
 
@@ -1154,16 +1218,11 @@ class UntagResourceCommand extends smithyClient.Command
1154
1218
  .classBuilder()
1155
1219
  .ep(commonParams)
1156
1220
  .m(function (Command, cs, config, o) {
1157
- return [
1158
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1159
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1160
- ];
1221
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1161
1222
  })
1162
1223
  .s("AmazonBedrockKeystoneBuildTimeService", "UntagResource", {})
1163
1224
  .n("BedrockDataAutomationClient", "UntagResourceCommand")
1164
- .f(void 0, void 0)
1165
- .ser(se_UntagResourceCommand)
1166
- .de(de_UntagResourceCommand)
1225
+ .sc(UntagResource)
1167
1226
  .build() {
1168
1227
  }
1169
1228
 
@@ -1171,16 +1230,11 @@ class UpdateBlueprintCommand extends smithyClient.Command
1171
1230
  .classBuilder()
1172
1231
  .ep(commonParams)
1173
1232
  .m(function (Command, cs, config, o) {
1174
- return [
1175
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1176
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1177
- ];
1233
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1178
1234
  })
1179
1235
  .s("AmazonBedrockKeystoneBuildTimeService", "UpdateBlueprint", {})
1180
1236
  .n("BedrockDataAutomationClient", "UpdateBlueprintCommand")
1181
- .f(UpdateBlueprintRequestFilterSensitiveLog, UpdateBlueprintResponseFilterSensitiveLog)
1182
- .ser(se_UpdateBlueprintCommand)
1183
- .de(de_UpdateBlueprintCommand)
1237
+ .sc(UpdateBlueprint)
1184
1238
  .build() {
1185
1239
  }
1186
1240
 
@@ -1188,16 +1242,11 @@ class UpdateDataAutomationProjectCommand extends smithyClient.Command
1188
1242
  .classBuilder()
1189
1243
  .ep(commonParams)
1190
1244
  .m(function (Command, cs, config, o) {
1191
- return [
1192
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1193
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1194
- ];
1245
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1195
1246
  })
1196
1247
  .s("AmazonBedrockKeystoneBuildTimeService", "UpdateDataAutomationProject", {})
1197
1248
  .n("BedrockDataAutomationClient", "UpdateDataAutomationProjectCommand")
1198
- .f(UpdateDataAutomationProjectRequestFilterSensitiveLog, void 0)
1199
- .ser(se_UpdateDataAutomationProjectCommand)
1200
- .de(de_UpdateDataAutomationProjectCommand)
1249
+ .sc(UpdateDataAutomationProject)
1201
1250
  .build() {
1202
1251
  }
1203
1252
 
@@ -1233,60 +1282,47 @@ Object.defineProperty(exports, "__Client", {
1233
1282
  enumerable: true,
1234
1283
  get: function () { return smithyClient.Client; }
1235
1284
  });
1236
- exports.AccessDeniedException = AccessDeniedException;
1285
+ exports.AccessDeniedException = AccessDeniedException$1;
1237
1286
  exports.AudioExtractionCategoryType = AudioExtractionCategoryType;
1287
+ exports.AudioGenerativeOutputLanguage = AudioGenerativeOutputLanguage;
1238
1288
  exports.AudioStandardGenerativeFieldType = AudioStandardGenerativeFieldType;
1239
1289
  exports.BedrockDataAutomation = BedrockDataAutomation;
1240
1290
  exports.BedrockDataAutomationClient = BedrockDataAutomationClient;
1241
- exports.BedrockDataAutomationServiceException = BedrockDataAutomationServiceException;
1242
- exports.BlueprintFilterSensitiveLog = BlueprintFilterSensitiveLog;
1291
+ exports.BedrockDataAutomationServiceException = BedrockDataAutomationServiceException$1;
1243
1292
  exports.BlueprintStage = BlueprintStage;
1244
1293
  exports.BlueprintStageFilter = BlueprintStageFilter;
1245
- exports.BlueprintSummaryFilterSensitiveLog = BlueprintSummaryFilterSensitiveLog;
1246
- exports.ConflictException = ConflictException;
1294
+ exports.ConflictException = ConflictException$1;
1247
1295
  exports.CreateBlueprintCommand = CreateBlueprintCommand;
1248
- exports.CreateBlueprintRequestFilterSensitiveLog = CreateBlueprintRequestFilterSensitiveLog;
1249
- exports.CreateBlueprintResponseFilterSensitiveLog = CreateBlueprintResponseFilterSensitiveLog;
1250
1296
  exports.CreateBlueprintVersionCommand = CreateBlueprintVersionCommand;
1251
- exports.CreateBlueprintVersionResponseFilterSensitiveLog = CreateBlueprintVersionResponseFilterSensitiveLog;
1252
1297
  exports.CreateDataAutomationProjectCommand = CreateDataAutomationProjectCommand;
1253
- exports.CreateDataAutomationProjectRequestFilterSensitiveLog = CreateDataAutomationProjectRequestFilterSensitiveLog;
1254
- exports.DataAutomationProjectFilterSensitiveLog = DataAutomationProjectFilterSensitiveLog;
1255
1298
  exports.DataAutomationProjectStage = DataAutomationProjectStage;
1256
1299
  exports.DataAutomationProjectStageFilter = DataAutomationProjectStageFilter;
1257
1300
  exports.DataAutomationProjectStatus = DataAutomationProjectStatus;
1258
- exports.DataAutomationProjectSummaryFilterSensitiveLog = DataAutomationProjectSummaryFilterSensitiveLog;
1259
1301
  exports.DeleteBlueprintCommand = DeleteBlueprintCommand;
1260
1302
  exports.DeleteDataAutomationProjectCommand = DeleteDataAutomationProjectCommand;
1261
1303
  exports.DesiredModality = DesiredModality;
1262
1304
  exports.DocumentExtractionGranularityType = DocumentExtractionGranularityType;
1263
1305
  exports.DocumentOutputTextFormatType = DocumentOutputTextFormatType;
1264
1306
  exports.GetBlueprintCommand = GetBlueprintCommand;
1265
- exports.GetBlueprintResponseFilterSensitiveLog = GetBlueprintResponseFilterSensitiveLog;
1266
1307
  exports.GetDataAutomationProjectCommand = GetDataAutomationProjectCommand;
1267
- exports.GetDataAutomationProjectResponseFilterSensitiveLog = GetDataAutomationProjectResponseFilterSensitiveLog;
1268
1308
  exports.ImageExtractionCategoryType = ImageExtractionCategoryType;
1269
1309
  exports.ImageStandardGenerativeFieldType = ImageStandardGenerativeFieldType;
1270
- exports.InternalServerException = InternalServerException;
1310
+ exports.InternalServerException = InternalServerException$1;
1311
+ exports.Language = Language;
1271
1312
  exports.ListBlueprintsCommand = ListBlueprintsCommand;
1272
- exports.ListBlueprintsResponseFilterSensitiveLog = ListBlueprintsResponseFilterSensitiveLog;
1273
1313
  exports.ListDataAutomationProjectsCommand = ListDataAutomationProjectsCommand;
1274
- exports.ListDataAutomationProjectsResponseFilterSensitiveLog = ListDataAutomationProjectsResponseFilterSensitiveLog;
1275
1314
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1276
- exports.ResourceNotFoundException = ResourceNotFoundException;
1315
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1277
1316
  exports.ResourceOwner = ResourceOwner;
1278
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1317
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1279
1318
  exports.State = State;
1280
1319
  exports.TagResourceCommand = TagResourceCommand;
1281
- exports.ThrottlingException = ThrottlingException;
1320
+ exports.ThrottlingException = ThrottlingException$1;
1282
1321
  exports.Type = Type;
1283
1322
  exports.UntagResourceCommand = UntagResourceCommand;
1284
1323
  exports.UpdateBlueprintCommand = UpdateBlueprintCommand;
1285
- exports.UpdateBlueprintRequestFilterSensitiveLog = UpdateBlueprintRequestFilterSensitiveLog;
1286
- exports.UpdateBlueprintResponseFilterSensitiveLog = UpdateBlueprintResponseFilterSensitiveLog;
1287
1324
  exports.UpdateDataAutomationProjectCommand = UpdateDataAutomationProjectCommand;
1288
- exports.UpdateDataAutomationProjectRequestFilterSensitiveLog = UpdateDataAutomationProjectRequestFilterSensitiveLog;
1289
- exports.ValidationException = ValidationException;
1325
+ exports.ValidationException = ValidationException$1;
1290
1326
  exports.VideoExtractionCategoryType = VideoExtractionCategoryType;
1291
1327
  exports.VideoStandardGenerativeFieldType = VideoStandardGenerativeFieldType;
1292
1328
  exports.paginateListBlueprints = paginateListBlueprints;