libZSservicesZSamazonka-braketZSamazonka-braket
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.Braket.GetDevice

Description

Retrieves the devices available in Amazon Braket.

Synopsis

Creating a Request

data GetDevice Source #

See: newGetDevice smart constructor.

Constructors

GetDevice' 

Fields

Instances

Instances details
Eq GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Read GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Show GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Generic GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Associated Types

type Rep GetDevice :: Type -> Type #

NFData GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Methods

rnf :: GetDevice -> () #

Hashable GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

AWSRequest GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Associated Types

type AWSResponse GetDevice #

ToHeaders GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Methods

toHeaders :: GetDevice -> [Header] #

ToPath GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

ToQuery GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

type Rep GetDevice Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

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

Defined in Amazonka.Braket.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:deviceArn:GetDevice', getDevice_deviceArn - The ARN of the device to retrieve.

Request Lenses

getDevice_deviceArn :: Lens' GetDevice Text Source #

The ARN of the device to retrieve.

Destructuring the Response

data GetDeviceResponse Source #

See: newGetDeviceResponse smart constructor.

Constructors

GetDeviceResponse' 

Fields

Instances

Instances details
Eq GetDeviceResponse Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Read GetDeviceResponse Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Show GetDeviceResponse Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Generic GetDeviceResponse Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Associated Types

type Rep GetDeviceResponse :: Type -> Type #

NFData GetDeviceResponse Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

Methods

rnf :: GetDeviceResponse -> () #

type Rep GetDeviceResponse Source # 
Instance details

Defined in Amazonka.Braket.GetDevice

type Rep GetDeviceResponse = D1 ('MetaData "GetDeviceResponse" "Amazonka.Braket.GetDevice" "libZSservicesZSamazonka-braketZSamazonka-braket" 'False) (C1 ('MetaCons "GetDeviceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "deviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deviceCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deviceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DeviceStatus)) :*: (S1 ('MetaSel ('Just "deviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DeviceType) :*: S1 ('MetaSel ('Just "providerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

Response Lenses

getDeviceResponse_httpStatus :: Lens' GetDeviceResponse Int Source #

The response's http status code.

getDeviceResponse_deviceCapabilities :: Lens' GetDeviceResponse Text Source #

Details about the capabilities of the device.

getDeviceResponse_providerName :: Lens' GetDeviceResponse Text Source #

The name of the partner company for the device.