aws-sdk-bedrockagent 1.86.0 → 1.87.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-bedrockagent/client.rb +403 -1
- data/lib/aws-sdk-bedrockagent/client_api.rb +260 -0
- data/lib/aws-sdk-bedrockagent/types.rb +615 -0
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +127 -0
- data/sig/errors.rbs +7 -7
- data/sig/types.rbs +150 -0
- metadata +3 -3
|
@@ -130,6 +130,10 @@ module Aws::BedrockAgent
|
|
|
130
130
|
CreatePromptResponse = Shapes::StructureShape.new(name: 'CreatePromptResponse')
|
|
131
131
|
CreatePromptVersionRequest = Shapes::StructureShape.new(name: 'CreatePromptVersionRequest')
|
|
132
132
|
CreatePromptVersionResponse = Shapes::StructureShape.new(name: 'CreatePromptVersionResponse')
|
|
133
|
+
CreateRetrievalInstructionRequest = Shapes::StructureShape.new(name: 'CreateRetrievalInstructionRequest')
|
|
134
|
+
CreateRetrievalInstructionResponse = Shapes::StructureShape.new(name: 'CreateRetrievalInstructionResponse')
|
|
135
|
+
CreateRetrievalInstructionVersionRequest = Shapes::StructureShape.new(name: 'CreateRetrievalInstructionVersionRequest')
|
|
136
|
+
CreateRetrievalInstructionVersionResponse = Shapes::StructureShape.new(name: 'CreateRetrievalInstructionVersionResponse')
|
|
133
137
|
CreateVpcConfigurationRequest = Shapes::StructureShape.new(name: 'CreateVpcConfigurationRequest')
|
|
134
138
|
CreateVpcConfigurationResponse = Shapes::StructureShape.new(name: 'CreateVpcConfigurationResponse')
|
|
135
139
|
CreationMode = Shapes::StringShape.new(name: 'CreationMode')
|
|
@@ -181,6 +185,8 @@ module Aws::BedrockAgent
|
|
|
181
185
|
DeletePromptResponse = Shapes::StructureShape.new(name: 'DeletePromptResponse')
|
|
182
186
|
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
|
183
187
|
DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
|
|
188
|
+
DeleteRetrievalInstructionRequest = Shapes::StructureShape.new(name: 'DeleteRetrievalInstructionRequest')
|
|
189
|
+
DeleteRetrievalInstructionResponse = Shapes::StructureShape.new(name: 'DeleteRetrievalInstructionResponse')
|
|
184
190
|
DeleteVpcConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteVpcConfigurationRequest')
|
|
185
191
|
DeleteVpcConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteVpcConfigurationResponse')
|
|
186
192
|
DeletionProtectionConfiguration = Shapes::StructureShape.new(name: 'DeletionProtectionConfiguration')
|
|
@@ -318,6 +324,8 @@ module Aws::BedrockAgent
|
|
|
318
324
|
GetPromptResponse = Shapes::StructureShape.new(name: 'GetPromptResponse')
|
|
319
325
|
GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
|
|
320
326
|
GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
|
|
327
|
+
GetRetrievalInstructionRequest = Shapes::StructureShape.new(name: 'GetRetrievalInstructionRequest')
|
|
328
|
+
GetRetrievalInstructionResponse = Shapes::StructureShape.new(name: 'GetRetrievalInstructionResponse')
|
|
321
329
|
GetVpcConfigurationRequest = Shapes::StructureShape.new(name: 'GetVpcConfigurationRequest')
|
|
322
330
|
GetVpcConfigurationResponse = Shapes::StructureShape.new(name: 'GetVpcConfigurationResponse')
|
|
323
331
|
GraphArn = Shapes::StringShape.new(name: 'GraphArn')
|
|
@@ -421,6 +429,10 @@ module Aws::BedrockAgent
|
|
|
421
429
|
ListKnowledgeBasesResponse = Shapes::StructureShape.new(name: 'ListKnowledgeBasesResponse')
|
|
422
430
|
ListPromptsRequest = Shapes::StructureShape.new(name: 'ListPromptsRequest')
|
|
423
431
|
ListPromptsResponse = Shapes::StructureShape.new(name: 'ListPromptsResponse')
|
|
432
|
+
ListRetrievalInstructionVersionsRequest = Shapes::StructureShape.new(name: 'ListRetrievalInstructionVersionsRequest')
|
|
433
|
+
ListRetrievalInstructionVersionsResponse = Shapes::StructureShape.new(name: 'ListRetrievalInstructionVersionsResponse')
|
|
434
|
+
ListRetrievalInstructionsRequest = Shapes::StructureShape.new(name: 'ListRetrievalInstructionsRequest')
|
|
435
|
+
ListRetrievalInstructionsResponse = Shapes::StructureShape.new(name: 'ListRetrievalInstructionsResponse')
|
|
424
436
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
425
437
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
426
438
|
ListVpcConfigurationsRequest = Shapes::StructureShape.new(name: 'ListVpcConfigurationsRequest')
|
|
@@ -602,6 +614,25 @@ module Aws::BedrockAgent
|
|
|
602
614
|
RetrievalFlowNodeConfiguration = Shapes::StructureShape.new(name: 'RetrievalFlowNodeConfiguration')
|
|
603
615
|
RetrievalFlowNodeS3Configuration = Shapes::StructureShape.new(name: 'RetrievalFlowNodeS3Configuration')
|
|
604
616
|
RetrievalFlowNodeServiceConfiguration = Shapes::UnionShape.new(name: 'RetrievalFlowNodeServiceConfiguration')
|
|
617
|
+
RetrievalInstructionArn = Shapes::StringShape.new(name: 'RetrievalInstructionArn')
|
|
618
|
+
RetrievalInstructionContent = Shapes::StructureShape.new(name: 'RetrievalInstructionContent')
|
|
619
|
+
RetrievalInstructionDescription = Shapes::StringShape.new(name: 'RetrievalInstructionDescription')
|
|
620
|
+
RetrievalInstructionFailureReason = Shapes::StructureShape.new(name: 'RetrievalInstructionFailureReason')
|
|
621
|
+
RetrievalInstructionFailureReasonCode = Shapes::StringShape.new(name: 'RetrievalInstructionFailureReasonCode')
|
|
622
|
+
RetrievalInstructionFailureReasons = Shapes::ListShape.new(name: 'RetrievalInstructionFailureReasons')
|
|
623
|
+
RetrievalInstructionFieldName = Shapes::StringShape.new(name: 'RetrievalInstructionFieldName')
|
|
624
|
+
RetrievalInstructionFieldText = Shapes::StringShape.new(name: 'RetrievalInstructionFieldText')
|
|
625
|
+
RetrievalInstructionId = Shapes::StringShape.new(name: 'RetrievalInstructionId')
|
|
626
|
+
RetrievalInstructionLastTransitionStatus = Shapes::StringShape.new(name: 'RetrievalInstructionLastTransitionStatus')
|
|
627
|
+
RetrievalInstructionMaxResults = Shapes::IntegerShape.new(name: 'RetrievalInstructionMaxResults')
|
|
628
|
+
RetrievalInstructionName = Shapes::StringShape.new(name: 'RetrievalInstructionName')
|
|
629
|
+
RetrievalInstructionNumericalVersion = Shapes::StringShape.new(name: 'RetrievalInstructionNumericalVersion')
|
|
630
|
+
RetrievalInstructionStatus = Shapes::StringShape.new(name: 'RetrievalInstructionStatus')
|
|
631
|
+
RetrievalInstructionSummaries = Shapes::ListShape.new(name: 'RetrievalInstructionSummaries')
|
|
632
|
+
RetrievalInstructionSummary = Shapes::StructureShape.new(name: 'RetrievalInstructionSummary')
|
|
633
|
+
RetrievalInstructionVersionSelector = Shapes::StringShape.new(name: 'RetrievalInstructionVersionSelector')
|
|
634
|
+
RetrievalInstructionVersionSummaries = Shapes::ListShape.new(name: 'RetrievalInstructionVersionSummaries')
|
|
635
|
+
RetrievalInstructionVersionSummary = Shapes::StructureShape.new(name: 'RetrievalInstructionVersionSummary')
|
|
605
636
|
RevisionId = Shapes::StringShape.new(name: 'RevisionId')
|
|
606
637
|
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
|
607
638
|
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
|
@@ -724,6 +755,8 @@ module Aws::BedrockAgent
|
|
|
724
755
|
UpdateKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseResponse')
|
|
725
756
|
UpdatePromptRequest = Shapes::StructureShape.new(name: 'UpdatePromptRequest')
|
|
726
757
|
UpdatePromptResponse = Shapes::StructureShape.new(name: 'UpdatePromptResponse')
|
|
758
|
+
UpdateRetrievalInstructionRequest = Shapes::StructureShape.new(name: 'UpdateRetrievalInstructionRequest')
|
|
759
|
+
UpdateRetrievalInstructionResponse = Shapes::StructureShape.new(name: 'UpdateRetrievalInstructionResponse')
|
|
727
760
|
Url = Shapes::StringShape.new(name: 'Url')
|
|
728
761
|
UrlConfiguration = Shapes::StructureShape.new(name: 'UrlConfiguration')
|
|
729
762
|
UserAgent = Shapes::StringShape.new(name: 'UserAgent')
|
|
@@ -1260,6 +1293,35 @@ module Aws::BedrockAgent
|
|
|
1260
1293
|
CreatePromptVersionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
1261
1294
|
CreatePromptVersionResponse.struct_class = Types::CreatePromptVersionResponse
|
|
1262
1295
|
|
|
1296
|
+
CreateRetrievalInstructionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
1297
|
+
CreateRetrievalInstructionRequest.add_member(:name, Shapes::ShapeRef.new(shape: RetrievalInstructionName, required: true, location_name: "name"))
|
|
1298
|
+
CreateRetrievalInstructionRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: RetrievalInstructionContent, required: true, location_name: "instruction"))
|
|
1299
|
+
CreateRetrievalInstructionRequest.add_member(:description, Shapes::ShapeRef.new(shape: RetrievalInstructionDescription, location_name: "description"))
|
|
1300
|
+
CreateRetrievalInstructionRequest.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
|
|
1301
|
+
CreateRetrievalInstructionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
1302
|
+
CreateRetrievalInstructionRequest.struct_class = Types::CreateRetrievalInstructionRequest
|
|
1303
|
+
|
|
1304
|
+
CreateRetrievalInstructionResponse.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location_name: "retrievalInstructionId"))
|
|
1305
|
+
CreateRetrievalInstructionResponse.add_member(:retrieval_instruction_arn, Shapes::ShapeRef.new(shape: RetrievalInstructionArn, required: true, location_name: "retrievalInstructionArn"))
|
|
1306
|
+
CreateRetrievalInstructionResponse.add_member(:name, Shapes::ShapeRef.new(shape: RetrievalInstructionName, required: true, location_name: "name"))
|
|
1307
|
+
CreateRetrievalInstructionResponse.add_member(:status, Shapes::ShapeRef.new(shape: RetrievalInstructionStatus, required: true, location_name: "status"))
|
|
1308
|
+
CreateRetrievalInstructionResponse.add_member(:last_transition_status, Shapes::ShapeRef.new(shape: RetrievalInstructionLastTransitionStatus, required: true, location_name: "lastTransitionStatus"))
|
|
1309
|
+
CreateRetrievalInstructionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
1310
|
+
CreateRetrievalInstructionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
1311
|
+
CreateRetrievalInstructionResponse.struct_class = Types::CreateRetrievalInstructionResponse
|
|
1312
|
+
|
|
1313
|
+
CreateRetrievalInstructionVersionRequest.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location: "uri", location_name: "retrievalInstructionId"))
|
|
1314
|
+
CreateRetrievalInstructionVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: RetrievalInstructionDescription, location_name: "description"))
|
|
1315
|
+
CreateRetrievalInstructionVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
1316
|
+
CreateRetrievalInstructionVersionRequest.struct_class = Types::CreateRetrievalInstructionVersionRequest
|
|
1317
|
+
|
|
1318
|
+
CreateRetrievalInstructionVersionResponse.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location_name: "retrievalInstructionId"))
|
|
1319
|
+
CreateRetrievalInstructionVersionResponse.add_member(:retrieval_instruction_arn, Shapes::ShapeRef.new(shape: RetrievalInstructionArn, required: true, location_name: "retrievalInstructionArn"))
|
|
1320
|
+
CreateRetrievalInstructionVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: RetrievalInstructionNumericalVersion, required: true, location_name: "version"))
|
|
1321
|
+
CreateRetrievalInstructionVersionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
1322
|
+
CreateRetrievalInstructionVersionResponse.add_member(:description, Shapes::ShapeRef.new(shape: RetrievalInstructionDescription, location_name: "description"))
|
|
1323
|
+
CreateRetrievalInstructionVersionResponse.struct_class = Types::CreateRetrievalInstructionVersionResponse
|
|
1324
|
+
|
|
1263
1325
|
CreateVpcConfigurationRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
|
1264
1326
|
CreateVpcConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
1265
1327
|
CreateVpcConfigurationRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
|
@@ -1450,6 +1512,15 @@ module Aws::BedrockAgent
|
|
|
1450
1512
|
DeleteResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
|
1451
1513
|
DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
|
|
1452
1514
|
|
|
1515
|
+
DeleteRetrievalInstructionRequest.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location: "uri", location_name: "retrievalInstructionId"))
|
|
1516
|
+
DeleteRetrievalInstructionRequest.add_member(:retrieval_instruction_version, Shapes::ShapeRef.new(shape: RetrievalInstructionNumericalVersion, location: "querystring", location_name: "retrievalInstructionVersion"))
|
|
1517
|
+
DeleteRetrievalInstructionRequest.struct_class = Types::DeleteRetrievalInstructionRequest
|
|
1518
|
+
|
|
1519
|
+
DeleteRetrievalInstructionResponse.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location_name: "retrievalInstructionId"))
|
|
1520
|
+
DeleteRetrievalInstructionResponse.add_member(:retrieval_instruction_arn, Shapes::ShapeRef.new(shape: RetrievalInstructionArn, required: true, location_name: "retrievalInstructionArn"))
|
|
1521
|
+
DeleteRetrievalInstructionResponse.add_member(:version, Shapes::ShapeRef.new(shape: RetrievalInstructionNumericalVersion, location_name: "version"))
|
|
1522
|
+
DeleteRetrievalInstructionResponse.struct_class = Types::DeleteRetrievalInstructionResponse
|
|
1523
|
+
|
|
1453
1524
|
DeleteVpcConfigurationRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
|
1454
1525
|
DeleteVpcConfigurationRequest.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: VpcConfigurationId, required: true, location: "uri", location_name: "vpcConfigurationId"))
|
|
1455
1526
|
DeleteVpcConfigurationRequest.struct_class = Types::DeleteVpcConfigurationRequest
|
|
@@ -1908,6 +1979,25 @@ module Aws::BedrockAgent
|
|
|
1908
1979
|
GetResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
|
|
1909
1980
|
GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
|
|
1910
1981
|
|
|
1982
|
+
GetRetrievalInstructionRequest.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location: "uri", location_name: "retrievalInstructionId"))
|
|
1983
|
+
GetRetrievalInstructionRequest.add_member(:retrieval_instruction_version, Shapes::ShapeRef.new(shape: RetrievalInstructionVersionSelector, location: "querystring", location_name: "retrievalInstructionVersion"))
|
|
1984
|
+
GetRetrievalInstructionRequest.struct_class = Types::GetRetrievalInstructionRequest
|
|
1985
|
+
|
|
1986
|
+
GetRetrievalInstructionResponse.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location_name: "retrievalInstructionId"))
|
|
1987
|
+
GetRetrievalInstructionResponse.add_member(:retrieval_instruction_arn, Shapes::ShapeRef.new(shape: RetrievalInstructionArn, required: true, location_name: "retrievalInstructionArn"))
|
|
1988
|
+
GetRetrievalInstructionResponse.add_member(:name, Shapes::ShapeRef.new(shape: RetrievalInstructionName, required: true, location_name: "name"))
|
|
1989
|
+
GetRetrievalInstructionResponse.add_member(:status, Shapes::ShapeRef.new(shape: RetrievalInstructionStatus, required: true, location_name: "status"))
|
|
1990
|
+
GetRetrievalInstructionResponse.add_member(:last_transition_status, Shapes::ShapeRef.new(shape: RetrievalInstructionLastTransitionStatus, required: true, location_name: "lastTransitionStatus"))
|
|
1991
|
+
GetRetrievalInstructionResponse.add_member(:instruction, Shapes::ShapeRef.new(shape: RetrievalInstructionContent, location_name: "instruction"))
|
|
1992
|
+
GetRetrievalInstructionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
1993
|
+
GetRetrievalInstructionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
1994
|
+
GetRetrievalInstructionResponse.add_member(:description, Shapes::ShapeRef.new(shape: RetrievalInstructionDescription, location_name: "description"))
|
|
1995
|
+
GetRetrievalInstructionResponse.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
|
|
1996
|
+
GetRetrievalInstructionResponse.add_member(:last_transition_status_reasons, Shapes::ShapeRef.new(shape: RetrievalInstructionFailureReasons, location_name: "lastTransitionStatusReasons"))
|
|
1997
|
+
GetRetrievalInstructionResponse.add_member(:version, Shapes::ShapeRef.new(shape: RetrievalInstructionVersionSelector, location_name: "version"))
|
|
1998
|
+
GetRetrievalInstructionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: RetrievalInstructionNumericalVersion, location_name: "latestVersion"))
|
|
1999
|
+
GetRetrievalInstructionResponse.struct_class = Types::GetRetrievalInstructionResponse
|
|
2000
|
+
|
|
1911
2001
|
GetVpcConfigurationRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
|
1912
2002
|
GetVpcConfigurationRequest.add_member(:vpc_configuration_id, Shapes::ShapeRef.new(shape: VpcConfigurationId, required: true, location: "uri", location_name: "vpcConfigurationId"))
|
|
1913
2003
|
GetVpcConfigurationRequest.struct_class = Types::GetVpcConfigurationRequest
|
|
@@ -2228,6 +2318,24 @@ module Aws::BedrockAgent
|
|
|
2228
2318
|
ListPromptsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
2229
2319
|
ListPromptsResponse.struct_class = Types::ListPromptsResponse
|
|
2230
2320
|
|
|
2321
|
+
ListRetrievalInstructionVersionsRequest.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location: "uri", location_name: "retrievalInstructionId"))
|
|
2322
|
+
ListRetrievalInstructionVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RetrievalInstructionMaxResults, location: "querystring", location_name: "maxResults"))
|
|
2323
|
+
ListRetrievalInstructionVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
2324
|
+
ListRetrievalInstructionVersionsRequest.struct_class = Types::ListRetrievalInstructionVersionsRequest
|
|
2325
|
+
|
|
2326
|
+
ListRetrievalInstructionVersionsResponse.add_member(:retrieval_instruction_version_summaries, Shapes::ShapeRef.new(shape: RetrievalInstructionVersionSummaries, required: true, location_name: "retrievalInstructionVersionSummaries"))
|
|
2327
|
+
ListRetrievalInstructionVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
2328
|
+
ListRetrievalInstructionVersionsResponse.struct_class = Types::ListRetrievalInstructionVersionsResponse
|
|
2329
|
+
|
|
2330
|
+
ListRetrievalInstructionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: RetrievalInstructionStatus, location: "querystring", location_name: "status"))
|
|
2331
|
+
ListRetrievalInstructionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RetrievalInstructionMaxResults, location: "querystring", location_name: "maxResults"))
|
|
2332
|
+
ListRetrievalInstructionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
2333
|
+
ListRetrievalInstructionsRequest.struct_class = Types::ListRetrievalInstructionsRequest
|
|
2334
|
+
|
|
2335
|
+
ListRetrievalInstructionsResponse.add_member(:retrieval_instruction_summaries, Shapes::ShapeRef.new(shape: RetrievalInstructionSummaries, required: true, location_name: "retrievalInstructionSummaries"))
|
|
2336
|
+
ListRetrievalInstructionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
2337
|
+
ListRetrievalInstructionsResponse.struct_class = Types::ListRetrievalInstructionsResponse
|
|
2338
|
+
|
|
2231
2339
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location: "uri", location_name: "resourceArn"))
|
|
2232
2340
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
2233
2341
|
|
|
@@ -2694,6 +2802,37 @@ module Aws::BedrockAgent
|
|
|
2694
2802
|
RetrievalFlowNodeServiceConfiguration.add_member_subclass(:unknown, Types::RetrievalFlowNodeServiceConfiguration::Unknown)
|
|
2695
2803
|
RetrievalFlowNodeServiceConfiguration.struct_class = Types::RetrievalFlowNodeServiceConfiguration
|
|
2696
2804
|
|
|
2805
|
+
RetrievalInstructionContent.add_member(:retrieval_guidance, Shapes::ShapeRef.new(shape: RetrievalInstructionFieldText, location_name: "retrievalGuidance"))
|
|
2806
|
+
RetrievalInstructionContent.add_member(:persona, Shapes::ShapeRef.new(shape: RetrievalInstructionFieldText, location_name: "persona"))
|
|
2807
|
+
RetrievalInstructionContent.add_member(:answer_format, Shapes::ShapeRef.new(shape: RetrievalInstructionFieldText, location_name: "answerFormat"))
|
|
2808
|
+
RetrievalInstructionContent.add_member(:answer_policy, Shapes::ShapeRef.new(shape: RetrievalInstructionFieldText, location_name: "answerPolicy"))
|
|
2809
|
+
RetrievalInstructionContent.struct_class = Types::RetrievalInstructionContent
|
|
2810
|
+
|
|
2811
|
+
RetrievalInstructionFailureReason.add_member(:field_name, Shapes::ShapeRef.new(shape: RetrievalInstructionFieldName, location_name: "fieldName"))
|
|
2812
|
+
RetrievalInstructionFailureReason.add_member(:code, Shapes::ShapeRef.new(shape: RetrievalInstructionFailureReasonCode, required: true, location_name: "code"))
|
|
2813
|
+
RetrievalInstructionFailureReason.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
2814
|
+
RetrievalInstructionFailureReason.struct_class = Types::RetrievalInstructionFailureReason
|
|
2815
|
+
|
|
2816
|
+
RetrievalInstructionFailureReasons.member = Shapes::ShapeRef.new(shape: RetrievalInstructionFailureReason)
|
|
2817
|
+
|
|
2818
|
+
RetrievalInstructionSummaries.member = Shapes::ShapeRef.new(shape: RetrievalInstructionSummary)
|
|
2819
|
+
|
|
2820
|
+
RetrievalInstructionSummary.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location_name: "retrievalInstructionId"))
|
|
2821
|
+
RetrievalInstructionSummary.add_member(:retrieval_instruction_arn, Shapes::ShapeRef.new(shape: RetrievalInstructionArn, required: true, location_name: "retrievalInstructionArn"))
|
|
2822
|
+
RetrievalInstructionSummary.add_member(:name, Shapes::ShapeRef.new(shape: RetrievalInstructionName, required: true, location_name: "name"))
|
|
2823
|
+
RetrievalInstructionSummary.add_member(:status, Shapes::ShapeRef.new(shape: RetrievalInstructionStatus, required: true, location_name: "status"))
|
|
2824
|
+
RetrievalInstructionSummary.add_member(:last_transition_status, Shapes::ShapeRef.new(shape: RetrievalInstructionLastTransitionStatus, required: true, location_name: "lastTransitionStatus"))
|
|
2825
|
+
RetrievalInstructionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
2826
|
+
RetrievalInstructionSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
2827
|
+
RetrievalInstructionSummary.add_member(:description, Shapes::ShapeRef.new(shape: RetrievalInstructionDescription, location_name: "description"))
|
|
2828
|
+
RetrievalInstructionSummary.struct_class = Types::RetrievalInstructionSummary
|
|
2829
|
+
|
|
2830
|
+
RetrievalInstructionVersionSummaries.member = Shapes::ShapeRef.new(shape: RetrievalInstructionVersionSummary)
|
|
2831
|
+
|
|
2832
|
+
RetrievalInstructionVersionSummary.add_member(:version, Shapes::ShapeRef.new(shape: RetrievalInstructionNumericalVersion, required: true, location_name: "version"))
|
|
2833
|
+
RetrievalInstructionVersionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
2834
|
+
RetrievalInstructionVersionSummary.struct_class = Types::RetrievalInstructionVersionSummary
|
|
2835
|
+
|
|
2697
2836
|
S3Content.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "s3Location"))
|
|
2698
2837
|
S3Content.struct_class = Types::S3Content
|
|
2699
2838
|
|
|
@@ -3107,6 +3246,20 @@ module Aws::BedrockAgent
|
|
|
3107
3246
|
UpdatePromptResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
3108
3247
|
UpdatePromptResponse.struct_class = Types::UpdatePromptResponse
|
|
3109
3248
|
|
|
3249
|
+
UpdateRetrievalInstructionRequest.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location: "uri", location_name: "retrievalInstructionId"))
|
|
3250
|
+
UpdateRetrievalInstructionRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: RetrievalInstructionContent, required: true, location_name: "instruction"))
|
|
3251
|
+
UpdateRetrievalInstructionRequest.add_member(:description, Shapes::ShapeRef.new(shape: RetrievalInstructionDescription, location_name: "description"))
|
|
3252
|
+
UpdateRetrievalInstructionRequest.struct_class = Types::UpdateRetrievalInstructionRequest
|
|
3253
|
+
|
|
3254
|
+
UpdateRetrievalInstructionResponse.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location_name: "retrievalInstructionId"))
|
|
3255
|
+
UpdateRetrievalInstructionResponse.add_member(:retrieval_instruction_arn, Shapes::ShapeRef.new(shape: RetrievalInstructionArn, required: true, location_name: "retrievalInstructionArn"))
|
|
3256
|
+
UpdateRetrievalInstructionResponse.add_member(:name, Shapes::ShapeRef.new(shape: RetrievalInstructionName, required: true, location_name: "name"))
|
|
3257
|
+
UpdateRetrievalInstructionResponse.add_member(:status, Shapes::ShapeRef.new(shape: RetrievalInstructionStatus, required: true, location_name: "status"))
|
|
3258
|
+
UpdateRetrievalInstructionResponse.add_member(:last_transition_status, Shapes::ShapeRef.new(shape: RetrievalInstructionLastTransitionStatus, required: true, location_name: "lastTransitionStatus"))
|
|
3259
|
+
UpdateRetrievalInstructionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
3260
|
+
UpdateRetrievalInstructionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
3261
|
+
UpdateRetrievalInstructionResponse.struct_class = Types::UpdateRetrievalInstructionResponse
|
|
3262
|
+
|
|
3110
3263
|
UrlConfiguration.add_member(:seed_urls, Shapes::ShapeRef.new(shape: SeedUrls, location_name: "seedUrls"))
|
|
3111
3264
|
UrlConfiguration.struct_class = Types::UrlConfiguration
|
|
3112
3265
|
|
|
@@ -3412,6 +3565,35 @@ module Aws::BedrockAgent
|
|
|
3412
3565
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
3413
3566
|
end)
|
|
3414
3567
|
|
|
3568
|
+
api.add_operation(:create_retrieval_instruction, Seahorse::Model::Operation.new.tap do |o|
|
|
3569
|
+
o.name = "CreateRetrievalInstruction"
|
|
3570
|
+
o.http_method = "POST"
|
|
3571
|
+
o.http_request_uri = "/retrievalinstructions/"
|
|
3572
|
+
o.input = Shapes::ShapeRef.new(shape: CreateRetrievalInstructionRequest)
|
|
3573
|
+
o.output = Shapes::ShapeRef.new(shape: CreateRetrievalInstructionResponse)
|
|
3574
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3575
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3576
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3577
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3578
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3579
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
3580
|
+
end)
|
|
3581
|
+
|
|
3582
|
+
api.add_operation(:create_retrieval_instruction_version, Seahorse::Model::Operation.new.tap do |o|
|
|
3583
|
+
o.name = "CreateRetrievalInstructionVersion"
|
|
3584
|
+
o.http_method = "POST"
|
|
3585
|
+
o.http_request_uri = "/retrievalinstructions/{retrievalInstructionId}/versions"
|
|
3586
|
+
o.input = Shapes::ShapeRef.new(shape: CreateRetrievalInstructionVersionRequest)
|
|
3587
|
+
o.output = Shapes::ShapeRef.new(shape: CreateRetrievalInstructionVersionResponse)
|
|
3588
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3589
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3590
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3591
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3592
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3593
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3594
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
3595
|
+
end)
|
|
3596
|
+
|
|
3415
3597
|
api.add_operation(:create_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3416
3598
|
o.name = "CreateVpcConfiguration"
|
|
3417
3599
|
o.http_method = "POST"
|
|
@@ -3594,6 +3776,20 @@ module Aws::BedrockAgent
|
|
|
3594
3776
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3595
3777
|
end)
|
|
3596
3778
|
|
|
3779
|
+
api.add_operation(:delete_retrieval_instruction, Seahorse::Model::Operation.new.tap do |o|
|
|
3780
|
+
o.name = "DeleteRetrievalInstruction"
|
|
3781
|
+
o.http_method = "DELETE"
|
|
3782
|
+
o.http_request_uri = "/retrievalinstructions/{retrievalInstructionId}"
|
|
3783
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRetrievalInstructionRequest)
|
|
3784
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteRetrievalInstructionResponse)
|
|
3785
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3786
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3787
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3788
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3789
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3790
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3791
|
+
end)
|
|
3792
|
+
|
|
3597
3793
|
api.add_operation(:delete_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3598
3794
|
o.name = "DeleteVpcConfiguration"
|
|
3599
3795
|
o.http_method = "DELETE"
|
|
@@ -3832,6 +4028,19 @@ module Aws::BedrockAgent
|
|
|
3832
4028
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3833
4029
|
end)
|
|
3834
4030
|
|
|
4031
|
+
api.add_operation(:get_retrieval_instruction, Seahorse::Model::Operation.new.tap do |o|
|
|
4032
|
+
o.name = "GetRetrievalInstruction"
|
|
4033
|
+
o.http_method = "GET"
|
|
4034
|
+
o.http_request_uri = "/retrievalinstructions/{retrievalInstructionId}"
|
|
4035
|
+
o.input = Shapes::ShapeRef.new(shape: GetRetrievalInstructionRequest)
|
|
4036
|
+
o.output = Shapes::ShapeRef.new(shape: GetRetrievalInstructionResponse)
|
|
4037
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4038
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4039
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4040
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4041
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4042
|
+
end)
|
|
4043
|
+
|
|
3835
4044
|
api.add_operation(:get_vpc_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3836
4045
|
o.name = "GetVpcConfiguration"
|
|
3837
4046
|
o.http_method = "GET"
|
|
@@ -4123,6 +4332,43 @@ module Aws::BedrockAgent
|
|
|
4123
4332
|
)
|
|
4124
4333
|
end)
|
|
4125
4334
|
|
|
4335
|
+
api.add_operation(:list_retrieval_instruction_versions, Seahorse::Model::Operation.new.tap do |o|
|
|
4336
|
+
o.name = "ListRetrievalInstructionVersions"
|
|
4337
|
+
o.http_method = "GET"
|
|
4338
|
+
o.http_request_uri = "/retrievalinstructions/{retrievalInstructionId}/versions"
|
|
4339
|
+
o.input = Shapes::ShapeRef.new(shape: ListRetrievalInstructionVersionsRequest)
|
|
4340
|
+
o.output = Shapes::ShapeRef.new(shape: ListRetrievalInstructionVersionsResponse)
|
|
4341
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4342
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4343
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4344
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4345
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4346
|
+
o[:pager] = Aws::Pager.new(
|
|
4347
|
+
limit_key: "max_results",
|
|
4348
|
+
tokens: {
|
|
4349
|
+
"next_token" => "next_token"
|
|
4350
|
+
}
|
|
4351
|
+
)
|
|
4352
|
+
end)
|
|
4353
|
+
|
|
4354
|
+
api.add_operation(:list_retrieval_instructions, Seahorse::Model::Operation.new.tap do |o|
|
|
4355
|
+
o.name = "ListRetrievalInstructions"
|
|
4356
|
+
o.http_method = "GET"
|
|
4357
|
+
o.http_request_uri = "/retrievalinstructions/"
|
|
4358
|
+
o.input = Shapes::ShapeRef.new(shape: ListRetrievalInstructionsRequest)
|
|
4359
|
+
o.output = Shapes::ShapeRef.new(shape: ListRetrievalInstructionsResponse)
|
|
4360
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4361
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4362
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4363
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4364
|
+
o[:pager] = Aws::Pager.new(
|
|
4365
|
+
limit_key: "max_results",
|
|
4366
|
+
tokens: {
|
|
4367
|
+
"next_token" => "next_token"
|
|
4368
|
+
}
|
|
4369
|
+
)
|
|
4370
|
+
end)
|
|
4371
|
+
|
|
4126
4372
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
4127
4373
|
o.name = "ListTagsForResource"
|
|
4128
4374
|
o.http_method = "GET"
|
|
@@ -4402,6 +4648,20 @@ module Aws::BedrockAgent
|
|
|
4402
4648
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
4403
4649
|
end)
|
|
4404
4650
|
|
|
4651
|
+
api.add_operation(:update_retrieval_instruction, Seahorse::Model::Operation.new.tap do |o|
|
|
4652
|
+
o.name = "UpdateRetrievalInstruction"
|
|
4653
|
+
o.http_method = "PUT"
|
|
4654
|
+
o.http_request_uri = "/retrievalinstructions/{retrievalInstructionId}"
|
|
4655
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRetrievalInstructionRequest)
|
|
4656
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateRetrievalInstructionResponse)
|
|
4657
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4658
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4659
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4660
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4661
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4662
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
4663
|
+
end)
|
|
4664
|
+
|
|
4405
4665
|
api.add_operation(:validate_flow_definition, Seahorse::Model::Operation.new.tap do |o|
|
|
4406
4666
|
o.name = "ValidateFlowDefinition"
|
|
4407
4667
|
o.http_method = "POST"
|