ConnectCampaignServiceV2 / Client / update_campaign_schedule
update_campaign_schedule#
- ConnectCampaignServiceV2.Client.update_campaign_schedule(**kwargs)#
- Updates the schedule for a campaign. This API is idempotent. - See also: AWS API Documentation - Request Syntax- response = client.update_campaign_schedule( id='string', schedule={ 'startTime': datetime(2015, 1, 1), 'endTime': datetime(2015, 1, 1), 'refreshFrequency': 'string' } ) - Parameters:
- id (string) – - [REQUIRED] - Identifier representing a Campaign 
- schedule (dict) – - [REQUIRED] - Campaign schedule - startTime (datetime) – [REQUIRED] - Timestamp with no UTC offset or timezone 
- endTime (datetime) – [REQUIRED] - Timestamp with no UTC offset or timezone 
- refreshFrequency (string) – - Time duration in ISO 8601 format 
 
 
- Returns:
- None 
 - Exceptions- ConnectCampaignServiceV2.Client.exceptions.InternalServerException
- ConnectCampaignServiceV2.Client.exceptions.ResourceNotFoundException
- ConnectCampaignServiceV2.Client.exceptions.ValidationException
- ConnectCampaignServiceV2.Client.exceptions.ConflictException
- ConnectCampaignServiceV2.Client.exceptions.InvalidCampaignStateException
- ConnectCampaignServiceV2.Client.exceptions.AccessDeniedException