update_node_state
async
¶
update_node_state(
cluster_id: __string,
node_id: __string,
*,
config_overrides: Optional[AsyncMediaLiveClientConfig] = None,
state: Optional[UpdateNodeStateShape] = None,
) -> UpdateNodeStateResponse
Update the state of a node.
Parameters:
-
cluster_id(__string) –The ID of the cluster
-
node_id(__string) –The ID of the node.
-
state(Optional[UpdateNodeStateShape], default:None) –The state to apply to the Node. Set to ACTIVE (COMMISSIONED) to indicate that the Node is deployable. MediaLive Anywhere will consider this node it needs a Node to run a Channel on, or when it needs a Node to promote from a backup node to an active node. Set to DRAINING to isolate the Node so that MediaLive Anywhere won't use it.
Raises:
-
BadGatewayException–Placeholder documentation for BadGatewayException
-
BadRequestException–Placeholder documentation for BadRequestException
-
ConflictException–Placeholder documentation for ConflictException
-
ForbiddenException–Placeholder documentation for ForbiddenException
-
GatewayTimeoutException–Placeholder documentation for GatewayTimeoutException
-
InternalServerErrorException–Placeholder documentation for InternalServerErrorException
-
TooManyRequestsException–Placeholder documentation for TooManyRequestsException
-
UnprocessableEntityException–Placeholder documentation for UnprocessableEntityException
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medialive/_services/async_media_live.py
8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 | |