create_user_hierarchy_group
¶
create_user_hierarchy_group(
name: HierarchyGroupName,
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
parent_group_id: Optional[HierarchyGroupId] = None,
tags: Optional[TagMap] = None,
) -> CreateUserHierarchyGroupResponse
Creates a new user hierarchy group.
Parameters:
-
name(HierarchyGroupName) –The name of the user hierarchy group. Must not be more than 100 characters.
-
parent_group_id(Optional[HierarchyGroupId], default:None) –The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Raises:
-
DuplicateResourceException–A resource with the specified name already exists.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–The allowed limit for the resource has been exceeded.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 | |