aws_sdk_bedrockagentcorecontrol/client/
get_agent_runtime.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 [`GetAgentRuntime`](crate::operation::get_agent_runtime::builders::GetAgentRuntimeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`agent_runtime_id(impl Into<String>)`](crate::operation::get_agent_runtime::builders::GetAgentRuntimeFluentBuilder::agent_runtime_id) / [`set_agent_runtime_id(Option<String>)`](crate::operation::get_agent_runtime::builders::GetAgentRuntimeFluentBuilder::set_agent_runtime_id):<br>required: **true**<br><p>The unique identifier of the agent runtime to retrieve.</p><br>
7    ///   - [`agent_runtime_version(impl Into<String>)`](crate::operation::get_agent_runtime::builders::GetAgentRuntimeFluentBuilder::agent_runtime_version) / [`set_agent_runtime_version(Option<String>)`](crate::operation::get_agent_runtime::builders::GetAgentRuntimeFluentBuilder::set_agent_runtime_version):<br>required: **false**<br><p>The version of the agent runtime to retrieve.</p><br>
8    /// - On success, responds with [`GetAgentRuntimeOutput`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput) with field(s):
9    ///   - [`agent_runtime_arn(String)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::agent_runtime_arn): <p>The Amazon Resource Name (ARN) of the agent runtime.</p>
10    ///   - [`workload_identity_details(Option<WorkloadIdentityDetails>)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::workload_identity_details): <p>The workload identity details for the agent runtime.</p>
11    ///   - [`agent_runtime_name(String)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::agent_runtime_name): <p>The name of the agent runtime.</p>
12    ///   - [`description(Option<String>)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::description): <p>The description of the agent runtime.</p>
13    ///   - [`agent_runtime_id(String)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::agent_runtime_id): <p>The unique identifier of the agent runtime.</p>
14    ///   - [`agent_runtime_version(String)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::agent_runtime_version): <p>The version of the agent runtime.</p>
15    ///   - [`created_at(DateTime)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::created_at): <p>The timestamp when the agent runtime was created.</p>
16    ///   - [`last_updated_at(DateTime)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::last_updated_at): <p>The timestamp when the agent runtime was last updated.</p>
17    ///   - [`role_arn(String)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::role_arn): <p>The IAM role ARN that provides permissions for the agent runtime.</p>
18    ///   - [`agent_runtime_artifact(Option<AgentArtifact>)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::agent_runtime_artifact): <p>The artifact of the agent runtime.</p>
19    ///   - [`network_configuration(Option<NetworkConfiguration>)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::network_configuration): <p>The network configuration for the agent runtime.</p>
20    ///   - [`protocol_configuration(Option<ProtocolConfiguration>)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::protocol_configuration): <p>The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.</p>
21    ///   - [`environment_variables(Option<HashMap::<String, String>>)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::environment_variables): <p>Environment variables set in the agent runtime environment.</p>
22    ///   - [`authorizer_configuration(Option<AuthorizerConfiguration>)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::authorizer_configuration): <p>The authorizer configuration for the agent runtime.</p>
23    ///   - [`status(AgentStatus)`](crate::operation::get_agent_runtime::GetAgentRuntimeOutput::status): <p>The current status of the agent runtime.</p>
24    /// - On failure, responds with [`SdkError<GetAgentRuntimeError>`](crate::operation::get_agent_runtime::GetAgentRuntimeError)
25    pub fn get_agent_runtime(&self) -> crate::operation::get_agent_runtime::builders::GetAgentRuntimeFluentBuilder {
26        crate::operation::get_agent_runtime::builders::GetAgentRuntimeFluentBuilder::new(self.handle.clone())
27    }
28}