aws-sdk-bedrockagent 1.38.0 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +278 -1
- data/lib/aws-sdk-bedrockagent/client_api.rb +175 -0
- data/lib/aws-sdk-bedrockagent/types.rb +370 -0
- data/lib/aws-sdk-bedrockagent.rb +2 -2
- data/sig/client.rbs +77 -0
- data/sig/types.rbs +105 -0
- metadata +2 -2
@@ -34,6 +34,11 @@ module Aws::BedrockAgent
|
|
34
34
|
AgentAliasSummaries = Shapes::ListShape.new(name: 'AgentAliasSummaries')
|
35
35
|
AgentAliasSummary = Shapes::StructureShape.new(name: 'AgentAliasSummary')
|
36
36
|
AgentArn = Shapes::StringShape.new(name: 'AgentArn')
|
37
|
+
AgentCollaboration = Shapes::StringShape.new(name: 'AgentCollaboration')
|
38
|
+
AgentCollaborator = Shapes::StructureShape.new(name: 'AgentCollaborator')
|
39
|
+
AgentCollaboratorSummaries = Shapes::ListShape.new(name: 'AgentCollaboratorSummaries')
|
40
|
+
AgentCollaboratorSummary = Shapes::StructureShape.new(name: 'AgentCollaboratorSummary')
|
41
|
+
AgentDescriptor = Shapes::StructureShape.new(name: 'AgentDescriptor')
|
37
42
|
AgentFlowNodeConfiguration = Shapes::StructureShape.new(name: 'AgentFlowNodeConfiguration')
|
38
43
|
AgentKnowledgeBase = Shapes::StructureShape.new(name: 'AgentKnowledgeBase')
|
39
44
|
AgentKnowledgeBaseSummaries = Shapes::ListShape.new(name: 'AgentKnowledgeBaseSummaries')
|
@@ -46,6 +51,8 @@ module Aws::BedrockAgent
|
|
46
51
|
AgentVersionSummaries = Shapes::ListShape.new(name: 'AgentVersionSummaries')
|
47
52
|
AgentVersionSummary = Shapes::StructureShape.new(name: 'AgentVersionSummary')
|
48
53
|
AnyToolChoice = Shapes::StructureShape.new(name: 'AnyToolChoice')
|
54
|
+
AssociateAgentCollaboratorRequest = Shapes::StructureShape.new(name: 'AssociateAgentCollaboratorRequest')
|
55
|
+
AssociateAgentCollaboratorResponse = Shapes::StructureShape.new(name: 'AssociateAgentCollaboratorResponse')
|
49
56
|
AssociateAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'AssociateAgentKnowledgeBaseRequest')
|
50
57
|
AssociateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'AssociateAgentKnowledgeBaseResponse')
|
51
58
|
AutoToolChoice = Shapes::StructureShape.new(name: 'AutoToolChoice')
|
@@ -63,6 +70,7 @@ module Aws::BedrockAgent
|
|
63
70
|
ChunkingConfiguration = Shapes::StructureShape.new(name: 'ChunkingConfiguration')
|
64
71
|
ChunkingStrategy = Shapes::StringShape.new(name: 'ChunkingStrategy')
|
65
72
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
73
|
+
CollaborationInstruction = Shapes::StringShape.new(name: 'CollaborationInstruction')
|
66
74
|
CollectorFlowNodeConfiguration = Shapes::StructureShape.new(name: 'CollectorFlowNodeConfiguration')
|
67
75
|
ColumnName = Shapes::StringShape.new(name: 'ColumnName')
|
68
76
|
ConditionFlowNodeConfiguration = Shapes::StructureShape.new(name: 'ConditionFlowNodeConfiguration')
|
@@ -141,6 +149,8 @@ module Aws::BedrockAgent
|
|
141
149
|
DeletePromptResponse = Shapes::StructureShape.new(name: 'DeletePromptResponse')
|
142
150
|
Description = Shapes::StringShape.new(name: 'Description')
|
143
151
|
Dimensions = Shapes::IntegerShape.new(name: 'Dimensions')
|
152
|
+
DisassociateAgentCollaboratorRequest = Shapes::StructureShape.new(name: 'DisassociateAgentCollaboratorRequest')
|
153
|
+
DisassociateAgentCollaboratorResponse = Shapes::StructureShape.new(name: 'DisassociateAgentCollaboratorResponse')
|
144
154
|
DisassociateAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'DisassociateAgentKnowledgeBaseRequest')
|
145
155
|
DisassociateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'DisassociateAgentKnowledgeBaseResponse')
|
146
156
|
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
@@ -222,6 +232,8 @@ module Aws::BedrockAgent
|
|
222
232
|
GetAgentActionGroupResponse = Shapes::StructureShape.new(name: 'GetAgentActionGroupResponse')
|
223
233
|
GetAgentAliasRequest = Shapes::StructureShape.new(name: 'GetAgentAliasRequest')
|
224
234
|
GetAgentAliasResponse = Shapes::StructureShape.new(name: 'GetAgentAliasResponse')
|
235
|
+
GetAgentCollaboratorRequest = Shapes::StructureShape.new(name: 'GetAgentCollaboratorRequest')
|
236
|
+
GetAgentCollaboratorResponse = Shapes::StructureShape.new(name: 'GetAgentCollaboratorResponse')
|
225
237
|
GetAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'GetAgentKnowledgeBaseRequest')
|
226
238
|
GetAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetAgentKnowledgeBaseResponse')
|
227
239
|
GetAgentRequest = Shapes::StructureShape.new(name: 'GetAgentRequest')
|
@@ -306,6 +318,8 @@ module Aws::BedrockAgent
|
|
306
318
|
ListAgentActionGroupsResponse = Shapes::StructureShape.new(name: 'ListAgentActionGroupsResponse')
|
307
319
|
ListAgentAliasesRequest = Shapes::StructureShape.new(name: 'ListAgentAliasesRequest')
|
308
320
|
ListAgentAliasesResponse = Shapes::StructureShape.new(name: 'ListAgentAliasesResponse')
|
321
|
+
ListAgentCollaboratorsRequest = Shapes::StructureShape.new(name: 'ListAgentCollaboratorsRequest')
|
322
|
+
ListAgentCollaboratorsResponse = Shapes::StructureShape.new(name: 'ListAgentCollaboratorsResponse')
|
309
323
|
ListAgentKnowledgeBasesRequest = Shapes::StructureShape.new(name: 'ListAgentKnowledgeBasesRequest')
|
310
324
|
ListAgentKnowledgeBasesResponse = Shapes::StructureShape.new(name: 'ListAgentKnowledgeBasesResponse')
|
311
325
|
ListAgentVersionsRequest = Shapes::StructureShape.new(name: 'ListAgentVersionsRequest')
|
@@ -440,6 +454,7 @@ module Aws::BedrockAgent
|
|
440
454
|
RedisEnterpriseCloudEndpoint = Shapes::StringShape.new(name: 'RedisEnterpriseCloudEndpoint')
|
441
455
|
RedisEnterpriseCloudFieldMapping = Shapes::StructureShape.new(name: 'RedisEnterpriseCloudFieldMapping')
|
442
456
|
RedisEnterpriseCloudIndexName = Shapes::StringShape.new(name: 'RedisEnterpriseCloudIndexName')
|
457
|
+
RelayConversationHistory = Shapes::StringShape.new(name: 'RelayConversationHistory')
|
443
458
|
RequireConfirmation = Shapes::StringShape.new(name: 'RequireConfirmation')
|
444
459
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
445
460
|
RetrievalFlowNodeConfiguration = Shapes::StructureShape.new(name: 'RetrievalFlowNodeConfiguration')
|
@@ -535,6 +550,8 @@ module Aws::BedrockAgent
|
|
535
550
|
UpdateAgentActionGroupResponse = Shapes::StructureShape.new(name: 'UpdateAgentActionGroupResponse')
|
536
551
|
UpdateAgentAliasRequest = Shapes::StructureShape.new(name: 'UpdateAgentAliasRequest')
|
537
552
|
UpdateAgentAliasResponse = Shapes::StructureShape.new(name: 'UpdateAgentAliasResponse')
|
553
|
+
UpdateAgentCollaboratorRequest = Shapes::StructureShape.new(name: 'UpdateAgentCollaboratorRequest')
|
554
|
+
UpdateAgentCollaboratorResponse = Shapes::StructureShape.new(name: 'UpdateAgentCollaboratorResponse')
|
538
555
|
UpdateAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'UpdateAgentKnowledgeBaseRequest')
|
539
556
|
UpdateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'UpdateAgentKnowledgeBaseResponse')
|
540
557
|
UpdateAgentRequest = Shapes::StructureShape.new(name: 'UpdateAgentRequest')
|
@@ -595,6 +612,7 @@ module Aws::BedrockAgent
|
|
595
612
|
ActionGroupSummary.struct_class = Types::ActionGroupSummary
|
596
613
|
|
597
614
|
Agent.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, required: true, location_name: "agentArn"))
|
615
|
+
Agent.add_member(:agent_collaboration, Shapes::ShapeRef.new(shape: AgentCollaboration, location_name: "agentCollaboration"))
|
598
616
|
Agent.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
|
599
617
|
Agent.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
|
600
618
|
Agent.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, required: true, location_name: "agentResourceRoleArn"))
|
@@ -671,6 +689,34 @@ module Aws::BedrockAgent
|
|
671
689
|
AgentAliasSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
672
690
|
AgentAliasSummary.struct_class = Types::AgentAliasSummary
|
673
691
|
|
692
|
+
AgentCollaborator.add_member(:agent_descriptor, Shapes::ShapeRef.new(shape: AgentDescriptor, required: true, location_name: "agentDescriptor"))
|
693
|
+
AgentCollaborator.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
|
694
|
+
AgentCollaborator.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "agentVersion"))
|
695
|
+
AgentCollaborator.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
696
|
+
AgentCollaborator.add_member(:collaboration_instruction, Shapes::ShapeRef.new(shape: CollaborationInstruction, required: true, location_name: "collaborationInstruction"))
|
697
|
+
AgentCollaborator.add_member(:collaborator_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "collaboratorId"))
|
698
|
+
AgentCollaborator.add_member(:collaborator_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "collaboratorName"))
|
699
|
+
AgentCollaborator.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
700
|
+
AgentCollaborator.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
|
701
|
+
AgentCollaborator.add_member(:relay_conversation_history, Shapes::ShapeRef.new(shape: RelayConversationHistory, location_name: "relayConversationHistory"))
|
702
|
+
AgentCollaborator.struct_class = Types::AgentCollaborator
|
703
|
+
|
704
|
+
AgentCollaboratorSummaries.member = Shapes::ShapeRef.new(shape: AgentCollaboratorSummary)
|
705
|
+
|
706
|
+
AgentCollaboratorSummary.add_member(:agent_descriptor, Shapes::ShapeRef.new(shape: AgentDescriptor, required: true, location_name: "agentDescriptor"))
|
707
|
+
AgentCollaboratorSummary.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
|
708
|
+
AgentCollaboratorSummary.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "agentVersion"))
|
709
|
+
AgentCollaboratorSummary.add_member(:collaboration_instruction, Shapes::ShapeRef.new(shape: CollaborationInstruction, required: true, location_name: "collaborationInstruction"))
|
710
|
+
AgentCollaboratorSummary.add_member(:collaborator_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "collaboratorId"))
|
711
|
+
AgentCollaboratorSummary.add_member(:collaborator_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "collaboratorName"))
|
712
|
+
AgentCollaboratorSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
713
|
+
AgentCollaboratorSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
|
714
|
+
AgentCollaboratorSummary.add_member(:relay_conversation_history, Shapes::ShapeRef.new(shape: RelayConversationHistory, required: true, location_name: "relayConversationHistory"))
|
715
|
+
AgentCollaboratorSummary.struct_class = Types::AgentCollaboratorSummary
|
716
|
+
|
717
|
+
AgentDescriptor.add_member(:alias_arn, Shapes::ShapeRef.new(shape: AgentAliasArn, location_name: "aliasArn"))
|
718
|
+
AgentDescriptor.struct_class = Types::AgentDescriptor
|
719
|
+
|
674
720
|
AgentFlowNodeConfiguration.add_member(:agent_alias_arn, Shapes::ShapeRef.new(shape: AgentAliasArn, required: true, location_name: "agentAliasArn"))
|
675
721
|
AgentFlowNodeConfiguration.struct_class = Types::AgentFlowNodeConfiguration
|
676
722
|
|
@@ -703,6 +749,7 @@ module Aws::BedrockAgent
|
|
703
749
|
AgentSummary.struct_class = Types::AgentSummary
|
704
750
|
|
705
751
|
AgentVersion.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, required: true, location_name: "agentArn"))
|
752
|
+
AgentVersion.add_member(:agent_collaboration, Shapes::ShapeRef.new(shape: AgentCollaboration, location_name: "agentCollaboration"))
|
706
753
|
AgentVersion.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
|
707
754
|
AgentVersion.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
|
708
755
|
AgentVersion.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, required: true, location_name: "agentResourceRoleArn"))
|
@@ -735,6 +782,18 @@ module Aws::BedrockAgent
|
|
735
782
|
|
736
783
|
AnyToolChoice.struct_class = Types::AnyToolChoice
|
737
784
|
|
785
|
+
AssociateAgentCollaboratorRequest.add_member(:agent_descriptor, Shapes::ShapeRef.new(shape: AgentDescriptor, required: true, location_name: "agentDescriptor"))
|
786
|
+
AssociateAgentCollaboratorRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
787
|
+
AssociateAgentCollaboratorRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
|
788
|
+
AssociateAgentCollaboratorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
789
|
+
AssociateAgentCollaboratorRequest.add_member(:collaboration_instruction, Shapes::ShapeRef.new(shape: CollaborationInstruction, required: true, location_name: "collaborationInstruction"))
|
790
|
+
AssociateAgentCollaboratorRequest.add_member(:collaborator_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "collaboratorName"))
|
791
|
+
AssociateAgentCollaboratorRequest.add_member(:relay_conversation_history, Shapes::ShapeRef.new(shape: RelayConversationHistory, location_name: "relayConversationHistory"))
|
792
|
+
AssociateAgentCollaboratorRequest.struct_class = Types::AssociateAgentCollaboratorRequest
|
793
|
+
|
794
|
+
AssociateAgentCollaboratorResponse.add_member(:agent_collaborator, Shapes::ShapeRef.new(shape: AgentCollaborator, required: true, location_name: "agentCollaborator"))
|
795
|
+
AssociateAgentCollaboratorResponse.struct_class = Types::AssociateAgentCollaboratorResponse
|
796
|
+
|
738
797
|
AssociateAgentKnowledgeBaseRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
739
798
|
AssociateAgentKnowledgeBaseRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
|
740
799
|
AssociateAgentKnowledgeBaseRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
|
@@ -830,6 +889,7 @@ module Aws::BedrockAgent
|
|
830
889
|
CreateAgentAliasResponse.add_member(:agent_alias, Shapes::ShapeRef.new(shape: AgentAlias, required: true, location_name: "agentAlias"))
|
831
890
|
CreateAgentAliasResponse.struct_class = Types::CreateAgentAliasResponse
|
832
891
|
|
892
|
+
CreateAgentRequest.add_member(:agent_collaboration, Shapes::ShapeRef.new(shape: AgentCollaboration, location_name: "agentCollaboration"))
|
833
893
|
CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
|
834
894
|
CreateAgentRequest.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, location_name: "agentResourceRoleArn"))
|
835
895
|
CreateAgentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -1117,6 +1177,13 @@ module Aws::BedrockAgent
|
|
1117
1177
|
DeletePromptResponse.add_member(:version, Shapes::ShapeRef.new(shape: NumericalVersion, location_name: "version"))
|
1118
1178
|
DeletePromptResponse.struct_class = Types::DeletePromptResponse
|
1119
1179
|
|
1180
|
+
DisassociateAgentCollaboratorRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
1181
|
+
DisassociateAgentCollaboratorRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
|
1182
|
+
DisassociateAgentCollaboratorRequest.add_member(:collaborator_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "collaboratorId"))
|
1183
|
+
DisassociateAgentCollaboratorRequest.struct_class = Types::DisassociateAgentCollaboratorRequest
|
1184
|
+
|
1185
|
+
DisassociateAgentCollaboratorResponse.struct_class = Types::DisassociateAgentCollaboratorResponse
|
1186
|
+
|
1120
1187
|
DisassociateAgentKnowledgeBaseRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
1121
1188
|
DisassociateAgentKnowledgeBaseRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
|
1122
1189
|
DisassociateAgentKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
@@ -1377,6 +1444,14 @@ module Aws::BedrockAgent
|
|
1377
1444
|
GetAgentAliasResponse.add_member(:agent_alias, Shapes::ShapeRef.new(shape: AgentAlias, required: true, location_name: "agentAlias"))
|
1378
1445
|
GetAgentAliasResponse.struct_class = Types::GetAgentAliasResponse
|
1379
1446
|
|
1447
|
+
GetAgentCollaboratorRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
1448
|
+
GetAgentCollaboratorRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "agentVersion"))
|
1449
|
+
GetAgentCollaboratorRequest.add_member(:collaborator_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "collaboratorId"))
|
1450
|
+
GetAgentCollaboratorRequest.struct_class = Types::GetAgentCollaboratorRequest
|
1451
|
+
|
1452
|
+
GetAgentCollaboratorResponse.add_member(:agent_collaborator, Shapes::ShapeRef.new(shape: AgentCollaborator, required: true, location_name: "agentCollaborator"))
|
1453
|
+
GetAgentCollaboratorResponse.struct_class = Types::GetAgentCollaboratorResponse
|
1454
|
+
|
1380
1455
|
GetAgentKnowledgeBaseRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
1381
1456
|
GetAgentKnowledgeBaseRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "agentVersion"))
|
1382
1457
|
GetAgentKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
@@ -1655,6 +1730,16 @@ module Aws::BedrockAgent
|
|
1655
1730
|
ListAgentAliasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1656
1731
|
ListAgentAliasesResponse.struct_class = Types::ListAgentAliasesResponse
|
1657
1732
|
|
1733
|
+
ListAgentCollaboratorsRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
1734
|
+
ListAgentCollaboratorsRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "agentVersion"))
|
1735
|
+
ListAgentCollaboratorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1736
|
+
ListAgentCollaboratorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1737
|
+
ListAgentCollaboratorsRequest.struct_class = Types::ListAgentCollaboratorsRequest
|
1738
|
+
|
1739
|
+
ListAgentCollaboratorsResponse.add_member(:agent_collaborator_summaries, Shapes::ShapeRef.new(shape: AgentCollaboratorSummaries, required: true, location_name: "agentCollaboratorSummaries"))
|
1740
|
+
ListAgentCollaboratorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1741
|
+
ListAgentCollaboratorsResponse.struct_class = Types::ListAgentCollaboratorsResponse
|
1742
|
+
|
1658
1743
|
ListAgentKnowledgeBasesRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
1659
1744
|
ListAgentKnowledgeBasesRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "agentVersion"))
|
1660
1745
|
ListAgentKnowledgeBasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
@@ -1917,6 +2002,7 @@ module Aws::BedrockAgent
|
|
1917
2002
|
PromptAgentResource.struct_class = Types::PromptAgentResource
|
1918
2003
|
|
1919
2004
|
PromptConfiguration.add_member(:base_prompt_template, Shapes::ShapeRef.new(shape: BasePromptTemplate, location_name: "basePromptTemplate"))
|
2005
|
+
PromptConfiguration.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "foundationModel"))
|
1920
2006
|
PromptConfiguration.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
|
1921
2007
|
PromptConfiguration.add_member(:parser_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "parserMode"))
|
1922
2008
|
PromptConfiguration.add_member(:prompt_creation_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "promptCreationMode"))
|
@@ -2289,6 +2375,18 @@ module Aws::BedrockAgent
|
|
2289
2375
|
UpdateAgentAliasResponse.add_member(:agent_alias, Shapes::ShapeRef.new(shape: AgentAlias, required: true, location_name: "agentAlias"))
|
2290
2376
|
UpdateAgentAliasResponse.struct_class = Types::UpdateAgentAliasResponse
|
2291
2377
|
|
2378
|
+
UpdateAgentCollaboratorRequest.add_member(:agent_descriptor, Shapes::ShapeRef.new(shape: AgentDescriptor, required: true, location_name: "agentDescriptor"))
|
2379
|
+
UpdateAgentCollaboratorRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
2380
|
+
UpdateAgentCollaboratorRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
|
2381
|
+
UpdateAgentCollaboratorRequest.add_member(:collaboration_instruction, Shapes::ShapeRef.new(shape: CollaborationInstruction, required: true, location_name: "collaborationInstruction"))
|
2382
|
+
UpdateAgentCollaboratorRequest.add_member(:collaborator_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "collaboratorId"))
|
2383
|
+
UpdateAgentCollaboratorRequest.add_member(:collaborator_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "collaboratorName"))
|
2384
|
+
UpdateAgentCollaboratorRequest.add_member(:relay_conversation_history, Shapes::ShapeRef.new(shape: RelayConversationHistory, location_name: "relayConversationHistory"))
|
2385
|
+
UpdateAgentCollaboratorRequest.struct_class = Types::UpdateAgentCollaboratorRequest
|
2386
|
+
|
2387
|
+
UpdateAgentCollaboratorResponse.add_member(:agent_collaborator, Shapes::ShapeRef.new(shape: AgentCollaborator, required: true, location_name: "agentCollaborator"))
|
2388
|
+
UpdateAgentCollaboratorResponse.struct_class = Types::UpdateAgentCollaboratorResponse
|
2389
|
+
|
2292
2390
|
UpdateAgentKnowledgeBaseRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
2293
2391
|
UpdateAgentKnowledgeBaseRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
|
2294
2392
|
UpdateAgentKnowledgeBaseRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
@@ -2299,6 +2397,7 @@ module Aws::BedrockAgent
|
|
2299
2397
|
UpdateAgentKnowledgeBaseResponse.add_member(:agent_knowledge_base, Shapes::ShapeRef.new(shape: AgentKnowledgeBase, required: true, location_name: "agentKnowledgeBase"))
|
2300
2398
|
UpdateAgentKnowledgeBaseResponse.struct_class = Types::UpdateAgentKnowledgeBaseResponse
|
2301
2399
|
|
2400
|
+
UpdateAgentRequest.add_member(:agent_collaboration, Shapes::ShapeRef.new(shape: AgentCollaboration, location_name: "agentCollaboration"))
|
2302
2401
|
UpdateAgentRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
2303
2402
|
UpdateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
|
2304
2403
|
UpdateAgentRequest.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, required: true, location_name: "agentResourceRoleArn"))
|
@@ -2463,6 +2562,21 @@ module Aws::BedrockAgent
|
|
2463
2562
|
"uid" => "bedrock-agent-2023-06-05",
|
2464
2563
|
}
|
2465
2564
|
|
2565
|
+
api.add_operation(:associate_agent_collaborator, Seahorse::Model::Operation.new.tap do |o|
|
2566
|
+
o.name = "AssociateAgentCollaborator"
|
2567
|
+
o.http_method = "PUT"
|
2568
|
+
o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/"
|
2569
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateAgentCollaboratorRequest)
|
2570
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateAgentCollaboratorResponse)
|
2571
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2572
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2573
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2574
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2575
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2576
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2577
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2578
|
+
end)
|
2579
|
+
|
2466
2580
|
api.add_operation(:associate_agent_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
|
2467
2581
|
o.name = "AssociateAgentKnowledgeBase"
|
2468
2582
|
o.http_method = "PUT"
|
@@ -2777,6 +2891,20 @@ module Aws::BedrockAgent
|
|
2777
2891
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2778
2892
|
end)
|
2779
2893
|
|
2894
|
+
api.add_operation(:disassociate_agent_collaborator, Seahorse::Model::Operation.new.tap do |o|
|
2895
|
+
o.name = "DisassociateAgentCollaborator"
|
2896
|
+
o.http_method = "DELETE"
|
2897
|
+
o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/"
|
2898
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateAgentCollaboratorRequest)
|
2899
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateAgentCollaboratorResponse)
|
2900
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2901
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2902
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2903
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2904
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2905
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2906
|
+
end)
|
2907
|
+
|
2780
2908
|
api.add_operation(:disassociate_agent_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
|
2781
2909
|
o.name = "DisassociateAgentKnowledgeBase"
|
2782
2910
|
o.http_method = "DELETE"
|
@@ -2830,6 +2958,19 @@ module Aws::BedrockAgent
|
|
2830
2958
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2831
2959
|
end)
|
2832
2960
|
|
2961
|
+
api.add_operation(:get_agent_collaborator, Seahorse::Model::Operation.new.tap do |o|
|
2962
|
+
o.name = "GetAgentCollaborator"
|
2963
|
+
o.http_method = "GET"
|
2964
|
+
o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/"
|
2965
|
+
o.input = Shapes::ShapeRef.new(shape: GetAgentCollaboratorRequest)
|
2966
|
+
o.output = Shapes::ShapeRef.new(shape: GetAgentCollaboratorResponse)
|
2967
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2968
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2969
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2970
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2971
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2972
|
+
end)
|
2973
|
+
|
2833
2974
|
api.add_operation(:get_agent_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
|
2834
2975
|
o.name = "GetAgentKnowledgeBase"
|
2835
2976
|
o.http_method = "GET"
|
@@ -3013,6 +3154,25 @@ module Aws::BedrockAgent
|
|
3013
3154
|
)
|
3014
3155
|
end)
|
3015
3156
|
|
3157
|
+
api.add_operation(:list_agent_collaborators, Seahorse::Model::Operation.new.tap do |o|
|
3158
|
+
o.name = "ListAgentCollaborators"
|
3159
|
+
o.http_method = "POST"
|
3160
|
+
o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/"
|
3161
|
+
o.input = Shapes::ShapeRef.new(shape: ListAgentCollaboratorsRequest)
|
3162
|
+
o.output = Shapes::ShapeRef.new(shape: ListAgentCollaboratorsResponse)
|
3163
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3164
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3165
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3166
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3167
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3168
|
+
o[:pager] = Aws::Pager.new(
|
3169
|
+
limit_key: "max_results",
|
3170
|
+
tokens: {
|
3171
|
+
"next_token" => "next_token"
|
3172
|
+
}
|
3173
|
+
)
|
3174
|
+
end)
|
3175
|
+
|
3016
3176
|
api.add_operation(:list_agent_knowledge_bases, Seahorse::Model::Operation.new.tap do |o|
|
3017
3177
|
o.name = "ListAgentKnowledgeBases"
|
3018
3178
|
o.http_method = "POST"
|
@@ -3364,6 +3524,21 @@ module Aws::BedrockAgent
|
|
3364
3524
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
3365
3525
|
end)
|
3366
3526
|
|
3527
|
+
api.add_operation(:update_agent_collaborator, Seahorse::Model::Operation.new.tap do |o|
|
3528
|
+
o.name = "UpdateAgentCollaborator"
|
3529
|
+
o.http_method = "PUT"
|
3530
|
+
o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/"
|
3531
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAgentCollaboratorRequest)
|
3532
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAgentCollaboratorResponse)
|
3533
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3534
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3535
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3536
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3537
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3538
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3539
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
3540
|
+
end)
|
3541
|
+
|
3367
3542
|
api.add_operation(:update_agent_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
|
3368
3543
|
o.name = "UpdateAgentKnowledgeBase"
|
3369
3544
|
o.http_method = "PUT"
|