update_node_state
¶
update_node_state(
cluster_id: __string,
node_id: __string,
*,
config_overrides: Optional[MediaLiveClientConfig] = 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.