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
@@ -150,6 +150,10 @@ module Aws::BedrockAgent
|
|
150
150
|
# The Amazon Resource Name (ARN) of the agent.
|
151
151
|
# @return [String]
|
152
152
|
#
|
153
|
+
# @!attribute [rw] agent_collaboration
|
154
|
+
# The agent's collaboration settings.
|
155
|
+
# @return [String]
|
156
|
+
#
|
153
157
|
# @!attribute [rw] agent_id
|
154
158
|
# The unique identifier of the agent.
|
155
159
|
# @return [String]
|
@@ -275,6 +279,7 @@ module Aws::BedrockAgent
|
|
275
279
|
#
|
276
280
|
class Agent < Struct.new(
|
277
281
|
:agent_arn,
|
282
|
+
:agent_collaboration,
|
278
283
|
:agent_id,
|
279
284
|
:agent_name,
|
280
285
|
:agent_resource_role_arn,
|
@@ -593,6 +598,133 @@ module Aws::BedrockAgent
|
|
593
598
|
include Aws::Structure
|
594
599
|
end
|
595
600
|
|
601
|
+
# An agent collaborator.
|
602
|
+
#
|
603
|
+
# @!attribute [rw] agent_descriptor
|
604
|
+
# The collaborator's agent descriptor.
|
605
|
+
# @return [Types::AgentDescriptor]
|
606
|
+
#
|
607
|
+
# @!attribute [rw] agent_id
|
608
|
+
# The collaborator's agent ID.
|
609
|
+
# @return [String]
|
610
|
+
#
|
611
|
+
# @!attribute [rw] agent_version
|
612
|
+
# The collaborator's agent version.
|
613
|
+
# @return [String]
|
614
|
+
#
|
615
|
+
# @!attribute [rw] client_token
|
616
|
+
# The collaborator's client token.
|
617
|
+
# @return [String]
|
618
|
+
#
|
619
|
+
# @!attribute [rw] collaboration_instruction
|
620
|
+
# The collaborator's instructions.
|
621
|
+
# @return [String]
|
622
|
+
#
|
623
|
+
# @!attribute [rw] collaborator_id
|
624
|
+
# The collaborator's collaborator ID.
|
625
|
+
# @return [String]
|
626
|
+
#
|
627
|
+
# @!attribute [rw] collaborator_name
|
628
|
+
# The collaborator's collaborator name.
|
629
|
+
# @return [String]
|
630
|
+
#
|
631
|
+
# @!attribute [rw] created_at
|
632
|
+
# When the collaborator was created.
|
633
|
+
# @return [Time]
|
634
|
+
#
|
635
|
+
# @!attribute [rw] last_updated_at
|
636
|
+
# When the collaborator was updated.
|
637
|
+
# @return [Time]
|
638
|
+
#
|
639
|
+
# @!attribute [rw] relay_conversation_history
|
640
|
+
# The collaborator's relay conversation history.
|
641
|
+
# @return [String]
|
642
|
+
#
|
643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AgentCollaborator AWS API Documentation
|
644
|
+
#
|
645
|
+
class AgentCollaborator < Struct.new(
|
646
|
+
:agent_descriptor,
|
647
|
+
:agent_id,
|
648
|
+
:agent_version,
|
649
|
+
:client_token,
|
650
|
+
:collaboration_instruction,
|
651
|
+
:collaborator_id,
|
652
|
+
:collaborator_name,
|
653
|
+
:created_at,
|
654
|
+
:last_updated_at,
|
655
|
+
:relay_conversation_history)
|
656
|
+
SENSITIVE = [:collaboration_instruction]
|
657
|
+
include Aws::Structure
|
658
|
+
end
|
659
|
+
|
660
|
+
# An agent collaborator summary.
|
661
|
+
#
|
662
|
+
# @!attribute [rw] agent_descriptor
|
663
|
+
# The collaborator's agent descriptor.
|
664
|
+
# @return [Types::AgentDescriptor]
|
665
|
+
#
|
666
|
+
# @!attribute [rw] agent_id
|
667
|
+
# The collaborator's agent ID.
|
668
|
+
# @return [String]
|
669
|
+
#
|
670
|
+
# @!attribute [rw] agent_version
|
671
|
+
# The collaborator's agent version.
|
672
|
+
# @return [String]
|
673
|
+
#
|
674
|
+
# @!attribute [rw] collaboration_instruction
|
675
|
+
# The collaborator's collaboration instruction.
|
676
|
+
# @return [String]
|
677
|
+
#
|
678
|
+
# @!attribute [rw] collaborator_id
|
679
|
+
# The collaborator's ID.
|
680
|
+
# @return [String]
|
681
|
+
#
|
682
|
+
# @!attribute [rw] collaborator_name
|
683
|
+
# The collaborator's name.
|
684
|
+
# @return [String]
|
685
|
+
#
|
686
|
+
# @!attribute [rw] created_at
|
687
|
+
# When the collaborator was created.
|
688
|
+
# @return [Time]
|
689
|
+
#
|
690
|
+
# @!attribute [rw] last_updated_at
|
691
|
+
# When the collaborator was last updated.
|
692
|
+
# @return [Time]
|
693
|
+
#
|
694
|
+
# @!attribute [rw] relay_conversation_history
|
695
|
+
# The collaborator's relay conversation history.
|
696
|
+
# @return [String]
|
697
|
+
#
|
698
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AgentCollaboratorSummary AWS API Documentation
|
699
|
+
#
|
700
|
+
class AgentCollaboratorSummary < Struct.new(
|
701
|
+
:agent_descriptor,
|
702
|
+
:agent_id,
|
703
|
+
:agent_version,
|
704
|
+
:collaboration_instruction,
|
705
|
+
:collaborator_id,
|
706
|
+
:collaborator_name,
|
707
|
+
:created_at,
|
708
|
+
:last_updated_at,
|
709
|
+
:relay_conversation_history)
|
710
|
+
SENSITIVE = [:collaboration_instruction]
|
711
|
+
include Aws::Structure
|
712
|
+
end
|
713
|
+
|
714
|
+
# An agent descriptor.
|
715
|
+
#
|
716
|
+
# @!attribute [rw] alias_arn
|
717
|
+
# The agent's alias ARN.
|
718
|
+
# @return [String]
|
719
|
+
#
|
720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AgentDescriptor AWS API Documentation
|
721
|
+
#
|
722
|
+
class AgentDescriptor < Struct.new(
|
723
|
+
:alias_arn)
|
724
|
+
SENSITIVE = []
|
725
|
+
include Aws::Structure
|
726
|
+
end
|
727
|
+
|
596
728
|
# Defines an agent node in your flow. You specify the agent to invoke at
|
597
729
|
# this point in the flow. For more information, see [Node types in
|
598
730
|
# Amazon Bedrock works][1] in the Amazon Bedrock User Guide.
|
@@ -756,6 +888,10 @@ module Aws::BedrockAgent
|
|
756
888
|
# to.
|
757
889
|
# @return [String]
|
758
890
|
#
|
891
|
+
# @!attribute [rw] agent_collaboration
|
892
|
+
# The agent's collaboration settings.
|
893
|
+
# @return [String]
|
894
|
+
#
|
759
895
|
# @!attribute [rw] agent_id
|
760
896
|
# The unique identifier of the agent that the version belongs to.
|
761
897
|
# @return [String]
|
@@ -843,6 +979,7 @@ module Aws::BedrockAgent
|
|
843
979
|
#
|
844
980
|
class AgentVersion < Struct.new(
|
845
981
|
:agent_arn,
|
982
|
+
:agent_collaboration,
|
846
983
|
:agent_id,
|
847
984
|
:agent_name,
|
848
985
|
:agent_resource_role_arn,
|
@@ -923,6 +1060,63 @@ module Aws::BedrockAgent
|
|
923
1060
|
#
|
924
1061
|
class AnyToolChoice < Aws::EmptyStructure; end
|
925
1062
|
|
1063
|
+
# @!attribute [rw] agent_descriptor
|
1064
|
+
# The alias of the collaborator agent.
|
1065
|
+
# @return [Types::AgentDescriptor]
|
1066
|
+
#
|
1067
|
+
# @!attribute [rw] agent_id
|
1068
|
+
# The agent's ID.
|
1069
|
+
# @return [String]
|
1070
|
+
#
|
1071
|
+
# @!attribute [rw] agent_version
|
1072
|
+
# An agent version.
|
1073
|
+
# @return [String]
|
1074
|
+
#
|
1075
|
+
# @!attribute [rw] client_token
|
1076
|
+
# A client token.
|
1077
|
+
#
|
1078
|
+
# **A suitable default value is auto-generated.** You should normally
|
1079
|
+
# not need to pass this option.
|
1080
|
+
# @return [String]
|
1081
|
+
#
|
1082
|
+
# @!attribute [rw] collaboration_instruction
|
1083
|
+
# Instruction for the collaborator.
|
1084
|
+
# @return [String]
|
1085
|
+
#
|
1086
|
+
# @!attribute [rw] collaborator_name
|
1087
|
+
# A name for the collaborator.
|
1088
|
+
# @return [String]
|
1089
|
+
#
|
1090
|
+
# @!attribute [rw] relay_conversation_history
|
1091
|
+
# A relay conversation history for the collaborator.
|
1092
|
+
# @return [String]
|
1093
|
+
#
|
1094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AssociateAgentCollaboratorRequest AWS API Documentation
|
1095
|
+
#
|
1096
|
+
class AssociateAgentCollaboratorRequest < Struct.new(
|
1097
|
+
:agent_descriptor,
|
1098
|
+
:agent_id,
|
1099
|
+
:agent_version,
|
1100
|
+
:client_token,
|
1101
|
+
:collaboration_instruction,
|
1102
|
+
:collaborator_name,
|
1103
|
+
:relay_conversation_history)
|
1104
|
+
SENSITIVE = [:collaboration_instruction]
|
1105
|
+
include Aws::Structure
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
# @!attribute [rw] agent_collaborator
|
1109
|
+
# Details about the collaborator.
|
1110
|
+
# @return [Types::AgentCollaborator]
|
1111
|
+
#
|
1112
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AssociateAgentCollaboratorResponse AWS API Documentation
|
1113
|
+
#
|
1114
|
+
class AssociateAgentCollaboratorResponse < Struct.new(
|
1115
|
+
:agent_collaborator)
|
1116
|
+
SENSITIVE = []
|
1117
|
+
include Aws::Structure
|
1118
|
+
end
|
1119
|
+
|
926
1120
|
# @!attribute [rw] agent_id
|
927
1121
|
# The unique identifier of the agent with which you want to associate
|
928
1122
|
# the knowledge base.
|
@@ -1559,6 +1753,10 @@ module Aws::BedrockAgent
|
|
1559
1753
|
include Aws::Structure
|
1560
1754
|
end
|
1561
1755
|
|
1756
|
+
# @!attribute [rw] agent_collaboration
|
1757
|
+
# The agent's collaboration role.
|
1758
|
+
# @return [String]
|
1759
|
+
#
|
1562
1760
|
# @!attribute [rw] agent_name
|
1563
1761
|
# A name for the agent that you create.
|
1564
1762
|
# @return [String]
|
@@ -1680,6 +1878,7 @@ module Aws::BedrockAgent
|
|
1680
1878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentRequest AWS API Documentation
|
1681
1879
|
#
|
1682
1880
|
class CreateAgentRequest < Struct.new(
|
1881
|
+
:agent_collaboration,
|
1683
1882
|
:agent_name,
|
1684
1883
|
:agent_resource_role_arn,
|
1685
1884
|
:client_token,
|
@@ -3157,6 +3356,32 @@ module Aws::BedrockAgent
|
|
3157
3356
|
include Aws::Structure
|
3158
3357
|
end
|
3159
3358
|
|
3359
|
+
# @!attribute [rw] agent_id
|
3360
|
+
# An agent ID.
|
3361
|
+
# @return [String]
|
3362
|
+
#
|
3363
|
+
# @!attribute [rw] agent_version
|
3364
|
+
# The agent's version.
|
3365
|
+
# @return [String]
|
3366
|
+
#
|
3367
|
+
# @!attribute [rw] collaborator_id
|
3368
|
+
# The collaborator's ID.
|
3369
|
+
# @return [String]
|
3370
|
+
#
|
3371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DisassociateAgentCollaboratorRequest AWS API Documentation
|
3372
|
+
#
|
3373
|
+
class DisassociateAgentCollaboratorRequest < Struct.new(
|
3374
|
+
:agent_id,
|
3375
|
+
:agent_version,
|
3376
|
+
:collaborator_id)
|
3377
|
+
SENSITIVE = []
|
3378
|
+
include Aws::Structure
|
3379
|
+
end
|
3380
|
+
|
3381
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DisassociateAgentCollaboratorResponse AWS API Documentation
|
3382
|
+
#
|
3383
|
+
class DisassociateAgentCollaboratorResponse < Aws::EmptyStructure; end
|
3384
|
+
|
3160
3385
|
# @!attribute [rw] agent_id
|
3161
3386
|
# The unique identifier of the agent from which to disassociate the
|
3162
3387
|
# knowledge base.
|
@@ -4258,6 +4483,40 @@ module Aws::BedrockAgent
|
|
4258
4483
|
include Aws::Structure
|
4259
4484
|
end
|
4260
4485
|
|
4486
|
+
# @!attribute [rw] agent_id
|
4487
|
+
# The agent's ID.
|
4488
|
+
# @return [String]
|
4489
|
+
#
|
4490
|
+
# @!attribute [rw] agent_version
|
4491
|
+
# The agent's version.
|
4492
|
+
# @return [String]
|
4493
|
+
#
|
4494
|
+
# @!attribute [rw] collaborator_id
|
4495
|
+
# The collaborator's ID.
|
4496
|
+
# @return [String]
|
4497
|
+
#
|
4498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentCollaboratorRequest AWS API Documentation
|
4499
|
+
#
|
4500
|
+
class GetAgentCollaboratorRequest < Struct.new(
|
4501
|
+
:agent_id,
|
4502
|
+
:agent_version,
|
4503
|
+
:collaborator_id)
|
4504
|
+
SENSITIVE = []
|
4505
|
+
include Aws::Structure
|
4506
|
+
end
|
4507
|
+
|
4508
|
+
# @!attribute [rw] agent_collaborator
|
4509
|
+
# Details about the collaborator.
|
4510
|
+
# @return [Types::AgentCollaborator]
|
4511
|
+
#
|
4512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentCollaboratorResponse AWS API Documentation
|
4513
|
+
#
|
4514
|
+
class GetAgentCollaboratorResponse < Struct.new(
|
4515
|
+
:agent_collaborator)
|
4516
|
+
SENSITIVE = []
|
4517
|
+
include Aws::Structure
|
4518
|
+
end
|
4519
|
+
|
4261
4520
|
# @!attribute [rw] agent_id
|
4262
4521
|
# The unique identifier of the agent with which the knowledge base is
|
4263
4522
|
# associated.
|
@@ -5711,6 +5970,53 @@ module Aws::BedrockAgent
|
|
5711
5970
|
include Aws::Structure
|
5712
5971
|
end
|
5713
5972
|
|
5973
|
+
# @!attribute [rw] agent_id
|
5974
|
+
# The agent's ID.
|
5975
|
+
# @return [String]
|
5976
|
+
#
|
5977
|
+
# @!attribute [rw] agent_version
|
5978
|
+
# The agent's version.
|
5979
|
+
# @return [String]
|
5980
|
+
#
|
5981
|
+
# @!attribute [rw] max_results
|
5982
|
+
# The maximum number of agent collaborators to return in one page of
|
5983
|
+
# results.
|
5984
|
+
# @return [Integer]
|
5985
|
+
#
|
5986
|
+
# @!attribute [rw] next_token
|
5987
|
+
# Specify the pagination token from a previous request to retrieve the
|
5988
|
+
# next page of results.
|
5989
|
+
# @return [String]
|
5990
|
+
#
|
5991
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListAgentCollaboratorsRequest AWS API Documentation
|
5992
|
+
#
|
5993
|
+
class ListAgentCollaboratorsRequest < Struct.new(
|
5994
|
+
:agent_id,
|
5995
|
+
:agent_version,
|
5996
|
+
:max_results,
|
5997
|
+
:next_token)
|
5998
|
+
SENSITIVE = []
|
5999
|
+
include Aws::Structure
|
6000
|
+
end
|
6001
|
+
|
6002
|
+
# @!attribute [rw] agent_collaborator_summaries
|
6003
|
+
# A list of collaborator summaries.
|
6004
|
+
# @return [Array<Types::AgentCollaboratorSummary>]
|
6005
|
+
#
|
6006
|
+
# @!attribute [rw] next_token
|
6007
|
+
# Specify the pagination token from a previous request to retrieve the
|
6008
|
+
# next page of results.
|
6009
|
+
# @return [String]
|
6010
|
+
#
|
6011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListAgentCollaboratorsResponse AWS API Documentation
|
6012
|
+
#
|
6013
|
+
class ListAgentCollaboratorsResponse < Struct.new(
|
6014
|
+
:agent_collaborator_summaries,
|
6015
|
+
:next_token)
|
6016
|
+
SENSITIVE = []
|
6017
|
+
include Aws::Structure
|
6018
|
+
end
|
6019
|
+
|
5714
6020
|
# @!attribute [rw] agent_id
|
5715
6021
|
# The unique identifier of the agent for which to return information
|
5716
6022
|
# about knowledge bases associated with it.
|
@@ -7107,6 +7413,10 @@ module Aws::BedrockAgent
|
|
7107
7413
|
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts-configure.html
|
7108
7414
|
# @return [String]
|
7109
7415
|
#
|
7416
|
+
# @!attribute [rw] foundation_model
|
7417
|
+
# The agent's foundation model.
|
7418
|
+
# @return [String]
|
7419
|
+
#
|
7110
7420
|
# @!attribute [rw] inference_configuration
|
7111
7421
|
# Contains inference parameters to use when the agent invokes a
|
7112
7422
|
# foundation model in the part of the agent sequence defined by the
|
@@ -7162,6 +7472,7 @@ module Aws::BedrockAgent
|
|
7162
7472
|
#
|
7163
7473
|
class PromptConfiguration < Struct.new(
|
7164
7474
|
:base_prompt_template,
|
7475
|
+
:foundation_model,
|
7165
7476
|
:inference_configuration,
|
7166
7477
|
:parser_mode,
|
7167
7478
|
:prompt_creation_mode,
|
@@ -8955,6 +9266,60 @@ module Aws::BedrockAgent
|
|
8955
9266
|
include Aws::Structure
|
8956
9267
|
end
|
8957
9268
|
|
9269
|
+
# @!attribute [rw] agent_descriptor
|
9270
|
+
# An agent descriptor for the agent collaborator.
|
9271
|
+
# @return [Types::AgentDescriptor]
|
9272
|
+
#
|
9273
|
+
# @!attribute [rw] agent_id
|
9274
|
+
# The agent's ID.
|
9275
|
+
# @return [String]
|
9276
|
+
#
|
9277
|
+
# @!attribute [rw] agent_version
|
9278
|
+
# The agent's version.
|
9279
|
+
# @return [String]
|
9280
|
+
#
|
9281
|
+
# @!attribute [rw] collaboration_instruction
|
9282
|
+
# Instruction for the collaborator.
|
9283
|
+
# @return [String]
|
9284
|
+
#
|
9285
|
+
# @!attribute [rw] collaborator_id
|
9286
|
+
# The collaborator's ID.
|
9287
|
+
# @return [String]
|
9288
|
+
#
|
9289
|
+
# @!attribute [rw] collaborator_name
|
9290
|
+
# The collaborator's name.
|
9291
|
+
# @return [String]
|
9292
|
+
#
|
9293
|
+
# @!attribute [rw] relay_conversation_history
|
9294
|
+
# A relay conversation history for the collaborator.
|
9295
|
+
# @return [String]
|
9296
|
+
#
|
9297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentCollaboratorRequest AWS API Documentation
|
9298
|
+
#
|
9299
|
+
class UpdateAgentCollaboratorRequest < Struct.new(
|
9300
|
+
:agent_descriptor,
|
9301
|
+
:agent_id,
|
9302
|
+
:agent_version,
|
9303
|
+
:collaboration_instruction,
|
9304
|
+
:collaborator_id,
|
9305
|
+
:collaborator_name,
|
9306
|
+
:relay_conversation_history)
|
9307
|
+
SENSITIVE = [:collaboration_instruction]
|
9308
|
+
include Aws::Structure
|
9309
|
+
end
|
9310
|
+
|
9311
|
+
# @!attribute [rw] agent_collaborator
|
9312
|
+
# Details about the collaborator.
|
9313
|
+
# @return [Types::AgentCollaborator]
|
9314
|
+
#
|
9315
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentCollaboratorResponse AWS API Documentation
|
9316
|
+
#
|
9317
|
+
class UpdateAgentCollaboratorResponse < Struct.new(
|
9318
|
+
:agent_collaborator)
|
9319
|
+
SENSITIVE = []
|
9320
|
+
include Aws::Structure
|
9321
|
+
end
|
9322
|
+
|
8958
9323
|
# @!attribute [rw] agent_id
|
8959
9324
|
# The unique identifier of the agent associated with the knowledge
|
8960
9325
|
# base that you want to update.
|
@@ -9009,6 +9374,10 @@ module Aws::BedrockAgent
|
|
9009
9374
|
include Aws::Structure
|
9010
9375
|
end
|
9011
9376
|
|
9377
|
+
# @!attribute [rw] agent_collaboration
|
9378
|
+
# The agent's collaboration role.
|
9379
|
+
# @return [String]
|
9380
|
+
#
|
9012
9381
|
# @!attribute [rw] agent_id
|
9013
9382
|
# The unique identifier of the agent.
|
9014
9383
|
# @return [String]
|
@@ -9116,6 +9485,7 @@ module Aws::BedrockAgent
|
|
9116
9485
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentRequest AWS API Documentation
|
9117
9486
|
#
|
9118
9487
|
class UpdateAgentRequest < Struct.new(
|
9488
|
+
:agent_collaboration,
|
9119
9489
|
:agent_id,
|
9120
9490
|
:agent_name,
|
9121
9491
|
:agent_resource_role_arn,
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:bedrockagent)
|
|
23
23
|
# structure.
|
24
24
|
#
|
25
25
|
# bedrock_agent = Aws::BedrockAgent::Client.new
|
26
|
-
# resp = bedrock_agent.
|
26
|
+
# resp = bedrock_agent.associate_agent_collaborator(params)
|
27
27
|
#
|
28
28
|
# See {Client} for more information.
|
29
29
|
#
|
@@ -54,7 +54,7 @@ module Aws::BedrockAgent
|
|
54
54
|
autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
|
55
55
|
autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
|
56
56
|
|
57
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.39.0'
|
58
58
|
|
59
59
|
end
|
60
60
|
|
data/sig/client.rbs
CHANGED
@@ -75,6 +75,24 @@ module Aws
|
|
75
75
|
| (?Hash[Symbol, untyped]) -> instance
|
76
76
|
|
77
77
|
|
78
|
+
interface _AssociateAgentCollaboratorResponseSuccess
|
79
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateAgentCollaboratorResponse]
|
80
|
+
def agent_collaborator: () -> Types::AgentCollaborator
|
81
|
+
end
|
82
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#associate_agent_collaborator-instance_method
|
83
|
+
def associate_agent_collaborator: (
|
84
|
+
agent_descriptor: {
|
85
|
+
alias_arn: ::String?
|
86
|
+
},
|
87
|
+
agent_id: ::String,
|
88
|
+
agent_version: ::String,
|
89
|
+
?client_token: ::String,
|
90
|
+
collaboration_instruction: ::String,
|
91
|
+
collaborator_name: ::String,
|
92
|
+
?relay_conversation_history: ("TO_COLLABORATOR" | "DISABLED")
|
93
|
+
) -> _AssociateAgentCollaboratorResponseSuccess
|
94
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateAgentCollaboratorResponseSuccess
|
95
|
+
|
78
96
|
interface _AssociateAgentKnowledgeBaseResponseSuccess
|
79
97
|
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateAgentKnowledgeBaseResponse]
|
80
98
|
def agent_knowledge_base: () -> Types::AgentKnowledgeBase
|
@@ -95,6 +113,7 @@ module Aws
|
|
95
113
|
end
|
96
114
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_agent-instance_method
|
97
115
|
def create_agent: (
|
116
|
+
?agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED"),
|
98
117
|
agent_name: ::String,
|
99
118
|
?agent_resource_role_arn: ::String,
|
100
119
|
?client_token: ::String,
|
@@ -122,6 +141,7 @@ module Aws
|
|
122
141
|
prompt_configurations: Array[
|
123
142
|
{
|
124
143
|
base_prompt_template: ::String?,
|
144
|
+
foundation_model: ::String?,
|
125
145
|
inference_configuration: {
|
126
146
|
maximum_length: ::Integer?,
|
127
147
|
stop_sequences: Array[::String]?,
|
@@ -957,6 +977,17 @@ module Aws
|
|
957
977
|
) -> _DeletePromptResponseSuccess
|
958
978
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePromptResponseSuccess
|
959
979
|
|
980
|
+
interface _DisassociateAgentCollaboratorResponseSuccess
|
981
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateAgentCollaboratorResponse]
|
982
|
+
end
|
983
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#disassociate_agent_collaborator-instance_method
|
984
|
+
def disassociate_agent_collaborator: (
|
985
|
+
agent_id: ::String,
|
986
|
+
agent_version: ::String,
|
987
|
+
collaborator_id: ::String
|
988
|
+
) -> _DisassociateAgentCollaboratorResponseSuccess
|
989
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateAgentCollaboratorResponseSuccess
|
990
|
+
|
960
991
|
interface _DisassociateAgentKnowledgeBaseResponseSuccess
|
961
992
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateAgentKnowledgeBaseResponse]
|
962
993
|
end
|
@@ -1001,6 +1032,18 @@ module Aws
|
|
1001
1032
|
) -> _GetAgentAliasResponseSuccess
|
1002
1033
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentAliasResponseSuccess
|
1003
1034
|
|
1035
|
+
interface _GetAgentCollaboratorResponseSuccess
|
1036
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentCollaboratorResponse]
|
1037
|
+
def agent_collaborator: () -> Types::AgentCollaborator
|
1038
|
+
end
|
1039
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_agent_collaborator-instance_method
|
1040
|
+
def get_agent_collaborator: (
|
1041
|
+
agent_id: ::String,
|
1042
|
+
agent_version: ::String,
|
1043
|
+
collaborator_id: ::String
|
1044
|
+
) -> _GetAgentCollaboratorResponseSuccess
|
1045
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentCollaboratorResponseSuccess
|
1046
|
+
|
1004
1047
|
interface _GetAgentKnowledgeBaseResponseSuccess
|
1005
1048
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentKnowledgeBaseResponse]
|
1006
1049
|
def agent_knowledge_base: () -> Types::AgentKnowledgeBase
|
@@ -1248,6 +1291,20 @@ module Aws
|
|
1248
1291
|
) -> _ListAgentAliasesResponseSuccess
|
1249
1292
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAgentAliasesResponseSuccess
|
1250
1293
|
|
1294
|
+
interface _ListAgentCollaboratorsResponseSuccess
|
1295
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentCollaboratorsResponse]
|
1296
|
+
def agent_collaborator_summaries: () -> ::Array[Types::AgentCollaboratorSummary]
|
1297
|
+
def next_token: () -> ::String
|
1298
|
+
end
|
1299
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#list_agent_collaborators-instance_method
|
1300
|
+
def list_agent_collaborators: (
|
1301
|
+
agent_id: ::String,
|
1302
|
+
agent_version: ::String,
|
1303
|
+
?max_results: ::Integer,
|
1304
|
+
?next_token: ::String
|
1305
|
+
) -> _ListAgentCollaboratorsResponseSuccess
|
1306
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAgentCollaboratorsResponseSuccess
|
1307
|
+
|
1251
1308
|
interface _ListAgentKnowledgeBasesResponseSuccess
|
1252
1309
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentKnowledgeBasesResponse]
|
1253
1310
|
def agent_knowledge_base_summaries: () -> ::Array[Types::AgentKnowledgeBaseSummary]
|
@@ -1487,6 +1544,7 @@ module Aws
|
|
1487
1544
|
end
|
1488
1545
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_agent-instance_method
|
1489
1546
|
def update_agent: (
|
1547
|
+
?agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED"),
|
1490
1548
|
agent_id: ::String,
|
1491
1549
|
agent_name: ::String,
|
1492
1550
|
agent_resource_role_arn: ::String,
|
@@ -1514,6 +1572,7 @@ module Aws
|
|
1514
1572
|
prompt_configurations: Array[
|
1515
1573
|
{
|
1516
1574
|
base_prompt_template: ::String?,
|
1575
|
+
foundation_model: ::String?,
|
1517
1576
|
inference_configuration: {
|
1518
1577
|
maximum_length: ::Integer?,
|
1519
1578
|
stop_sequences: Array[::String]?,
|
@@ -1591,6 +1650,24 @@ module Aws
|
|
1591
1650
|
) -> _UpdateAgentAliasResponseSuccess
|
1592
1651
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentAliasResponseSuccess
|
1593
1652
|
|
1653
|
+
interface _UpdateAgentCollaboratorResponseSuccess
|
1654
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAgentCollaboratorResponse]
|
1655
|
+
def agent_collaborator: () -> Types::AgentCollaborator
|
1656
|
+
end
|
1657
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_agent_collaborator-instance_method
|
1658
|
+
def update_agent_collaborator: (
|
1659
|
+
agent_descriptor: {
|
1660
|
+
alias_arn: ::String?
|
1661
|
+
},
|
1662
|
+
agent_id: ::String,
|
1663
|
+
agent_version: ::String,
|
1664
|
+
collaboration_instruction: ::String,
|
1665
|
+
collaborator_id: ::String,
|
1666
|
+
collaborator_name: ::String,
|
1667
|
+
?relay_conversation_history: ("TO_COLLABORATOR" | "DISABLED")
|
1668
|
+
) -> _UpdateAgentCollaboratorResponseSuccess
|
1669
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentCollaboratorResponseSuccess
|
1670
|
+
|
1594
1671
|
interface _UpdateAgentKnowledgeBaseResponseSuccess
|
1595
1672
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAgentKnowledgeBaseResponse]
|
1596
1673
|
def agent_knowledge_base: () -> Types::AgentKnowledgeBase
|