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 |
Creates a gateway task definition.
Synopsis
- data CreateWirelessGatewayTaskDefinition = CreateWirelessGatewayTaskDefinition' {}
- newCreateWirelessGatewayTaskDefinition :: Bool -> CreateWirelessGatewayTaskDefinition
- createWirelessGatewayTaskDefinition_name :: Lens' CreateWirelessGatewayTaskDefinition (Maybe Text)
- createWirelessGatewayTaskDefinition_clientRequestToken :: Lens' CreateWirelessGatewayTaskDefinition (Maybe Text)
- createWirelessGatewayTaskDefinition_tags :: Lens' CreateWirelessGatewayTaskDefinition (Maybe [Tag])
- createWirelessGatewayTaskDefinition_update :: Lens' CreateWirelessGatewayTaskDefinition (Maybe UpdateWirelessGatewayTaskCreate)
- createWirelessGatewayTaskDefinition_autoCreateTasks :: Lens' CreateWirelessGatewayTaskDefinition Bool
- data CreateWirelessGatewayTaskDefinitionResponse = CreateWirelessGatewayTaskDefinitionResponse' {}
- newCreateWirelessGatewayTaskDefinitionResponse :: Int -> CreateWirelessGatewayTaskDefinitionResponse
- createWirelessGatewayTaskDefinitionResponse_arn :: Lens' CreateWirelessGatewayTaskDefinitionResponse (Maybe Text)
- createWirelessGatewayTaskDefinitionResponse_id :: Lens' CreateWirelessGatewayTaskDefinitionResponse (Maybe Text)
- createWirelessGatewayTaskDefinitionResponse_httpStatus :: Lens' CreateWirelessGatewayTaskDefinitionResponse Int
Creating a Request
data CreateWirelessGatewayTaskDefinition Source #
See: newCreateWirelessGatewayTaskDefinition
smart constructor.
CreateWirelessGatewayTaskDefinition' | |
|
Instances
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_name :: Lens' CreateWirelessGatewayTaskDefinition (Maybe Text) Source #
The name of the new resource.
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_update :: Lens' CreateWirelessGatewayTaskDefinition (Maybe UpdateWirelessGatewayTaskCreate) Source #
Information about the gateways to update.
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 #
See: newCreateWirelessGatewayTaskDefinitionResponse
smart constructor.
Instances
newCreateWirelessGatewayTaskDefinitionResponse Source #
:: Int |
|
-> CreateWirelessGatewayTaskDefinitionResponse |
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
createWirelessGatewayTaskDefinitionResponse_arn :: Lens' CreateWirelessGatewayTaskDefinitionResponse (Maybe Text) Source #
The Amazon Resource Name of the resource.
createWirelessGatewayTaskDefinitionResponse_id :: Lens' CreateWirelessGatewayTaskDefinitionResponse (Maybe Text) Source #
The ID of the new wireless gateway task definition.
createWirelessGatewayTaskDefinitionResponse_httpStatus :: Lens' CreateWirelessGatewayTaskDefinitionResponse Int Source #
The response's http status code.