libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
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.DeviceFarm.GetDevice

Description

Gets information about a unique device type.

Synopsis

Creating a Request

data GetDevice Source #

Represents a request to the get device request.

See: newGetDevice smart constructor.

Constructors

GetDevice' 

Fields

Instances

Instances details
Eq GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Read GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Show GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Generic GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Associated Types

type Rep GetDevice :: Type -> Type #

NFData GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Methods

rnf :: GetDevice -> () #

Hashable GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

ToJSON GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

AWSRequest GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Associated Types

type AWSResponse GetDevice #

ToHeaders GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Methods

toHeaders :: GetDevice -> [Header] #

ToPath GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

ToQuery GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

type Rep GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

type Rep GetDevice = D1 ('MetaData "GetDevice" "Amazonka.DeviceFarm.GetDevice" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "GetDevice'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDevice Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

newGetDevice Source #

Create a value of GetDevice 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:arn:GetDevice', getDevice_arn - The device type's ARN.

Request Lenses

getDevice_arn :: Lens' GetDevice Text Source #

The device type's ARN.

Destructuring the Response

data GetDeviceResponse Source #

Represents the result of a get device request.

See: newGetDeviceResponse smart constructor.

Constructors

GetDeviceResponse' 

Fields

Instances

Instances details
Eq GetDeviceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Read GetDeviceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Show GetDeviceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Generic GetDeviceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Associated Types

type Rep GetDeviceResponse :: Type -> Type #

NFData GetDeviceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

Methods

rnf :: GetDeviceResponse -> () #

type Rep GetDeviceResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetDevice

type Rep GetDeviceResponse = D1 ('MetaData "GetDeviceResponse" "Amazonka.DeviceFarm.GetDevice" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "GetDeviceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "device") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Device)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDeviceResponse Source #

Create a value of GetDeviceResponse 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:device:GetDeviceResponse', getDeviceResponse_device - An object that contains information about the requested device.

$sel:httpStatus:GetDeviceResponse', getDeviceResponse_httpStatus - The response's http status code.

Response Lenses

getDeviceResponse_device :: Lens' GetDeviceResponse (Maybe Device) Source #

An object that contains information about the requested device.

getDeviceResponse_httpStatus :: Lens' GetDeviceResponse Int Source #

The response's http status code.