update_predefined_attribute
async
¶
update_predefined_attribute(
instance_id: InstanceId,
name: PredefinedAttributeName,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
values: Optional[PredefinedAttributeValues] = None,
purposes: Optional[PredefinedAttributePurposeNameList] = None,
attribute_configuration: Optional[InputPredefinedAttributeConfiguration] = None,
) -> None
Updates a predefined attribute for the specified Connect Customer instance. A predefined attribute is made up of a name and a value.
For the predefined attributes per instance quota, see Connect Customer quotas.
Use cases
Following are common uses cases for this API:
-
Update routing proficiency (for example, agent certification) that has predefined values (for example, a list of possible certifications). For more information, see Create predefined attributes for routing contacts to agents.
-
Update an attribute for business unit name that has a list of predefined business unit names used in your organization. This is a use case where information for a contact varies between transfers or conferences. For more information, see Use contact segment attributes.
Endpoints: See Connect Customer endpoints and quotas.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
name(PredefinedAttributeName) –The name of the predefined attribute.
-
values(Optional[PredefinedAttributeValues], default:None) –The values of the predefined attribute.
-
purposes(Optional[PredefinedAttributePurposeNameList], default:None) –Values that enable you to categorize your predefined attributes. You can use them in custom UI elements across the Connect Customer admin website.
-
attribute_configuration(Optional[InputPredefinedAttributeConfiguration], default:None) –Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Connect Customer admin website.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
28044 28045 28046 28047 28048 28049 28050 28051 28052 28053 28054 28055 28056 28057 28058 28059 28060 28061 28062 28063 28064 28065 28066 28067 28068 28069 28070 28071 28072 28073 28074 28075 28076 28077 28078 28079 28080 28081 28082 28083 28084 28085 28086 28087 28088 28089 28090 28091 28092 28093 28094 28095 28096 28097 28098 28099 28100 28101 28102 28103 28104 28105 28106 28107 28108 28109 28110 28111 | |