@aws-sdk/client-bedrock-data-automation 3.954.0 → 3.956.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 (37) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +210 -27
  3. package/dist-es/BedrockDataAutomation.js +6 -0
  4. package/dist-es/commands/CopyBlueprintStageCommand.js +16 -0
  5. package/dist-es/commands/GetBlueprintOptimizationStatusCommand.js +16 -0
  6. package/dist-es/commands/InvokeBlueprintOptimizationAsyncCommand.js +16 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/index.js +1 -0
  9. package/dist-es/models/enums.js +7 -0
  10. package/dist-es/models/errors.js +20 -20
  11. package/dist-es/schemas/schemas_0.js +127 -7
  12. package/dist-types/BedrockDataAutomation.d.ts +21 -0
  13. package/dist-types/BedrockDataAutomationClient.d.ts +5 -2
  14. package/dist-types/commands/CopyBlueprintStageCommand.d.ts +90 -0
  15. package/dist-types/commands/CreateBlueprintCommand.d.ts +13 -0
  16. package/dist-types/commands/CreateBlueprintVersionCommand.d.ts +13 -0
  17. package/dist-types/commands/GetBlueprintCommand.d.ts +13 -0
  18. package/dist-types/commands/GetBlueprintOptimizationStatusCommand.d.ts +97 -0
  19. package/dist-types/commands/InvokeBlueprintOptimizationAsyncCommand.d.ts +126 -0
  20. package/dist-types/commands/UpdateBlueprintCommand.d.ts +13 -0
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/index.d.ts +1 -1
  23. package/dist-types/models/enums.d.ts +15 -0
  24. package/dist-types/models/errors.d.ts +20 -20
  25. package/dist-types/models/models_0.d.ts +202 -17
  26. package/dist-types/schemas/schemas_0.d.ts +13 -0
  27. package/dist-types/ts3.4/BedrockDataAutomation.d.ts +51 -0
  28. package/dist-types/ts3.4/BedrockDataAutomationClient.d.ts +18 -0
  29. package/dist-types/ts3.4/commands/CopyBlueprintStageCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/GetBlueprintOptimizationStatusCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/InvokeBlueprintOptimizationAsyncCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  33. package/dist-types/ts3.4/models/enums.d.ts +9 -0
  34. package/dist-types/ts3.4/models/errors.d.ts +11 -11
  35. package/dist-types/ts3.4/models/models_0.d.ts +49 -4
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  37. package/package.json +33 -33
package/README.md CHANGED
@@ -203,6 +203,14 @@ see LICENSE for more information.
203
203
 
204
204
  ## Client Commands (Operations List)
205
205
 
206
+ <details>
207
+ <summary>
208
+ CopyBlueprintStage
209
+ </summary>
210
+
211
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-data-automation/command/CopyBlueprintStageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/CopyBlueprintStageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/CopyBlueprintStageCommandOutput/)
212
+
213
+ </details>
206
214
  <details>
207
215
  <summary>
208
216
  CreateBlueprint
@@ -250,6 +258,14 @@ GetBlueprint
250
258
 
251
259
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-data-automation/command/GetBlueprintCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/GetBlueprintCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/GetBlueprintCommandOutput/)
252
260
 
261
+ </details>
262
+ <details>
263
+ <summary>
264
+ GetBlueprintOptimizationStatus
265
+ </summary>
266
+
267
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-data-automation/command/GetBlueprintOptimizationStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/GetBlueprintOptimizationStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/GetBlueprintOptimizationStatusCommandOutput/)
268
+
253
269
  </details>
254
270
  <details>
255
271
  <summary>
@@ -258,6 +274,14 @@ GetDataAutomationProject
258
274
 
259
275
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-data-automation/command/GetDataAutomationProjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/GetDataAutomationProjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/GetDataAutomationProjectCommandOutput/)
260
276
 
277
+ </details>
278
+ <details>
279
+ <summary>
280
+ InvokeBlueprintOptimizationAsync
281
+ </summary>
282
+
283
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-data-automation/command/InvokeBlueprintOptimizationAsyncCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/InvokeBlueprintOptimizationAsyncCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-data-automation/Interface/InvokeBlueprintOptimizationAsyncCommandOutput/)
284
+
261
285
  </details>
262
286
  <details>
263
287
  <summary>
package/dist-cjs/index.js CHANGED
@@ -129,18 +129,6 @@ class AccessDeniedException extends BedrockDataAutomationServiceException {
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
131
  }
132
- class ConflictException extends BedrockDataAutomationServiceException {
133
- name = "ConflictException";
134
- $fault = "client";
135
- constructor(opts) {
136
- super({
137
- name: "ConflictException",
138
- $fault: "client",
139
- ...opts,
140
- });
141
- Object.setPrototypeOf(this, ConflictException.prototype);
142
- }
143
- }
144
132
  class InternalServerException extends BedrockDataAutomationServiceException {
145
133
  name = "InternalServerException";
146
134
  $fault = "server";
@@ -153,16 +141,16 @@ class InternalServerException extends BedrockDataAutomationServiceException {
153
141
  Object.setPrototypeOf(this, InternalServerException.prototype);
154
142
  }
155
143
  }
