aws_sdk_pcs/client/register_compute_node_group_instance.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 [`RegisterComputeNodeGroupInstance`](crate::operation::register_compute_node_group_instance::builders::RegisterComputeNodeGroupInstanceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_identifier(impl Into<String>)`](crate::operation::register_compute_node_group_instance::builders::RegisterComputeNodeGroupInstanceFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::register_compute_node_group_instance::builders::RegisterComputeNodeGroupInstanceFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>The name or ID of the cluster to register the compute node group instance in.</p><br>
7 /// - [`bootstrap_id(impl Into<String>)`](crate::operation::register_compute_node_group_instance::builders::RegisterComputeNodeGroupInstanceFluentBuilder::bootstrap_id) / [`set_bootstrap_id(Option<String>)`](crate::operation::register_compute_node_group_instance::builders::RegisterComputeNodeGroupInstanceFluentBuilder::set_bootstrap_id):<br>required: **true**<br><p>The client-generated token to allow for retries.</p><br>
8 /// - On success, responds with [`RegisterComputeNodeGroupInstanceOutput`](crate::operation::register_compute_node_group_instance::RegisterComputeNodeGroupInstanceOutput) with field(s):
9 /// - [`node_id(String)`](crate::operation::register_compute_node_group_instance::RegisterComputeNodeGroupInstanceOutput::node_id): <p>The scheduler node ID for this instance.</p>
10 /// - [`shared_secret(String)`](crate::operation::register_compute_node_group_instance::RegisterComputeNodeGroupInstanceOutput::shared_secret): <p>For the Slurm scheduler, this is the shared Munge key the scheduler uses to authenticate compute node group instances.</p>
11 /// - [`endpoints(Vec::<Endpoint>)`](crate::operation::register_compute_node_group_instance::RegisterComputeNodeGroupInstanceOutput::endpoints): <p>The list of endpoints available for interaction with the scheduler.</p>
12 /// - [`cluster_name(Option<String>)`](crate::operation::register_compute_node_group_instance::RegisterComputeNodeGroupInstanceOutput::cluster_name): <p>The name of the cluster that the compute node registered into.</p>
13 /// - [`compute_node_group_id(Option<String>)`](crate::operation::register_compute_node_group_instance::RegisterComputeNodeGroupInstanceOutput::compute_node_group_id): <p>The ID of the compute node group that the compute node registered into.</p>
14 /// - [`compute_node_group_name(Option<String>)`](crate::operation::register_compute_node_group_instance::RegisterComputeNodeGroupInstanceOutput::compute_node_group_name): <p>The name of the compute node group that the compute node registered into.</p>
15 /// - [`node_lifecycle_actions(Option<NodeLifecycleActions>)`](crate::operation::register_compute_node_group_instance::RegisterComputeNodeGroupInstanceOutput::node_lifecycle_actions): <p>The node lifecycle actions configured for the node group, including scripts to run when a compute node finishes bootstrapping or becomes ready to accept jobs.</p>
16 /// - On failure, responds with [`SdkError<RegisterComputeNodeGroupInstanceError>`](crate::operation::register_compute_node_group_instance::RegisterComputeNodeGroupInstanceError)
17 pub fn register_compute_node_group_instance(
18 &self,
19 ) -> crate::operation::register_compute_node_group_instance::builders::RegisterComputeNodeGroupInstanceFluentBuilder {
20 crate::operation::register_compute_node_group_instance::builders::RegisterComputeNodeGroupInstanceFluentBuilder::new(self.handle.clone())
21 }
22}