Amazon.GameLift.AmazonGameLiftClient.GetInstanceAccess C# (CSharp) 메소드

GetInstanceAccess() 공개 메소드

Requests remote access to a fleet instance. Remote access is useful for debugging, gathering benchmarking data, or watching activity in real time.

Access requires credentials that match the operating system of the instance. For a Windows instance, GameLift returns a username and password as strings for use with a Windows Remote Desktop client. For a Linux instance, GameLift returns a username 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 AWS CLI, saving the secret can be handled as part of the GetInstanceAccess request (see the example later in this topic). For more information on remote access, see Remotely Accessing an Instance.

To request access to a specific instance, specify the IDs of the instance and the fleet it belongs to. If successful, an InstanceAccess object is returned containing the instance's IP address and a set of credentials.

/// The service encountered an unrecoverable internal failure while processing the request. /// Clients can retry such requests immediately or after a waiting period. /// /// One or more parameter values in the request are invalid. Correct the invalid parameter /// values before retrying. /// /// A service resource associated with the request could not be found. Clients should /// not retry such requests. /// /// The client failed authentication. Clients should not retry such requests. ///
public GetInstanceAccess ( GetInstanceAccessRequest request ) : GetInstanceAccessResponse
request Amazon.GameLift.Model.GetInstanceAccessRequest Container for the necessary parameters to execute the GetInstanceAccess service method.
리턴 Amazon.GameLift.Model.GetInstanceAccessResponse
        public GetInstanceAccessResponse GetInstanceAccess(GetInstanceAccessRequest request)
        {
            var marshaller = new GetInstanceAccessRequestMarshaller();
            var unmarshaller = GetInstanceAccessResponseUnmarshaller.Instance;

            return Invoke<GetInstanceAccessRequest,GetInstanceAccessResponse>(request, marshaller, unmarshaller);
        }
AmazonGameLiftClient