aws-sdk-bedrockdataautomation 1.27.0 → 1.28.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 +524 -1
- data/lib/aws-sdk-bedrockdataautomation/client_api.rb +437 -0
- data/lib/aws-sdk-bedrockdataautomation/types.rb +988 -8
- data/lib/aws-sdk-bedrockdataautomation.rb +1 -1
- data/sig/client.rbs +194 -1
- data/sig/types.rbs +301 -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: a77e638bd7b1f3d5da7d7abf2eaef646b46d981ea4b8fbdab900d0e515e1175c
|
|
4
|
+
data.tar.gz: 0c03f0d32e35249cf5b1ad0acc5eb32abd3de4a490b7f964feaefc75ca83e03d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e17ed0df949cb49af49a3dc67a3f5156e79673f2b4c452a831f9c85cad8c52eba2cb58b296b848ba6a4ac9387293c96f7a497530b4cffca9d506ed3ecee2d84
|
|
7
|
+
data.tar.gz: 9b3e9da9a6a5ce81e2feddaa6e60c1bf0e31bea09c948d8f83c4f98697c32a6e0069f33a26fb28258d2f9104365528a6582e52067708553d6372e594b16c6e14
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.28.0 (2026-04-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Data Automation Library is a BDA capability that lets you create reusable entity resources to improve extraction accuracy. Libraries support Custom Vocabulary entities that enhance speech recognition for audio and video content with domain-specific terminology shared across projects
|
|
8
|
+
|
|
4
9
|
1.27.0 (2026-03-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.28.0
|
|
@@ -646,6 +646,65 @@ module Aws::BedrockDataAutomation
|
|
|
646
646
|
req.send_request(options)
|
|
647
647
|
end
|
|
648
648
|
|
|
649
|
+
# Creates an Amazon Bedrock Data Automation Library
|
|
650
|
+
#
|
|
651
|
+
# @option params [required, String] :library_name
|
|
652
|
+
# Name of the DataAutomationLibrary
|
|
653
|
+
#
|
|
654
|
+
# @option params [String] :library_description
|
|
655
|
+
# Description of the DataAutomationLibrary
|
|
656
|
+
#
|
|
657
|
+
# @option params [String] :client_token
|
|
658
|
+
# Client specified token used for idempotency checks
|
|
659
|
+
#
|
|
660
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
661
|
+
# not need to pass this option.**
|
|
662
|
+
#
|
|
663
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
664
|
+
# KMS Encryption Configuration
|
|
665
|
+
#
|
|
666
|
+
# @option params [Array<Types::Tag>] :tags
|
|
667
|
+
# List of tags
|
|
668
|
+
#
|
|
669
|
+
# @return [Types::CreateDataAutomationLibraryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
670
|
+
#
|
|
671
|
+
# * {Types::CreateDataAutomationLibraryResponse#library_arn #library_arn} => String
|
|
672
|
+
# * {Types::CreateDataAutomationLibraryResponse#status #status} => String
|
|
673
|
+
#
|
|
674
|
+
# @example Request syntax with placeholder values
|
|
675
|
+
#
|
|
676
|
+
# resp = client.create_data_automation_library({
|
|
677
|
+
# library_name: "DataAutomationLibraryName", # required
|
|
678
|
+
# library_description: "DataAutomationLibraryDescription",
|
|
679
|
+
# client_token: "ClientToken",
|
|
680
|
+
# encryption_configuration: {
|
|
681
|
+
# kms_key_id: "KmsKeyId", # required
|
|
682
|
+
# kms_encryption_context: {
|
|
683
|
+
# "EncryptionContextKey" => "EncryptionContextValue",
|
|
684
|
+
# },
|
|
685
|
+
# },
|
|
686
|
+
# tags: [
|
|
687
|
+
# {
|
|
688
|
+
# key: "TagKey", # required
|
|
689
|
+
# value: "TagValue", # required
|
|
690
|
+
# },
|
|
691
|
+
# ],
|
|
692
|
+
# })
|
|
693
|
+
#
|
|
694
|
+
# @example Response structure
|
|
695
|
+
#
|
|
696
|
+
# resp.library_arn #=> String
|
|
697
|
+
# resp.status #=> String, one of "ACTIVE", "DELETING"
|
|
698
|
+
#
|
|
699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/CreateDataAutomationLibrary AWS API Documentation
|
|
700
|
+
#
|
|
701
|
+
# @overload create_data_automation_library(params = {})
|
|
702
|
+
# @param [Hash] params ({})
|
|
703
|
+
def create_data_automation_library(params = {}, options = {})
|
|
704
|
+
req = build_request(:create_data_automation_library, params)
|
|
705
|
+
req.send_request(options)
|
|
706
|
+
end
|
|
707
|
+
|
|
649
708
|
# Creates an Amazon Bedrock Data Automation Project
|
|
650
709
|
#
|
|
651
710
|
# @option params [required, String] :project_name
|
|
@@ -669,6 +728,9 @@ module Aws::BedrockDataAutomation
|
|
|
669
728
|
# @option params [Types::OverrideConfiguration] :override_configuration
|
|
670
729
|
# Override configuration
|
|
671
730
|
#
|
|
731
|
+
# @option params [Types::DataAutomationLibraryConfiguration] :data_automation_library_configuration
|
|
732
|
+
# DataAutomation Library configuration
|
|
733
|
+
#
|
|
672
734
|
# @option params [String] :client_token
|
|
673
735
|
# Client specified token used for idempotency checks
|
|
674
736
|
#
|
|
@@ -846,6 +908,13 @@ module Aws::BedrockDataAutomation
|
|
|
846
908
|
# mov: "IMAGE", # accepts IMAGE, DOCUMENT, AUDIO, VIDEO
|
|
847
909
|
# },
|
|
848
910
|
# },
|
|
911
|
+
# data_automation_library_configuration: {
|
|
912
|
+
# libraries: [
|
|
913
|
+
# {
|
|
914
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
915
|
+
# },
|
|
916
|
+
# ],
|
|
917
|
+
# },
|
|
849
918
|
# client_token: "ClientToken",
|
|
850
919
|
# encryption_configuration: {
|
|
851
920
|
# kms_key_id: "KmsKeyId", # required
|
|
@@ -902,6 +971,37 @@ module Aws::BedrockDataAutomation
|
|
|
902
971
|
req.send_request(options)
|
|
903
972
|
end
|
|
904
973
|
|
|
974
|
+
# Deletes an existing Amazon Bedrock Data Automation Library
|
|
975
|
+
#
|
|
976
|
+
# @option params [required, String] :library_arn
|
|
977
|
+
# ARN generated at the server side when a DataAutomationLibrary is
|
|
978
|
+
# created
|
|
979
|
+
#
|
|
980
|
+
# @return [Types::DeleteDataAutomationLibraryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
981
|
+
#
|
|
982
|
+
# * {Types::DeleteDataAutomationLibraryResponse#library_arn #library_arn} => String
|
|
983
|
+
# * {Types::DeleteDataAutomationLibraryResponse#status #status} => String
|
|
984
|
+
#
|
|
985
|
+
# @example Request syntax with placeholder values
|
|
986
|
+
#
|
|
987
|
+
# resp = client.delete_data_automation_library({
|
|
988
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
989
|
+
# })
|
|
990
|
+
#
|
|
991
|
+
# @example Response structure
|
|
992
|
+
#
|
|
993
|
+
# resp.library_arn #=> String
|
|
994
|
+
# resp.status #=> String, one of "ACTIVE", "DELETING"
|
|
995
|
+
#
|
|
996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/DeleteDataAutomationLibrary AWS API Documentation
|
|
997
|
+
#
|
|
998
|
+
# @overload delete_data_automation_library(params = {})
|
|
999
|
+
# @param [Hash] params ({})
|
|
1000
|
+
def delete_data_automation_library(params = {}, options = {})
|
|
1001
|
+
req = build_request(:delete_data_automation_library, params)
|
|
1002
|
+
req.send_request(options)
|
|
1003
|
+
end
|
|
1004
|
+
|
|
905
1005
|
# Deletes an existing Amazon Bedrock Data Automation Project
|
|
906
1006
|
#
|
|
907
1007
|
# @option params [required, String] :project_arn
|
|
@@ -1020,6 +1120,129 @@ module Aws::BedrockDataAutomation
|
|
|
1020
1120
|
req.send_request(options)
|
|
1021
1121
|
end
|
|
1022
1122
|
|
|
1123
|
+
# Gets an existing Amazon Bedrock Data Automation Library
|
|
1124
|
+
#
|
|
1125
|
+
# @option params [required, String] :library_arn
|
|
1126
|
+
# ARN generated at the server side when a DataAutomationLibrary is
|
|
1127
|
+
# created
|
|
1128
|
+
#
|
|
1129
|
+
# @return [Types::GetDataAutomationLibraryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1130
|
+
#
|
|
1131
|
+
# * {Types::GetDataAutomationLibraryResponse#library #library} => Types::DataAutomationLibrary
|
|
1132
|
+
#
|
|
1133
|
+
# @example Request syntax with placeholder values
|
|
1134
|
+
#
|
|
1135
|
+
# resp = client.get_data_automation_library({
|
|
1136
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
1137
|
+
# })
|
|
1138
|
+
#
|
|
1139
|
+
# @example Response structure
|
|
1140
|
+
#
|
|
1141
|
+
# resp.library.library_arn #=> String
|
|
1142
|
+
# resp.library.creation_time #=> Time
|
|
1143
|
+
# resp.library.library_name #=> String
|
|
1144
|
+
# resp.library.library_description #=> String
|
|
1145
|
+
# resp.library.status #=> String, one of "ACTIVE", "DELETING"
|
|
1146
|
+
# resp.library.entity_types #=> Array
|
|
1147
|
+
# resp.library.entity_types[0].entity_type #=> String, one of "VOCABULARY"
|
|
1148
|
+
# resp.library.entity_types[0].entity_metadata #=> String
|
|
1149
|
+
# resp.library.kms_key_id #=> String
|
|
1150
|
+
# resp.library.kms_encryption_context #=> Hash
|
|
1151
|
+
# resp.library.kms_encryption_context["EncryptionContextKey"] #=> String
|
|
1152
|
+
#
|
|
1153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/GetDataAutomationLibrary AWS API Documentation
|
|
1154
|
+
#
|
|
1155
|
+
# @overload get_data_automation_library(params = {})
|
|
1156
|
+
# @param [Hash] params ({})
|
|
1157
|
+
def get_data_automation_library(params = {}, options = {})
|
|
1158
|
+
req = build_request(:get_data_automation_library, params)
|
|
1159
|
+
req.send_request(options)
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
# Gets an existing entity based on entity type from the library
|
|
1163
|
+
#
|
|
1164
|
+
# @option params [required, String] :library_arn
|
|
1165
|
+
# ARN generated at the server side when a DataAutomationLibrary is
|
|
1166
|
+
# created
|
|
1167
|
+
#
|
|
1168
|
+
# @option params [required, String] :entity_type
|
|
1169
|
+
# The entity type for which the entity is requested
|
|
1170
|
+
#
|
|
1171
|
+
# @option params [required, String] :entity_id
|
|
1172
|
+
# Unique identifier for the entity
|
|
1173
|
+
#
|
|
1174
|
+
# @return [Types::GetDataAutomationLibraryEntityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1175
|
+
#
|
|
1176
|
+
# * {Types::GetDataAutomationLibraryEntityResponse#entity #entity} => Types::EntityDetails
|
|
1177
|
+
#
|
|
1178
|
+
# @example Request syntax with placeholder values
|
|
1179
|
+
#
|
|
1180
|
+
# resp = client.get_data_automation_library_entity({
|
|
1181
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
1182
|
+
# entity_type: "VOCABULARY", # required, accepts VOCABULARY
|
|
1183
|
+
# entity_id: "EntityId", # required
|
|
1184
|
+
# })
|
|
1185
|
+
#
|
|
1186
|
+
# @example Response structure
|
|
1187
|
+
#
|
|
1188
|
+
# resp.entity.vocabulary.entity_id #=> String
|
|
1189
|
+
# resp.entity.vocabulary.description #=> String
|
|
1190
|
+
# resp.entity.vocabulary.language #=> String, one of "EN", "DE", "ES", "FR", "IT", "PT", "JA", "KO", "CN", "TW", "HK"
|
|
1191
|
+
# resp.entity.vocabulary.phrases #=> Array
|
|
1192
|
+
# resp.entity.vocabulary.phrases[0].text #=> String
|
|
1193
|
+
# resp.entity.vocabulary.phrases[0].display_as_text #=> String
|
|
1194
|
+
# resp.entity.vocabulary.last_modified_time #=> Time
|
|
1195
|
+
#
|
|
1196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/GetDataAutomationLibraryEntity AWS API Documentation
|
|
1197
|
+
#
|
|
1198
|
+
# @overload get_data_automation_library_entity(params = {})
|
|
1199
|
+
# @param [Hash] params ({})
|
|
1200
|
+
def get_data_automation_library_entity(params = {}, options = {})
|
|
1201
|
+
req = build_request(:get_data_automation_library_entity, params)
|
|
1202
|
+
req.send_request(options)
|
|
1203
|
+
end
|
|
1204
|
+
|
|
1205
|
+
# API used to get status of data automation library ingestion job
|
|
1206
|
+
#
|
|
1207
|
+
# @option params [required, String] :library_arn
|
|
1208
|
+
# ARN generated at the server side when a DataAutomationLibrary is
|
|
1209
|
+
# created
|
|
1210
|
+
#
|
|
1211
|
+
# @option params [required, String] :job_arn
|
|
1212
|
+
# ARN of the DataAutomationLibraryIngestionJob
|
|
1213
|
+
#
|
|
1214
|
+
# @return [Types::GetDataAutomationLibraryIngestionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1215
|
+
#
|
|
1216
|
+
# * {Types::GetDataAutomationLibraryIngestionJobResponse#job #job} => Types::DataAutomationLibraryIngestionJob
|
|
1217
|
+
#
|
|
1218
|
+
# @example Request syntax with placeholder values
|
|
1219
|
+
#
|
|
1220
|
+
# resp = client.get_data_automation_library_ingestion_job({
|
|
1221
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
1222
|
+
# job_arn: "DataAutomationLibraryIngestionJobArn", # required
|
|
1223
|
+
# })
|
|
1224
|
+
#
|
|
1225
|
+
# @example Response structure
|
|
1226
|
+
#
|
|
1227
|
+
# resp.job.job_arn #=> String
|
|
1228
|
+
# resp.job.creation_time #=> Time
|
|
1229
|
+
# resp.job.entity_type #=> String, one of "VOCABULARY"
|
|
1230
|
+
# resp.job.operation_type #=> String, one of "UPSERT", "DELETE"
|
|
1231
|
+
# resp.job.job_status #=> String, one of "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "FAILED"
|
|
1232
|
+
# resp.job.output_configuration.s3_uri #=> String
|
|
1233
|
+
# resp.job.completion_time #=> Time
|
|
1234
|
+
# resp.job.error_message #=> String
|
|
1235
|
+
# resp.job.error_type #=> String
|
|
1236
|
+
#
|
|
1237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/GetDataAutomationLibraryIngestionJob AWS API Documentation
|
|
1238
|
+
#
|
|
1239
|
+
# @overload get_data_automation_library_ingestion_job(params = {})
|
|
1240
|
+
# @param [Hash] params ({})
|
|
1241
|
+
def get_data_automation_library_ingestion_job(params = {}, options = {})
|
|
1242
|
+
req = build_request(:get_data_automation_library_ingestion_job, params)
|
|
1243
|
+
req.send_request(options)
|
|
1244
|
+
end
|
|
1245
|
+
|
|
1023
1246
|
# Gets an existing Amazon Bedrock Data Automation Project
|
|
1024
1247
|
#
|
|
1025
1248
|
# @option params [required, String] :project_arn
|
|
@@ -1119,6 +1342,8 @@ module Aws::BedrockDataAutomation
|
|
|
1119
1342
|
# resp.project.override_configuration.modality_routing.png #=> String, one of "IMAGE", "DOCUMENT", "AUDIO", "VIDEO"
|
|
1120
1343
|
# resp.project.override_configuration.modality_routing.mp4 #=> String, one of "IMAGE", "DOCUMENT", "AUDIO", "VIDEO"
|
|
1121
1344
|
# resp.project.override_configuration.modality_routing.mov #=> String, one of "IMAGE", "DOCUMENT", "AUDIO", "VIDEO"
|
|
1345
|
+
# resp.project.data_automation_library_configuration.libraries #=> Array
|
|
1346
|
+
# resp.project.data_automation_library_configuration.libraries[0].library_arn #=> String
|
|
1122
1347
|
# resp.project.status #=> String, one of "COMPLETED", "IN_PROGRESS", "FAILED"
|
|
1123
1348
|
# resp.project.kms_key_id #=> String
|
|
1124
1349
|
# resp.project.kms_encryption_context #=> Hash
|
|
@@ -1210,6 +1435,103 @@ module Aws::BedrockDataAutomation
|
|
|
1210
1435
|
req.send_request(options)
|
|
1211
1436
|
end
|
|
1212
1437
|
|
|
1438
|
+
# Async API: Invoke data automation library ingestion job
|
|
1439
|
+
#
|
|
1440
|
+
# @option params [required, String] :library_arn
|
|
1441
|
+
# ARN generated at the server side when a DataAutomationLibrary is
|
|
1442
|
+
# created
|
|
1443
|
+
#
|
|
1444
|
+
# @option params [String] :client_token
|
|
1445
|
+
# Idempotency token
|
|
1446
|
+
#
|
|
1447
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1448
|
+
# not need to pass this option.**
|
|
1449
|
+
#
|
|
1450
|
+
# @option params [required, Types::InputConfiguration] :input_configuration
|
|
1451
|
+
# Input configuration of DataAutomationLibraryIngestionJob request
|
|
1452
|
+
#
|
|
1453
|
+
# @option params [required, String] :entity_type
|
|
1454
|
+
# The entity type for which DataAutomationLibraryIngestionJob is being
|
|
1455
|
+
# run
|
|
1456
|
+
#
|
|
1457
|
+
# @option params [required, String] :operation_type
|
|
1458
|
+
# The operation to be performed by DataAutomationLibraryIngestionJob
|
|
1459
|
+
#
|
|
1460
|
+
# @option params [required, Types::OutputConfiguration] :output_configuration
|
|
1461
|
+
# Output configuration of DataAutomationLibraryIngestionJob
|
|
1462
|
+
#
|
|
1463
|
+
# @option params [Types::NotificationConfiguration] :notification_configuration
|
|
1464
|
+
# Notification configuration.
|
|
1465
|
+
#
|
|
1466
|
+
# @option params [Array<Types::Tag>] :tags
|
|
1467
|
+
# List of tags
|
|
1468
|
+
#
|
|
1469
|
+
# @return [Types::InvokeDataAutomationLibraryIngestionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1470
|
+
#
|
|
1471
|
+
# * {Types::InvokeDataAutomationLibraryIngestionJobResponse#job_arn #job_arn} => String
|
|
1472
|
+
#
|
|
1473
|
+
# @example Request syntax with placeholder values
|
|
1474
|
+
#
|
|
1475
|
+
# resp = client.invoke_data_automation_library_ingestion_job({
|
|
1476
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
1477
|
+
# client_token: "ClientToken",
|
|
1478
|
+
# input_configuration: { # required
|
|
1479
|
+
# s3_object: {
|
|
1480
|
+
# s3_uri: "S3Uri", # required
|
|
1481
|
+
# version: "S3ObjectVersion",
|
|
1482
|
+
# },
|
|
1483
|
+
# inline_payload: {
|
|
1484
|
+
# upsert_entities_info: [
|
|
1485
|
+
# {
|
|
1486
|
+
# vocabulary: {
|
|
1487
|
+
# entity_id: "EntityId",
|
|
1488
|
+
# description: "EntityDescription",
|
|
1489
|
+
# language: "EN", # required, accepts EN, DE, ES, FR, IT, PT, JA, KO, CN, TW, HK
|
|
1490
|
+
# phrases: [ # required
|
|
1491
|
+
# {
|
|
1492
|
+
# text: "PhraseText", # required
|
|
1493
|
+
# display_as_text: "PhraseDisplayAsText",
|
|
1494
|
+
# },
|
|
1495
|
+
# ],
|
|
1496
|
+
# },
|
|
1497
|
+
# },
|
|
1498
|
+
# ],
|
|
1499
|
+
# delete_entities_info: {
|
|
1500
|
+
# entity_ids: ["EntityId"], # required
|
|
1501
|
+
# },
|
|
1502
|
+
# },
|
|
1503
|
+
# },
|
|
1504
|
+
# entity_type: "VOCABULARY", # required, accepts VOCABULARY
|
|
1505
|
+
# operation_type: "UPSERT", # required, accepts UPSERT, DELETE
|
|
1506
|
+
# output_configuration: { # required
|
|
1507
|
+
# s3_uri: "S3Uri", # required
|
|
1508
|
+
# },
|
|
1509
|
+
# notification_configuration: {
|
|
1510
|
+
# event_bridge_configuration: { # required
|
|
1511
|
+
# event_bridge_enabled: false, # required
|
|
1512
|
+
# },
|
|
1513
|
+
# },
|
|
1514
|
+
# tags: [
|
|
1515
|
+
# {
|
|
1516
|
+
# key: "TagKey", # required
|
|
1517
|
+
# value: "TagValue", # required
|
|
1518
|
+
# },
|
|
1519
|
+
# ],
|
|
1520
|
+
# })
|
|
1521
|
+
#
|
|
1522
|
+
# @example Response structure
|
|
1523
|
+
#
|
|
1524
|
+
# resp.job_arn #=> String
|
|
1525
|
+
#
|
|
1526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/InvokeDataAutomationLibraryIngestionJob AWS API Documentation
|
|
1527
|
+
#
|
|
1528
|
+
# @overload invoke_data_automation_library_ingestion_job(params = {})
|
|
1529
|
+
# @param [Hash] params ({})
|
|
1530
|
+
def invoke_data_automation_library_ingestion_job(params = {}, options = {})
|
|
1531
|
+
req = build_request(:invoke_data_automation_library_ingestion_job, params)
|
|
1532
|
+
req.send_request(options)
|
|
1533
|
+
end
|
|
1534
|
+
|
|
1213
1535
|
# Lists all existing Amazon Bedrock Data Automation Blueprints
|
|
1214
1536
|
#
|
|
1215
1537
|
# @option params [String] :blueprint_arn
|
|
@@ -1271,6 +1593,149 @@ module Aws::BedrockDataAutomation
|
|
|
1271
1593
|
req.send_request(options)
|
|
1272
1594
|
end
|
|
1273
1595
|
|
|
1596
|
+
# Lists all existing Amazon Bedrock Data Automation Libraries
|
|
1597
|
+
#
|
|
1598
|
+
# @option params [Integer] :max_results
|
|
1599
|
+
# Max Results
|
|
1600
|
+
#
|
|
1601
|
+
# @option params [String] :next_token
|
|
1602
|
+
# Pagination token
|
|
1603
|
+
#
|
|
1604
|
+
# @option params [Types::DataAutomationProjectFilter] :project_filter
|
|
1605
|
+
# Data Automation Project Filter
|
|
1606
|
+
#
|
|
1607
|
+
# @return [Types::ListDataAutomationLibrariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1608
|
+
#
|
|
1609
|
+
# * {Types::ListDataAutomationLibrariesResponse#libraries #libraries} => Array<Types::DataAutomationLibrarySummary>
|
|
1610
|
+
# * {Types::ListDataAutomationLibrariesResponse#next_token #next_token} => String
|
|
1611
|
+
#
|
|
1612
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1613
|
+
#
|
|
1614
|
+
# @example Request syntax with placeholder values
|
|
1615
|
+
#
|
|
1616
|
+
# resp = client.list_data_automation_libraries({
|
|
1617
|
+
# max_results: 1,
|
|
1618
|
+
# next_token: "NextToken",
|
|
1619
|
+
# project_filter: {
|
|
1620
|
+
# project_arn: "DataAutomationProjectArn", # required
|
|
1621
|
+
# project_stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
|
|
1622
|
+
# },
|
|
1623
|
+
# })
|
|
1624
|
+
#
|
|
1625
|
+
# @example Response structure
|
|
1626
|
+
#
|
|
1627
|
+
# resp.libraries #=> Array
|
|
1628
|
+
# resp.libraries[0].library_arn #=> String
|
|
1629
|
+
# resp.libraries[0].library_name #=> String
|
|
1630
|
+
# resp.libraries[0].creation_time #=> Time
|
|
1631
|
+
# resp.next_token #=> String
|
|
1632
|
+
#
|
|
1633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/ListDataAutomationLibraries AWS API Documentation
|
|
1634
|
+
#
|
|
1635
|
+
# @overload list_data_automation_libraries(params = {})
|
|
1636
|
+
# @param [Hash] params ({})
|
|
1637
|
+
def list_data_automation_libraries(params = {}, options = {})
|
|
1638
|
+
req = build_request(:list_data_automation_libraries, params)
|
|
1639
|
+
req.send_request(options)
|
|
1640
|
+
end
|
|
1641
|
+
|
|
1642
|
+
# Lists all stored entities in the library
|
|
1643
|
+
#
|
|
1644
|
+
# @option params [required, String] :library_arn
|
|
1645
|
+
# ARN generated at the server side when a DataAutomationLibrary is
|
|
1646
|
+
# created
|
|
1647
|
+
#
|
|
1648
|
+
# @option params [required, String] :entity_type
|
|
1649
|
+
# The entity type for which the entity list is requested
|
|
1650
|
+
#
|
|
1651
|
+
# @option params [Integer] :max_results
|
|
1652
|
+
# Max Results
|
|
1653
|
+
#
|
|
1654
|
+
# @option params [String] :next_token
|
|
1655
|
+
# Pagination token for retrieving the next set of results
|
|
1656
|
+
#
|
|
1657
|
+
# @return [Types::ListDataAutomationLibraryEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1658
|
+
#
|
|
1659
|
+
# * {Types::ListDataAutomationLibraryEntitiesResponse#entities #entities} => Array<Types::DataAutomationLibraryEntitySummary>
|
|
1660
|
+
# * {Types::ListDataAutomationLibraryEntitiesResponse#next_token #next_token} => String
|
|
1661
|
+
#
|
|
1662
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1663
|
+
#
|
|
1664
|
+
# @example Request syntax with placeholder values
|
|
1665
|
+
#
|
|
1666
|
+
# resp = client.list_data_automation_library_entities({
|
|
1667
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
1668
|
+
# entity_type: "VOCABULARY", # required, accepts VOCABULARY
|
|
1669
|
+
# max_results: 1,
|
|
1670
|
+
# next_token: "NextToken",
|
|
1671
|
+
# })
|
|
1672
|
+
#
|
|
1673
|
+
# @example Response structure
|
|
1674
|
+
#
|
|
1675
|
+
# resp.entities #=> Array
|
|
1676
|
+
# resp.entities[0].vocabulary.entity_id #=> String
|
|
1677
|
+
# resp.entities[0].vocabulary.description #=> String
|
|
1678
|
+
# resp.entities[0].vocabulary.language #=> String, one of "EN", "DE", "ES", "FR", "IT", "PT", "JA", "KO", "CN", "TW", "HK"
|
|
1679
|
+
# resp.entities[0].vocabulary.num_of_phrases #=> Integer
|
|
1680
|
+
# resp.entities[0].vocabulary.last_modified_time #=> Time
|
|
1681
|
+
# resp.next_token #=> String
|
|
1682
|
+
#
|
|
1683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/ListDataAutomationLibraryEntities AWS API Documentation
|
|
1684
|
+
#
|
|
1685
|
+
# @overload list_data_automation_library_entities(params = {})
|
|
1686
|
+
# @param [Hash] params ({})
|
|
1687
|
+
def list_data_automation_library_entities(params = {}, options = {})
|
|
1688
|
+
req = build_request(:list_data_automation_library_entities, params)
|
|
1689
|
+
req.send_request(options)
|
|
1690
|
+
end
|
|
1691
|
+
|
|
1692
|
+
# Lists all data automation library ingestion jobs
|
|
1693
|
+
#
|
|
1694
|
+
# @option params [required, String] :library_arn
|
|
1695
|
+
# ARN generated at the server side when a DataAutomationLibrary is
|
|
1696
|
+
# created
|
|
1697
|
+
#
|
|
1698
|
+
# @option params [Integer] :max_results
|
|
1699
|
+
# Max Results
|
|
1700
|
+
#
|
|
1701
|
+
# @option params [String] :next_token
|
|
1702
|
+
# Pagination token for retrieving the next set of results
|
|
1703
|
+
#
|
|
1704
|
+
# @return [Types::ListDataAutomationLibraryIngestionJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1705
|
+
#
|
|
1706
|
+
# * {Types::ListDataAutomationLibraryIngestionJobsResponse#jobs #jobs} => Array<Types::DataAutomationLibraryIngestionJobSummary>
|
|
1707
|
+
# * {Types::ListDataAutomationLibraryIngestionJobsResponse#next_token #next_token} => String
|
|
1708
|
+
#
|
|
1709
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1710
|
+
#
|
|
1711
|
+
# @example Request syntax with placeholder values
|
|
1712
|
+
#
|
|
1713
|
+
# resp = client.list_data_automation_library_ingestion_jobs({
|
|
1714
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
1715
|
+
# max_results: 1,
|
|
1716
|
+
# next_token: "NextToken",
|
|
1717
|
+
# })
|
|
1718
|
+
#
|
|
1719
|
+
# @example Response structure
|
|
1720
|
+
#
|
|
1721
|
+
# resp.jobs #=> Array
|
|
1722
|
+
# resp.jobs[0].job_arn #=> String
|
|
1723
|
+
# resp.jobs[0].job_status #=> String, one of "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "FAILED"
|
|
1724
|
+
# resp.jobs[0].entity_type #=> String, one of "VOCABULARY"
|
|
1725
|
+
# resp.jobs[0].operation_type #=> String, one of "UPSERT", "DELETE"
|
|
1726
|
+
# resp.jobs[0].creation_time #=> Time
|
|
1727
|
+
# resp.jobs[0].completion_time #=> Time
|
|
1728
|
+
# resp.next_token #=> String
|
|
1729
|
+
#
|
|
1730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/ListDataAutomationLibraryIngestionJobs AWS API Documentation
|
|
1731
|
+
#
|
|
1732
|
+
# @overload list_data_automation_library_ingestion_jobs(params = {})
|
|
1733
|
+
# @param [Hash] params ({})
|
|
1734
|
+
def list_data_automation_library_ingestion_jobs(params = {}, options = {})
|
|
1735
|
+
req = build_request(:list_data_automation_library_ingestion_jobs, params)
|
|
1736
|
+
req.send_request(options)
|
|
1737
|
+
end
|
|
1738
|
+
|
|
1274
1739
|
# Lists all existing Amazon Bedrock Data Automation Projects
|
|
1275
1740
|
#
|
|
1276
1741
|
# @option params [Integer] :max_results
|
|
@@ -1288,6 +1753,9 @@ module Aws::BedrockDataAutomation
|
|
|
1288
1753
|
# @option params [String] :resource_owner
|
|
1289
1754
|
# Resource Owner
|
|
1290
1755
|
#
|
|
1756
|
+
# @option params [Types::DataAutomationLibraryFilter] :library_filter
|
|
1757
|
+
# Data Automation Library Filter
|
|
1758
|
+
#
|
|
1291
1759
|
# @return [Types::ListDataAutomationProjectsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1292
1760
|
#
|
|
1293
1761
|
# * {Types::ListDataAutomationProjectsResponse#projects #projects} => Array<Types::DataAutomationProjectSummary>
|
|
@@ -1307,6 +1775,9 @@ module Aws::BedrockDataAutomation
|
|
|
1307
1775
|
# blueprint_stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
|
|
1308
1776
|
# },
|
|
1309
1777
|
# resource_owner: "SERVICE", # accepts SERVICE, ACCOUNT
|
|
1778
|
+
# library_filter: {
|
|
1779
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
1780
|
+
# },
|
|
1310
1781
|
# })
|
|
1311
1782
|
#
|
|
1312
1783
|
# @example Response structure
|
|
@@ -1476,6 +1947,48 @@ module Aws::BedrockDataAutomation
|
|
|
1476
1947
|
req.send_request(options)
|
|
1477
1948
|
end
|
|
1478
1949
|
|
|
1950
|
+
# Updates an existing Amazon Bedrock Data Automation Library
|
|
1951
|
+
#
|
|
1952
|
+
# @option params [required, String] :library_arn
|
|
1953
|
+
# ARN generated at the server side when a DataAutomationLibrary is
|
|
1954
|
+
# created
|
|
1955
|
+
#
|
|
1956
|
+
# @option params [String] :library_description
|
|
1957
|
+
# Description of the DataAutomationLibrary
|
|
1958
|
+
#
|
|
1959
|
+
# @option params [String] :client_token
|
|
1960
|
+
# Client specified token used for idempotency checks
|
|
1961
|
+
#
|
|
1962
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1963
|
+
# not need to pass this option.**
|
|
1964
|
+
#
|
|
1965
|
+
# @return [Types::UpdateDataAutomationLibraryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1966
|
+
#
|
|
1967
|
+
# * {Types::UpdateDataAutomationLibraryResponse#library_arn #library_arn} => String
|
|
1968
|
+
# * {Types::UpdateDataAutomationLibraryResponse#status #status} => String
|
|
1969
|
+
#
|
|
1970
|
+
# @example Request syntax with placeholder values
|
|
1971
|
+
#
|
|
1972
|
+
# resp = client.update_data_automation_library({
|
|
1973
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
1974
|
+
# library_description: "DataAutomationLibraryDescription",
|
|
1975
|
+
# client_token: "ClientToken",
|
|
1976
|
+
# })
|
|
1977
|
+
#
|
|
1978
|
+
# @example Response structure
|
|
1979
|
+
#
|
|
1980
|
+
# resp.library_arn #=> String
|
|
1981
|
+
# resp.status #=> String, one of "ACTIVE", "DELETING"
|
|
1982
|
+
#
|
|
1983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-2023-07-26/UpdateDataAutomationLibrary AWS API Documentation
|
|
1984
|
+
#
|
|
1985
|
+
# @overload update_data_automation_library(params = {})
|
|
1986
|
+
# @param [Hash] params ({})
|
|
1987
|
+
def update_data_automation_library(params = {}, options = {})
|
|
1988
|
+
req = build_request(:update_data_automation_library, params)
|
|
1989
|
+
req.send_request(options)
|
|
1990
|
+
end
|
|
1991
|
+
|
|
1479
1992
|
# Updates an existing Amazon Bedrock Data Automation Project
|
|
1480
1993
|
#
|
|
1481
1994
|
# @option params [required, String] :project_arn
|
|
@@ -1497,6 +2010,9 @@ module Aws::BedrockDataAutomation
|
|
|
1497
2010
|
# @option params [Types::OverrideConfiguration] :override_configuration
|
|
1498
2011
|
# Override configuration
|
|
1499
2012
|
#
|
|
2013
|
+
# @option params [Types::DataAutomationLibraryConfiguration] :data_automation_library_configuration
|
|
2014
|
+
# DataAutomation Library configuration
|
|
2015
|
+
#
|
|
1500
2016
|
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
1501
2017
|
# KMS Encryption Configuration
|
|
1502
2018
|
#
|
|
@@ -1664,6 +2180,13 @@ module Aws::BedrockDataAutomation
|
|
|
1664
2180
|
# mov: "IMAGE", # accepts IMAGE, DOCUMENT, AUDIO, VIDEO
|
|
1665
2181
|
# },
|
|
1666
2182
|
# },
|
|
2183
|
+
# data_automation_library_configuration: {
|
|
2184
|
+
# libraries: [
|
|
2185
|
+
# {
|
|
2186
|
+
# library_arn: "DataAutomationLibraryArn", # required
|
|
2187
|
+
# },
|
|
2188
|
+
# ],
|
|
2189
|
+
# },
|
|
1667
2190
|
# encryption_configuration: {
|
|
1668
2191
|
# kms_key_id: "KmsKeyId", # required
|
|
1669
2192
|
# kms_encryption_context: {
|
|
@@ -1705,7 +2228,7 @@ module Aws::BedrockDataAutomation
|
|
|
1705
2228
|
tracer: tracer
|
|
1706
2229
|
)
|
|
1707
2230
|
context[:gem_name] = 'aws-sdk-bedrockdataautomation'
|
|
1708
|
-
context[:gem_version] = '1.
|
|
2231
|
+
context[:gem_version] = '1.28.0'
|
|
1709
2232
|
Seahorse::Client::Request.new(handlers, context)
|
|
1710
2233
|
end
|
|
1711
2234
|
|