Module Smaws_Client_GameLift.GetComputeAccess

This API works with the following fleet types: EC2, Container

Requests authorization to remotely connect to a hosting resource in a Amazon GameLift Servers managed fleet. This operation is not used with Amazon GameLift Servers Anywhere fleets.

Request options

Provide the fleet ID and compute name. The compute name varies depending on the type of fleet.

Results

If successful, this operation returns a set of temporary Amazon Web Services credentials, including a two-part access key and a session token.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `NotFoundException of Types.not_found_exception | `UnauthorizedException of Types.unauthorized_exception | `UnsupportedRegionException of Types.unsupported_region_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_compute_access_input -> (Types.get_compute_access_output, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `NotFoundException of Types.not_found_exception | `UnauthorizedException of Types.unauthorized_exception | `UnsupportedRegionException of Types.unsupported_region_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.get_compute_access_input -> (Types.get_compute_access_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `NotFoundException of Types.not_found_exception | `UnauthorizedException of Types.unauthorized_exception | `UnsupportedRegionException of Types.unsupported_region_exception ] * Smaws_Lib.Response.metadata) Stdlib.result