Example #1
0
        public void DeviceFarmListRemoteAccessSessions()
        {
            #region to-get-information-about-a-remote-access-session-1472581144803

            var client   = new AmazonDeviceFarmClient();
            var response = client.ListRemoteAccessSessions(new ListRemoteAccessSessionsRequest
            {
                Arn       = "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456", // You can get the Amazon Resource Name (ARN) of the session by using the list-sessions CLI command.
                NextToken = "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE="               // A dynamically generated value, used for paginating results.
            });

            List <RemoteAccessSession> remoteAccessSessions = response.RemoteAccessSessions;

            #endregion
        }