aws_sdk_bedrockagent/client/update_agent_collaborator.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateAgentCollaborator`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_id(impl Into<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::set_agent_id):<br>required: **true**<br><p>The agent's ID.</p><br>
7 /// - [`agent_version(impl Into<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::agent_version) / [`set_agent_version(Option<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::set_agent_version):<br>required: **true**<br><p>The agent's version.</p><br>
8 /// - [`collaborator_id(impl Into<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::collaborator_id) / [`set_collaborator_id(Option<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::set_collaborator_id):<br>required: **true**<br><p>The collaborator's ID.</p><br>
9 /// - [`agent_descriptor(AgentDescriptor)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::agent_descriptor) / [`set_agent_descriptor(Option<AgentDescriptor>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::set_agent_descriptor):<br>required: **true**<br><p>An agent descriptor for the agent collaborator.</p><br>
10 /// - [`collaborator_name(impl Into<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::collaborator_name) / [`set_collaborator_name(Option<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::set_collaborator_name):<br>required: **true**<br><p>The collaborator's name.</p><br>
11 /// - [`collaboration_instruction(impl Into<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::collaboration_instruction) / [`set_collaboration_instruction(Option<String>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::set_collaboration_instruction):<br>required: **true**<br><p>Instruction for the collaborator.</p><br>
12 /// - [`relay_conversation_history(RelayConversationHistory)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::relay_conversation_history) / [`set_relay_conversation_history(Option<RelayConversationHistory>)`](crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::set_relay_conversation_history):<br>required: **false**<br><p>A relay conversation history for the collaborator.</p><br>
13 /// - On success, responds with [`UpdateAgentCollaboratorOutput`](crate::operation::update_agent_collaborator::UpdateAgentCollaboratorOutput) with field(s):
14 /// - [`agent_collaborator(Option<AgentCollaborator>)`](crate::operation::update_agent_collaborator::UpdateAgentCollaboratorOutput::agent_collaborator): <p>Details about the collaborator.</p>
15 /// - On failure, responds with [`SdkError<UpdateAgentCollaboratorError>`](crate::operation::update_agent_collaborator::UpdateAgentCollaboratorError)
16 pub fn update_agent_collaborator(&self) -> crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder {
17 crate::operation::update_agent_collaborator::builders::UpdateAgentCollaboratorFluentBuilder::new(self.handle.clone())
18 }
19}