| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Braket.GetDevice
Description
Retrieves the devices available in Amazon Braket.
Synopsis
- data GetDevice = GetDevice' {}
- newGetDevice :: Text -> GetDevice
- getDevice_deviceArn :: Lens' GetDevice Text
- data GetDeviceResponse = GetDeviceResponse' {}
- newGetDeviceResponse :: Int -> Text -> Text -> Text -> DeviceStatus -> DeviceType -> Text -> GetDeviceResponse
- getDeviceResponse_httpStatus :: Lens' GetDeviceResponse Int
- getDeviceResponse_deviceArn :: Lens' GetDeviceResponse Text
- getDeviceResponse_deviceCapabilities :: Lens' GetDeviceResponse Text
- getDeviceResponse_deviceName :: Lens' GetDeviceResponse Text
- getDeviceResponse_deviceStatus :: Lens' GetDeviceResponse DeviceStatus
- getDeviceResponse_deviceType :: Lens' GetDeviceResponse DeviceType
- getDeviceResponse_providerName :: Lens' GetDeviceResponse Text
Creating a Request
See: newGetDevice smart constructor.
Constructors
| GetDevice' | |
Instances
| Eq GetDevice Source # | |
| Read GetDevice Source # | |
| Show GetDevice Source # | |
| Generic GetDevice Source # | |
| NFData GetDevice Source # | |
Defined in Amazonka.Braket.GetDevice | |
| Hashable GetDevice Source # | |
Defined in Amazonka.Braket.GetDevice | |
| AWSRequest GetDevice Source # | |
Defined in Amazonka.Braket.GetDevice Associated Types type AWSResponse GetDevice # Methods request :: GetDevice -> Request GetDevice # response :: MonadResource m => Logger -> Service -> Proxy GetDevice -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetDevice))) # | |
| ToHeaders GetDevice Source # | |
Defined in Amazonka.Braket.GetDevice | |
| ToPath GetDevice Source # | |
Defined in Amazonka.Braket.GetDevice Methods toPath :: GetDevice -> ByteString # | |
| ToQuery GetDevice Source # | |
Defined in Amazonka.Braket.GetDevice Methods toQuery :: GetDevice -> QueryString # | |
| type Rep GetDevice Source # | |
Defined in Amazonka.Braket.GetDevice | |
| type AWSResponse GetDevice Source # | |
Defined in Amazonka.Braket.GetDevice | |
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
Destructuring the Response
data GetDeviceResponse Source #
See: newGetDeviceResponse smart constructor.
Constructors
| GetDeviceResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> DeviceStatus | |
| -> DeviceType | |
| -> Text | |
| -> GetDeviceResponse |
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:httpStatus:GetDeviceResponse', getDeviceResponse_httpStatus - The response's http status code.
$sel:deviceArn:GetDevice', getDeviceResponse_deviceArn - The ARN of the device.
$sel:deviceCapabilities:GetDeviceResponse', getDeviceResponse_deviceCapabilities - Details about the capabilities of the device.
$sel:deviceName:GetDeviceResponse', getDeviceResponse_deviceName - The name of the device.
$sel:deviceStatus:GetDeviceResponse', getDeviceResponse_deviceStatus - The status of the device.
$sel:deviceType:GetDeviceResponse', getDeviceResponse_deviceType - The type of the device.
$sel:providerName:GetDeviceResponse', getDeviceResponse_providerName - The name of the partner company for the device.
Response Lenses
getDeviceResponse_httpStatus :: Lens' GetDeviceResponse Int Source #
The response's http status code.
getDeviceResponse_deviceArn :: Lens' GetDeviceResponse Text Source #
The ARN of the device.
getDeviceResponse_deviceCapabilities :: Lens' GetDeviceResponse Text Source #
Details about the capabilities of the device.
getDeviceResponse_deviceName :: Lens' GetDeviceResponse Text Source #
The name of the device.
getDeviceResponse_deviceStatus :: Lens' GetDeviceResponse DeviceStatus Source #
The status of the device.
getDeviceResponse_deviceType :: Lens' GetDeviceResponse DeviceType Source #
The type of the device.
getDeviceResponse_providerName :: Lens' GetDeviceResponse Text Source #
The name of the partner company for the device.