libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless
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.IoTWireless.CreateWirelessGateway

Description

Provisions a wireless gateway.

Synopsis

Creating a Request

data CreateWirelessGateway Source #

See: newCreateWirelessGateway smart constructor.

Constructors

CreateWirelessGateway' 

Fields

  • name :: Maybe Text

    The name of the new resource.

  • 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.

  • tags :: Maybe [Tag]

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

  • loRaWAN :: LoRaWANGateway

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

Instances

Instances details
Eq CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Read CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Show CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Generic CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Associated Types

type Rep CreateWirelessGateway :: Type -> Type #

NFData CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Methods

rnf :: CreateWirelessGateway -> () #

Hashable CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

ToJSON CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

AWSRequest CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Associated Types

type AWSResponse CreateWirelessGateway #

ToHeaders CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

ToPath CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

ToQuery CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

type Rep CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

type Rep CreateWirelessGateway = D1 ('MetaData "CreateWirelessGateway" "Amazonka.IoTWireless.CreateWirelessGateway" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "CreateWirelessGateway'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "loRaWAN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LoRaWANGateway)))))
type AWSResponse CreateWirelessGateway Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

newCreateWirelessGateway Source #

Create a value of CreateWirelessGateway 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:name:CreateWirelessGateway', createWirelessGateway_name - The name of the new resource.

$sel:clientRequestToken:CreateWirelessGateway', createWirelessGateway_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.

$sel:description:CreateWirelessGateway', createWirelessGateway_description - The description of the new resource.

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

$sel:loRaWAN:CreateWirelessGateway', createWirelessGateway_loRaWAN - The gateway configuration information to use to create the wireless gateway.

Request Lenses

createWirelessGateway_clientRequestToken :: Lens' CreateWirelessGateway (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.

createWirelessGateway_tags :: Lens' CreateWirelessGateway (Maybe [Tag]) Source #

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

createWirelessGateway_loRaWAN :: Lens' CreateWirelessGateway LoRaWANGateway Source #

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

Destructuring the Response

data CreateWirelessGatewayResponse Source #

See: newCreateWirelessGatewayResponse smart constructor.

Constructors

CreateWirelessGatewayResponse' 

Fields

Instances

Instances details
Eq CreateWirelessGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Read CreateWirelessGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Show CreateWirelessGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Generic CreateWirelessGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

Associated Types

type Rep CreateWirelessGatewayResponse :: Type -> Type #

NFData CreateWirelessGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

type Rep CreateWirelessGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGateway

type Rep CreateWirelessGatewayResponse = D1 ('MetaData "CreateWirelessGatewayResponse" "Amazonka.IoTWireless.CreateWirelessGateway" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "CreateWirelessGatewayResponse'" '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))))

newCreateWirelessGatewayResponse Source #

Create a value of CreateWirelessGatewayResponse 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:CreateWirelessGatewayResponse', createWirelessGatewayResponse_arn - The Amazon Resource Name of the new resource.

$sel:id:CreateWirelessGatewayResponse', createWirelessGatewayResponse_id - The ID of the new wireless gateway.

$sel:httpStatus:CreateWirelessGatewayResponse', createWirelessGatewayResponse_httpStatus - The response's http status code.

Response Lenses

createWirelessGatewayResponse_arn :: Lens' CreateWirelessGatewayResponse (Maybe Text) Source #

The Amazon Resource Name of the new resource.