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