aws_sdk_bedrockagent/client/get_agent_version.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 [`GetAgentVersion`](crate::operation::get_agent_version::builders::GetAgentVersionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_id(impl Into<String>)`](crate::operation::get_agent_version::builders::GetAgentVersionFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::get_agent_version::builders::GetAgentVersionFluentBuilder::set_agent_id):<br>required: **true**<br><p>The unique identifier of the agent.</p><br>
7 /// - [`agent_version(impl Into<String>)`](crate::operation::get_agent_version::builders::GetAgentVersionFluentBuilder::agent_version) / [`set_agent_version(Option<String>)`](crate::operation::get_agent_version::builders::GetAgentVersionFluentBuilder::set_agent_version):<br>required: **true**<br><p>The version of the agent.</p><br>
8 /// - On success, responds with [`GetAgentVersionOutput`](crate::operation::get_agent_version::GetAgentVersionOutput) with field(s):
9 /// - [`agent_version(Option<AgentVersion>)`](crate::operation::get_agent_version::GetAgentVersionOutput::agent_version): <p>Contains details about the version of the agent.</p>
10 /// - On failure, responds with [`SdkError<GetAgentVersionError>`](crate::operation::get_agent_version::GetAgentVersionError)
11 pub fn get_agent_version(&self) -> crate::operation::get_agent_version::builders::GetAgentVersionFluentBuilder {
12 crate::operation::get_agent_version::builders::GetAgentVersionFluentBuilder::new(self.handle.clone())
13 }
14}