describe_device

WorkLink.Client.describe_device(**kwargs)

Provides information about a user's device.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.describe_device(
    FleetArn='string',
    DeviceId='string'
)
Parameters
  • FleetArn (string) --

    [REQUIRED]

    The ARN of the fleet.

  • DeviceId (string) --

    [REQUIRED]

    A unique identifier for a registered user's device.

Return type

dict

Returns

Response Syntax

{
    'Status': 'ACTIVE'|'SIGNED_OUT',
    'Model': 'string',
    'Manufacturer': 'string',
    'OperatingSystem': 'string',
    'OperatingSystemVersion': 'string',
    'PatchLevel': 'string',
    'FirstAccessedTime': datetime(2015, 1, 1),
    'LastAccessedTime': datetime(2015, 1, 1),
    'Username': 'string'
}

Response Structure

  • (dict) --

    • Status (string) --

      The current state of the device.

    • Model (string) --

      The model of the device.

    • Manufacturer (string) --

      The manufacturer of the device.

    • OperatingSystem (string) --

      The operating system of the device.

    • OperatingSystemVersion (string) --

      The operating system version of the device.

    • PatchLevel (string) --

      The operating system patch level of the device.

    • FirstAccessedTime (datetime) --

      The date that the device first signed in to Amazon WorkLink.

    • LastAccessedTime (datetime) --

      The date that the device last accessed Amazon WorkLink.

    • Username (string) --

      The user name associated with the device.

Exceptions

  • WorkLink.Client.exceptions.UnauthorizedException
  • WorkLink.Client.exceptions.InternalServerErrorException
  • WorkLink.Client.exceptions.InvalidRequestException
  • WorkLink.Client.exceptions.ResourceNotFoundException
  • WorkLink.Client.exceptions.TooManyRequestsException