aws-sdk-wellarchitected 1.110.0

AWS SDK for AWS Well-Architected Tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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:
    ///   - [`profile_arn(impl Into<String>)`](crate::operation::get_agent_context::builders::GetAgentContextFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::get_agent_context::builders::GetAgentContextFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the profile containing the context.</p><br>
    ///   - [`id(impl Into<String>)`](crate::operation::get_agent_context::builders::GetAgentContextFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_agent_context::builders::GetAgentContextFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier of the context to retrieve.</p><br>
    /// - On success, responds with [`GetAgentContextOutput`](crate::operation::get_agent_context::GetAgentContextOutput) with field(s):
    ///   - [`context(Option<ContextSummary>)`](crate::operation::get_agent_context::GetAgentContextOutput::context): <p>The retrieved context summary.</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())
    }
}