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 [`GetComputeAccess`](crate::operation::get_compute_access::builders::GetComputeAccessFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`fleet_id(impl Into<String>)`](crate::operation::get_compute_access::builders::GetComputeAccessFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::get_compute_access::builders::GetComputeAccessFluentBuilder::set_fleet_id):<br>required: **true**<br><p>A unique identifier for the fleet that contains the compute resource you want to connect to. You can use either the fleet ID or ARN value.</p><br>
    ///   - [`compute_name(impl Into<String>)`](crate::operation::get_compute_access::builders::GetComputeAccessFluentBuilder::compute_name) / [`set_compute_name(Option<String>)`](crate::operation::get_compute_access::builders::GetComputeAccessFluentBuilder::set_compute_name):<br>required: **true**<br><p>A unique identifier for the compute resource that you want to connect to. You can use either a registered compute name or an instance ID.</p><br>
    /// - On success, responds with [`GetComputeAccessOutput`](crate::operation::get_compute_access::GetComputeAccessOutput) with field(s):
    ///   - [`fleet_id(Option<String>)`](crate::operation::get_compute_access::GetComputeAccessOutput::fleet_id): <p>The ID of the fleet that contains the compute resource to be accessed.</p>
    ///   - [`fleet_arn(Option<String>)`](crate::operation::get_compute_access::GetComputeAccessOutput::fleet_arn): <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is <code>arn:aws:gamelift:   <region>    ::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912   </region></code>.</p>
    ///   - [`compute_name(Option<String>)`](crate::operation::get_compute_access::GetComputeAccessOutput::compute_name): <p>The identifier of the compute resource to be accessed. This value might be either a compute name or an instance ID.</p>
    ///   - [`compute_arn(Option<String>)`](crate::operation::get_compute_access::GetComputeAccessOutput::compute_arn): <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) that is assigned to an Amazon GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is <code>arn:aws:gamelift:   <region>    ::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912   </region></code>.</p>
    ///   - [`credentials(Option<AwsCredentials>)`](crate::operation::get_compute_access::GetComputeAccessOutput::credentials): <p>A set of temporary Amazon Web Services credentials for use when connecting to the compute resource with Amazon EC2 Systems Manager (SSM).</p>
    /// - On failure, responds with [`SdkError<GetComputeAccessError>`](crate::operation::get_compute_access::GetComputeAccessError)
    pub fn get_compute_access(&self) -> crate::operation::get_compute_access::builders::GetComputeAccessFluentBuilder {
        crate::operation::get_compute_access::builders::GetComputeAccessFluentBuilder::new(self.handle.clone())
    }
}