create_node
async
¶
create_node(
cluster_id: __string,
*,
config_overrides: Optional[AsyncMediaLiveClientConfig] = None,
name: Optional[__string] = None,
node_interface_mappings: Optional[__listOfNodeInterfaceMappingCreateRequest] = None,
request_id: Optional[__string] = None,
role: Optional[NodeRole] = None,
tags: Optional[Tags] = None,
) -> CreateNodeResponse
Create a Node in the specified Cluster. You can also create Nodes using the CreateNodeRegistrationScript. Note that you can't move a Node to another Cluster.
Parameters:
-
cluster_id(__string) –The ID of the cluster.
-
name(Optional[__string], default:None) –The user-specified name of the Node to be created.
-
node_interface_mappings(Optional[__listOfNodeInterfaceMappingCreateRequest], 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.
-
tags(Optional[Tags], default:None) –A collection of key-value pairs.
Raises:
-
BadGatewayException–Placeholder documentation for BadGatewayException
-
BadRequestException–Placeholder documentation for BadRequestException
-
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
1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 | |