ConnectCampaignServiceV2 / Client / update_campaign_source
update_campaign_source¶
- ConnectCampaignServiceV2.Client.update_campaign_source(**kwargs)¶
Updates the campaign source with a campaign. This API is idempotent.
See also: AWS API Documentation
Request Syntax
response = client.update_campaign_source( id='string', source={ 'customerProfilesSegmentArn': 'string', 'eventTrigger': { 'customerProfilesDomainArn': 'string' } } )
- Parameters:
id (string) –
[REQUIRED]
Identifier representing a Campaign
source (dict) –
[REQUIRED]
Source of the campaign
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
customerProfilesSegmentArn,eventTrigger.customerProfilesSegmentArn (string) –
Amazon Resource Names(ARN)
eventTrigger (dict) –
Event trigger of the campaign
customerProfilesDomainArn (string) –
Amazon Resource Names(ARN)
- Returns:
None
Exceptions
ConnectCampaignServiceV2.Client.exceptions.InternalServerExceptionConnectCampaignServiceV2.Client.exceptions.ResourceNotFoundExceptionConnectCampaignServiceV2.Client.exceptions.ValidationExceptionConnectCampaignServiceV2.Client.exceptions.ConflictExceptionConnectCampaignServiceV2.Client.exceptions.InvalidCampaignStateExceptionConnectCampaignServiceV2.Client.exceptions.AccessDeniedException