create_node_registration_script
async
¶
create_node_registration_script(
cluster_id: __string,
*,
config_overrides: Optional[AsyncMediaLiveClientConfig] = 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/async_media_live.py
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 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 | |