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 |
Synopsis
- data Device = Device' {
- description :: Maybe Text
- iotThingName :: Maybe Text
- deviceName :: Text
- newDevice :: Text -> Device
- device_description :: Lens' Device (Maybe Text)
- device_iotThingName :: Lens' Device (Maybe Text)
- device_deviceName :: Lens' Device Text
Documentation
Information of a particular device.
See: newDevice
smart constructor.
Device' | |
|
Instances
Eq Device Source # | |
Read Device Source # | |
Show Device Source # | |
Generic Device Source # | |
NFData Device Source # | |
Defined in Amazonka.SageMaker.Types.Device | |
Hashable Device Source # | |
Defined in Amazonka.SageMaker.Types.Device | |
ToJSON Device Source # | |
Defined in Amazonka.SageMaker.Types.Device | |
type Rep Device Source # | |
Defined in Amazonka.SageMaker.Types.Device type Rep Device = D1 ('MetaData "Device" "Amazonka.SageMaker.Types.Device" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "Device'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "iotThingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Device
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:description:Device'
, device_description
- Description of the device.
$sel:iotThingName:Device'
, device_iotThingName
- Amazon Web Services Internet of Things (IoT) object name.
$sel:deviceName:Device'
, device_deviceName
- The name of the device.