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

Description

Creates a gateway task definition.

Synopsis

Creating a Request

data CreateWirelessGatewayTaskDefinition Source #

Constructors

CreateWirelessGatewayTaskDefinition' 

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.

  • tags :: Maybe [Tag]

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

  • update :: Maybe UpdateWirelessGatewayTaskCreate

    Information about the gateways to update.

  • autoCreateTasks :: Bool

    Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.

Instances

Instances details
Eq CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

Read CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

Show CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

Generic CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

NFData CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

Hashable CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

ToJSON CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

AWSRequest CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

ToHeaders CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

ToPath CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

ToQuery CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

type Rep CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

type Rep CreateWirelessGatewayTaskDefinition = D1 ('MetaData "CreateWirelessGatewayTaskDefinition" "Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "CreateWirelessGatewayTaskDefinition'" '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 "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "update") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateWirelessGatewayTaskCreate)) :*: S1 ('MetaSel ('Just "autoCreateTasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))
type AWSResponse CreateWirelessGatewayTaskDefinition Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

newCreateWirelessGatewayTaskDefinition Source #

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

$sel:clientRequestToken:CreateWirelessGatewayTaskDefinition', createWirelessGatewayTaskDefinition_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:tags:CreateWirelessGatewayTaskDefinition', createWirelessGatewayTaskDefinition_tags - The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.

$sel:update:CreateWirelessGatewayTaskDefinition', createWirelessGatewayTaskDefinition_update - Information about the gateways to update.

$sel:autoCreateTasks:CreateWirelessGatewayTaskDefinition', createWirelessGatewayTaskDefinition_autoCreateTasks - Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.

Request Lenses

createWirelessGatewayTaskDefinition_clientRequestToken :: Lens' CreateWirelessGatewayTaskDefinition (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.

createWirelessGatewayTaskDefinition_tags :: Lens' CreateWirelessGatewayTaskDefinition (Maybe [Tag]) Source #

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

createWirelessGatewayTaskDefinition_autoCreateTasks :: Lens' CreateWirelessGatewayTaskDefinition Bool Source #

Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.

Destructuring the Response

data CreateWirelessGatewayTaskDefinitionResponse Source #

Constructors

CreateWirelessGatewayTaskDefinitionResponse' 

Fields

Instances

Instances details
Eq CreateWirelessGatewayTaskDefinitionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

Read CreateWirelessGatewayTaskDefinitionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

Show CreateWirelessGatewayTaskDefinitionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

Generic CreateWirelessGatewayTaskDefinitionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

NFData CreateWirelessGatewayTaskDefinitionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

type Rep CreateWirelessGatewayTaskDefinitionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateWirelessGatewayTaskDefinition

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

newCreateWirelessGatewayTaskDefinitionResponse Source #

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

$sel:id:CreateWirelessGatewayTaskDefinitionResponse', createWirelessGatewayTaskDefinitionResponse_id - The ID of the new wireless gateway task definition.

$sel:httpStatus:CreateWirelessGatewayTaskDefinitionResponse', createWirelessGatewayTaskDefinitionResponse_httpStatus - The response's http status code.

Response Lenses