describeUserHierarchyGroup method
Describes the specified hierarchy group.
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.
Implementation
Future<DescribeUserHierarchyGroupResponse> describeUserHierarchyGroup({
required String hierarchyGroupId,
required String instanceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/user-hierarchy-groups/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(hierarchyGroupId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeUserHierarchyGroupResponse.fromJson(response);
}