Connect / Client / update_notification_content
update_notification_content¶
- Connect.Client.update_notification_content(**kwargs)¶
Updates the localized content of an existing notification. This operation applies to all users for whom the notification was sent.
See also: AWS API Documentation
Request Syntax
response = client.update_notification_content( InstanceId='string', NotificationId='string', Content={ 'string': '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.
NotificationId (string) –
[REQUIRED]
The unique identifier for the notification to update.
Content (dict) –
[REQUIRED]
The updated localized content of the notification. A map of locale codes and values. Maximum 500 characters per locale.
(string) –
The locale code for localized content. Supported values include en_US, de_DE, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, and zh_TW.
(string) –
A localized string value. Maximum length is 500 characters.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
The response from updating notification content.
Exceptions
Connect.Client.exceptions.InvalidRequestExceptionConnect.Client.exceptions.ResourceNotFoundExceptionConnect.Client.exceptions.InternalServiceExceptionConnect.Client.exceptions.ThrottlingExceptionConnect.Client.exceptions.AccessDeniedExceptionConnect.Client.exceptions.InvalidParameterException