156
- class ServiceQuotaExceededException extends BedrockDataAutomationServiceException {
157
- name = "ServiceQuotaExceededException";
144
+ class ResourceNotFoundException extends BedrockDataAutomationServiceException {
145
+ name = "ResourceNotFoundException";
158
146
  $fault = "client";
159
147
  constructor(opts) {
160
148
  super({
161
- name: "ServiceQuotaExceededException",
149
+ name: "ResourceNotFoundException",
162
150
  $fault: "client",
163
151
  ...opts,
164
152
  });
165
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
153
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
166
154
  }
167
155
  }
168
156
  class ThrottlingException extends BedrockDataAutomationServiceException {
@@ -191,16 +179,28 @@ class ValidationException extends BedrockDataAutomationServiceException {
191
179
  this.fieldList = opts.fieldList;
192
180
  }
193
181
  }
194
- class ResourceNotFoundException extends BedrockDataAutomationServiceException {
195
- name = "ResourceNotFoundException";
182
+ class ServiceQuotaExceededException extends BedrockDataAutomationServiceException {
183
+ name = "ServiceQuotaExceededException";
196
184
  $fault = "client";
197
185
  constructor(opts) {
198
186
  super({
199
- name: "ResourceNotFoundException",
187
+ name: "ServiceQuotaExceededException",
200
188
  $fault: "client",
201
189
  ...opts,
202
190
  });
203
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
191
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
192
+ }
193
+ }
194
+ class ConflictException extends BedrockDataAutomationServiceException {
195
+ name = "ConflictException";
196
+ $fault = "client";
197
+ constructor(opts) {
198
+ super({
199
+ name: "ConflictException",
200
+ $fault: "client",
201
+ ...opts,
202
+ });
203
+ Object.setPrototypeOf(this, ConflictException.prototype);
204
204
  }
205
205
  }
206
206
 
@@ -217,12 +217,19 @@ const _BF = "BlueprintFilter";
217
217
  const _BI = "BlueprintItem";
218
218
  const _BIl = "BlueprintItems";
219
219
  const _BN = "BlueprintName";
220
+ const _BOO = "BlueprintOptimizationObject";
221
+ const _BOOC = "BlueprintOptimizationOutputConfiguration";
222
+ const _BOS = "BlueprintOptimizationSample";
223
+ const _BOSl = "BlueprintOptimizationSamples";
220
224
  const _BS = "BlueprintSchema";
221
225
  const _BSl = "BlueprintSummary";
222
226
  const _Bl = "Blueprints";
223
227
  const _CB = "CreateBlueprint";
224
228
  const _CBR = "CreateBlueprintRequest";
225
229
  const _CBRr = "CreateBlueprintResponse";
230
+ const _CBS = "CopyBlueprintStage";
231
+ const _CBSR = "CopyBlueprintStageRequest";
232
+ const _CBSRo = "CopyBlueprintStageResponse";
226
233
  const _CBV = "CreateBlueprintVersion";
227
234
  const _CBVR = "CreateBlueprintVersionRequest";
228
235
  const _CBVRr = "CreateBlueprintVersionResponse";
@@ -255,12 +262,18 @@ const _DSGF = "DocumentStandardGenerativeField";
255
262
  const _DSOC = "DocumentStandardOutputConfiguration";
256
263
  const _EC = "EncryptionConfiguration";
257
264
  const _GB = "GetBlueprint";
265
+ const _GBOS = "GetBlueprintOptimizationStatus";
266
+ const _GBOSR = "GetBlueprintOptimizationStatusRequest";
267
+ const _GBOSRe = "GetBlueprintOptimizationStatusResponse";
258
268
  const _GBR = "GetBlueprintRequest";
259
269
  const _GBRe = "GetBlueprintResponse";
260
270
  const _GDAP = "GetDataAutomationProject";
261
271
  const _GDAPR = "GetDataAutomationProjectRequest";
262
272
  const _GDAPRe = "GetDataAutomationProjectResponse";
263
273
  const _IBB = "ImageBoundingBox";
274
+ const _IBOA = "InvokeBlueprintOptimizationAsync";
275
+ const _IBOAR = "InvokeBlueprintOptimizationAsyncRequest";
276
+ const _IBOARn = "InvokeBlueprintOptimizationAsyncResponse";
264
277
  const _IEC = "ImageExtractionCategory";
265
278
  const _IOC = "ImageOverrideConfiguration";
266
279
  const _ISE = "ImageStandardExtraction";
@@ -284,6 +297,7 @@ const _RNFE = "ResourceNotFoundException";
284
297
  const _SC = "SplitterConfiguration";
285
298
  const _SDC = "SensitiveDataConfiguration";
286
299
  const _SLC = "SpeakerLabelingConfiguration";
300
+ const _SO = "S3Object";
287
301
  const _SOC = "StandardOutputConfiguration";
288
302
  const _SQEE = "ServiceQuotaExceededException";
289
303
  const _T = "Tag";
@@ -313,6 +327,7 @@ const _VSGF = "VideoStandardGenerativeField";
313
327
  const _VSOC = "VideoStandardOutputConfiguration";
314
328
  const _a = "audio";
315
329
  const _aFF = "additionalFileFormat";
330
+ const _aSO = "assetS3Object";
316
331
  const _b = "blueprint";
317
332
  const _bA = "blueprintArn";
318
333
  const _bB = "boundingBox";
@@ -329,19 +344,24 @@ const _cT = "creationTime";
329
344
  const _cTl = "clientToken";
330
345
  const _ca = "category";
331
346
  const _d = "document";
347
+ const _dAPA = "dataAutomationProfileArn";
332
348
  const _dM = "detectionMode";
333
349
  const _dS = "detectionScope";
334
350
  const _e = "error";
335
351
  const _eC = "encryptionConfiguration";
352
+ const _eM = "errorMessage";
353
+ const _eT = "errorType";
336
354
  const _ex = "extraction";
337
355
  const _fL = "fieldList";
338
356
  const _g = "granularity";
339
357
  const _gF = "generativeField";
340
358
  const _gOL = "generativeOutputLanguage";
359
+ const _gTSO = "groundTruthS3Object";
341
360
  const _h = "http";
342
361
  const _hE = "httpError";
343
362
  const _hQ = "httpQuery";
344
363
  const _i = "image";
364
+ const _iA = "invocationArn";
345
365
  const _iL = "inputLanguages";
346
366
  const _iML = "identifyMultipleLanguages";
347
367
  const _j = "jpeg";
@@ -359,7 +379,10 @@ const _mp = "mp4";
359
379
  const _n = "name";
360
380
  const _nT = "nextToken";
361
381
  const _oC = "overrideConfiguration";
382
+ const _oCu = "outputConfiguration";
362
383
  const _oF = "outputFormat";
384
+ const _oS = "optimizationSamples";
385
+ const _oT = "optimizationTime";
363
386
  const _p = "project";
364
387
  const _pA = "projectArn";
365
388
  const _pD = "projectDescription";
@@ -378,21 +401,28 @@ const _rO = "resourceOwner";
378
401
  const _s = "state";
379
402
  const _sDC = "sensitiveDataConfiguration";
380
403
  const _sL = "speakerLabeling";
404
+ const _sO = "s3Object";
381
405
  const _sOC = "standardOutputConfiguration";
406
+ const _sS = "sourceStage";
407
+ const _sU = "s3Uri";
408
+ const _sa = "samples";
382
409
  const _sc = "schema";
383
410
  const _se = "server";
384
411
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockdataautomation";
385
412
  const _sp = "splitter";
386
- const _st = "status";
413
+ const _st = "stage";
414
+ const _sta = "status";
387
415
  const _t = "types";
388
416
  const _tC = "typeConfiguration";
389
417
  const _tF = "textFormat";
390
418
  const _tK = "tagKeys";
419
+ const _tS = "targetStage";
391
420
  const _ta = "tags";
392
421
  const _tr = "transcript";
393
422
  const _ty = "type";
394
423
  const _v = "video";
395
424
  const _va = "value";
425
+ const _ve = "version";
396
426
  const n0 = "com.amazonaws.bedrockdataautomation";
397
427
  var BlueprintName = [0, n0, _BN, 8, 0];
398
428
  var BlueprintSchema = [0, n0, _BS, 8, 0];
@@ -440,11 +470,41 @@ var Blueprint$ = [
440
470
  n0,
441
471
  _B,
442
472
  0,
443
- [_bA, _sc, _ty, _cT, _lMT, _bN, _bV, _bS, _kKI, _kEC],
444
- [0, [() => BlueprintSchema, 0], 0, 5, 5, [() => BlueprintName, 0], 0, 0, 0, 128 | 0],
473
+ [_bA, _sc, _ty, _cT, _lMT, _bN, _bV, _bS, _kKI, _kEC, _oS, _oT],
474
+ [
475
+ 0,
476
+ [() => BlueprintSchema, 0],
477
+ 0,
478
+ 5,
479
+ 5,
480
+ [() => BlueprintName, 0],
481
+ 0,
482
+ 0,
483
+ 0,
484
+ 128 | 0,
485
+ () => BlueprintOptimizationSamples,
486
+ 5,
487
+ ],
445
488
  ];
446
489
  var BlueprintFilter$ = [3, n0, _BF, 0, [_bA, _bV, _bS], [0, 0, 0]];
447
490
  var BlueprintItem$ = [3, n0, _BI, 0, [_bA, _bV, _bS], [0, 0, 0]];
491
+ var BlueprintOptimizationObject$ = [3, n0, _BOO, 0, [_bA, _st], [0, 0]];
492
+ var BlueprintOptimizationOutputConfiguration$ = [
493
+ 3,
494
+ n0,
495
+ _BOOC,
496
+ 0,
497
+ [_sO],
498
+ [() => S3Object$],
499
+ ];
500
+ var BlueprintOptimizationSample$ = [
501
+ 3,
502
+ n0,
503
+ _BOS,
504
+ 0,
505
+ [_aSO, _gTSO],
506
+ [() => S3Object$, () => S3Object$],
507
+ ];
448
508
  var BlueprintSummary$ = [
449
509
  3,
450
510
  n0,
@@ -456,6 +516,15 @@ var BlueprintSummary$ = [
456
516
  var ChannelLabelingConfiguration$ = [3, n0, _CLC, 0, [_s], [0]];
457
517
  var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
458
518
  schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
519
+ var CopyBlueprintStageRequest$ = [
520
+ 3,
521
+ n0,
522
+ _CBSR,
523
+ 0,
524
+ [_bA, _sS, _tS, _cTl],
525
+ [[0, 1], 0, 0, [0, 4]],
526
+ ];
527
+ var CopyBlueprintStageResponse$ = [3, n0, _CBSRo, 0, [], []];
459
528
  var CreateBlueprintRequest$ = [
460
529
  3,
461
530
  n0,
@@ -501,7 +570,7 @@ var CreateDataAutomationProjectResponse$ = [
501
570
  n0,
502
571
  _CDAPRr,
503
572
  0,
504
- [_pA, _pS, _st],
573
+ [_pA, _pS, _sta],
505
574
  [0, 0, 0],
506
575
  ];
507
576
  var CustomOutputConfiguration$ = [3, n0, _COC, 0, [_bl], [() => BlueprintItems]];
@@ -510,7 +579,7 @@ var DataAutomationProject$ = [
510
579
  n0,
511
580
  _DAP,
512
581
  0,
513
- [_pA, _cT, _lMT, _pN, _pS, _pT, _pD, _sOC, _cOC, _oC, _st, _kKI, _kEC],
582
+ [_pA, _cT, _lMT, _pN, _pS, _pT, _pD, _sOC, _cOC, _oC, _sta, _kKI, _kEC],
514
583
  [
515
584
  0,
516
585
  5,
@@ -549,7 +618,7 @@ var DeleteBlueprintRequest$ = [
549
618
  ];
550
619
  var DeleteBlueprintResponse$ = [3, n0, _DBRe, 0, [], []];
551
620
  var DeleteDataAutomationProjectRequest$ = [3, n0, _DDAPR, 0, [_pA], [[0, 1]]];
552
- var DeleteDataAutomationProjectResponse$ = [3, n0, _DDAPRe, 0, [_pA, _st], [0, 0]];
621
+ var DeleteDataAutomationProjectResponse$ = [3, n0, _DDAPRe, 0, [_pA, _sta], [0, 0]];
553
622
  var DocumentBoundingBox$ = [3, n0, _DBB, 0, [_s], [0]];
554
623
  var DocumentExtractionGranularity$ = [3, n0, _DEG, 0, [_t], [64 | 0]];
555
624
  var DocumentOutputAdditionalFileFormat$ = [3, n0, _DOAFF, 0, [_s], [0]];
@@ -588,6 +657,15 @@ var DocumentStandardOutputConfiguration$ = [
588
657
  [() => DocumentStandardExtraction$, () => DocumentStandardGenerativeField$, () => DocumentOutputFormat$],
589
658
  ];
590
659
  var EncryptionConfiguration$ = [3, n0, _EC, 0, [_kKI, _kEC], [0, 128 | 0]];
660
+ var GetBlueprintOptimizationStatusRequest$ = [3, n0, _GBOSR, 0, [_iA], [[0, 1]]];
661
+ var GetBlueprintOptimizationStatusResponse$ = [
662
+ 3,
663
+ n0,
664
+ _GBOSRe,
665
+ 0,
666
+ [_sta, _eT, _eM, _oCu],
667
+ [0, 0, 0, () => BlueprintOptimizationOutputConfiguration$],
668
+ ];
591
669
  var GetBlueprintRequest$ = [3, n0, _GBR, 0, [_bA, _bV, _bS], [[0, 1], 0, 0]];
592
670
  var GetBlueprintResponse$ = [3, n0, _GBRe, 0, [_b], [[() => Blueprint$, 0]]];
593
671
  var GetDataAutomationProjectRequest$ = [3, n0, _GDAPR, 0, [_pA, _pS], [[0, 1], 0]];
@@ -628,6 +706,22 @@ var ImageStandardOutputConfiguration$ = [
628
706
  ];
629
707
  var InternalServerException$ = [-3, n0, _ISEn, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
630
708
  schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
709
+ var InvokeBlueprintOptimizationAsyncRequest$ = [
710
+ 3,
711
+ n0,
712
+ _IBOAR,
713
+ 0,
714
+ [_b, _sa, _oCu, _dAPA, _eC, _ta],
715
+ [
716
+ () => BlueprintOptimizationObject$,
717
+ () => BlueprintOptimizationSamples,
718
+ () => BlueprintOptimizationOutputConfiguration$,
719
+ 0,
720
+ () => EncryptionConfiguration$,
721
+ () => TagList,
722
+ ],
723
+ ];
724
+ var InvokeBlueprintOptimizationAsyncResponse$ = [3, n0, _IBOARn, 0, [_iA], [0]];
631
725
  var ListBlueprintsRequest$ = [
632
726
  3,
633
727
  n0,
@@ -674,6 +768,7 @@ var OverrideConfiguration$ = [
674
768
  var PIIEntitiesConfiguration$ = [3, n0, _PIIEC, 0, [_pET, _rMM], [64 | 0, 0]];
675
769
  var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
676
770
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
771
+ var S3Object$ = [3, n0, _SO, 0, [_sU, _ve], [0, 0]];
677
772
  var SensitiveDataConfiguration$ = [
678
773
  3,
679
774
  n0,
@@ -744,7 +839,7 @@ var UpdateDataAutomationProjectResponse$ = [
744
839
  n0,
745
840
  _UDAPRp,
746
841
  0,
747
- [_pA, _pS, _st],
842
+ [_pA, _pS, _sta],
748
843
  [0, 0, 0],
749
844
  ];
750
845
  var ValidationException$ = [
@@ -794,10 +889,19 @@ var BedrockDataAutomationServiceException$ = [
794
889
  ];
795
890
  schema.TypeRegistry.for(_sm).registerError(BedrockDataAutomationServiceException$, BedrockDataAutomationServiceException);
796
891
  var BlueprintItems = [1, n0, _BIl, 0, () => BlueprintItem$];
892
+ var BlueprintOptimizationSamples = [1, n0, _BOSl, 0, () => BlueprintOptimizationSample$];
797
893
  var Blueprints = [1, n0, _Bl, 0, [() => BlueprintSummary$, 0]];
798
894
  var DataAutomationProjectSummaries = [1, n0, _DAPSa, 0, [() => DataAutomationProjectSummary$, 0]];
799
895
  var TagList = [1, n0, _TL, 0, () => Tag$];
800
896
  var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
897
+ var CopyBlueprintStage$ = [
898
+ 9,
899
+ n0,
900
+ _CBS,
901
+ { [_h]: ["PUT", "/blueprints/{blueprintArn}/copy-stage", 200] },
902
+ () => CopyBlueprintStageRequest$,
903
+ () => CopyBlueprintStageResponse$,
904
+ ];
801
905
  var CreateBlueprint$ = [
802
906
  9,
803
907
  n0,
@@ -846,6 +950,14 @@ var GetBlueprint$ = [
846
950
  () => GetBlueprintRequest$,
847
951
  () => GetBlueprintResponse$,
848
952
  ];
953
+ var GetBlueprintOptimizationStatus$ = [
954
+ 9,
955
+ n0,
956
+ _GBOS,
957
+ { [_h]: ["POST", "/getBlueprintOptimizationStatus/{invocationArn}", 200] },
958
+ () => GetBlueprintOptimizationStatusRequest$,
959
+ () => GetBlueprintOptimizationStatusResponse$,
960
+ ];
849
961
  var GetDataAutomationProject$ = [
850
962
  9,
851
963
  n0,
@@ -854,6 +966,14 @@ var GetDataAutomationProject$ = [
854
966
  () => GetDataAutomationProjectRequest$,
855
967
  () => GetDataAutomationProjectResponse$,
856
968
  ];
969
+ var InvokeBlueprintOptimizationAsync$ = [
970
+ 9,
971
+ n0,
972
+ _IBOA,
973
+ { [_h]: ["POST", "/invokeBlueprintOptimizationAsync", 200] },
974
+ () => InvokeBlueprintOptimizationAsyncRequest$,
975
+ () => InvokeBlueprintOptimizationAsyncResponse$,
976
+ ];
857
977
  var ListBlueprints$ = [
858
978
  9,
859
979
  n0,
@@ -911,6 +1031,18 @@ var UpdateDataAutomationProject$ = [
911
1031
  () => UpdateDataAutomationProjectResponse$,
912
1032
  ];
913
1033
 
1034
+ class CopyBlueprintStageCommand extends smithyClient.Command
1035
+ .classBuilder()
1036
+ .ep(commonParams)
1037
+ .m(function (Command, cs, config, o) {
1038
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1039
+ })
1040
+ .s("AmazonBedrockKeystoneBuildTimeService", "CopyBlueprintStage", {})
1041
+ .n("BedrockDataAutomationClient", "CopyBlueprintStageCommand")
1042
+ .sc(CopyBlueprintStage$)
1043
+ .build() {
1044
+ }
1045
+
914
1046
  class CreateBlueprintCommand extends smithyClient.Command
915
1047
  .classBuilder()
916
1048
  .ep(commonParams)
@@ -983,6 +1115,18 @@ class GetBlueprintCommand extends smithyClient.Command
983
1115
  .build() {
984
1116
  }
985
1117
 
1118
+ class GetBlueprintOptimizationStatusCommand extends smithyClient.Command
1119
+ .classBuilder()
1120
+ .ep(commonParams)
1121
+ .m(function (Command, cs, config, o) {
1122
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1123
+ })
1124
+ .s("AmazonBedrockKeystoneBuildTimeService", "GetBlueprintOptimizationStatus", {})
1125
+ .n("BedrockDataAutomationClient", "GetBlueprintOptimizationStatusCommand")
1126
+ .sc(GetBlueprintOptimizationStatus$)
1127
+ .build() {
1128
+ }
1129
+
986
1130
  class GetDataAutomationProjectCommand extends smithyClient.Command
987
1131
  .classBuilder()
988
1132
  .ep(commonParams)
@@ -995,6 +1139,18 @@ class GetDataAutomationProjectCommand extends smithyClient.Command
995
1139
  .build() {
996
1140
  }
997
1141
 
1142
+ class InvokeBlueprintOptimizationAsyncCommand extends smithyClient.Command
1143
+ .classBuilder()
1144
+ .ep(commonParams)
1145
+ .m(function (Command, cs, config, o) {
1146
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1147
+ })
1148
+ .s("AmazonBedrockKeystoneBuildTimeService", "InvokeBlueprintOptimizationAsync", {})
1149
+ .n("BedrockDataAutomationClient", "InvokeBlueprintOptimizationAsyncCommand")
1150
+ .sc(InvokeBlueprintOptimizationAsync$)
1151
+ .build() {
1152
+ }
1153
+
998
1154
  class ListBlueprintsCommand extends smithyClient.Command
999
1155
  .classBuilder()
1000
1156
  .ep(commonParams)
@@ -1080,13 +1236,16 @@ class UpdateDataAutomationProjectCommand extends smithyClient.Command
1080
1236
  }
1081
1237
 
1082
1238
  const commands = {
1239
+ CopyBlueprintStageCommand,
1083
1240
  CreateBlueprintCommand,
1084
1241
  CreateBlueprintVersionCommand,
1085
1242
  CreateDataAutomationProjectCommand,
1086
1243
  DeleteBlueprintCommand,
1087
1244
  DeleteDataAutomationProjectCommand,
1088
1245
  GetBlueprintCommand,
1246
+ GetBlueprintOptimizationStatusCommand,
1089
1247
  GetDataAutomationProjectCommand,
1248
+ InvokeBlueprintOptimizationAsyncCommand,
1090
1249
  ListBlueprintsCommand,
1091
1250
  ListDataAutomationProjectsCommand,
1092
1251
  ListTagsForResourceCommand,
@@ -1103,6 +1262,13 @@ const paginateListBlueprints = core.createPaginator(BedrockDataAutomationClient,
1103
1262
 
1104
1263
  const paginateListDataAutomationProjects = core.createPaginator(BedrockDataAutomationClient, ListDataAutomationProjectsCommand, "nextToken", "nextToken", "maxResults");
1105
1264
 
1265
+ const BlueprintOptimizationJobStatus = {
1266
+ CLIENT_ERROR: "ClientError",
1267
+ CREATED: "Created",
1268
+ IN_PROGRESS: "InProgress",
1269
+ SERVICE_ERROR: "ServiceError",
1270
+ SUCCESS: "Success",
1271
+ };
1106
1272
  const BlueprintStage = {
1107
1273
  DEVELOPMENT: "DEVELOPMENT",
1108
1274
  LIVE: "LIVE",
@@ -1284,12 +1450,20 @@ exports.BedrockDataAutomationServiceException$ = BedrockDataAutomationServiceExc
1284
1450
  exports.Blueprint$ = Blueprint$;
1285
1451
  exports.BlueprintFilter$ = BlueprintFilter$;
1286
1452
  exports.BlueprintItem$ = BlueprintItem$;
1453
+ exports.BlueprintOptimizationJobStatus = BlueprintOptimizationJobStatus;
1454
+ exports.BlueprintOptimizationObject$ = BlueprintOptimizationObject$;
1455
+ exports.BlueprintOptimizationOutputConfiguration$ = BlueprintOptimizationOutputConfiguration$;
1456
+ exports.BlueprintOptimizationSample$ = BlueprintOptimizationSample$;
1287
1457
  exports.BlueprintStage = BlueprintStage;
1288
1458
  exports.BlueprintStageFilter = BlueprintStageFilter;
1289
1459
  exports.BlueprintSummary$ = BlueprintSummary$;
1290
1460
  exports.ChannelLabelingConfiguration$ = ChannelLabelingConfiguration$;
1291
1461
  exports.ConflictException = ConflictException;
1292
1462
  exports.ConflictException$ = ConflictException$;
1463
+ exports.CopyBlueprintStage$ = CopyBlueprintStage$;
1464
+ exports.CopyBlueprintStageCommand = CopyBlueprintStageCommand;
1465
+ exports.CopyBlueprintStageRequest$ = CopyBlueprintStageRequest$;
1466
+ exports.CopyBlueprintStageResponse$ = CopyBlueprintStageResponse$;
1293
1467
  exports.CreateBlueprint$ = CreateBlueprint$;
1294
1468
  exports.CreateBlueprintCommand = CreateBlueprintCommand;
1295
1469
  exports.CreateBlueprintRequest$ = CreateBlueprintRequest$;
@@ -1333,6 +1507,10 @@ exports.DocumentStandardOutputConfiguration$ = DocumentStandardOutputConfigurati
1333
1507
  exports.EncryptionConfiguration$ = EncryptionConfiguration$;
1334
1508
  exports.GetBlueprint$ = GetBlueprint$;
1335
1509
  exports.GetBlueprintCommand = GetBlueprintCommand;
1510
+ exports.GetBlueprintOptimizationStatus$ = GetBlueprintOptimizationStatus$;
1511
+ exports.GetBlueprintOptimizationStatusCommand = GetBlueprintOptimizationStatusCommand;
1512
+ exports.GetBlueprintOptimizationStatusRequest$ = GetBlueprintOptimizationStatusRequest$;
1513
+ exports.GetBlueprintOptimizationStatusResponse$ = GetBlueprintOptimizationStatusResponse$;
1336
1514
  exports.GetBlueprintRequest$ = GetBlueprintRequest$;
1337
1515
  exports.GetBlueprintResponse$ = GetBlueprintResponse$;
1338
1516
  exports.GetDataAutomationProject$ = GetDataAutomationProject$;
@@ -1349,6 +1527,10 @@ exports.ImageStandardGenerativeFieldType = ImageStandardGenerativeFieldType;
1349
1527
  exports.ImageStandardOutputConfiguration$ = ImageStandardOutputConfiguration$;
1350
1528
  exports.InternalServerException = InternalServerException;
1351
1529
  exports.InternalServerException$ = InternalServerException$;
1530
+ exports.InvokeBlueprintOptimizationAsync$ = InvokeBlueprintOptimizationAsync$;
1531
+ exports.InvokeBlueprintOptimizationAsyncCommand = InvokeBlueprintOptimizationAsyncCommand;
1532
+ exports.InvokeBlueprintOptimizationAsyncRequest$ = InvokeBlueprintOptimizationAsyncRequest$;
1533
+ exports.InvokeBlueprintOptimizationAsyncResponse$ = InvokeBlueprintOptimizationAsyncResponse$;
1352
1534
  exports.Language = Language;
1353
1535
  exports.ListBlueprints$ = ListBlueprints$;
1354
1536
  exports.ListBlueprintsCommand = ListBlueprintsCommand;
@@ -1371,6 +1553,7 @@ exports.PIIRedactionMaskMode = PIIRedactionMaskMode;
1371
1553
  exports.ResourceNotFoundException = ResourceNotFoundException;
1372
1554
  exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1373
1555
  exports.ResourceOwner = ResourceOwner;
1556
+ exports.S3Object$ = S3Object$;
1374
1557
  exports.SensitiveDataConfiguration$ = SensitiveDataConfiguration$;
1375
1558
  exports.SensitiveDataDetectionMode = SensitiveDataDetectionMode;
1376
1559
  exports.SensitiveDataDetectionScopeType = SensitiveDataDetectionScopeType;
@@ -1,12 +1,15 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { BedrockDataAutomationClient } from "./BedrockDataAutomationClient";
3
+ import { CopyBlueprintStageCommand, } from "./commands/CopyBlueprintStageCommand";
3
4
  import { CreateBlueprintCommand, } from "./commands/CreateBlueprintCommand";
4
5
  import { CreateBlueprintVersionCommand, } from "./commands/CreateBlueprintVersionCommand";
5
6
  import { CreateDataAutomationProjectCommand, } from "./commands/CreateDataAutomationProjectCommand";
6
7
  import { DeleteBlueprintCommand, } from "./commands/DeleteBlueprintCommand";
7
8
  import { DeleteDataAutomationProjectCommand, } from "./commands/DeleteDataAutomationProjectCommand";
8
9
  import { GetBlueprintCommand, } from "./commands/GetBlueprintCommand";
10
+ import { GetBlueprintOptimizationStatusCommand, } from "./commands/GetBlueprintOptimizationStatusCommand";
9
11
  import { GetDataAutomationProjectCommand, } from "./commands/GetDataAutomationProjectCommand";
12
+ import { InvokeBlueprintOptimizationAsyncCommand, } from "./commands/InvokeBlueprintOptimizationAsyncCommand";
10
13
  import { ListBlueprintsCommand, } from "./commands/ListBlueprintsCommand";
11
14
  import { ListDataAutomationProjectsCommand, } from "./commands/ListDataAutomationProjectsCommand";
12
15
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
@@ -15,13 +18,16 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
15
18
  import { UpdateBlueprintCommand, } from "./commands/UpdateBlueprintCommand";
16
19
  import { UpdateDataAutomationProjectCommand, } from "./commands/UpdateDataAutomationProjectCommand";
17
20
  const commands = {
21
+ CopyBlueprintStageCommand,
18
22
  CreateBlueprintCommand,
19
23
  CreateBlueprintVersionCommand,
20
24
  CreateDataAutomationProjectCommand,
21
25
  DeleteBlueprintCommand,
22
26
  DeleteDataAutomationProjectCommand,
23
27
  GetBlueprintCommand,
28
+ GetBlueprintOptimizationStatusCommand,
24
29
  GetDataAutomationProjectCommand,
30
+ InvokeBlueprintOptimizationAsyncCommand,
25
31
  ListBlueprintsCommand,
26
32
  ListDataAutomationProjectsCommand,
27
33
  ListTagsForResourceCommand,
@@ -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 { CopyBlueprintStage$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CopyBlueprintStageCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockKeystoneBuildTimeService", "CopyBlueprintStage", {})
13
+ .n("BedrockDataAutomationClient", "CopyBlueprintStageCommand")
14
+ .sc(CopyBlueprintStage$)
15
+ .build() {
16
+ }
@@ -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 { GetBlueprintOptimizationStatus$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetBlueprintOptimizationStatusCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockKeystoneBuildTimeService", "GetBlueprintOptimizationStatus", {})
13
+ .n("BedrockDataAutomationClient", "GetBlueprintOptimizationStatusCommand")
14
+ .sc(GetBlueprintOptimizationStatus$)
15
+ .build() {
16
+ }
@@ -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 { InvokeBlueprintOptimizationAsync$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class InvokeBlueprintOptimizationAsyncCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockKeystoneBuildTimeService", "InvokeBlueprintOptimizationAsync", {})
13
+ .n("BedrockDataAutomationClient", "InvokeBlueprintOptimizationAsyncCommand")
14
+ .sc(InvokeBlueprintOptimizationAsync$)
15
+ .build() {
16
+ }
@@ -1,10 +1,13 @@
1
+ export * from "./CopyBlueprintStageCommand";
1
2
  export * from "./CreateBlueprintCommand";
2
3
  export * from "./CreateBlueprintVersionCommand";
3
4
  export * from "./CreateDataAutomationProjectCommand";
4
5
  export * from "./DeleteBlueprintCommand";
5
6
  export * from "./DeleteDataAutomationProjectCommand";
6
7
  export * from "./GetBlueprintCommand";
8
+ export * from "./GetBlueprintOptimizationStatusCommand";
7
9
  export * from "./GetDataAutomationProjectCommand";
10
+ export * from "./InvokeBlueprintOptimizationAsyncCommand";
8
11
  export * from "./ListBlueprintsCommand";
9
12
  export * from "./ListDataAutomationProjectsCommand";
10
13
  export * from "./ListTagsForResourceCommand";
package/dist-es/index.js CHANGED
@@ -5,4 +5,5 @@ export * from "./schemas/schemas_0";
5
5
  export * from "./pagination";
6
6
  export * from "./models/enums";
7
7
  export * from "./models/errors";
8
+ export * from "./models/models_0";
8
9
  export { BedrockDataAutomationServiceException } from "./models/BedrockDataAutomationServiceException";
@@ -1,3 +1,10 @@
1
+ export const BlueprintOptimizationJobStatus = {
2
+ CLIENT_ERROR: "ClientError",
3
+ CREATED: "Created",
4
+ IN_PROGRESS: "InProgress",
5
+ SERVICE_ERROR: "ServiceError",
6
+ SUCCESS: "Success",
7
+ };
1
8
  export const BlueprintStage = {
2
9
  DEVELOPMENT: "DEVELOPMENT",
3
10
  LIVE: "LIVE",