create_wireless_gateway_task_definition
¶
create_wireless_gateway_task_definition(
auto_create_tasks: AutoCreateTasks,
*,
config_overrides: Optional[IoTWirelessClientConfig] = None,
name: Optional[WirelessGatewayTaskName] = None,
update: Optional[UpdateWirelessGatewayTaskCreate] = None,
client_request_token: Optional[ClientRequestToken] = None,
tags: Optional[TagList] = None,
) -> CreateWirelessGatewayTaskDefinitionResponse
Creates a gateway task definition.
Parameters:
-
auto_create_tasks(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 callingCreateWirelessGatewayTask. -
name(Optional[WirelessGatewayTaskName], default:None) –The name of the new resource.
-
update(Optional[UpdateWirelessGatewayTaskCreate], default:None) –Information about the gateways to update.
-
client_request_token(Optional[ClientRequestToken], default:None) –Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
-
tags(Optional[TagList], default:None) –The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
Raises:
-
AccessDeniedException–User does not have permission to perform this action.
-
ConflictException–Adding, updating, or deleting the resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ResourceNotFoundException–Resource does not exist.
-
ThrottlingException–The request was denied because it exceeded the allowed API request rate.
-
ValidationException–The input did not meet the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_wireless/_services/io_t_wireless.py
1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 | |