// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetAgentContext`](crate::operation::get_agent_context::builders::GetAgentContextFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`agent_context_id(impl Into<String>)`](crate::operation::get_agent_context::builders::GetAgentContextFluentBuilder::agent_context_id) / [`set_agent_context_id(Option<String>)`](crate::operation::get_agent_context::builders::GetAgentContextFluentBuilder::set_agent_context_id):<br>required: **true**<br><p>The agent context to return, by its ID or ARN.</p><br>
/// - On success, responds with [`GetAgentContextOutput`](crate::operation::get_agent_context::GetAgentContextOutput) with field(s):
/// - [`id(String)`](crate::operation::get_agent_context::GetAgentContextOutput::id): <p>The agent context's opaque ID.</p>
/// - [`arn(String)`](crate::operation::get_agent_context::GetAgentContextOutput::arn): <p>The ARN of the agent context, in the form <code>arn:<partition>:context:<region>:<account-id>:agent-context/<id></code>.</p>
/// - [`name(String)`](crate::operation::get_agent_context::GetAgentContextOutput::name): <p>The name of the agent context. If you didn't specify a name when you created it, the name is <code>default</code>.</p>
/// - [`description(Option<String>)`](crate::operation::get_agent_context::GetAgentContextOutput::description): <p>A human-readable description, if one was set.</p>
/// - [`status(AgentContextStatus)`](crate::operation::get_agent_context::GetAgentContextOutput::status): <p>The agent context's lifecycle status.</p> <p>Valid values:</p> <ul> <li> <p><code>CREATING</code> - The agent context is being created.</p></li> <li> <p><code>ACTIVE</code> - The agent context is ready to use.</p></li> <li> <p><code>UPDATING</code> - The agent context is being updated.</p></li> <li> <p><code>DELETING</code> - The agent context is being deleted.</p></li> <li> <p><code>FAILED</code> - The agent context failed.</p></li> </ul>
/// - [`created_at(DateTime)`](crate::operation::get_agent_context::GetAgentContextOutput::created_at): <p>The date and time when the agent context was created.</p>
/// - [`updated_at(DateTime)`](crate::operation::get_agent_context::GetAgentContextOutput::updated_at): <p>When the resource last changed. Equal to <code>createdAt</code> until the first update.</p>
/// - [`connection_mappings(Option<Vec::<ConnectionMapping>>)`](crate::operation::get_agent_context::GetAgentContextOutput::connection_mappings): <p>The agent context's connection mappings.</p>
/// - [`encryption_config(Option<EncryptionConfig>)`](crate::operation::get_agent_context::GetAgentContextOutput::encryption_config): <p>The agent context's encryption settings.</p>
/// - [`trace_analysis_config(Option<TraceAnalysisConfig>)`](crate::operation::get_agent_context::GetAgentContextOutput::trace_analysis_config): <p>The agent context's trace analysis settings.</p>
/// - [`workforce_sign_in_config(Option<WorkforceSignInConfig>)`](crate::operation::get_agent_context::GetAgentContextOutput::workforce_sign_in_config): <p>How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in). <code>status</code> reads ENABLED while a sign-in URL is stored, DISABLED otherwise.</p>
/// - [`entity_resolution_config(Option<EntityResolutionConfig>)`](crate::operation::get_agent_context::GetAgentContextOutput::entity_resolution_config): <p>The agent context's entity resolution settings. Populated on every response path that returns the resource.</p>
/// - [`mcp_server_url(Option<String>)`](crate::operation::get_agent_context::GetAgentContextOutput::mcp_server_url): <p>The Model Context Protocol (MCP) server URL to give your employees while workforce sign-in is <code>ENABLED</code>. The URL is the agent context's MCP endpoint, with <code>workforceSignInConfig.signInUrl</code> as its <code>login_hint</code> query parameter and the ID that AWS Context assigns to that sign-in URL as its <code>tenantId</code> query parameter. Absent while workforce sign-in is <code>DISABLED</code>.</p>
/// - [`trusted_identity_sources(Option<Vec::<TrustedIdentitySource>>)`](crate::operation::get_agent_context::GetAgentContextOutput::trusted_identity_sources): <p>Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.</p>
/// - On failure, responds with [`SdkError<GetAgentContextError>`](crate::operation::get_agent_context::GetAgentContextError)
pub fn get_agent_context(&self) -> crate::operation::get_agent_context::builders::GetAgentContextFluentBuilder {
crate::operation::get_agent_context::builders::GetAgentContextFluentBuilder::new(self.handle.clone())
}
}