Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Requests remote access to a fleet instance. Remote access is useful for debugging, gathering benchmarking data, or observing activity in real time.
To remotely access an instance, you need credentials that match the
operating system of the instance. For a Windows instance, GameLift
returns a user name and password as strings for use with a Windows
Remote Desktop client. For a Linux instance, GameLift returns a user
name and RSA private key, also as strings, for use with an SSH client.
The private key must be saved in the proper format to a .pem
file
before using. If you're making this request using the CLI, saving the
secret can be handled as part of the GetInstanceAccess
request, as
shown in one of the examples for this operation.
To request access to a specific instance, specify the IDs of both the instance and the fleet it belongs to.
Learn more
Synopsis
- data GetComputeAccess = GetComputeAccess' {
- fleetId :: Text
- computeName :: Text
- newGetComputeAccess :: Text -> Text -> GetComputeAccess
- getComputeAccess_fleetId :: Lens' GetComputeAccess Text
- getComputeAccess_computeName :: Lens' GetComputeAccess Text
- data GetComputeAccessResponse = GetComputeAccessResponse' {
- computeArn :: Maybe Text
- computeName :: Maybe Text
- credentials :: Maybe (Sensitive AwsCredentials)
- fleetArn :: Maybe Text
- fleetId :: Maybe Text
- httpStatus :: Int
- newGetComputeAccessResponse :: Int -> GetComputeAccessResponse
- getComputeAccessResponse_computeArn :: Lens' GetComputeAccessResponse (Maybe Text)
- getComputeAccessResponse_computeName :: Lens' GetComputeAccessResponse (Maybe Text)
- getComputeAccessResponse_credentials :: Lens' GetComputeAccessResponse (Maybe AwsCredentials)
- getComputeAccessResponse_fleetArn :: Lens' GetComputeAccessResponse (Maybe Text)
- getComputeAccessResponse_fleetId :: Lens' GetComputeAccessResponse (Maybe Text)
- getComputeAccessResponse_httpStatus :: Lens' GetComputeAccessResponse Int
Creating a Request
data GetComputeAccess Source #
See: newGetComputeAccess
smart constructor.
GetComputeAccess' | |
|
Instances
Create a value of GetComputeAccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetComputeAccess
, getComputeAccess_fleetId
- A unique identifier for the fleet that the compute resource is
registered to.
GetComputeAccess
, getComputeAccess_computeName
- The name of the compute resource you are requesting credentials for.
Request Lenses
getComputeAccess_fleetId :: Lens' GetComputeAccess Text Source #
A unique identifier for the fleet that the compute resource is registered to.
getComputeAccess_computeName :: Lens' GetComputeAccess Text Source #
The name of the compute resource you are requesting credentials for.
Destructuring the Response
data GetComputeAccessResponse Source #
See: newGetComputeAccessResponse
smart constructor.
GetComputeAccessResponse' | |
|
Instances
newGetComputeAccessResponse Source #
Create a value of GetComputeAccessResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetComputeAccessResponse
, getComputeAccessResponse_computeArn
- The Amazon Resource Name
(ARN)
that is assigned to a GameLift compute resource and uniquely identifies
it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
GetComputeAccess
, getComputeAccessResponse_computeName
- The name of the compute resource you requested credentials for.
GetComputeAccessResponse
, getComputeAccessResponse_credentials
- The access credentials for the compute resource.
GetComputeAccessResponse
, getComputeAccessResponse_fleetArn
- The Amazon Resource Name
(ARN)
that is assigned to a GameLift fleet resource and uniquely identifies
it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
GetComputeAccess
, getComputeAccessResponse_fleetId
- The fleet ID of compute resource.
$sel:httpStatus:GetComputeAccessResponse'
, getComputeAccessResponse_httpStatus
- The response's http status code.
Response Lenses
getComputeAccessResponse_computeArn :: Lens' GetComputeAccessResponse (Maybe Text) Source #
The Amazon Resource Name
(ARN)
that is assigned to a GameLift compute resource and uniquely identifies
it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
getComputeAccessResponse_computeName :: Lens' GetComputeAccessResponse (Maybe Text) Source #
The name of the compute resource you requested credentials for.
getComputeAccessResponse_credentials :: Lens' GetComputeAccessResponse (Maybe AwsCredentials) Source #
The access credentials for the compute resource.
getComputeAccessResponse_fleetArn :: Lens' GetComputeAccessResponse (Maybe Text) Source #
The Amazon Resource Name
(ARN)
that is assigned to a GameLift fleet resource and uniquely identifies
it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
getComputeAccessResponse_fleetId :: Lens' GetComputeAccessResponse (Maybe Text) Source #
The fleet ID of compute resource.
getComputeAccessResponse_httpStatus :: Lens' GetComputeAccessResponse Int Source #
The response's http status code.