create_node_registration_script
¶
create_node_registration_script(
cluster_id: __string,
*,
config_overrides: Optional[MediaLiveClientConfig] = None,
id: Optional[__string] = None,
name: Optional[__string] = None,
node_interface_mappings: Optional[__listOfNodeInterfaceMapping] = None,
request_id: Optional[__string] = None,
role: Optional[NodeRole] = None,
) -> CreateNodeRegistrationScriptResponse
Create the Register Node script for all the nodes intended for a specific Cluster. You will then run the script on each hardware unit that is intended for that Cluster. The script creates a Node in the specified Cluster. It then binds the Node to this hardware unit, and activates the node hardware for use with MediaLive Anywhere.
Parameters:
-
cluster_id(__string) –The ID of the cluster
-
id(Optional[__string], default:None) –If you're generating a re-registration script for an already existing node, this is where you provide the id.
-
name(Optional[__string], default:None) –Specify a pattern for MediaLive Anywhere to use to assign a name to each Node in the Cluster. The pattern can include the variables $hn (hostname of the node hardware) and $ts for the date and time that the Node is created, in UTC (for example, 2024-08-20T23:35:12Z).
-
node_interface_mappings(Optional[__listOfNodeInterfaceMapping], default:None) –Documentation update needed
-
request_id(Optional[__string], default:None) –An ID that you assign to a create request. This ID ensures idempotency when creating resources.
-
role(Optional[NodeRole], default:None) –The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.
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
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medialive/_services/media_live.py
2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 | |