aws-sdk-bedrockagent 1.38.0 → 1.39.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 +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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be2be199f4fa27c2bd8ead88ffdf89235e1b95ebcd6596f82386851f1cf63e33
|
4
|
+
data.tar.gz: dc21232bd5898e102d39ccad064975b3a0168ea051d7338325a8bfae16797ef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a37030fa8ff52d85c3973bb0f921d28561b666ef0d19fb0cd49559e29c8f436ef21f0c9dd0741d5390050b6b07faa4189e54c15db970ee3ed187b1d913489cc9
|
7
|
+
data.tar.gz: 70b418ac1d42965f33a8a1f369c258e8a41db9274124ebde788f48846bbfe955174400a8275a176c03e2e73dd28369bd03047dfefe5bd48e16f8d90cabf4d8d9
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
@@ -447,6 +447,72 @@ module Aws::BedrockAgent
|
|
447
447
|
|
448
448
|
# @!group API Operations
|
449
449
|
|
450
|
+
# Makes an agent a collaborator for another agent.
|
451
|
+
#
|
452
|
+
# @option params [required, Types::AgentDescriptor] :agent_descriptor
|
453
|
+
# The alias of the collaborator agent.
|
454
|
+
#
|
455
|
+
# @option params [required, String] :agent_id
|
456
|
+
# The agent's ID.
|
457
|
+
#
|
458
|
+
# @option params [required, String] :agent_version
|
459
|
+
# An agent version.
|
460
|
+
#
|
461
|
+
# @option params [String] :client_token
|
462
|
+
# A client token.
|
463
|
+
#
|
464
|
+
# **A suitable default value is auto-generated.** You should normally
|
465
|
+
# not need to pass this option.**
|
466
|
+
#
|
467
|
+
# @option params [required, String] :collaboration_instruction
|
468
|
+
# Instruction for the collaborator.
|
469
|
+
#
|
470
|
+
# @option params [required, String] :collaborator_name
|
471
|
+
# A name for the collaborator.
|
472
|
+
#
|
473
|
+
# @option params [String] :relay_conversation_history
|
474
|
+
# A relay conversation history for the collaborator.
|
475
|
+
#
|
476
|
+
# @return [Types::AssociateAgentCollaboratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
477
|
+
#
|
478
|
+
# * {Types::AssociateAgentCollaboratorResponse#agent_collaborator #agent_collaborator} => Types::AgentCollaborator
|
479
|
+
#
|
480
|
+
# @example Request syntax with placeholder values
|
481
|
+
#
|
482
|
+
# resp = client.associate_agent_collaborator({
|
483
|
+
# agent_descriptor: { # required
|
484
|
+
# alias_arn: "AgentAliasArn",
|
485
|
+
# },
|
486
|
+
# agent_id: "Id", # required
|
487
|
+
# agent_version: "DraftVersion", # required
|
488
|
+
# client_token: "ClientToken",
|
489
|
+
# collaboration_instruction: "CollaborationInstruction", # required
|
490
|
+
# collaborator_name: "Name", # required
|
491
|
+
# relay_conversation_history: "TO_COLLABORATOR", # accepts TO_COLLABORATOR, DISABLED
|
492
|
+
# })
|
493
|
+
#
|
494
|
+
# @example Response structure
|
495
|
+
#
|
496
|
+
# resp.agent_collaborator.agent_descriptor.alias_arn #=> String
|
497
|
+
# resp.agent_collaborator.agent_id #=> String
|
498
|
+
# resp.agent_collaborator.agent_version #=> String
|
499
|
+
# resp.agent_collaborator.client_token #=> String
|
500
|
+
# resp.agent_collaborator.collaboration_instruction #=> String
|
501
|
+
# resp.agent_collaborator.collaborator_id #=> String
|
502
|
+
# resp.agent_collaborator.collaborator_name #=> String
|
503
|
+
# resp.agent_collaborator.created_at #=> Time
|
504
|
+
# resp.agent_collaborator.last_updated_at #=> Time
|
505
|
+
# resp.agent_collaborator.relay_conversation_history #=> String, one of "TO_COLLABORATOR", "DISABLED"
|
506
|
+
#
|
507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AssociateAgentCollaborator AWS API Documentation
|
508
|
+
#
|
509
|
+
# @overload associate_agent_collaborator(params = {})
|
510
|
+
# @param [Hash] params ({})
|
511
|
+
def associate_agent_collaborator(params = {}, options = {})
|
512
|
+
req = build_request(:associate_agent_collaborator, params)
|
513
|
+
req.send_request(options)
|
514
|
+
end
|
515
|
+
|
450
516
|
# Associates a knowledge base with an agent. If a knowledge base is
|
451
517
|
# associated and its `indexState` is set to `Enabled`, the agent queries
|
452
518
|
# the knowledge base for information to augment its response to the
|
@@ -545,6 +611,9 @@ module Aws::BedrockAgent
|
|
545
611
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html
|
546
612
|
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html
|
547
613
|
#
|
614
|
+
# @option params [String] :agent_collaboration
|
615
|
+
# The agent's collaboration role.
|
616
|
+
#
|
548
617
|
# @option params [required, String] :agent_name
|
549
618
|
# A name for the agent that you create.
|
550
619
|
#
|
@@ -655,6 +724,7 @@ module Aws::BedrockAgent
|
|
655
724
|
# @example Request syntax with placeholder values
|
656
725
|
#
|
657
726
|
# resp = client.create_agent({
|
727
|
+
# agent_collaboration: "SUPERVISOR", # accepts SUPERVISOR, SUPERVISOR_ROUTER, DISABLED
|
658
728
|
# agent_name: "Name", # required
|
659
729
|
# agent_resource_role_arn: "AgentRoleArn",
|
660
730
|
# client_token: "ClientToken",
|
@@ -682,6 +752,7 @@ module Aws::BedrockAgent
|
|
682
752
|
# prompt_configurations: [ # required
|
683
753
|
# {
|
684
754
|
# base_prompt_template: "BasePromptTemplate",
|
755
|
+
# foundation_model: "ModelIdentifier",
|
685
756
|
# inference_configuration: {
|
686
757
|
# maximum_length: 1,
|
687
758
|
# stop_sequences: ["String"],
|
@@ -704,6 +775,7 @@ module Aws::BedrockAgent
|
|
704
775
|
# @example Response structure
|
705
776
|
#
|
706
777
|
# resp.agent.agent_arn #=> String
|
778
|
+
# resp.agent.agent_collaboration #=> String, one of "SUPERVISOR", "SUPERVISOR_ROUTER", "DISABLED"
|
707
779
|
# resp.agent.agent_id #=> String
|
708
780
|
# resp.agent.agent_name #=> String
|
709
781
|
# resp.agent.agent_resource_role_arn #=> String
|
@@ -729,6 +801,7 @@ module Aws::BedrockAgent
|
|
729
801
|
# resp.agent.prompt_override_configuration.override_lambda #=> String
|
730
802
|
# resp.agent.prompt_override_configuration.prompt_configurations #=> Array
|
731
803
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].base_prompt_template #=> String
|
804
|
+
# resp.agent.prompt_override_configuration.prompt_configurations[0].foundation_model #=> String
|
732
805
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].inference_configuration.maximum_length #=> Integer
|
733
806
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].inference_configuration.stop_sequences #=> Array
|
734
807
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].inference_configuration.stop_sequences[0] #=> String
|
@@ -2853,6 +2926,36 @@ module Aws::BedrockAgent
|
|
2853
2926
|
req.send_request(options)
|
2854
2927
|
end
|
2855
2928
|
|
2929
|
+
# Disassociates an agent collaborator.
|
2930
|
+
#
|
2931
|
+
# @option params [required, String] :agent_id
|
2932
|
+
# An agent ID.
|
2933
|
+
#
|
2934
|
+
# @option params [required, String] :agent_version
|
2935
|
+
# The agent's version.
|
2936
|
+
#
|
2937
|
+
# @option params [required, String] :collaborator_id
|
2938
|
+
# The collaborator's ID.
|
2939
|
+
#
|
2940
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2941
|
+
#
|
2942
|
+
# @example Request syntax with placeholder values
|
2943
|
+
#
|
2944
|
+
# resp = client.disassociate_agent_collaborator({
|
2945
|
+
# agent_id: "Id", # required
|
2946
|
+
# agent_version: "DraftVersion", # required
|
2947
|
+
# collaborator_id: "Id", # required
|
2948
|
+
# })
|
2949
|
+
#
|
2950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DisassociateAgentCollaborator AWS API Documentation
|
2951
|
+
#
|
2952
|
+
# @overload disassociate_agent_collaborator(params = {})
|
2953
|
+
# @param [Hash] params ({})
|
2954
|
+
def disassociate_agent_collaborator(params = {}, options = {})
|
2955
|
+
req = build_request(:disassociate_agent_collaborator, params)
|
2956
|
+
req.send_request(options)
|
2957
|
+
end
|
2958
|
+
|
2856
2959
|
# Disassociates a knowledge base from an agent.
|
2857
2960
|
#
|
2858
2961
|
# @option params [required, String] :agent_id
|
@@ -2903,6 +3006,7 @@ module Aws::BedrockAgent
|
|
2903
3006
|
# @example Response structure
|
2904
3007
|
#
|
2905
3008
|
# resp.agent.agent_arn #=> String
|
3009
|
+
# resp.agent.agent_collaboration #=> String, one of "SUPERVISOR", "SUPERVISOR_ROUTER", "DISABLED"
|
2906
3010
|
# resp.agent.agent_id #=> String
|
2907
3011
|
# resp.agent.agent_name #=> String
|
2908
3012
|
# resp.agent.agent_resource_role_arn #=> String
|
@@ -2928,6 +3032,7 @@ module Aws::BedrockAgent
|
|
2928
3032
|
# resp.agent.prompt_override_configuration.override_lambda #=> String
|
2929
3033
|
# resp.agent.prompt_override_configuration.prompt_configurations #=> Array
|
2930
3034
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].base_prompt_template #=> String
|
3035
|
+
# resp.agent.prompt_override_configuration.prompt_configurations[0].foundation_model #=> String
|
2931
3036
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].inference_configuration.maximum_length #=> Integer
|
2932
3037
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].inference_configuration.stop_sequences #=> Array
|
2933
3038
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].inference_configuration.stop_sequences[0] #=> String
|
@@ -3062,6 +3167,51 @@ module Aws::BedrockAgent
|
|
3062
3167
|
req.send_request(options)
|
3063
3168
|
end
|
3064
3169
|
|
3170
|
+
# Retrieves information about an agent's collaborator.
|
3171
|
+
#
|
3172
|
+
# @option params [required, String] :agent_id
|
3173
|
+
# The agent's ID.
|
3174
|
+
#
|
3175
|
+
# @option params [required, String] :agent_version
|
3176
|
+
# The agent's version.
|
3177
|
+
#
|
3178
|
+
# @option params [required, String] :collaborator_id
|
3179
|
+
# The collaborator's ID.
|
3180
|
+
#
|
3181
|
+
# @return [Types::GetAgentCollaboratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3182
|
+
#
|
3183
|
+
# * {Types::GetAgentCollaboratorResponse#agent_collaborator #agent_collaborator} => Types::AgentCollaborator
|
3184
|
+
#
|
3185
|
+
# @example Request syntax with placeholder values
|
3186
|
+
#
|
3187
|
+
# resp = client.get_agent_collaborator({
|
3188
|
+
# agent_id: "Id", # required
|
3189
|
+
# agent_version: "Version", # required
|
3190
|
+
# collaborator_id: "Id", # required
|
3191
|
+
# })
|
3192
|
+
#
|
3193
|
+
# @example Response structure
|
3194
|
+
#
|
3195
|
+
# resp.agent_collaborator.agent_descriptor.alias_arn #=> String
|
3196
|
+
# resp.agent_collaborator.agent_id #=> String
|
3197
|
+
# resp.agent_collaborator.agent_version #=> String
|
3198
|
+
# resp.agent_collaborator.client_token #=> String
|
3199
|
+
# resp.agent_collaborator.collaboration_instruction #=> String
|
3200
|
+
# resp.agent_collaborator.collaborator_id #=> String
|
3201
|
+
# resp.agent_collaborator.collaborator_name #=> String
|
3202
|
+
# resp.agent_collaborator.created_at #=> Time
|
3203
|
+
# resp.agent_collaborator.last_updated_at #=> Time
|
3204
|
+
# resp.agent_collaborator.relay_conversation_history #=> String, one of "TO_COLLABORATOR", "DISABLED"
|
3205
|
+
#
|
3206
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentCollaborator AWS API Documentation
|
3207
|
+
#
|
3208
|
+
# @overload get_agent_collaborator(params = {})
|
3209
|
+
# @param [Hash] params ({})
|
3210
|
+
def get_agent_collaborator(params = {}, options = {})
|
3211
|
+
req = build_request(:get_agent_collaborator, params)
|
3212
|
+
req.send_request(options)
|
3213
|
+
end
|
3214
|
+
|
3065
3215
|
# Gets information about a knowledge base associated with an agent.
|
3066
3216
|
#
|
3067
3217
|
# @option params [required, String] :agent_id
|
@@ -3127,6 +3277,7 @@ module Aws::BedrockAgent
|
|
3127
3277
|
# @example Response structure
|
3128
3278
|
#
|
3129
3279
|
# resp.agent_version.agent_arn #=> String
|
3280
|
+
# resp.agent_version.agent_collaboration #=> String, one of "SUPERVISOR", "SUPERVISOR_ROUTER", "DISABLED"
|
3130
3281
|
# resp.agent_version.agent_id #=> String
|
3131
3282
|
# resp.agent_version.agent_name #=> String
|
3132
3283
|
# resp.agent_version.agent_resource_role_arn #=> String
|
@@ -3147,6 +3298,7 @@ module Aws::BedrockAgent
|
|
3147
3298
|
# resp.agent_version.prompt_override_configuration.override_lambda #=> String
|
3148
3299
|
# resp.agent_version.prompt_override_configuration.prompt_configurations #=> Array
|
3149
3300
|
# resp.agent_version.prompt_override_configuration.prompt_configurations[0].base_prompt_template #=> String
|
3301
|
+
# resp.agent_version.prompt_override_configuration.prompt_configurations[0].foundation_model #=> String
|
3150
3302
|
# resp.agent_version.prompt_override_configuration.prompt_configurations[0].inference_configuration.maximum_length #=> Integer
|
3151
3303
|
# resp.agent_version.prompt_override_configuration.prompt_configurations[0].inference_configuration.stop_sequences #=> Array
|
3152
3304
|
# resp.agent_version.prompt_override_configuration.prompt_configurations[0].inference_configuration.stop_sequences[0] #=> String
|
@@ -4101,6 +4253,61 @@ module Aws::BedrockAgent
|
|
4101
4253
|
req.send_request(options)
|
4102
4254
|
end
|
4103
4255
|
|
4256
|
+
# Retrieve a list of an agent's collaborators.
|
4257
|
+
#
|
4258
|
+
# @option params [required, String] :agent_id
|
4259
|
+
# The agent's ID.
|
4260
|
+
#
|
4261
|
+
# @option params [required, String] :agent_version
|
4262
|
+
# The agent's version.
|
4263
|
+
#
|
4264
|
+
# @option params [Integer] :max_results
|
4265
|
+
# The maximum number of agent collaborators to return in one page of
|
4266
|
+
# results.
|
4267
|
+
#
|
4268
|
+
# @option params [String] :next_token
|
4269
|
+
# Specify the pagination token from a previous request to retrieve the
|
4270
|
+
# next page of results.
|
4271
|
+
#
|
4272
|
+
# @return [Types::ListAgentCollaboratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4273
|
+
#
|
4274
|
+
# * {Types::ListAgentCollaboratorsResponse#agent_collaborator_summaries #agent_collaborator_summaries} => Array<Types::AgentCollaboratorSummary>
|
4275
|
+
# * {Types::ListAgentCollaboratorsResponse#next_token #next_token} => String
|
4276
|
+
#
|
4277
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4278
|
+
#
|
4279
|
+
# @example Request syntax with placeholder values
|
4280
|
+
#
|
4281
|
+
# resp = client.list_agent_collaborators({
|
4282
|
+
# agent_id: "Id", # required
|
4283
|
+
# agent_version: "Version", # required
|
4284
|
+
# max_results: 1,
|
4285
|
+
# next_token: "NextToken",
|
4286
|
+
# })
|
4287
|
+
#
|
4288
|
+
# @example Response structure
|
4289
|
+
#
|
4290
|
+
# resp.agent_collaborator_summaries #=> Array
|
4291
|
+
# resp.agent_collaborator_summaries[0].agent_descriptor.alias_arn #=> String
|
4292
|
+
# resp.agent_collaborator_summaries[0].agent_id #=> String
|
4293
|
+
# resp.agent_collaborator_summaries[0].agent_version #=> String
|
4294
|
+
# resp.agent_collaborator_summaries[0].collaboration_instruction #=> String
|
4295
|
+
# resp.agent_collaborator_summaries[0].collaborator_id #=> String
|
4296
|
+
# resp.agent_collaborator_summaries[0].collaborator_name #=> String
|
4297
|
+
# resp.agent_collaborator_summaries[0].created_at #=> Time
|
4298
|
+
# resp.agent_collaborator_summaries[0].last_updated_at #=> Time
|
4299
|
+
# resp.agent_collaborator_summaries[0].relay_conversation_history #=> String, one of "TO_COLLABORATOR", "DISABLED"
|
4300
|
+
# resp.next_token #=> String
|
4301
|
+
#
|
4302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListAgentCollaborators AWS API Documentation
|
4303
|
+
#
|
4304
|
+
# @overload list_agent_collaborators(params = {})
|
4305
|
+
# @param [Hash] params ({})
|
4306
|
+
def list_agent_collaborators(params = {}, options = {})
|
4307
|
+
req = build_request(:list_agent_collaborators, params)
|
4308
|
+
req.send_request(options)
|
4309
|
+
end
|
4310
|
+
|
4104
4311
|
# Lists knowledge bases associated with an agent and information about
|
4105
4312
|
# each one.
|
4106
4313
|
#
|
@@ -5034,6 +5241,9 @@ module Aws::BedrockAgent
|
|
5034
5241
|
|
5035
5242
|
# Updates the configuration of an agent.
|
5036
5243
|
#
|
5244
|
+
# @option params [String] :agent_collaboration
|
5245
|
+
# The agent's collaboration role.
|
5246
|
+
#
|
5037
5247
|
# @option params [required, String] :agent_id
|
5038
5248
|
# The unique identifier of the agent.
|
5039
5249
|
#
|
@@ -5131,6 +5341,7 @@ module Aws::BedrockAgent
|
|
5131
5341
|
# @example Request syntax with placeholder values
|
5132
5342
|
#
|
5133
5343
|
# resp = client.update_agent({
|
5344
|
+
# agent_collaboration: "SUPERVISOR", # accepts SUPERVISOR, SUPERVISOR_ROUTER, DISABLED
|
5134
5345
|
# agent_id: "Id", # required
|
5135
5346
|
# agent_name: "Name", # required
|
5136
5347
|
# agent_resource_role_arn: "AgentRoleArn", # required
|
@@ -5158,6 +5369,7 @@ module Aws::BedrockAgent
|
|
5158
5369
|
# prompt_configurations: [ # required
|
5159
5370
|
# {
|
5160
5371
|
# base_prompt_template: "BasePromptTemplate",
|
5372
|
+
# foundation_model: "ModelIdentifier",
|
5161
5373
|
# inference_configuration: {
|
5162
5374
|
# maximum_length: 1,
|
5163
5375
|
# stop_sequences: ["String"],
|
@@ -5177,6 +5389,7 @@ module Aws::BedrockAgent
|
|
5177
5389
|
# @example Response structure
|
5178
5390
|
#
|
5179
5391
|
# resp.agent.agent_arn #=> String
|
5392
|
+
# resp.agent.agent_collaboration #=> String, one of "SUPERVISOR", "SUPERVISOR_ROUTER", "DISABLED"
|
5180
5393
|
# resp.agent.agent_id #=> String
|
5181
5394
|
# resp.agent.agent_name #=> String
|
5182
5395
|
# resp.agent.agent_resource_role_arn #=> String
|
@@ -5202,6 +5415,7 @@ module Aws::BedrockAgent
|
|
5202
5415
|
# resp.agent.prompt_override_configuration.override_lambda #=> String
|
5203
5416
|
# resp.agent.prompt_override_configuration.prompt_configurations #=> Array
|
5204
5417
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].base_prompt_template #=> String
|
5418
|
+
# resp.agent.prompt_override_configuration.prompt_configurations[0].foundation_model #=> String
|
5205
5419
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].inference_configuration.maximum_length #=> Integer
|
5206
5420
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].inference_configuration.stop_sequences #=> Array
|
5207
5421
|
# resp.agent.prompt_override_configuration.prompt_configurations[0].inference_configuration.stop_sequences[0] #=> String
|
@@ -5431,6 +5645,69 @@ module Aws::BedrockAgent
|
|
5431
5645
|
req.send_request(options)
|
5432
5646
|
end
|
5433
5647
|
|
5648
|
+
# Updates an agent's collaborator.
|
5649
|
+
#
|
5650
|
+
# @option params [required, Types::AgentDescriptor] :agent_descriptor
|
5651
|
+
# An agent descriptor for the agent collaborator.
|
5652
|
+
#
|
5653
|
+
# @option params [required, String] :agent_id
|
5654
|
+
# The agent's ID.
|
5655
|
+
#
|
5656
|
+
# @option params [required, String] :agent_version
|
5657
|
+
# The agent's version.
|
5658
|
+
#
|
5659
|
+
# @option params [required, String] :collaboration_instruction
|
5660
|
+
# Instruction for the collaborator.
|
5661
|
+
#
|
5662
|
+
# @option params [required, String] :collaborator_id
|
5663
|
+
# The collaborator's ID.
|
5664
|
+
#
|
5665
|
+
# @option params [required, String] :collaborator_name
|
5666
|
+
# The collaborator's name.
|
5667
|
+
#
|
5668
|
+
# @option params [String] :relay_conversation_history
|
5669
|
+
# A relay conversation history for the collaborator.
|
5670
|
+
#
|
5671
|
+
# @return [Types::UpdateAgentCollaboratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5672
|
+
#
|
5673
|
+
# * {Types::UpdateAgentCollaboratorResponse#agent_collaborator #agent_collaborator} => Types::AgentCollaborator
|
5674
|
+
#
|
5675
|
+
# @example Request syntax with placeholder values
|
5676
|
+
#
|
5677
|
+
# resp = client.update_agent_collaborator({
|
5678
|
+
# agent_descriptor: { # required
|
5679
|
+
# alias_arn: "AgentAliasArn",
|
5680
|
+
# },
|
5681
|
+
# agent_id: "Id", # required
|
5682
|
+
# agent_version: "DraftVersion", # required
|
5683
|
+
# collaboration_instruction: "CollaborationInstruction", # required
|
5684
|
+
# collaborator_id: "Id", # required
|
5685
|
+
# collaborator_name: "Name", # required
|
5686
|
+
# relay_conversation_history: "TO_COLLABORATOR", # accepts TO_COLLABORATOR, DISABLED
|
5687
|
+
# })
|
5688
|
+
#
|
5689
|
+
# @example Response structure
|
5690
|
+
#
|
5691
|
+
# resp.agent_collaborator.agent_descriptor.alias_arn #=> String
|
5692
|
+
# resp.agent_collaborator.agent_id #=> String
|
5693
|
+
# resp.agent_collaborator.agent_version #=> String
|
5694
|
+
# resp.agent_collaborator.client_token #=> String
|
5695
|
+
# resp.agent_collaborator.collaboration_instruction #=> String
|
5696
|
+
# resp.agent_collaborator.collaborator_id #=> String
|
5697
|
+
# resp.agent_collaborator.collaborator_name #=> String
|
5698
|
+
# resp.agent_collaborator.created_at #=> Time
|
5699
|
+
# resp.agent_collaborator.last_updated_at #=> Time
|
5700
|
+
# resp.agent_collaborator.relay_conversation_history #=> String, one of "TO_COLLABORATOR", "DISABLED"
|
5701
|
+
#
|
5702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentCollaborator AWS API Documentation
|
5703
|
+
#
|
5704
|
+
# @overload update_agent_collaborator(params = {})
|
5705
|
+
# @param [Hash] params ({})
|
5706
|
+
def update_agent_collaborator(params = {}, options = {})
|
5707
|
+
req = build_request(:update_agent_collaborator, params)
|
5708
|
+
req.send_request(options)
|
5709
|
+
end
|
5710
|
+
|
5434
5711
|
# Updates the configuration for a knowledge base that has been
|
5435
5712
|
# associated with an agent.
|
5436
5713
|
#
|
@@ -6767,7 +7044,7 @@ module Aws::BedrockAgent
|
|
6767
7044
|
tracer: tracer
|
6768
7045
|
)
|
6769
7046
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
6770
|
-
context[:gem_version] = '1.
|
7047
|
+
context[:gem_version] = '1.39.0'
|
6771
7048
|
Seahorse::Client::Request.new(handlers, context)
|
6772
7049
|
end
|
6773
7050
|
|