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
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateAgentContext`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
    ///   - [`profile_arn(impl Into<String>)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the profile to associate the context with.</p><br>
    ///   - [`title(impl Into<String>)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::title) / [`set_title(Option<String>)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::set_title):<br>required: **true**<br><p>The title of the context.</p><br>
    ///   - [`context_type(ContextType)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::context_type) / [`set_context_type(Option<ContextType>)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::set_context_type):<br>required: **true**<br><p>The type of the context.</p><br>
    ///   - [`content(ContextContent)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::content) / [`set_content(Option<ContextContent>)`](crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::set_content):<br>required: **true**<br><p>The typed content of the context. The structure contains application-specific fields such as account IDs, Regions, services, and resource types.</p><br>
    /// - On success, responds with [`CreateAgentContextOutput`](crate::operation::create_agent_context::CreateAgentContextOutput) with field(s):
    ///   - [`context(Option<ContextSummary>)`](crate::operation::create_agent_context::CreateAgentContextOutput::context): <p>The created context summary.</p>
    /// - On failure, responds with [`SdkError<CreateAgentContextError>`](crate::operation::create_agent_context::CreateAgentContextError)
    pub fn create_agent_context(&self) -> crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder {
        crate::operation::create_agent_context::builders::CreateAgentContextFluentBuilder::new(self.handle.clone())
    }
}