aws_sdk_sagemaker/client/
describe_workteam.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 [`DescribeWorkteam`](crate::operation::describe_workteam::builders::DescribeWorkteamFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`workteam_name(impl Into<String>)`](crate::operation::describe_workteam::builders::DescribeWorkteamFluentBuilder::workteam_name) / [`set_workteam_name(Option<String>)`](crate::operation::describe_workteam::builders::DescribeWorkteamFluentBuilder::set_workteam_name):<br>required: **true**<br><p>The name of the work team to return a description of.</p><br>
7    /// - On success, responds with [`DescribeWorkteamOutput`](crate::operation::describe_workteam::DescribeWorkteamOutput) with field(s):
8    ///   - [`workteam(Option<Workteam>)`](crate::operation::describe_workteam::DescribeWorkteamOutput::workteam): <p>A <code>Workteam</code> instance that contains information about the work team.</p>
9    /// - On failure, responds with [`SdkError<DescribeWorkteamError>`](crate::operation::describe_workteam::DescribeWorkteamError)
10    pub fn describe_workteam(&self) -> crate::operation::describe_workteam::builders::DescribeWorkteamFluentBuilder {
11        crate::operation::describe_workteam::builders::DescribeWorkteamFluentBuilder::new(self.handle.clone())
12    }
13}