create_channel_placement_group
async
¶
create_channel_placement_group(
cluster_id: __string,
*,
config_overrides: Optional[AsyncMediaLiveClientConfig] = None,
name: Optional[__string] = None,
nodes: Optional[__listOf__string] = None,
request_id: Optional[__string] = None,
tags: Optional[Tags] = None,
) -> CreateChannelPlacementGroupResponse
Create a ChannelPlacementGroup in the specified Cluster. As part of the create operation, you specify the Nodes to attach the group to.After you create a ChannelPlacementGroup, you add Channels to the group (you do this by modifying the Channels to add them to a specific group). You now have an association of Channels to ChannelPlacementGroup, and ChannelPlacementGroup to Nodes. This association means that all the Channels in the group are able to run on any of the Nodes associated with the group.
Parameters:
-
cluster_id(__string) –The ID of the cluster.
-
name(Optional[__string], default:None) –Specify a name that is unique in the Cluster. You can't change the name. Names are case-sensitive.
-
nodes(Optional[__listOf__string], default:None) –An array of one ID for the Node that you want to associate with the ChannelPlacementGroup. (You can't associate more than one Node with the ChannelPlacementGroup.) The Node and the ChannelPlacementGroup must be in the same Cluster.
-
request_id(Optional[__string], default:None) –An ID that you assign to a create request. This ID ensures idempotency when creating resources. the request.
-
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
1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 | |