update_cloud_connector
async
¶
update_cloud_connector(
identifier: CloudConnectorId,
*,
config_overrides: Optional[AsyncIoTManagedIntegrationsClientConfig] = None,
name: Optional[DisplayName] = None,
description: Optional[CloudConnectorDescription] = None,
) -> None
Update an existing cloud connector.
Parameters:
-
identifier(CloudConnectorId) –The unique identifier of the cloud connector to update.
-
name(Optional[DisplayName], default:None) –The new display name to assign to the cloud connector.
-
description(Optional[CloudConnectorDescription], default:None) –The new description to assign to the cloud connector.
Raises:
-
AccessDeniedException–User is not authorized.
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
ValidationException–A validation error occurred when performing the API request.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
UpdateCloudConnector happy path for TP Link to update display name
>>> await client.update_cloud_connector(identifier='123456789012', name='Connector for TP Link Cloud V2')
UpdateCloudConnector error Id for Ring connector which does not exist
Source code in docs_src/capo_iot_managed_integrations/_services/async_io_t_managed_integrations.py
1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 | |