amazonka-iotwireless-2.0: Amazon IoT Wireless 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.IoTWireless.CreateWirelessDevice

Description

Provisions a wireless device.

Synopsis

Creating a Request

data CreateWirelessDevice Source #

See: newCreateWirelessDevice smart constructor.

Constructors

CreateWirelessDevice' 

Fields

  • clientRequestToken :: Maybe Text

    Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

  • description :: Maybe Text

    The description of the new resource.

  • loRaWAN :: Maybe LoRaWANDevice

    The device configuration information to use to create the wireless device.

  • name :: Maybe Text

    The name of the new resource.

  • positioning :: Maybe PositioningConfigStatus

    FPort values for the GNSS, stream, and ClockSync functions of the positioning information.

  • tags :: Maybe [Tag]

    The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.

  • type' :: WirelessDeviceType

    The wireless device type.

  • destinationName :: Text

    The name of the destination to assign to the new wireless device.

Instances

Instances details
ToJSON CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

ToHeaders CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

ToPath CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

ToQuery CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

AWSRequest CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

Associated Types

type AWSResponse CreateWirelessDevice #

Generic CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

Associated Types

type Rep CreateWirelessDevice :: Type -> Type #

Read CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

Show CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

NFData CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

Methods

rnf :: CreateWirelessDevice -> () #

Eq CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

Hashable CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

type AWSResponse CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

type Rep CreateWirelessDevice Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

newCreateWirelessDevice Source #

Create a value of CreateWirelessDevice 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:clientRequestToken:CreateWirelessDevice', createWirelessDevice_clientRequestToken - Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

CreateWirelessDevice, createWirelessDevice_description - The description of the new resource.

CreateWirelessDevice, createWirelessDevice_loRaWAN - The device configuration information to use to create the wireless device.

CreateWirelessDevice, createWirelessDevice_name - The name of the new resource.

CreateWirelessDevice, createWirelessDevice_positioning - FPort values for the GNSS, stream, and ClockSync functions of the positioning information.

$sel:tags:CreateWirelessDevice', createWirelessDevice_tags - The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.

CreateWirelessDevice, createWirelessDevice_type - The wireless device type.

CreateWirelessDevice, createWirelessDevice_destinationName - The name of the destination to assign to the new wireless device.

Request Lenses

createWirelessDevice_clientRequestToken :: Lens' CreateWirelessDevice (Maybe Text) Source #

Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

createWirelessDevice_loRaWAN :: Lens' CreateWirelessDevice (Maybe LoRaWANDevice) Source #

The device configuration information to use to create the wireless device.

createWirelessDevice_positioning :: Lens' CreateWirelessDevice (Maybe PositioningConfigStatus) Source #

FPort values for the GNSS, stream, and ClockSync functions of the positioning information.

createWirelessDevice_tags :: Lens' CreateWirelessDevice (Maybe [Tag]) Source #

The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.

createWirelessDevice_destinationName :: Lens' CreateWirelessDevice Text Source #

The name of the destination to assign to the new wireless device.

Destructuring the Response

data CreateWirelessDeviceResponse Source #

See: newCreateWirelessDeviceResponse smart constructor.

Constructors

CreateWirelessDeviceResponse' 

Fields

Instances

Instances details
Generic CreateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

Associated Types

type Rep CreateWirelessDeviceResponse :: Type -> Type #

Read CreateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

Show CreateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

NFData CreateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

Eq CreateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

type Rep CreateWirelessDeviceResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessDevice

type Rep CreateWirelessDeviceResponse = D1 ('MetaData "CreateWirelessDeviceResponse" "Amazonka.IoTWireless.CreateWirelessDevice" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "CreateWirelessDeviceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateWirelessDeviceResponse Source #

Create a value of CreateWirelessDeviceResponse 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:

CreateWirelessDeviceResponse, createWirelessDeviceResponse_arn - The Amazon Resource Name of the new resource.

CreateWirelessDeviceResponse, createWirelessDeviceResponse_id - The ID of the new wireless device.

$sel:httpStatus:CreateWirelessDeviceResponse', createWirelessDeviceResponse_httpStatus - The response's http status code.

Response Lenses

createWirelessDeviceResponse_arn :: Lens' CreateWirelessDeviceResponse (Maybe Text) Source #

The Amazon Resource Name of the new resource.