aws-sdk-bedrockdataautomation 1.22.0 → 1.23.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockdataautomation/client.rb +174 -1
- data/lib/aws-sdk-bedrockdataautomation/client_api.rb +104 -0
- data/lib/aws-sdk-bedrockdataautomation/types.rb +216 -1
- data/lib/aws-sdk-bedrockdataautomation.rb +2 -2
- data/sig/client.rbs +67 -0
- data/sig/types.rbs +64 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46038c60cfa4737a083a858e23a062e88abc42a1039b9433578fb1d6f94dbb1e
|
|
4
|
+
data.tar.gz: 82ee1219e56d98b7d7d7280f209da85cb5416559f5a201c291b866f6894b7fc9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f53ccbb6bacdac233528745eb94515fdf89d6254870c79224216391efd7a32744ff8f5a9a7d06a1615655c652d68843eb5af4f108152d07fbe7672718b76bd5
|
|
7
|
+
data.tar.gz: ff93a20fdb18d914dcf822fabe0050ffd60768d27cad08de1d6f36f53d3117bb2c12e728f3517e49726c063ca9cce5261a48f8b2cb717707e8fa69b374d7e303
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.23.0 (2025-12-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Blueprint Optimization (BPO) is a new Amazon Bedrock Data Automation (BDA) capability that improves blueprint inference accuracy using example content assets and ground truth data. BPO works by generating better instructions for fields in the Blueprint using provided data.
|
|
8
|
+
|
|
4
9
|
1.22.0 (2025-11-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.23.0
|
|
@@ -476,6 +476,43 @@ module Aws::BedrockDataAutomation
|
|
|
476
476
|
|
|
477
477
|
# @!group API Operations
|
|
478
478
|
|
|
479
|
+
# Copies a Blueprint from one stage to another
|
|
480
|
+
#
|
|
481
|
+
# @option params [required, String] :blueprint_arn
|
|
482
|
+
# Blueprint to be copied
|
|
483
|
+
#
|
|
484
|
+
# @option params [required, String] :source_stage
|
|
485
|
+
# Source stage to copy from
|
|
486
|
+
#
|
|
487
|
+
# @option params [required, String] :target_stage
|
|
488
|
+
# Target stage to copy to
|
|
489
|
+
#
|
|
490
|
+
# @option params [String] :client_token
|
|
491
|
+
# Client token for idempotency
|
|
492
|
+
#
|
|
493
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
494
|
+
# not need to pass this option.**
|
|
495
|
+
#
|
|
496
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
497
|
+
#
|
|
498
|
+
# @example Request syntax with placeholder values
|
|
499
|
+
#
|
|
500
|
+
# resp = client.copy_blueprint_stage({
|
|
501
|
+
# blueprint_arn: "BlueprintArn", # required
|
|
502
|
+
# source_stage: "DEVELOPMENT", # required, accepts DEVELOPMENT, LIVE
|
|
503
|
+
# target_stage: "DEVELOPMENT", # required, accepts DEVELOPMENT, LIVE
|
|
504
|
+
# client_token: "ClientToken",
|
|
505
|
+
# })
|
|
506
|
+
#
|
|
507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/CopyBlueprintStage AWS API Documentation
|
|
508
|
+
#
|
|
509
|
+
# @overload copy_blueprint_stage(params = {})
|
|
510
|
+
# @param [Hash] params ({})
|
|
511
|
+
def copy_blueprint_stage(params = {}, options = {})
|
|
512
|
+
req = build_request(:copy_blueprint_stage, params)
|
|
513
|
+
req.send_request(options)
|
|
514
|
+
end
|
|
515
|
+
|
|
479
516
|
# Creates an Amazon Bedrock Data Automation Blueprint
|
|
480
517
|
#
|
|
481
518
|
# @option params [required, String] :blueprint_name
|
|
@@ -541,6 +578,12 @@ module Aws::BedrockDataAutomation
|
|
|
541
578
|
# resp.blueprint.kms_key_id #=> String
|
|
542
579
|
# resp.blueprint.kms_encryption_context #=> Hash
|
|
543
580
|
# resp.blueprint.kms_encryption_context["EncryptionContextKey"] #=> String
|
|
581
|
+
# resp.blueprint.optimization_samples #=> Array
|
|
582
|
+
# resp.blueprint.optimization_samples[0].asset_s3_object.s3_uri #=> String
|
|
583
|
+
# resp.blueprint.optimization_samples[0].asset_s3_object.version #=> String
|
|
584
|
+
# resp.blueprint.optimization_samples[0].ground_truth_s3_object.s3_uri #=> String
|
|
585
|
+
# resp.blueprint.optimization_samples[0].ground_truth_s3_object.version #=> String
|
|
586
|
+
# resp.blueprint.optimization_time #=> Time
|
|
544
587
|
#
|
|
545
588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/CreateBlueprint AWS API Documentation
|
|
546
589
|
#
|
|
@@ -587,6 +630,12 @@ module Aws::BedrockDataAutomation
|
|
|
587
630
|
# resp.blueprint.kms_key_id #=> String
|
|
588
631
|
# resp.blueprint.kms_encryption_context #=> Hash
|
|
589
632
|
# resp.blueprint.kms_encryption_context["EncryptionContextKey"] #=> String
|
|
633
|
+
# resp.blueprint.optimization_samples #=> Array
|
|
634
|
+
# resp.blueprint.optimization_samples[0].asset_s3_object.s3_uri #=> String
|
|
635
|
+
# resp.blueprint.optimization_samples[0].asset_s3_object.version #=> String
|
|
636
|
+
# resp.blueprint.optimization_samples[0].ground_truth_s3_object.s3_uri #=> String
|
|
637
|
+
# resp.blueprint.optimization_samples[0].ground_truth_s3_object.version #=> String
|
|
638
|
+
# resp.blueprint.optimization_time #=> Time
|
|
590
639
|
#
|
|
591
640
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/CreateBlueprintVersion AWS API Documentation
|
|
592
641
|
#
|
|
@@ -920,6 +969,12 @@ module Aws::BedrockDataAutomation
|
|
|
920
969
|
# resp.blueprint.kms_key_id #=> String
|
|
921
970
|
# resp.blueprint.kms_encryption_context #=> Hash
|
|
922
971
|
# resp.blueprint.kms_encryption_context["EncryptionContextKey"] #=> String
|
|
972
|
+
# resp.blueprint.optimization_samples #=> Array
|
|
973
|
+
# resp.blueprint.optimization_samples[0].asset_s3_object.s3_uri #=> String
|
|
974
|
+
# resp.blueprint.optimization_samples[0].asset_s3_object.version #=> String
|
|
975
|
+
# resp.blueprint.optimization_samples[0].ground_truth_s3_object.s3_uri #=> String
|
|
976
|
+
# resp.blueprint.optimization_samples[0].ground_truth_s3_object.version #=> String
|
|
977
|
+
# resp.blueprint.optimization_time #=> Time
|
|
923
978
|
#
|
|
924
979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/GetBlueprint AWS API Documentation
|
|
925
980
|
#
|
|
@@ -930,6 +985,41 @@ module Aws::BedrockDataAutomation
|
|
|
930
985
|
req.send_request(options)
|
|
931
986
|
end
|
|
932
987
|
|
|
988
|
+
# API used to get blueprint optimization status.
|
|
989
|
+
#
|
|
990
|
+
# @option params [required, String] :invocation_arn
|
|
991
|
+
# Invocation arn.
|
|
992
|
+
#
|
|
993
|
+
# @return [Types::GetBlueprintOptimizationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
994
|
+
#
|
|
995
|
+
# * {Types::GetBlueprintOptimizationStatusResponse#status #status} => String
|
|
996
|
+
# * {Types::GetBlueprintOptimizationStatusResponse#error_type #error_type} => String
|
|
997
|
+
# * {Types::GetBlueprintOptimizationStatusResponse#error_message #error_message} => String
|
|
998
|
+
# * {Types::GetBlueprintOptimizationStatusResponse#output_configuration #output_configuration} => Types::BlueprintOptimizationOutputConfiguration
|
|
999
|
+
#
|
|
1000
|
+
# @example Request syntax with placeholder values
|
|
1001
|
+
#
|
|
1002
|
+
# resp = client.get_blueprint_optimization_status({
|
|
1003
|
+
# invocation_arn: "BlueprintOptimizationInvocationArn", # required
|
|
1004
|
+
# })
|
|
1005
|
+
#
|
|
1006
|
+
# @example Response structure
|
|
1007
|
+
#
|
|
1008
|
+
# resp.status #=> String, one of "Created", "InProgress", "Success", "ServiceError", "ClientError"
|
|
1009
|
+
# resp.error_type #=> String
|
|
1010
|
+
# resp.error_message #=> String
|
|
1011
|
+
# resp.output_configuration.s3_object.s3_uri #=> String
|
|
1012
|
+
# resp.output_configuration.s3_object.version #=> String
|
|
1013
|
+
#
|
|
1014
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/GetBlueprintOptimizationStatus AWS API Documentation
|
|
1015
|
+
#
|
|
1016
|
+
# @overload get_blueprint_optimization_status(params = {})
|
|
1017
|
+
# @param [Hash] params ({})
|
|
1018
|
+
def get_blueprint_optimization_status(params = {}, options = {})
|
|
1019
|
+
req = build_request(:get_blueprint_optimization_status, params)
|
|
1020
|
+
req.send_request(options)
|
|
1021
|
+
end
|
|
1022
|
+
|
|
933
1023
|
# Gets an existing Amazon Bedrock Data Automation Project
|
|
934
1024
|
#
|
|
935
1025
|
# @option params [required, String] :project_arn
|
|
@@ -1043,6 +1133,83 @@ module Aws::BedrockDataAutomation
|
|
|
1043
1133
|
req.send_request(options)
|
|
1044
1134
|
end
|
|
1045
1135
|
|
|
1136
|
+
# Invoke an async job to perform Blueprint Optimization
|
|
1137
|
+
#
|
|
1138
|
+
# @option params [required, Types::BlueprintOptimizationObject] :blueprint
|
|
1139
|
+
# Blueprint to be optimized
|
|
1140
|
+
#
|
|
1141
|
+
# @option params [required, Array<Types::BlueprintOptimizationSample>] :samples
|
|
1142
|
+
# List of Blueprint Optimization Samples
|
|
1143
|
+
#
|
|
1144
|
+
# @option params [required, Types::BlueprintOptimizationOutputConfiguration] :output_configuration
|
|
1145
|
+
# Output configuration where the results should be placed
|
|
1146
|
+
#
|
|
1147
|
+
# @option params [required, String] :data_automation_profile_arn
|
|
1148
|
+
# Data automation profile ARN
|
|
1149
|
+
#
|
|
1150
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
1151
|
+
# Encryption configuration.
|
|
1152
|
+
#
|
|
1153
|
+
# @option params [Array<Types::Tag>] :tags
|
|
1154
|
+
# List of tags.
|
|
1155
|
+
#
|
|
1156
|
+
# @return [Types::InvokeBlueprintOptimizationAsyncResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1157
|
+
#
|
|
1158
|
+
# * {Types::InvokeBlueprintOptimizationAsyncResponse#invocation_arn #invocation_arn} => String
|
|
1159
|
+
#
|
|
1160
|
+
# @example Request syntax with placeholder values
|
|
1161
|
+
#
|
|
1162
|
+
# resp = client.invoke_blueprint_optimization_async({
|
|
1163
|
+
# blueprint: { # required
|
|
1164
|
+
# blueprint_arn: "BlueprintArn", # required
|
|
1165
|
+
# stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
|
|
1166
|
+
# },
|
|
1167
|
+
# samples: [ # required
|
|
1168
|
+
# {
|
|
1169
|
+
# asset_s3_object: { # required
|
|
1170
|
+
# s3_uri: "S3Uri", # required
|
|
1171
|
+
# version: "S3ObjectVersion",
|
|
1172
|
+
# },
|
|
1173
|
+
# ground_truth_s3_object: { # required
|
|
1174
|
+
# s3_uri: "S3Uri", # required
|
|
1175
|
+
# version: "S3ObjectVersion",
|
|
1176
|
+
# },
|
|
1177
|
+
# },
|
|
1178
|
+
# ],
|
|
1179
|
+
# output_configuration: { # required
|
|
1180
|
+
# s3_object: { # required
|
|
1181
|
+
# s3_uri: "S3Uri", # required
|
|
1182
|
+
# version: "S3ObjectVersion",
|
|
1183
|
+
# },
|
|
1184
|
+
# },
|
|
1185
|
+
# data_automation_profile_arn: "DataAutomationProfileArn", # required
|
|
1186
|
+
# encryption_configuration: {
|
|
1187
|
+
# kms_key_id: "KmsKeyId", # required
|
|
1188
|
+
# kms_encryption_context: {
|
|
1189
|
+
# "EncryptionContextKey" => "EncryptionContextValue",
|
|
1190
|
+
# },
|
|
1191
|
+
# },
|
|
1192
|
+
# tags: [
|
|
1193
|
+
# {
|
|
1194
|
+
# key: "TagKey", # required
|
|
1195
|
+
# value: "TagValue", # required
|
|
1196
|
+
# },
|
|
1197
|
+
# ],
|
|
1198
|
+
# })
|
|
1199
|
+
#
|
|
1200
|
+
# @example Response structure
|
|
1201
|
+
#
|
|
1202
|
+
# resp.invocation_arn #=> String
|
|
1203
|
+
#
|
|
1204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/InvokeBlueprintOptimizationAsync AWS API Documentation
|
|
1205
|
+
#
|
|
1206
|
+
# @overload invoke_blueprint_optimization_async(params = {})
|
|
1207
|
+
# @param [Hash] params ({})
|
|
1208
|
+
def invoke_blueprint_optimization_async(params = {}, options = {})
|
|
1209
|
+
req = build_request(:invoke_blueprint_optimization_async, params)
|
|
1210
|
+
req.send_request(options)
|
|
1211
|
+
end
|
|
1212
|
+
|
|
1046
1213
|
# Lists all existing Amazon Bedrock Data Automation Blueprints
|
|
1047
1214
|
#
|
|
1048
1215
|
# @option params [String] :blueprint_arn
|
|
@@ -1293,6 +1460,12 @@ module Aws::BedrockDataAutomation
|
|
|
1293
1460
|
# resp.blueprint.kms_key_id #=> String
|
|
1294
1461
|
# resp.blueprint.kms_encryption_context #=> Hash
|
|
1295
1462
|
# resp.blueprint.kms_encryption_context["EncryptionContextKey"] #=> String
|
|
1463
|
+
# resp.blueprint.optimization_samples #=> Array
|
|
1464
|
+
# resp.blueprint.optimization_samples[0].asset_s3_object.s3_uri #=> String
|
|
1465
|
+
# resp.blueprint.optimization_samples[0].asset_s3_object.version #=> String
|
|
1466
|
+
# resp.blueprint.optimization_samples[0].ground_truth_s3_object.s3_uri #=> String
|
|
1467
|
+
# resp.blueprint.optimization_samples[0].ground_truth_s3_object.version #=> String
|
|
1468
|
+
# resp.blueprint.optimization_time #=> Time
|
|
1296
1469
|
#
|
|
1297
1470
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/UpdateBlueprint AWS API Documentation
|
|
1298
1471
|
#
|
|
@@ -1532,7 +1705,7 @@ module Aws::BedrockDataAutomation
|
|
|
1532
1705
|
tracer: tracer
|
|
1533
1706
|
)
|
|
1534
1707
|
context[:gem_name] = 'aws-sdk-bedrockdataautomation'
|
|
1535
|
-
context[:gem_version] = '1.
|
|
1708
|
+
context[:gem_version] = '1.23.0'
|
|
1536
1709
|
Seahorse::Client::Request.new(handlers, context)
|
|
1537
1710
|
end
|
|
1538
1711
|
|
|
@@ -34,6 +34,12 @@ module Aws::BedrockDataAutomation
|
|
|
34
34
|
BlueprintItem = Shapes::StructureShape.new(name: 'BlueprintItem')
|
|
35
35
|
BlueprintItems = Shapes::ListShape.new(name: 'BlueprintItems')
|
|
36
36
|
BlueprintName = Shapes::StringShape.new(name: 'BlueprintName')
|
|
37
|
+
BlueprintOptimizationInvocationArn = Shapes::StringShape.new(name: 'BlueprintOptimizationInvocationArn')
|
|
38
|
+
BlueprintOptimizationJobStatus = Shapes::StringShape.new(name: 'BlueprintOptimizationJobStatus')
|
|
39
|
+
BlueprintOptimizationObject = Shapes::StructureShape.new(name: 'BlueprintOptimizationObject')
|
|
40
|
+
BlueprintOptimizationOutputConfiguration = Shapes::StructureShape.new(name: 'BlueprintOptimizationOutputConfiguration')
|
|
41
|
+
BlueprintOptimizationSample = Shapes::StructureShape.new(name: 'BlueprintOptimizationSample')
|
|
42
|
+
BlueprintOptimizationSamples = Shapes::ListShape.new(name: 'BlueprintOptimizationSamples')
|
|
37
43
|
BlueprintSchema = Shapes::StringShape.new(name: 'BlueprintSchema')
|
|
38
44
|
BlueprintStage = Shapes::StringShape.new(name: 'BlueprintStage')
|
|
39
45
|
BlueprintStageFilter = Shapes::StringShape.new(name: 'BlueprintStageFilter')
|
|
@@ -44,6 +50,8 @@ module Aws::BedrockDataAutomation
|
|
|
44
50
|
ChannelLabelingConfiguration = Shapes::StructureShape.new(name: 'ChannelLabelingConfiguration')
|
|
45
51
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
46
52
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
53
|
+
CopyBlueprintStageRequest = Shapes::StructureShape.new(name: 'CopyBlueprintStageRequest')
|
|
54
|
+
CopyBlueprintStageResponse = Shapes::StructureShape.new(name: 'CopyBlueprintStageResponse')
|
|
47
55
|
CreateBlueprintRequest = Shapes::StructureShape.new(name: 'CreateBlueprintRequest')
|
|
48
56
|
CreateBlueprintResponse = Shapes::StructureShape.new(name: 'CreateBlueprintResponse')
|
|
49
57
|
CreateBlueprintVersionRequest = Shapes::StructureShape.new(name: 'CreateBlueprintVersionRequest')
|
|
@@ -51,6 +59,7 @@ module Aws::BedrockDataAutomation
|
|
|
51
59
|
CreateDataAutomationProjectRequest = Shapes::StructureShape.new(name: 'CreateDataAutomationProjectRequest')
|
|
52
60
|
CreateDataAutomationProjectResponse = Shapes::StructureShape.new(name: 'CreateDataAutomationProjectResponse')
|
|
53
61
|
CustomOutputConfiguration = Shapes::StructureShape.new(name: 'CustomOutputConfiguration')
|
|
62
|
+
DataAutomationProfileArn = Shapes::StringShape.new(name: 'DataAutomationProfileArn')
|
|
54
63
|
DataAutomationProject = Shapes::StructureShape.new(name: 'DataAutomationProject')
|
|
55
64
|
DataAutomationProjectArn = Shapes::StringShape.new(name: 'DataAutomationProjectArn')
|
|
56
65
|
DataAutomationProjectDescription = Shapes::StringShape.new(name: 'DataAutomationProjectDescription')
|
|
@@ -84,6 +93,8 @@ module Aws::BedrockDataAutomation
|
|
|
84
93
|
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
|
85
94
|
EncryptionContextKey = Shapes::StringShape.new(name: 'EncryptionContextKey')
|
|
86
95
|
EncryptionContextValue = Shapes::StringShape.new(name: 'EncryptionContextValue')
|
|
96
|
+
GetBlueprintOptimizationStatusRequest = Shapes::StructureShape.new(name: 'GetBlueprintOptimizationStatusRequest')
|
|
97
|
+
GetBlueprintOptimizationStatusResponse = Shapes::StructureShape.new(name: 'GetBlueprintOptimizationStatusResponse')
|
|
87
98
|
GetBlueprintRequest = Shapes::StructureShape.new(name: 'GetBlueprintRequest')
|
|
88
99
|
GetBlueprintResponse = Shapes::StructureShape.new(name: 'GetBlueprintResponse')
|
|
89
100
|
GetDataAutomationProjectRequest = Shapes::StructureShape.new(name: 'GetDataAutomationProjectRequest')
|
|
@@ -99,6 +110,8 @@ module Aws::BedrockDataAutomation
|
|
|
99
110
|
ImageStandardGenerativeFieldTypes = Shapes::ListShape.new(name: 'ImageStandardGenerativeFieldTypes')
|
|
100
111
|
ImageStandardOutputConfiguration = Shapes::StructureShape.new(name: 'ImageStandardOutputConfiguration')
|
|
101
112
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
113
|
+
InvokeBlueprintOptimizationAsyncRequest = Shapes::StructureShape.new(name: 'InvokeBlueprintOptimizationAsyncRequest')
|
|
114
|
+
InvokeBlueprintOptimizationAsyncResponse = Shapes::StructureShape.new(name: 'InvokeBlueprintOptimizationAsyncResponse')
|
|
102
115
|
KmsEncryptionContext = Shapes::MapShape.new(name: 'KmsEncryptionContext')
|
|
103
116
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
|
104
117
|
Language = Shapes::StringShape.new(name: 'Language')
|
|
@@ -120,6 +133,9 @@ module Aws::BedrockDataAutomation
|
|
|
120
133
|
PIIRedactionMaskMode = Shapes::StringShape.new(name: 'PIIRedactionMaskMode')
|
|
121
134
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
122
135
|
ResourceOwner = Shapes::StringShape.new(name: 'ResourceOwner')
|
|
136
|
+
S3Object = Shapes::StructureShape.new(name: 'S3Object')
|
|
137
|
+
S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
|
|
138
|
+
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
|
123
139
|
SensitiveDataConfiguration = Shapes::StructureShape.new(name: 'SensitiveDataConfiguration')
|
|
124
140
|
SensitiveDataDetectionMode = Shapes::StringShape.new(name: 'SensitiveDataDetectionMode')
|
|
125
141
|
SensitiveDataDetectionScope = Shapes::ListShape.new(name: 'SensitiveDataDetectionScope')
|
|
@@ -129,6 +145,7 @@ module Aws::BedrockDataAutomation
|
|
|
129
145
|
SplitterConfiguration = Shapes::StructureShape.new(name: 'SplitterConfiguration')
|
|
130
146
|
StandardOutputConfiguration = Shapes::StructureShape.new(name: 'StandardOutputConfiguration')
|
|
131
147
|
State = Shapes::StringShape.new(name: 'State')
|
|
148
|
+
String = Shapes::StringShape.new(name: 'String')
|
|
132
149
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
133
150
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
134
151
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
|
@@ -208,6 +225,8 @@ module Aws::BedrockDataAutomation
|
|
|
208
225
|
Blueprint.add_member(:blueprint_stage, Shapes::ShapeRef.new(shape: BlueprintStage, location_name: "blueprintStage"))
|
|
209
226
|
Blueprint.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
210
227
|
Blueprint.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KmsEncryptionContext, location_name: "kmsEncryptionContext"))
|
|
228
|
+
Blueprint.add_member(:optimization_samples, Shapes::ShapeRef.new(shape: BlueprintOptimizationSamples, location_name: "optimizationSamples"))
|
|
229
|
+
Blueprint.add_member(:optimization_time, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "optimizationTime"))
|
|
211
230
|
Blueprint.struct_class = Types::Blueprint
|
|
212
231
|
|
|
213
232
|
BlueprintFilter.add_member(:blueprint_arn, Shapes::ShapeRef.new(shape: BlueprintArn, required: true, location_name: "blueprintArn"))
|
|
@@ -222,6 +241,19 @@ module Aws::BedrockDataAutomation
|
|
|
222
241
|
|
|
223
242
|
BlueprintItems.member = Shapes::ShapeRef.new(shape: BlueprintItem)
|
|
224
243
|
|
|
244
|
+
BlueprintOptimizationObject.add_member(:blueprint_arn, Shapes::ShapeRef.new(shape: BlueprintArn, required: true, location_name: "blueprintArn"))
|
|
245
|
+
BlueprintOptimizationObject.add_member(:stage, Shapes::ShapeRef.new(shape: BlueprintStage, location_name: "stage"))
|
|
246
|
+
BlueprintOptimizationObject.struct_class = Types::BlueprintOptimizationObject
|
|
247
|
+
|
|
248
|
+
BlueprintOptimizationOutputConfiguration.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, required: true, location_name: "s3Object"))
|
|
249
|
+
BlueprintOptimizationOutputConfiguration.struct_class = Types::BlueprintOptimizationOutputConfiguration
|
|
250
|
+
|
|
251
|
+
BlueprintOptimizationSample.add_member(:asset_s3_object, Shapes::ShapeRef.new(shape: S3Object, required: true, location_name: "assetS3Object"))
|
|
252
|
+
BlueprintOptimizationSample.add_member(:ground_truth_s3_object, Shapes::ShapeRef.new(shape: S3Object, required: true, location_name: "groundTruthS3Object"))
|
|
253
|
+
BlueprintOptimizationSample.struct_class = Types::BlueprintOptimizationSample
|
|
254
|
+
|
|
255
|
+
BlueprintOptimizationSamples.member = Shapes::ShapeRef.new(shape: BlueprintOptimizationSample)
|
|
256
|
+
|
|
225
257
|
BlueprintSummary.add_member(:blueprint_arn, Shapes::ShapeRef.new(shape: BlueprintArn, required: true, location_name: "blueprintArn"))
|
|
226
258
|
BlueprintSummary.add_member(:blueprint_version, Shapes::ShapeRef.new(shape: BlueprintVersion, location_name: "blueprintVersion"))
|
|
227
259
|
BlueprintSummary.add_member(:blueprint_stage, Shapes::ShapeRef.new(shape: BlueprintStage, location_name: "blueprintStage"))
|
|
@@ -238,6 +270,14 @@ module Aws::BedrockDataAutomation
|
|
|
238
270
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
239
271
|
ConflictException.struct_class = Types::ConflictException
|
|
240
272
|
|
|
273
|
+
CopyBlueprintStageRequest.add_member(:blueprint_arn, Shapes::ShapeRef.new(shape: BlueprintArn, required: true, location: "uri", location_name: "blueprintArn"))
|
|
274
|
+
CopyBlueprintStageRequest.add_member(:source_stage, Shapes::ShapeRef.new(shape: BlueprintStage, required: true, location_name: "sourceStage"))
|
|
275
|
+
CopyBlueprintStageRequest.add_member(:target_stage, Shapes::ShapeRef.new(shape: BlueprintStage, required: true, location_name: "targetStage"))
|
|
276
|
+
CopyBlueprintStageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
277
|
+
CopyBlueprintStageRequest.struct_class = Types::CopyBlueprintStageRequest
|
|
278
|
+
|
|
279
|
+
CopyBlueprintStageResponse.struct_class = Types::CopyBlueprintStageResponse
|
|
280
|
+
|
|
241
281
|
CreateBlueprintRequest.add_member(:blueprint_name, Shapes::ShapeRef.new(shape: BlueprintName, required: true, location_name: "blueprintName"))
|
|
242
282
|
CreateBlueprintRequest.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "type"))
|
|
243
283
|
CreateBlueprintRequest.add_member(:blueprint_stage, Shapes::ShapeRef.new(shape: BlueprintStage, location_name: "blueprintStage"))
|
|
@@ -359,6 +399,15 @@ module Aws::BedrockDataAutomation
|
|
|
359
399
|
EncryptionConfiguration.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KmsEncryptionContext, location_name: "kmsEncryptionContext"))
|
|
360
400
|
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
|
361
401
|
|
|
402
|
+
GetBlueprintOptimizationStatusRequest.add_member(:invocation_arn, Shapes::ShapeRef.new(shape: BlueprintOptimizationInvocationArn, required: true, location: "uri", location_name: "invocationArn"))
|
|
403
|
+
GetBlueprintOptimizationStatusRequest.struct_class = Types::GetBlueprintOptimizationStatusRequest
|
|
404
|
+
|
|
405
|
+
GetBlueprintOptimizationStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: BlueprintOptimizationJobStatus, location_name: "status"))
|
|
406
|
+
GetBlueprintOptimizationStatusResponse.add_member(:error_type, Shapes::ShapeRef.new(shape: String, location_name: "errorType"))
|
|
407
|
+
GetBlueprintOptimizationStatusResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
|
|
408
|
+
GetBlueprintOptimizationStatusResponse.add_member(:output_configuration, Shapes::ShapeRef.new(shape: BlueprintOptimizationOutputConfiguration, location_name: "outputConfiguration"))
|
|
409
|
+
GetBlueprintOptimizationStatusResponse.struct_class = Types::GetBlueprintOptimizationStatusResponse
|
|
410
|
+
|
|
362
411
|
GetBlueprintRequest.add_member(:blueprint_arn, Shapes::ShapeRef.new(shape: BlueprintArn, required: true, location: "uri", location_name: "blueprintArn"))
|
|
363
412
|
GetBlueprintRequest.add_member(:blueprint_version, Shapes::ShapeRef.new(shape: BlueprintVersion, location_name: "blueprintVersion"))
|
|
364
413
|
GetBlueprintRequest.add_member(:blueprint_stage, Shapes::ShapeRef.new(shape: BlueprintStage, location_name: "blueprintStage"))
|
|
@@ -404,6 +453,17 @@ module Aws::BedrockDataAutomation
|
|
|
404
453
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
405
454
|
InternalServerException.struct_class = Types::InternalServerException
|
|
406
455
|
|
|
456
|
+
InvokeBlueprintOptimizationAsyncRequest.add_member(:blueprint, Shapes::ShapeRef.new(shape: BlueprintOptimizationObject, required: true, location_name: "blueprint"))
|
|
457
|
+
InvokeBlueprintOptimizationAsyncRequest.add_member(:samples, Shapes::ShapeRef.new(shape: BlueprintOptimizationSamples, required: true, location_name: "samples"))
|
|
458
|
+
InvokeBlueprintOptimizationAsyncRequest.add_member(:output_configuration, Shapes::ShapeRef.new(shape: BlueprintOptimizationOutputConfiguration, required: true, location_name: "outputConfiguration"))
|
|
459
|
+
InvokeBlueprintOptimizationAsyncRequest.add_member(:data_automation_profile_arn, Shapes::ShapeRef.new(shape: DataAutomationProfileArn, required: true, location_name: "dataAutomationProfileArn"))
|
|
460
|
+
InvokeBlueprintOptimizationAsyncRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
|
461
|
+
InvokeBlueprintOptimizationAsyncRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
462
|
+
InvokeBlueprintOptimizationAsyncRequest.struct_class = Types::InvokeBlueprintOptimizationAsyncRequest
|
|
463
|
+
|
|
464
|
+
InvokeBlueprintOptimizationAsyncResponse.add_member(:invocation_arn, Shapes::ShapeRef.new(shape: BlueprintOptimizationInvocationArn, required: true, location_name: "invocationArn"))
|
|
465
|
+
InvokeBlueprintOptimizationAsyncResponse.struct_class = Types::InvokeBlueprintOptimizationAsyncResponse
|
|
466
|
+
|
|
407
467
|
KmsEncryptionContext.key = Shapes::ShapeRef.new(shape: EncryptionContextKey)
|
|
408
468
|
KmsEncryptionContext.value = Shapes::ShapeRef.new(shape: EncryptionContextValue)
|
|
409
469
|
|
|
@@ -461,6 +521,10 @@ module Aws::BedrockDataAutomation
|
|
|
461
521
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
462
522
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
463
523
|
|
|
524
|
+
S3Object.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
|
|
525
|
+
S3Object.add_member(:version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "version"))
|
|
526
|
+
S3Object.struct_class = Types::S3Object
|
|
527
|
+
|
|
464
528
|
SensitiveDataConfiguration.add_member(:detection_mode, Shapes::ShapeRef.new(shape: SensitiveDataDetectionMode, required: true, location_name: "detectionMode"))
|
|
465
529
|
SensitiveDataConfiguration.add_member(:detection_scope, Shapes::ShapeRef.new(shape: SensitiveDataDetectionScope, location_name: "detectionScope"))
|
|
466
530
|
SensitiveDataConfiguration.add_member(:pii_entities_configuration, Shapes::ShapeRef.new(shape: PIIEntitiesConfiguration, location_name: "piiEntitiesConfiguration"))
|
|
@@ -589,6 +653,19 @@ module Aws::BedrockDataAutomation
|
|
|
589
653
|
"uid" => "bedrock-data-automation-2023-07-26",
|
|
590
654
|
}
|
|
591
655
|
|
|
656
|
+
api.add_operation(:copy_blueprint_stage, Seahorse::Model::Operation.new.tap do |o|
|
|
657
|
+
o.name = "CopyBlueprintStage"
|
|
658
|
+
o.http_method = "PUT"
|
|
659
|
+
o.http_request_uri = "/blueprints/{blueprintArn}/copy-stage"
|
|
660
|
+
o.input = Shapes::ShapeRef.new(shape: CopyBlueprintStageRequest)
|
|
661
|
+
o.output = Shapes::ShapeRef.new(shape: CopyBlueprintStageResponse)
|
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
663
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
667
|
+
end)
|
|
668
|
+
|
|
592
669
|
api.add_operation(:create_blueprint, Seahorse::Model::Operation.new.tap do |o|
|
|
593
670
|
o.name = "CreateBlueprint"
|
|
594
671
|
o.http_method = "PUT"
|
|
@@ -670,6 +747,19 @@ module Aws::BedrockDataAutomation
|
|
|
670
747
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
671
748
|
end)
|
|
672
749
|
|
|
750
|
+
api.add_operation(:get_blueprint_optimization_status, Seahorse::Model::Operation.new.tap do |o|
|
|
751
|
+
o.name = "GetBlueprintOptimizationStatus"
|
|
752
|
+
o.http_method = "POST"
|
|
753
|
+
o.http_request_uri = "/getBlueprintOptimizationStatus/{invocationArn}"
|
|
754
|
+
o.input = Shapes::ShapeRef.new(shape: GetBlueprintOptimizationStatusRequest)
|
|
755
|
+
o.output = Shapes::ShapeRef.new(shape: GetBlueprintOptimizationStatusResponse)
|
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
757
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
758
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
759
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
760
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
761
|
+
end)
|
|
762
|
+
|
|
673
763
|
api.add_operation(:get_data_automation_project, Seahorse::Model::Operation.new.tap do |o|
|
|
674
764
|
o.name = "GetDataAutomationProject"
|
|
675
765
|
o.http_method = "POST"
|
|
@@ -683,6 +773,20 @@ module Aws::BedrockDataAutomation
|
|
|
683
773
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
684
774
|
end)
|
|
685
775
|
|
|
776
|
+
api.add_operation(:invoke_blueprint_optimization_async, Seahorse::Model::Operation.new.tap do |o|
|
|
777
|
+
o.name = "InvokeBlueprintOptimizationAsync"
|
|
778
|
+
o.http_method = "POST"
|
|
779
|
+
o.http_request_uri = "/invokeBlueprintOptimizationAsync"
|
|
780
|
+
o.input = Shapes::ShapeRef.new(shape: InvokeBlueprintOptimizationAsyncRequest)
|
|
781
|
+
o.output = Shapes::ShapeRef.new(shape: InvokeBlueprintOptimizationAsyncResponse)
|
|
782
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
783
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
788
|
+
end)
|
|
789
|
+
|
|
686
790
|
api.add_operation(:list_blueprints, Seahorse::Model::Operation.new.tap do |o|
|
|
687
791
|
o.name = "ListBlueprints"
|
|
688
792
|
o.http_method = "POST"
|
|
@@ -205,6 +205,14 @@ module Aws::BedrockDataAutomation
|
|
|
205
205
|
# KMS Encryption Context
|
|
206
206
|
# @return [Hash<String,String>]
|
|
207
207
|
#
|
|
208
|
+
# @!attribute [rw] optimization_samples
|
|
209
|
+
# List of Blueprint Optimization Samples
|
|
210
|
+
# @return [Array<Types::BlueprintOptimizationSample>]
|
|
211
|
+
#
|
|
212
|
+
# @!attribute [rw] optimization_time
|
|
213
|
+
# Time Stamp
|
|
214
|
+
# @return [Time]
|
|
215
|
+
#
|
|
208
216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/Blueprint AWS API Documentation
|
|
209
217
|
#
|
|
210
218
|
class Blueprint < Struct.new(
|
|
@@ -217,7 +225,9 @@ module Aws::BedrockDataAutomation
|
|
|
217
225
|
:blueprint_version,
|
|
218
226
|
:blueprint_stage,
|
|
219
227
|
:kms_key_id,
|
|
220
|
-
:kms_encryption_context
|
|
228
|
+
:kms_encryption_context,
|
|
229
|
+
:optimization_samples,
|
|
230
|
+
:optimization_time)
|
|
221
231
|
SENSITIVE = [:schema, :blueprint_name]
|
|
222
232
|
include Aws::Structure
|
|
223
233
|
end
|
|
@@ -270,6 +280,58 @@ module Aws::BedrockDataAutomation
|
|
|
270
280
|
include Aws::Structure
|
|
271
281
|
end
|
|
272
282
|
|
|
283
|
+
# Structure for single blueprint entity.
|
|
284
|
+
#
|
|
285
|
+
# @!attribute [rw] blueprint_arn
|
|
286
|
+
# Arn of blueprint.
|
|
287
|
+
# @return [String]
|
|
288
|
+
#
|
|
289
|
+
# @!attribute [rw] stage
|
|
290
|
+
# Stage of blueprint.
|
|
291
|
+
# @return [String]
|
|
292
|
+
#
|
|
293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/BlueprintOptimizationObject AWS API Documentation
|
|
294
|
+
#
|
|
295
|
+
class BlueprintOptimizationObject < Struct.new(
|
|
296
|
+
:blueprint_arn,
|
|
297
|
+
:stage)
|
|
298
|
+
SENSITIVE = []
|
|
299
|
+
include Aws::Structure
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# Blueprint Optimization Output configuration.
|
|
303
|
+
#
|
|
304
|
+
# @!attribute [rw] s3_object
|
|
305
|
+
# S3 object.
|
|
306
|
+
# @return [Types::S3Object]
|
|
307
|
+
#
|
|
308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/BlueprintOptimizationOutputConfiguration AWS API Documentation
|
|
309
|
+
#
|
|
310
|
+
class BlueprintOptimizationOutputConfiguration < Struct.new(
|
|
311
|
+
:s3_object)
|
|
312
|
+
SENSITIVE = []
|
|
313
|
+
include Aws::Structure
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# Blueprint Recommendation Sample
|
|
317
|
+
#
|
|
318
|
+
# @!attribute [rw] asset_s3_object
|
|
319
|
+
# S3 Object of the asset
|
|
320
|
+
# @return [Types::S3Object]
|
|
321
|
+
#
|
|
322
|
+
# @!attribute [rw] ground_truth_s3_object
|
|
323
|
+
# Ground truth for the Blueprint and Asset combination
|
|
324
|
+
# @return [Types::S3Object]
|
|
325
|
+
#
|
|
326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/BlueprintOptimizationSample AWS API Documentation
|
|
327
|
+
#
|
|
328
|
+
class BlueprintOptimizationSample < Struct.new(
|
|
329
|
+
:asset_s3_object,
|
|
330
|
+
:ground_truth_s3_object)
|
|
331
|
+
SENSITIVE = []
|
|
332
|
+
include Aws::Structure
|
|
333
|
+
end
|
|
334
|
+
|
|
273
335
|
# Summary of a Blueprint
|
|
274
336
|
#
|
|
275
337
|
# @!attribute [rw] blueprint_arn
|
|
@@ -338,6 +400,44 @@ module Aws::BedrockDataAutomation
|
|
|
338
400
|
include Aws::Structure
|
|
339
401
|
end
|
|
340
402
|
|
|
403
|
+
# CopyBlueprintStage Request
|
|
404
|
+
#
|
|
405
|
+
# @!attribute [rw] blueprint_arn
|
|
406
|
+
# Blueprint to be copied
|
|
407
|
+
# @return [String]
|
|
408
|
+
#
|
|
409
|
+
# @!attribute [rw] source_stage
|
|
410
|
+
# Source stage to copy from
|
|
411
|
+
# @return [String]
|
|
412
|
+
#
|
|
413
|
+
# @!attribute [rw] target_stage
|
|
414
|
+
# Target stage to copy to
|
|
415
|
+
# @return [String]
|
|
416
|
+
#
|
|
417
|
+
# @!attribute [rw] client_token
|
|
418
|
+
# Client token for idempotency
|
|
419
|
+
#
|
|
420
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
421
|
+
# not need to pass this option.
|
|
422
|
+
# @return [String]
|
|
423
|
+
#
|
|
424
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/CopyBlueprintStageRequest AWS API Documentation
|
|
425
|
+
#
|
|
426
|
+
class CopyBlueprintStageRequest < Struct.new(
|
|
427
|
+
:blueprint_arn,
|
|
428
|
+
:source_stage,
|
|
429
|
+
:target_stage,
|
|
430
|
+
:client_token)
|
|
431
|
+
SENSITIVE = []
|
|
432
|
+
include Aws::Structure
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# CopyBlueprintStage Response
|
|
436
|
+
#
|
|
437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/CopyBlueprintStageResponse AWS API Documentation
|
|
438
|
+
#
|
|
439
|
+
class CopyBlueprintStageResponse < Aws::EmptyStructure; end
|
|
440
|
+
|
|
341
441
|
# Create Blueprint Request
|
|
342
442
|
#
|
|
343
443
|
# @!attribute [rw] blueprint_name
|
|
@@ -896,6 +996,49 @@ module Aws::BedrockDataAutomation
|
|
|
896
996
|
include Aws::Structure
|
|
897
997
|
end
|
|
898
998
|
|
|
999
|
+
# Structure for request of GetBlueprintOptimizationStatus API.
|
|
1000
|
+
#
|
|
1001
|
+
# @!attribute [rw] invocation_arn
|
|
1002
|
+
# Invocation arn.
|
|
1003
|
+
# @return [String]
|
|
1004
|
+
#
|
|
1005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/GetBlueprintOptimizationStatusRequest AWS API Documentation
|
|
1006
|
+
#
|
|
1007
|
+
class GetBlueprintOptimizationStatusRequest < Struct.new(
|
|
1008
|
+
:invocation_arn)
|
|
1009
|
+
SENSITIVE = []
|
|
1010
|
+
include Aws::Structure
|
|
1011
|
+
end
|
|
1012
|
+
|
|
1013
|
+
# Response of GetBlueprintOptimizationStatus API.
|
|
1014
|
+
#
|
|
1015
|
+
# @!attribute [rw] status
|
|
1016
|
+
# Job Status.
|
|
1017
|
+
# @return [String]
|
|
1018
|
+
#
|
|
1019
|
+
# @!attribute [rw] error_type
|
|
1020
|
+
# Error Type.
|
|
1021
|
+
# @return [String]
|
|
1022
|
+
#
|
|
1023
|
+
# @!attribute [rw] error_message
|
|
1024
|
+
# Error Message.
|
|
1025
|
+
# @return [String]
|
|
1026
|
+
#
|
|
1027
|
+
# @!attribute [rw] output_configuration
|
|
1028
|
+
# Output configuration.
|
|
1029
|
+
# @return [Types::BlueprintOptimizationOutputConfiguration]
|
|
1030
|
+
#
|
|
1031
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/GetBlueprintOptimizationStatusResponse AWS API Documentation
|
|
1032
|
+
#
|
|
1033
|
+
class GetBlueprintOptimizationStatusResponse < Struct.new(
|
|
1034
|
+
:status,
|
|
1035
|
+
:error_type,
|
|
1036
|
+
:error_message,
|
|
1037
|
+
:output_configuration)
|
|
1038
|
+
SENSITIVE = []
|
|
1039
|
+
include Aws::Structure
|
|
1040
|
+
end
|
|
1041
|
+
|
|
899
1042
|
# Get Blueprint Request
|
|
900
1043
|
#
|
|
901
1044
|
# @!attribute [rw] blueprint_arn
|
|
@@ -1092,6 +1235,59 @@ module Aws::BedrockDataAutomation
|
|
|
1092
1235
|
include Aws::Structure
|
|
1093
1236
|
end
|
|
1094
1237
|
|
|
1238
|
+
# Invoke Blueprint Optimization Async Request
|
|
1239
|
+
#
|
|
1240
|
+
# @!attribute [rw] blueprint
|
|
1241
|
+
# Blueprint to be optimized
|
|
1242
|
+
# @return [Types::BlueprintOptimizationObject]
|
|
1243
|
+
#
|
|
1244
|
+
# @!attribute [rw] samples
|
|
1245
|
+
# List of Blueprint Optimization Samples
|
|
1246
|
+
# @return [Array<Types::BlueprintOptimizationSample>]
|
|
1247
|
+
#
|
|
1248
|
+
# @!attribute [rw] output_configuration
|
|
1249
|
+
# Output configuration where the results should be placed
|
|
1250
|
+
# @return [Types::BlueprintOptimizationOutputConfiguration]
|
|
1251
|
+
#
|
|
1252
|
+
# @!attribute [rw] data_automation_profile_arn
|
|
1253
|
+
# Data automation profile ARN
|
|
1254
|
+
# @return [String]
|
|
1255
|
+
#
|
|
1256
|
+
# @!attribute [rw] encryption_configuration
|
|
1257
|
+
# Encryption configuration.
|
|
1258
|
+
# @return [Types::EncryptionConfiguration]
|
|
1259
|
+
#
|
|
1260
|
+
# @!attribute [rw] tags
|
|
1261
|
+
# List of tags.
|
|
1262
|
+
# @return [Array<Types::Tag>]
|
|
1263
|
+
#
|
|
1264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/InvokeBlueprintOptimizationAsyncRequest AWS API Documentation
|
|
1265
|
+
#
|
|
1266
|
+
class InvokeBlueprintOptimizationAsyncRequest < Struct.new(
|
|
1267
|
+
:blueprint,
|
|
1268
|
+
:samples,
|
|
1269
|
+
:output_configuration,
|
|
1270
|
+
:data_automation_profile_arn,
|
|
1271
|
+
:encryption_configuration,
|
|
1272
|
+
:tags)
|
|
1273
|
+
SENSITIVE = []
|
|
1274
|
+
include Aws::Structure
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1277
|
+
# Invoke Blueprint Optimization Async Response
|
|
1278
|
+
#
|
|
1279
|
+
# @!attribute [rw] invocation_arn
|
|
1280
|
+
# ARN of the blueprint optimization job
|
|
1281
|
+
# @return [String]
|
|
1282
|
+
#
|
|
1283
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/InvokeBlueprintOptimizationAsyncResponse AWS API Documentation
|
|
1284
|
+
#
|
|
1285
|
+
class InvokeBlueprintOptimizationAsyncResponse < Struct.new(
|
|
1286
|
+
:invocation_arn)
|
|
1287
|
+
SENSITIVE = []
|
|
1288
|
+
include Aws::Structure
|
|
1289
|
+
end
|
|
1290
|
+
|
|
1095
1291
|
# List Blueprint Request
|
|
1096
1292
|
#
|
|
1097
1293
|
# @!attribute [rw] blueprint_arn
|
|
@@ -1338,6 +1534,25 @@ module Aws::BedrockDataAutomation
|
|
|
1338
1534
|
include Aws::Structure
|
|
1339
1535
|
end
|
|
1340
1536
|
|
|
1537
|
+
# S3 object
|
|
1538
|
+
#
|
|
1539
|
+
# @!attribute [rw] s3_uri
|
|
1540
|
+
# S3 uri.
|
|
1541
|
+
# @return [String]
|
|
1542
|
+
#
|
|
1543
|
+
# @!attribute [rw] version
|
|
1544
|
+
# S3 object version.
|
|
1545
|
+
# @return [String]
|
|
1546
|
+
#
|
|
1547
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/S3Object AWS API Documentation
|
|
1548
|
+
#
|
|
1549
|
+
class S3Object < Struct.new(
|
|
1550
|
+
:s3_uri,
|
|
1551
|
+
:version)
|
|
1552
|
+
SENSITIVE = []
|
|
1553
|
+
include Aws::Structure
|
|
1554
|
+
end
|
|
1555
|
+
|
|
1341
1556
|
# Configuration for sensitive data detection and redaction
|
|
1342
1557
|
#
|
|
1343
1558
|
# @!attribute [rw] detection_mode
|
|
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:bedrockdataautomation)
|
|
|
23
23
|
# structure.
|
|
24
24
|
#
|
|
25
25
|
# bedrock_data_automation = Aws::BedrockDataAutomation::Client.new
|
|
26
|
-
# resp = bedrock_data_automation.
|
|
26
|
+
# resp = bedrock_data_automation.copy_blueprint_stage(params)
|
|
27
27
|
#
|
|
28
28
|
# See {Client} for more information.
|
|
29
29
|
#
|
|
@@ -54,7 +54,7 @@ module Aws::BedrockDataAutomation
|
|
|
54
54
|
autoload :EndpointProvider, 'aws-sdk-bedrockdataautomation/endpoint_provider'
|
|
55
55
|
autoload :Endpoints, 'aws-sdk-bedrockdataautomation/endpoints'
|
|
56
56
|
|
|
57
|
-
GEM_VERSION = '1.
|
|
57
|
+
GEM_VERSION = '1.23.0'
|
|
58
58
|
|
|
59
59
|
end
|
|
60
60
|
|
data/sig/client.rbs
CHANGED
|
@@ -78,6 +78,18 @@ module Aws
|
|
|
78
78
|
| (?Hash[Symbol, untyped]) -> instance
|
|
79
79
|
|
|
80
80
|
|
|
81
|
+
interface _CopyBlueprintStageResponseSuccess
|
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CopyBlueprintStageResponse]
|
|
83
|
+
end
|
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockDataAutomation/Client.html#copy_blueprint_stage-instance_method
|
|
85
|
+
def copy_blueprint_stage: (
|
|
86
|
+
blueprint_arn: ::String,
|
|
87
|
+
source_stage: ("DEVELOPMENT" | "LIVE"),
|
|
88
|
+
target_stage: ("DEVELOPMENT" | "LIVE"),
|
|
89
|
+
?client_token: ::String
|
|
90
|
+
) -> _CopyBlueprintStageResponseSuccess
|
|
91
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyBlueprintStageResponseSuccess
|
|
92
|
+
|
|
81
93
|
interface _CreateBlueprintResponseSuccess
|
|
82
94
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBlueprintResponse]
|
|
83
95
|
def blueprint: () -> Types::Blueprint
|
|
@@ -324,6 +336,19 @@ module Aws
|
|
|
324
336
|
) -> _GetBlueprintResponseSuccess
|
|
325
337
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBlueprintResponseSuccess
|
|
326
338
|
|
|
339
|
+
interface _GetBlueprintOptimizationStatusResponseSuccess
|
|
340
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBlueprintOptimizationStatusResponse]
|
|
341
|
+
def status: () -> ("Created" | "InProgress" | "Success" | "ServiceError" | "ClientError")
|
|
342
|
+
def error_type: () -> ::String
|
|
343
|
+
def error_message: () -> ::String
|
|
344
|
+
def output_configuration: () -> Types::BlueprintOptimizationOutputConfiguration
|
|
345
|
+
end
|
|
346
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockDataAutomation/Client.html#get_blueprint_optimization_status-instance_method
|
|
347
|
+
def get_blueprint_optimization_status: (
|
|
348
|
+
invocation_arn: ::String
|
|
349
|
+
) -> _GetBlueprintOptimizationStatusResponseSuccess
|
|
350
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBlueprintOptimizationStatusResponseSuccess
|
|
351
|
+
|
|
327
352
|
interface _GetDataAutomationProjectResponseSuccess
|
|
328
353
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetDataAutomationProjectResponse]
|
|
329
354
|
def project: () -> Types::DataAutomationProject
|
|
@@ -335,6 +360,48 @@ module Aws
|
|
|
335
360
|
) -> _GetDataAutomationProjectResponseSuccess
|
|
336
361
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataAutomationProjectResponseSuccess
|
|
337
362
|
|
|
363
|
+
interface _InvokeBlueprintOptimizationAsyncResponseSuccess
|
|
364
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeBlueprintOptimizationAsyncResponse]
|
|
365
|
+
def invocation_arn: () -> ::String
|
|
366
|
+
end
|
|
367
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockDataAutomation/Client.html#invoke_blueprint_optimization_async-instance_method
|
|
368
|
+
def invoke_blueprint_optimization_async: (
|
|
369
|
+
blueprint: {
|
|
370
|
+
blueprint_arn: ::String,
|
|
371
|
+
stage: ("DEVELOPMENT" | "LIVE")?
|
|
372
|
+
},
|
|
373
|
+
samples: Array[
|
|
374
|
+
{
|
|
375
|
+
asset_s3_object: {
|
|
376
|
+
s3_uri: ::String,
|
|
377
|
+
version: ::String?
|
|
378
|
+
},
|
|
379
|
+
ground_truth_s3_object: {
|
|
380
|
+
s3_uri: ::String,
|
|
381
|
+
version: ::String?
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
],
|
|
385
|
+
output_configuration: {
|
|
386
|
+
s3_object: {
|
|
387
|
+
s3_uri: ::String,
|
|
388
|
+
version: ::String?
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
data_automation_profile_arn: ::String,
|
|
392
|
+
?encryption_configuration: {
|
|
393
|
+
kms_key_id: ::String,
|
|
394
|
+
kms_encryption_context: Hash[::String, ::String]?
|
|
395
|
+
},
|
|
396
|
+
?tags: Array[
|
|
397
|
+
{
|
|
398
|
+
key: ::String,
|
|
399
|
+
value: ::String
|
|
400
|
+
},
|
|
401
|
+
]
|
|
402
|
+
) -> _InvokeBlueprintOptimizationAsyncResponseSuccess
|
|
403
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeBlueprintOptimizationAsyncResponseSuccess
|
|
404
|
+
|
|
338
405
|
interface _ListBlueprintsResponseSuccess
|
|
339
406
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListBlueprintsResponse]
|
|
340
407
|
def blueprints: () -> ::Array[Types::BlueprintSummary]
|
data/sig/types.rbs
CHANGED
|
@@ -67,6 +67,8 @@ module Aws::BedrockDataAutomation
|
|
|
67
67
|
attr_accessor blueprint_stage: ("DEVELOPMENT" | "LIVE")
|
|
68
68
|
attr_accessor kms_key_id: ::String
|
|
69
69
|
attr_accessor kms_encryption_context: ::Hash[::String, ::String]
|
|
70
|
+
attr_accessor optimization_samples: ::Array[Types::BlueprintOptimizationSample]
|
|
71
|
+
attr_accessor optimization_time: ::Time
|
|
70
72
|
SENSITIVE: [:schema, :blueprint_name]
|
|
71
73
|
end
|
|
72
74
|
|
|
@@ -84,6 +86,23 @@ module Aws::BedrockDataAutomation
|
|
|
84
86
|
SENSITIVE: []
|
|
85
87
|
end
|
|
86
88
|
|
|
89
|
+
class BlueprintOptimizationObject
|
|
90
|
+
attr_accessor blueprint_arn: ::String
|
|
91
|
+
attr_accessor stage: ("DEVELOPMENT" | "LIVE")
|
|
92
|
+
SENSITIVE: []
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
class BlueprintOptimizationOutputConfiguration
|
|
96
|
+
attr_accessor s3_object: Types::S3Object
|
|
97
|
+
SENSITIVE: []
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
class BlueprintOptimizationSample
|
|
101
|
+
attr_accessor asset_s3_object: Types::S3Object
|
|
102
|
+
attr_accessor ground_truth_s3_object: Types::S3Object
|
|
103
|
+
SENSITIVE: []
|
|
104
|
+
end
|
|
105
|
+
|
|
87
106
|
class BlueprintSummary
|
|
88
107
|
attr_accessor blueprint_arn: ::String
|
|
89
108
|
attr_accessor blueprint_version: ::String
|
|
@@ -104,6 +123,17 @@ module Aws::BedrockDataAutomation
|
|
|
104
123
|
SENSITIVE: []
|
|
105
124
|
end
|
|
106
125
|
|
|
126
|
+
class CopyBlueprintStageRequest
|
|
127
|
+
attr_accessor blueprint_arn: ::String
|
|
128
|
+
attr_accessor source_stage: ("DEVELOPMENT" | "LIVE")
|
|
129
|
+
attr_accessor target_stage: ("DEVELOPMENT" | "LIVE")
|
|
130
|
+
attr_accessor client_token: ::String
|
|
131
|
+
SENSITIVE: []
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
class CopyBlueprintStageResponse < Aws::EmptyStructure
|
|
135
|
+
end
|
|
136
|
+
|
|
107
137
|
class CreateBlueprintRequest
|
|
108
138
|
attr_accessor blueprint_name: ::String
|
|
109
139
|
attr_accessor type: ("DOCUMENT" | "IMAGE" | "AUDIO" | "VIDEO")
|
|
@@ -266,6 +296,19 @@ module Aws::BedrockDataAutomation
|
|
|
266
296
|
SENSITIVE: []
|
|
267
297
|
end
|
|
268
298
|
|
|
299
|
+
class GetBlueprintOptimizationStatusRequest
|
|
300
|
+
attr_accessor invocation_arn: ::String
|
|
301
|
+
SENSITIVE: []
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
class GetBlueprintOptimizationStatusResponse
|
|
305
|
+
attr_accessor status: ("Created" | "InProgress" | "Success" | "ServiceError" | "ClientError")
|
|
306
|
+
attr_accessor error_type: ::String
|
|
307
|
+
attr_accessor error_message: ::String
|
|
308
|
+
attr_accessor output_configuration: Types::BlueprintOptimizationOutputConfiguration
|
|
309
|
+
SENSITIVE: []
|
|
310
|
+
end
|
|
311
|
+
|
|
269
312
|
class GetBlueprintRequest
|
|
270
313
|
attr_accessor blueprint_arn: ::String
|
|
271
314
|
attr_accessor blueprint_version: ::String
|
|
@@ -329,6 +372,21 @@ module Aws::BedrockDataAutomation
|
|
|
329
372
|
SENSITIVE: []
|
|
330
373
|
end
|
|
331
374
|
|
|
375
|
+
class InvokeBlueprintOptimizationAsyncRequest
|
|
376
|
+
attr_accessor blueprint: Types::BlueprintOptimizationObject
|
|
377
|
+
attr_accessor samples: ::Array[Types::BlueprintOptimizationSample]
|
|
378
|
+
attr_accessor output_configuration: Types::BlueprintOptimizationOutputConfiguration
|
|
379
|
+
attr_accessor data_automation_profile_arn: ::String
|
|
380
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
381
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
382
|
+
SENSITIVE: []
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
class InvokeBlueprintOptimizationAsyncResponse
|
|
386
|
+
attr_accessor invocation_arn: ::String
|
|
387
|
+
SENSITIVE: []
|
|
388
|
+
end
|
|
389
|
+
|
|
332
390
|
class ListBlueprintsRequest
|
|
333
391
|
attr_accessor blueprint_arn: ::String
|
|
334
392
|
attr_accessor resource_owner: ("SERVICE" | "ACCOUNT")
|
|
@@ -403,6 +461,12 @@ module Aws::BedrockDataAutomation
|
|
|
403
461
|
SENSITIVE: []
|
|
404
462
|
end
|
|
405
463
|
|
|
464
|
+
class S3Object
|
|
465
|
+
attr_accessor s3_uri: ::String
|
|
466
|
+
attr_accessor version: ::String
|
|
467
|
+
SENSITIVE: []
|
|
468
|
+
end
|
|
469
|
+
|
|
406
470
|
class SensitiveDataConfiguration
|
|
407
471
|
attr_accessor detection_mode: ("DETECTION" | "DETECTION_AND_REDACTION")
|
|
408
472
|
attr_accessor detection_scope: ::Array[("STANDARD" | "CUSTOM")]
|