amazonka-snow-device-management-2.0: Amazon Snow Device Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.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

AWSRequest DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Associated Types

type AWSResponse DescribeDevice #

Generic DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Associated Types

type Rep DescribeDevice :: Type -> Type #

Read DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Show DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

NFData DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Methods

rnf :: DescribeDevice -> () #

Eq DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Hashable DescribeDevice Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

type AWSResponse 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" "amazonka-snow-device-management-2.0-BSOYMJEGkqv86alAaVucXA" 'False) (C1 ('MetaCons "DescribeDevice'" 'PrefixI 'True) (S1 ('MetaSel ('Just "managedDeviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Associated Types

type Rep DescribeDeviceResponse :: Type -> Type #

Read DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Show DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

NFData DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

Methods

rnf :: DescribeDeviceResponse -> () #

Eq DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

type Rep DescribeDeviceResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeDevice

type Rep DescribeDeviceResponse = D1 ('MetaData "DescribeDeviceResponse" "Amazonka.SnowDeviceManagement.DescribeDevice" "amazonka-snow-device-management-2.0-BSOYMJEGkqv86alAaVucXA" 'False) (C1 ('MetaCons "DescribeDeviceResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "associatedWithJob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceCapacities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Capacity])) :*: S1 ('MetaSel ('Just "deviceState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UnlockState)))) :*: (S1 ('MetaSel ('Just "deviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastReachedOutAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "managedDeviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "managedDeviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "physicalNetworkInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhysicalNetworkInterface])))) :*: (S1 ('MetaSel ('Just "software") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SoftwareInformation)) :*: (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:

DescribeDeviceResponse, describeDeviceResponse_associatedWithJob - The ID of the job used when ordering the device.

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

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

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

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

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

DescribeDeviceResponse, describeDeviceResponse_managedDeviceArn - The Amazon Resource Name (ARN) of the device.

DescribeDevice, describeDeviceResponse_managedDeviceId - The ID of the device that you checked the information for.

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

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

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_associatedWithJob :: Lens' DescribeDeviceResponse (Maybe Text) Source #

The ID of the job used when ordering the device.

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

The type of Amazon Web Services Snow Family 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_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_managedDeviceArn :: Lens' DescribeDeviceResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the device.

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

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

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.