aws_sdk_bedrockagent/client/get_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 [`GetAgentCollaborator`](crate::operation::get_agent_collaborator::builders::GetAgentCollaboratorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_id(impl Into<String>)`](crate::operation::get_agent_collaborator::builders::GetAgentCollaboratorFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::get_agent_collaborator::builders::GetAgentCollaboratorFluentBuilder::set_agent_id):<br>required: **true**<br><p>The agent's ID.</p><br>
7 /// - [`agent_version(impl Into<String>)`](crate::operation::get_agent_collaborator::builders::GetAgentCollaboratorFluentBuilder::agent_version) / [`set_agent_version(Option<String>)`](crate::operation::get_agent_collaborator::builders::GetAgentCollaboratorFluentBuilder::set_agent_version):<br>required: **true**<br><p>The agent's version.</p><br>
8 /// - [`collaborator_id(impl Into<String>)`](crate::operation::get_agent_collaborator::builders::GetAgentCollaboratorFluentBuilder::collaborator_id) / [`set_collaborator_id(Option<String>)`](crate::operation::get_agent_collaborator::builders::GetAgentCollaboratorFluentBuilder::set_collaborator_id):<br>required: **true**<br><p>The collaborator's ID.</p><br>
9 /// - On success, responds with [`GetAgentCollaboratorOutput`](crate::operation::get_agent_collaborator::GetAgentCollaboratorOutput) with field(s):
10 /// - [`agent_collaborator(Option<AgentCollaborator>)`](crate::operation::get_agent_collaborator::GetAgentCollaboratorOutput::agent_collaborator): <p>Details about the collaborator.</p>
11 /// - On failure, responds with [`SdkError<GetAgentCollaboratorError>`](crate::operation::get_agent_collaborator::GetAgentCollaboratorError)
12 pub fn get_agent_collaborator(&self) -> crate::operation::get_agent_collaborator::builders::GetAgentCollaboratorFluentBuilder {
13 crate::operation::get_agent_collaborator::builders::GetAgentCollaboratorFluentBuilder::new(self.handle.clone())
14 }
15}