libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SnowDeviceManagement.DescribeDevice

Description

Checks device-specific information, such as the device type, software version, IP addresses, and lock status.

Synopsis

Creating a Request

data DescribeDevice Source #

See: newDescribeDevice smart constructor.

Constructors

DescribeDevice' 

Fields

Instances

Instances details
Eq DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Read DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Show DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Generic DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Associated Types

type Rep DescribeDevice :: Type -> Type #

NFData DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Methods

rnf :: DescribeDevice -> () #

Hashable DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

ToJSON DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

AWSRequest DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Associated Types

type AWSResponse DescribeDevice #

ToHeaders DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

ToPath DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

ToQuery DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

type Rep DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

type Rep DescribeDevice = D1 ('MetaData "DescribeDevice" "Amazonka.SnowDeviceManagement.DescribeDevice" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "DescribeDevice'" 'PrefixI 'True) (S1 ('MetaSel ('Just "managedDeviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

newDescribeDevice Source #

Create a value of DescribeDevice 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:

$sel:managedDeviceId:DescribeDevice', describeDevice_managedDeviceId - The ID of the device that you are checking the information of.

Request Lenses

describeDevice_managedDeviceId :: Lens' DescribeDevice Text Source #

The ID of the device that you are checking the information of.

Destructuring the Response

data DescribeDeviceResponse Source #

See: newDescribeDeviceResponse smart constructor.

Constructors

DescribeDeviceResponse' 

Fields

Instances

Instances details
Eq DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Read DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Show DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Generic DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Associated Types

type Rep DescribeDeviceResponse :: Type -> Type #

NFData DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Methods

rnf :: DescribeDeviceResponse -> () #

type Rep DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

type Rep DescribeDeviceResponse = D1 ('MetaData "DescribeDeviceResponse" "Amazonka.SnowDeviceManagement.DescribeDevice" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "DescribeDeviceResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "deviceState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UnlockState)) :*: (S1 ('MetaSel ('Just "deviceCapacities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Capacity])) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "associatedWithJob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastReachedOutAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "software") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SoftwareInformation))))) :*: ((S1 ('MetaSel ('Just "physicalNetworkInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhysicalNetworkInterface])) :*: (S1 ('MetaSel ('Just "managedDeviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "managedDeviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "deviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeDeviceResponse Source #

Create a value of DescribeDeviceResponse 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:

$sel:deviceState:DescribeDeviceResponse', describeDeviceResponse_deviceState - The current state of the device.

$sel:deviceCapacities:DescribeDeviceResponse', describeDeviceResponse_deviceCapacities - The hardware specifications of the device.

$sel:lastUpdatedAt:DescribeDeviceResponse', describeDeviceResponse_lastUpdatedAt - When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache was refreshed.

$sel:associatedWithJob:DescribeDeviceResponse', describeDeviceResponse_associatedWithJob - The ID of the job used when ordering the device.

$sel:lastReachedOutAt:DescribeDeviceResponse', describeDeviceResponse_lastReachedOutAt - When the device last contacted the Amazon Web Services Cloud. Indicates that the device is online.

$sel:software:DescribeDeviceResponse', describeDeviceResponse_software - The software installed on the device.

$sel:physicalNetworkInterfaces:DescribeDeviceResponse', describeDeviceResponse_physicalNetworkInterfaces - The network interfaces available on the device.

$sel:managedDeviceId:DescribeDevice', describeDeviceResponse_managedDeviceId - The ID of the device that you checked the information for.

$sel:managedDeviceArn:DescribeDeviceResponse', describeDeviceResponse_managedDeviceArn - The Amazon Resource Name (ARN) of the device.

$sel:deviceType:DescribeDeviceResponse', describeDeviceResponse_deviceType - The type of Amazon Web Services Snow Family device.

$sel:tags:DescribeDeviceResponse', describeDeviceResponse_tags - Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.

$sel:httpStatus:DescribeDeviceResponse', describeDeviceResponse_httpStatus - The response's http status code.

Response Lenses

describeDeviceResponse_lastUpdatedAt :: Lens' DescribeDeviceResponse (Maybe UTCTime) Source #

When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache was refreshed.

describeDeviceResponse_associatedWithJob :: Lens' DescribeDeviceResponse (Maybe Text) Source #

The ID of the job used when ordering the device.

describeDeviceResponse_lastReachedOutAt :: Lens' DescribeDeviceResponse (Maybe UTCTime) Source #

When the device last contacted the Amazon Web Services Cloud. Indicates that the device is online.

describeDeviceResponse_managedDeviceId :: Lens' DescribeDeviceResponse (Maybe Text) Source #

The ID of the device that you checked the information for.

describeDeviceResponse_managedDeviceArn :: Lens' DescribeDeviceResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the device.

describeDeviceResponse_deviceType :: Lens' DescribeDeviceResponse (Maybe Text) Source #

The type of Amazon Web Services Snow Family device.

describeDeviceResponse_tags :: Lens' DescribeDeviceResponse (Maybe (HashMap Text Text)) Source #

Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.