aws_sdk_sagemaker/client/
describe_context.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 [`DescribeContext`](crate::operation::describe_context::builders::DescribeContextFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`context_name(impl Into<String>)`](crate::operation::describe_context::builders::DescribeContextFluentBuilder::context_name) / [`set_context_name(Option<String>)`](crate::operation::describe_context::builders::DescribeContextFluentBuilder::set_context_name):<br>required: **true**<br><p>The name of the context to describe.</p><br>
7    /// - On success, responds with [`DescribeContextOutput`](crate::operation::describe_context::DescribeContextOutput) with field(s):
8    ///   - [`context_name(Option<String>)`](crate::operation::describe_context::DescribeContextOutput::context_name): <p>The name of the context.</p>
9    ///   - [`context_arn(Option<String>)`](crate::operation::describe_context::DescribeContextOutput::context_arn): <p>The Amazon Resource Name (ARN) of the context.</p>
10    ///   - [`source(Option<ContextSource>)`](crate::operation::describe_context::DescribeContextOutput::source): <p>The source of the context.</p>
11    ///   - [`context_type(Option<String>)`](crate::operation::describe_context::DescribeContextOutput::context_type): <p>The type of the context.</p>
12    ///   - [`description(Option<String>)`](crate::operation::describe_context::DescribeContextOutput::description): <p>The description of the context.</p>
13    ///   - [`properties(Option<HashMap::<String, String>>)`](crate::operation::describe_context::DescribeContextOutput::properties): <p>A list of the context's properties.</p>
14    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_context::DescribeContextOutput::creation_time): <p>When the context was created.</p>
15    ///   - [`created_by(Option<UserContext>)`](crate::operation::describe_context::DescribeContextOutput::created_by): <p>Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.</p>
16    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_context::DescribeContextOutput::last_modified_time): <p>When the context was last modified.</p>
17    ///   - [`last_modified_by(Option<UserContext>)`](crate::operation::describe_context::DescribeContextOutput::last_modified_by): <p>Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.</p>
18    ///   - [`lineage_group_arn(Option<String>)`](crate::operation::describe_context::DescribeContextOutput::lineage_group_arn): <p>The Amazon Resource Name (ARN) of the lineage group.</p>
19    /// - On failure, responds with [`SdkError<DescribeContextError>`](crate::operation::describe_context::DescribeContextError)
20    pub fn describe_context(&self) -> crate::operation::describe_context::builders::DescribeContextFluentBuilder {
21        crate::operation::describe_context::builders::DescribeContextFluentBuilder::new(self.handle.clone())
22    }
23}