ConnectCampaignServiceV2 / Client / update_campaign_entry_limits

update_campaign_entry_limits

ConnectCampaignServiceV2.Client.update_campaign_entry_limits(**kwargs)

Updates the entry limits config for a campaign. This API is idempotent.

See also: AWS API Documentation

Request Syntax

response = client.update_campaign_entry_limits(
    id='string',
    entryLimitsConfig={
        'maxEntryCount': 123,
        'minEntryInterval': 'string'
    }
)
Parameters:
  • id (string) –

    [REQUIRED]

    Identifier representing a Campaign

  • entryLimitsConfig (dict) –

    [REQUIRED]

    Campaign entry limits config

    • maxEntryCount (integer) – [REQUIRED]

      Maximum number of times a participant can enter the campaign. A value of 0 indicates unlimited entries. Values of 1 or greater specify the exact number of entries allowed.

    • minEntryInterval (string) – [REQUIRED]

      Minimum time interval that must pass before a participant can enter the campaign again.

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