|
13 | 13 | "uid":"bedrock-data-automation-2023-07-26" |
14 | 14 | }, |
15 | 15 | "operations":{ |
| 16 | + "CopyBlueprintStage":{ |
| 17 | + "name":"CopyBlueprintStage", |
| 18 | + "http":{ |
| 19 | + "method":"PUT", |
| 20 | + "requestUri":"/blueprints/{blueprintArn}/copy-stage", |
| 21 | + "responseCode":200 |
| 22 | + }, |
| 23 | + "input":{"shape":"CopyBlueprintStageRequest"}, |
| 24 | + "output":{"shape":"CopyBlueprintStageResponse"}, |
| 25 | + "errors":[ |
| 26 | + {"shape":"ValidationException"}, |
| 27 | + {"shape":"InternalServerException"}, |
| 28 | + {"shape":"ThrottlingException"}, |
| 29 | + {"shape":"AccessDeniedException"}, |
| 30 | + {"shape":"ResourceNotFoundException"} |
| 31 | + ], |
| 32 | + "documentation":"<p>Copies a Blueprint from one stage to another</p>", |
| 33 | + "idempotent":true |
| 34 | + }, |
16 | 35 | "CreateBlueprint":{ |
17 | 36 | "name":"CreateBlueprint", |
18 | 37 | "http":{ |
|
130 | 149 | "documentation":"<p>Gets an existing Amazon Bedrock Data Automation Blueprint</p>", |
131 | 150 | "readonly":true |
132 | 151 | }, |
| 152 | + "GetBlueprintOptimizationStatus":{ |
| 153 | + "name":"GetBlueprintOptimizationStatus", |
| 154 | + "http":{ |
| 155 | + "method":"POST", |
| 156 | + "requestUri":"/getBlueprintOptimizationStatus/{invocationArn}", |
| 157 | + "responseCode":200 |
| 158 | + }, |
| 159 | + "input":{"shape":"GetBlueprintOptimizationStatusRequest"}, |
| 160 | + "output":{"shape":"GetBlueprintOptimizationStatusResponse"}, |
| 161 | + "errors":[ |
| 162 | + {"shape":"ValidationException"}, |
| 163 | + {"shape":"InternalServerException"}, |
| 164 | + {"shape":"ThrottlingException"}, |
| 165 | + {"shape":"AccessDeniedException"}, |
| 166 | + {"shape":"ResourceNotFoundException"} |
| 167 | + ], |
| 168 | + "documentation":"<p>API used to get blueprint optimization status.</p>", |
| 169 | + "readonly":true |
| 170 | + }, |
133 | 171 | "GetDataAutomationProject":{ |
134 | 172 | "name":"GetDataAutomationProject", |
135 | 173 | "http":{ |
|
149 | 187 | "documentation":"<p>Gets an existing Amazon Bedrock Data Automation Project</p>", |
150 | 188 | "readonly":true |
151 | 189 | }, |
| 190 | + "InvokeBlueprintOptimizationAsync":{ |
| 191 | + "name":"InvokeBlueprintOptimizationAsync", |
| 192 | + "http":{ |
| 193 | + "method":"POST", |
| 194 | + "requestUri":"/invokeBlueprintOptimizationAsync", |
| 195 | + "responseCode":200 |
| 196 | + }, |
| 197 | + "input":{"shape":"InvokeBlueprintOptimizationAsyncRequest"}, |
| 198 | + "output":{"shape":"InvokeBlueprintOptimizationAsyncResponse"}, |
| 199 | + "errors":[ |
| 200 | + {"shape":"ServiceQuotaExceededException"}, |
| 201 | + {"shape":"ValidationException"}, |
| 202 | + {"shape":"InternalServerException"}, |
| 203 | + {"shape":"ThrottlingException"}, |
| 204 | + {"shape":"AccessDeniedException"}, |
| 205 | + {"shape":"ResourceNotFoundException"} |
| 206 | + ], |
| 207 | + "documentation":"<p>Invoke an async job to perform Blueprint Optimization</p>", |
| 208 | + "idempotent":true |
| 209 | + }, |
152 | 210 | "ListBlueprints":{ |
153 | 211 | "name":"ListBlueprints", |
154 | 212 | "http":{ |
|
419 | 477 | "blueprintVersion":{"shape":"BlueprintVersion"}, |
420 | 478 | "blueprintStage":{"shape":"BlueprintStage"}, |
421 | 479 | "kmsKeyId":{"shape":"KmsKeyId"}, |
422 | | - "kmsEncryptionContext":{"shape":"KmsEncryptionContext"} |
| 480 | + "kmsEncryptionContext":{"shape":"KmsEncryptionContext"}, |
| 481 | + "optimizationSamples":{"shape":"BlueprintOptimizationSamples"}, |
| 482 | + "optimizationTime":{"shape":"DateTimestamp"} |
423 | 483 | }, |
424 | 484 | "documentation":"<p>Contains the information of a Blueprint.</p>" |
425 | 485 | }, |
|
463 | 523 | "pattern":"[a-zA-Z0-9-_]+", |
464 | 524 | "sensitive":true |
465 | 525 | }, |
| 526 | + "BlueprintOptimizationInvocationArn":{ |
| 527 | + "type":"string", |
| 528 | + "documentation":"<p>Invocation arn.</p>", |
| 529 | + "max":128, |
| 530 | + "min":1, |
| 531 | + "pattern":"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:blueprint-optimization-invocation/[a-zA-Z0-9-_]+" |
| 532 | + }, |
| 533 | + "BlueprintOptimizationJobStatus":{ |
| 534 | + "type":"string", |
| 535 | + "documentation":"<p>List of status supported by optimization jobs</p>", |
| 536 | + "enum":[ |
| 537 | + "Created", |
| 538 | + "InProgress", |
| 539 | + "Success", |
| 540 | + "ServiceError", |
| 541 | + "ClientError" |
| 542 | + ] |
| 543 | + }, |
| 544 | + "BlueprintOptimizationObject":{ |
| 545 | + "type":"structure", |
| 546 | + "required":["blueprintArn"], |
| 547 | + "members":{ |
| 548 | + "blueprintArn":{ |
| 549 | + "shape":"BlueprintArn", |
| 550 | + "documentation":"<p>Arn of blueprint.</p>" |
| 551 | + }, |
| 552 | + "stage":{ |
| 553 | + "shape":"BlueprintStage", |
| 554 | + "documentation":"<p>Stage of blueprint.</p>" |
| 555 | + } |
| 556 | + }, |
| 557 | + "documentation":"<p>Structure for single blueprint entity.</p>" |
| 558 | + }, |
| 559 | + "BlueprintOptimizationOutputConfiguration":{ |
| 560 | + "type":"structure", |
| 561 | + "required":["s3Object"], |
| 562 | + "members":{ |
| 563 | + "s3Object":{ |
| 564 | + "shape":"S3Object", |
| 565 | + "documentation":"<p>S3 object.</p>" |
| 566 | + } |
| 567 | + }, |
| 568 | + "documentation":"<p>Blueprint Optimization Output configuration.</p>" |
| 569 | + }, |
| 570 | + "BlueprintOptimizationSample":{ |
| 571 | + "type":"structure", |
| 572 | + "required":[ |
| 573 | + "assetS3Object", |
| 574 | + "groundTruthS3Object" |
| 575 | + ], |
| 576 | + "members":{ |
| 577 | + "assetS3Object":{ |
| 578 | + "shape":"S3Object", |
| 579 | + "documentation":"<p>S3 Object of the asset</p>" |
| 580 | + }, |
| 581 | + "groundTruthS3Object":{ |
| 582 | + "shape":"S3Object", |
| 583 | + "documentation":"<p>Ground truth for the Blueprint and Asset combination</p>" |
| 584 | + } |
| 585 | + }, |
| 586 | + "documentation":"<p>Blueprint Recommendation Sample</p>" |
| 587 | + }, |
| 588 | + "BlueprintOptimizationSamples":{ |
| 589 | + "type":"list", |
| 590 | + "member":{"shape":"BlueprintOptimizationSample"}, |
| 591 | + "documentation":"<p>List of Blueprint Optimization Samples</p>" |
| 592 | + }, |
466 | 593 | "BlueprintSchema":{ |
467 | 594 | "type":"string", |
468 | 595 | "documentation":"<p>Schema of the blueprint</p>", |
|
546 | 673 | }, |
547 | 674 | "exception":true |
548 | 675 | }, |
| 676 | + "CopyBlueprintStageRequest":{ |
| 677 | + "type":"structure", |
| 678 | + "required":[ |
| 679 | + "blueprintArn", |
| 680 | + "sourceStage", |
| 681 | + "targetStage" |
| 682 | + ], |
| 683 | + "members":{ |
| 684 | + "blueprintArn":{ |
| 685 | + "shape":"BlueprintArn", |
| 686 | + "documentation":"<p>Blueprint to be copied</p>", |
| 687 | + "location":"uri", |
| 688 | + "locationName":"blueprintArn" |
| 689 | + }, |
| 690 | + "sourceStage":{ |
| 691 | + "shape":"BlueprintStage", |
| 692 | + "documentation":"<p>Source stage to copy from</p>" |
| 693 | + }, |
| 694 | + "targetStage":{ |
| 695 | + "shape":"BlueprintStage", |
| 696 | + "documentation":"<p>Target stage to copy to</p>" |
| 697 | + }, |
| 698 | + "clientToken":{ |
| 699 | + "shape":"ClientToken", |
| 700 | + "documentation":"<p>Client token for idempotency</p>", |
| 701 | + "idempotencyToken":true |
| 702 | + } |
| 703 | + }, |
| 704 | + "documentation":"<p>CopyBlueprintStage Request</p>" |
| 705 | + }, |
| 706 | + "CopyBlueprintStageResponse":{ |
| 707 | + "type":"structure", |
| 708 | + "members":{}, |
| 709 | + "documentation":"<p>CopyBlueprintStage Response</p>" |
| 710 | + }, |
549 | 711 | "CreateBlueprintRequest":{ |
550 | 712 | "type":"structure", |
551 | 713 | "required":[ |
|
640 | 802 | }, |
641 | 803 | "documentation":"<p>Custom output configuration</p>" |
642 | 804 | }, |
| 805 | + "DataAutomationProfileArn":{ |
| 806 | + "type":"string", |
| 807 | + "documentation":"<p>Data automation profile arn.</p>", |
| 808 | + "max":128, |
| 809 | + "min":1, |
| 810 | + "pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:(aws|[0-9]{12}):data-automation-profile/[a-zA-Z0-9-_.]+" |
| 811 | + }, |
643 | 812 | "DataAutomationProject":{ |
644 | 813 | "type":"structure", |
645 | 814 | "required":[ |
|
944 | 1113 | "min":1, |
945 | 1114 | "pattern":".*\\S.*" |
946 | 1115 | }, |
| 1116 | + "GetBlueprintOptimizationStatusRequest":{ |
| 1117 | + "type":"structure", |
| 1118 | + "required":["invocationArn"], |
| 1119 | + "members":{ |
| 1120 | + "invocationArn":{ |
| 1121 | + "shape":"BlueprintOptimizationInvocationArn", |
| 1122 | + "documentation":"<p>Invocation arn.</p>", |
| 1123 | + "location":"uri", |
| 1124 | + "locationName":"invocationArn" |
| 1125 | + } |
| 1126 | + }, |
| 1127 | + "documentation":"<p>Structure for request of GetBlueprintOptimizationStatus API.</p>" |
| 1128 | + }, |
| 1129 | + "GetBlueprintOptimizationStatusResponse":{ |
| 1130 | + "type":"structure", |
| 1131 | + "members":{ |
| 1132 | + "status":{ |
| 1133 | + "shape":"BlueprintOptimizationJobStatus", |
| 1134 | + "documentation":"<p>Job Status.</p>" |
| 1135 | + }, |
| 1136 | + "errorType":{ |
| 1137 | + "shape":"String", |
| 1138 | + "documentation":"<p>Error Type.</p>" |
| 1139 | + }, |
| 1140 | + "errorMessage":{ |
| 1141 | + "shape":"String", |
| 1142 | + "documentation":"<p>Error Message.</p>" |
| 1143 | + }, |
| 1144 | + "outputConfiguration":{ |
| 1145 | + "shape":"BlueprintOptimizationOutputConfiguration", |
| 1146 | + "documentation":"<p>Output configuration.</p>" |
| 1147 | + } |
| 1148 | + }, |
| 1149 | + "documentation":"<p>Response of GetBlueprintOptimizationStatus API.</p>" |
| 1150 | + }, |
947 | 1151 | "GetBlueprintRequest":{ |
948 | 1152 | "type":"structure", |
949 | 1153 | "required":["blueprintArn"], |
|
1087 | 1291 | "exception":true, |
1088 | 1292 | "fault":true |
1089 | 1293 | }, |
| 1294 | + "InvokeBlueprintOptimizationAsyncRequest":{ |
| 1295 | + "type":"structure", |
| 1296 | + "required":[ |
| 1297 | + "blueprint", |
| 1298 | + "samples", |
| 1299 | + "outputConfiguration", |
| 1300 | + "dataAutomationProfileArn" |
| 1301 | + ], |
| 1302 | + "members":{ |
| 1303 | + "blueprint":{ |
| 1304 | + "shape":"BlueprintOptimizationObject", |
| 1305 | + "documentation":"<p>Blueprint to be optimized</p>" |
| 1306 | + }, |
| 1307 | + "samples":{ |
| 1308 | + "shape":"BlueprintOptimizationSamples", |
| 1309 | + "documentation":"<p>List of Blueprint Optimization Samples</p>" |
| 1310 | + }, |
| 1311 | + "outputConfiguration":{ |
| 1312 | + "shape":"BlueprintOptimizationOutputConfiguration", |
| 1313 | + "documentation":"<p>Output configuration where the results should be placed</p>" |
| 1314 | + }, |
| 1315 | + "dataAutomationProfileArn":{ |
| 1316 | + "shape":"DataAutomationProfileArn", |
| 1317 | + "documentation":"<p>Data automation profile ARN</p>" |
| 1318 | + }, |
| 1319 | + "encryptionConfiguration":{ |
| 1320 | + "shape":"EncryptionConfiguration", |
| 1321 | + "documentation":"<p>Encryption configuration.</p>" |
| 1322 | + }, |
| 1323 | + "tags":{ |
| 1324 | + "shape":"TagList", |
| 1325 | + "documentation":"<p>List of tags.</p>" |
| 1326 | + } |
| 1327 | + }, |
| 1328 | + "documentation":"<p>Invoke Blueprint Optimization Async Request</p>" |
| 1329 | + }, |
| 1330 | + "InvokeBlueprintOptimizationAsyncResponse":{ |
| 1331 | + "type":"structure", |
| 1332 | + "required":["invocationArn"], |
| 1333 | + "members":{ |
| 1334 | + "invocationArn":{ |
| 1335 | + "shape":"BlueprintOptimizationInvocationArn", |
| 1336 | + "documentation":"<p>ARN of the blueprint optimization job</p>" |
| 1337 | + } |
| 1338 | + }, |
| 1339 | + "documentation":"<p>Invoke Blueprint Optimization Async Response</p>" |
| 1340 | + }, |
1090 | 1341 | "KmsEncryptionContext":{ |
1091 | 1342 | "type":"map", |
1092 | 1343 | "key":{"shape":"EncryptionContextKey"}, |
|
1306 | 1557 | "ACCOUNT" |
1307 | 1558 | ] |
1308 | 1559 | }, |
| 1560 | + "S3Object":{ |
| 1561 | + "type":"structure", |
| 1562 | + "required":["s3Uri"], |
| 1563 | + "members":{ |
| 1564 | + "s3Uri":{ |
| 1565 | + "shape":"S3Uri", |
| 1566 | + "documentation":"<p>S3 uri.</p>" |
| 1567 | + }, |
| 1568 | + "version":{ |
| 1569 | + "shape":"S3ObjectVersion", |
| 1570 | + "documentation":"<p>S3 object version.</p>" |
| 1571 | + } |
| 1572 | + }, |
| 1573 | + "documentation":"<p>S3 object</p>" |
| 1574 | + }, |
| 1575 | + "S3ObjectVersion":{ |
| 1576 | + "type":"string", |
| 1577 | + "documentation":"<p>S3 object version.</p>", |
| 1578 | + "max":1024, |
| 1579 | + "min":1 |
| 1580 | + }, |
| 1581 | + "S3Uri":{ |
| 1582 | + "type":"string", |
| 1583 | + "documentation":"<p>A path in S3</p>", |
| 1584 | + "max":1024, |
| 1585 | + "min":1, |
| 1586 | + "pattern":"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?" |
| 1587 | + }, |
1309 | 1588 | "SensitiveDataConfiguration":{ |
1310 | 1589 | "type":"structure", |
1311 | 1590 | "required":["detectionMode"], |
|
1393 | 1672 | "DISABLED" |
1394 | 1673 | ] |
1395 | 1674 | }, |
| 1675 | + "String":{"type":"string"}, |
1396 | 1676 | "Tag":{ |
1397 | 1677 | "type":"structure", |
1398 | 1678 | "required":[ |
|
1451 | 1731 | "documentation":"<p>ARN of a taggable resource</p>", |
1452 | 1732 | "max":1011, |
1453 | 1733 | "min":20, |
1454 | | - "pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-z0-9-]*:[0-9]{12}:(blueprint|data-automation-project)/[a-zA-Z0-9-]{12,36}" |
| 1734 | + "pattern":"arn:aws(|-cn|-iso|-iso-[a-z]|-us-gov):bedrock:[a-z0-9-]*:[0-9]{12}:(blueprint|data-automation-project|blueprint-optimization-invocation)/[a-zA-Z0-9-]{12,36}" |
1455 | 1735 | }, |
1456 | 1736 | "ThrottlingException":{ |
1457 | 1737 | "type":"structure", |
|
0 commit comments