updateUserHierarchyGroupName method
Updates the name of the user hierarchy group.
May throw DuplicateResourceException.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter hierarchyGroupId :
The identifier of the hierarchy group.
Parameter instanceId :
The identifier of the Connect Customer instance. You can find
the instance ID in the Amazon Resource Name (ARN) of the instance.
Parameter name :
The name of the hierarchy group. Must not be more than 100 characters.
Implementation
Future<void> updateUserHierarchyGroupName({
required String hierarchyGroupId,
required String instanceId,
required String name,
}) async {
final $payload = <String, dynamic>{
'Name': name,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/user-hierarchy-groups/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(hierarchyGroupId)}/name',
exceptionFnMap: _exceptionFns,
);
}