1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RegisterCompute`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`fleet_id(impl ::std::convert::Into<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::set_fleet_id): <p>A unique identifier for the fleet to register the compute to. You can use either the fleet ID or ARN value.</p>
    ///   - [`compute_name(impl ::std::convert::Into<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::compute_name) / [`set_compute_name(Option<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::set_compute_name): <p>A descriptive label that is associated with the compute resource registered to your fleet.</p>
    ///   - [`certificate_path(impl ::std::convert::Into<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::certificate_path) / [`set_certificate_path(Option<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::set_certificate_path): <p>The path to the TLS certificate on your compute resource. The path and certificate are not validated by Amazon GameLift.</p>
    ///   - [`dns_name(impl ::std::convert::Into<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::dns_name) / [`set_dns_name(Option<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::set_dns_name): <p>The DNS name of the compute resource. Amazon GameLift requires the DNS name or IP address to manage your compute resource.</p>
    ///   - [`ip_address(impl ::std::convert::Into<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::ip_address) / [`set_ip_address(Option<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::set_ip_address): <p>The IP address of the compute resource. Amazon GameLift requires the DNS name or IP address to manage your compute resource.</p>
    ///   - [`location(impl ::std::convert::Into<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::location) / [`set_location(Option<String>)`](crate::operation::register_compute::builders::RegisterComputeFluentBuilder::set_location): <p>The name of the custom location you added to the fleet you are registering this compute resource to.</p>
    /// - On success, responds with [`RegisterComputeOutput`](crate::operation::register_compute::RegisterComputeOutput) with field(s):
    ///   - [`compute(Option<Compute>)`](crate::operation::register_compute::RegisterComputeOutput::compute): <p>The details of the compute resource you registered to the specified fleet.</p>
    /// - On failure, responds with [`SdkError<RegisterComputeError>`](crate::operation::register_compute::RegisterComputeError)
    pub fn register_compute(&self) -> crate::operation::register_compute::builders::RegisterComputeFluentBuilder {
        crate::operation::register_compute::builders::RegisterComputeFluentBuilder::new(self.handle.clone())
    }
}