Connect / Client / update_predefined_attribute
update_predefined_attribute#
- Connect.Client.update_predefined_attribute(**kwargs)#
Updates a predefined attribute for the specified Amazon Connect instance. Predefined attributes are attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For more information, see Create predefined attributes for routing contacts to agents.
See also: AWS API Documentation
Request Syntax
response = client.update_predefined_attribute( InstanceId='string', Name='string', Values={ 'StringList': [ 'string', ] } )
- Parameters:
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.
Name (string) –
[REQUIRED]
The name of the predefined attribute.
Values (dict) –
The values of the predefined attribute.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
StringList
.StringList (list) –
Predefined attribute values of type string list.
(string) –
- Returns:
None
Exceptions
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.ThrottlingException
Connect.Client.exceptions.InternalServiceException