Struct aws_sdk_gamelift::operation::get_compute_access::builders::GetComputeAccessFluentBuilder
source · pub struct GetComputeAccessFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetComputeAccess
.
Requests authorization to remotely connect to a compute resource in an Amazon GameLift fleet. Call this action to connect to an instance in a managed EC2 fleet if the fleet's game build uses Amazon GameLift server SDK 5.x or later. To connect to instances with game builds that use server SDK 4.x or earlier, call GetInstanceAccess
.
To request access to a compute, identify the specific EC2 instance and the fleet it belongs to. You can retrieve instances for a managed EC2 fleet by calling ListCompute
.
If successful, this operation returns a set of temporary Amazon Web Services credentials, including a two-part access key and a session token. Use these credentials with Amazon EC2 Systems Manager (SSM) to start a session with the compute. For more details, see Starting a session (CLI) in the Amazon EC2 Systems Manager User Guide.
Learn more
Implementations§
source§impl GetComputeAccessFluentBuilder
impl GetComputeAccessFluentBuilder
sourcepub fn as_input(&self) -> &GetComputeAccessInputBuilder
pub fn as_input(&self) -> &GetComputeAccessInputBuilder
Access the GetComputeAccess as a reference.
sourcepub async fn send(
self
) -> Result<GetComputeAccessOutput, SdkError<GetComputeAccessError, HttpResponse>>
pub async fn send( self ) -> Result<GetComputeAccessOutput, SdkError<GetComputeAccessError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetComputeAccessOutput, GetComputeAccessError, Self>
pub fn customize( self ) -> CustomizableOperation<GetComputeAccessOutput, GetComputeAccessError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn fleet_id(self, input: impl Into<String>) -> Self
pub fn fleet_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_fleet_id(self, input: Option<String>) -> Self
pub fn set_fleet_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
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.
sourcepub fn compute_name(self, input: impl Into<String>) -> Self
pub fn compute_name(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_compute_name(self, input: Option<String>) -> Self
pub fn set_compute_name(self, input: Option<String>) -> Self
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.
sourcepub fn get_compute_name(&self) -> &Option<String>
pub fn get_compute_name(&self) -> &Option<String>
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.
Trait Implementations§
source§impl Clone for GetComputeAccessFluentBuilder
impl Clone for GetComputeAccessFluentBuilder
source§fn clone(&self) -> GetComputeAccessFluentBuilder
fn clone(&self) -> GetComputeAccessFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more