Connect.Client.
update_user_hierarchy_structure
(**kwargs)¶Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.
See also: AWS API Documentation
Request Syntax
response = client.update_user_hierarchy_structure(
HierarchyStructure={
'LevelOne': {
'Name': 'string'
},
'LevelTwo': {
'Name': 'string'
},
'LevelThree': {
'Name': 'string'
},
'LevelFour': {
'Name': 'string'
},
'LevelFive': {
'Name': 'string'
}
},
InstanceId='string'
)
[REQUIRED]
The hierarchy levels to update.
The update for level one.
The name of the user hierarchy level. Must not be more than 50 characters.
The update for level two.
The name of the user hierarchy level. Must not be more than 50 characters.
The update for level three.
The name of the user hierarchy level. Must not be more than 50 characters.
The update for level four.
The name of the user hierarchy level. Must not be more than 50 characters.
The update for level five.
The name of the user hierarchy level. Must not be more than 50 characters.
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
None
Exceptions
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.ResourceInUseException
Connect.Client.exceptions.ThrottlingException
Connect.Client.exceptions.InternalServiceException