1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeCluster`](crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_name(impl Into<String>)`](crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder::set_cluster_name):<br>required: **true**<br><p>The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.</p><br>
    /// - On success, responds with [`DescribeClusterOutput`](crate::operation::describe_cluster::DescribeClusterOutput) with field(s):
    ///   - [`cluster_arn(Option<String>)`](crate::operation::describe_cluster::DescribeClusterOutput::cluster_arn): <p>The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.</p>
    ///   - [`cluster_name(Option<String>)`](crate::operation::describe_cluster::DescribeClusterOutput::cluster_name): <p>The name of the SageMaker HyperPod cluster.</p>
    ///   - [`cluster_status(Option<ClusterStatus>)`](crate::operation::describe_cluster::DescribeClusterOutput::cluster_status): <p>The status of the SageMaker HyperPod cluster.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_cluster::DescribeClusterOutput::creation_time): <p>The time when the SageMaker Cluster is created.</p>
    ///   - [`failure_message(Option<String>)`](crate::operation::describe_cluster::DescribeClusterOutput::failure_message): <p>The failure message of the SageMaker HyperPod cluster.</p>
    ///   - [`instance_groups(Option<Vec::<ClusterInstanceGroupDetails>>)`](crate::operation::describe_cluster::DescribeClusterOutput::instance_groups): <p>The instance groups of the SageMaker HyperPod cluster.</p>
    ///   - [`vpc_config(Option<VpcConfig>)`](crate::operation::describe_cluster::DescribeClusterOutput::vpc_config): <p>Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker Access to Resources in your Amazon VPC</a>.</p>
    /// - On failure, responds with [`SdkError<DescribeClusterError>`](crate::operation::describe_cluster::DescribeClusterError)
    pub fn describe_cluster(&self) -> crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder {
        crate::operation::describe_cluster::builders::DescribeClusterFluentBuilder::new(self.handle.clone())
    }
}