describe_user_hierarchy_structure
(**kwargs)¶Describes the hierarchy structure of the specified Amazon Connect instance.
See also: AWS API Documentation
Request Syntax
response = client.describe_user_hierarchy_structure(
InstanceId='string'
)
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
{
'HierarchyStructure': {
'LevelOne': {
'Id': 'string',
'Arn': 'string',
'Name': 'string'
},
'LevelTwo': {
'Id': 'string',
'Arn': 'string',
'Name': 'string'
},
'LevelThree': {
'Id': 'string',
'Arn': 'string',
'Name': 'string'
},
'LevelFour': {
'Id': 'string',
'Arn': 'string',
'Name': 'string'
},
'LevelFive': {
'Id': 'string',
'Arn': 'string',
'Name': 'string'
}
}
}
Response Structure
Information about the hierarchy structure.
Information about level one.
The identifier of the hierarchy level.
The Amazon Resource Name (ARN) of the hierarchy level.
The name of the hierarchy level.
Information about level two.
The identifier of the hierarchy level.
The Amazon Resource Name (ARN) of the hierarchy level.
The name of the hierarchy level.
Information about level three.
The identifier of the hierarchy level.
The Amazon Resource Name (ARN) of the hierarchy level.
The name of the hierarchy level.
Information about level four.
The identifier of the hierarchy level.
The Amazon Resource Name (ARN) of the hierarchy level.
The name of the hierarchy level.
Information about level five.
The identifier of the hierarchy level.
The Amazon Resource Name (ARN) of the hierarchy level.
The name of the hierarchy level.
Exceptions
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.ThrottlingException
Connect.Client.exceptions.InternalServiceException