2026/07/01 - Amazon Connect Service - 1 new api methods
Changes Adds a new Amazon Connect Service API, SendOutboundWebNotification, that delivers web notifications to end-customer chat widget sessions. Callable only by the Amazon Connect Outbound Campaigns service principal.
Sends an outbound web notification to a customer's web browser for outbound campaigns. For more information about outbound campaigns, see Set up Connect Customer outbound campaigns.
See also: AWS API Documentation
Request Syntax
client.send_outbound_web_notification(
InstanceId='string',
ClientToken='string',
BrowserId='string',
SessionId='string',
ExpiresAt=datetime(2015, 1, 1),
Source={
'SourceCampaign': {
'CampaignId': 'string',
'OutboundRequestId': 'string'
}
},
Destination={
'WidgetId': 'string',
'ProfileId': 'string'
},
Content={
'Type': 'WIDGET_VIEW'|'WIDGET_ACTION',
'ViewArn': 'string',
'Attributes': {
'RecommenderConfig': {
'DomainName': 'string',
'RecommenderName': 'string',
'Context': {
'string': 'string'
}
}
}
}
)
string
[REQUIRED]
The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
This field is autopopulated if not provided.
string
[REQUIRED]
A unique identifier for the customer's web browser instance to which the notification is being sent.
string
[REQUIRED]
A unique identifier for the customer's web session to which the notification is being sent.
datetime
[REQUIRED]
The timestamp, in Unix epoch time format, at which the web notification expires. After this time, the notification is no longer delivered to the customer's browser.
dict
[REQUIRED]
The source of the web notification. A SourceCampaign object identifies the campaign and outbound request that triggered this notification.
SourceCampaign (dict) -- [REQUIRED]
Information about the campaign that triggered the web notification, including the campaign identifier and outbound request identifier.
CampaignId (string) --
A unique identifier for a campaign.
OutboundRequestId (string) --
A unique identifier for a each request part of same campaign.
dict
[REQUIRED]
The destination for the web notification, specifying the communication widget that delivers the notification and the customer profile of the recipient.
WidgetId (string) -- [REQUIRED]
The identifier of the communication widget that delivers the notification to the customer's browser.
ProfileId (string) -- [REQUIRED]
The identifier of the customer profile associated with the browser session that should receive the notification.
dict
[REQUIRED]
The content of the web notification, including the notification type, the view to render, and any optional attributes used to populate it.
Type (string) -- [REQUIRED]
The type of web notification to send.
ViewArn (string) --
The Amazon Resource Name (ARN) of the view to render for the notification.
Attributes (dict) --
Optional attributes used to populate the notification content, such as recommender configuration for personalized content.
RecommenderConfig (dict) --
Configuration for the recommender used to generate personalized recommendations for the notification content.
DomainName (string) -- [REQUIRED]
The name of the Amazon Personalize domain that hosts the recommender.
RecommenderName (string) -- [REQUIRED]
The name of the recommender used to generate the recommendations.
Context (dict) --
A map of contextual key-value pairs supplied to the recommender to influence the recommendations returned.
(string) --
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --