You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pinpoint::Types::CampaignLimits

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CampaignLimits as input to an Aws::Client method, you can use a vanilla Hash:

{
  daily: 1,
  maximum_duration: 1,
  messages_per_second: 1,
  total: 1,
}

Campaign Limits are used to limit the number of messages that can be sent to a user.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#dailyInteger

The maximum number of messages that the campaign can send daily.

Returns:

  • (Integer)

    The maximum number of messages that the campaign can send daily.

#maximum_durationInteger

The maximum duration of a campaign from the scheduled start. Must be a minimum of 60 seconds.

Returns:

  • (Integer)

    The maximum duration of a campaign from the scheduled start.

#messages_per_secondInteger

The maximum number of messages per second that the campaign will send. This is a best effort maximum cap and can go as high as 20000 and as low as 50

Returns:

  • (Integer)

    The maximum number of messages per second that the campaign will send.

#totalInteger

The maximum total number of messages that the campaign can send.

Returns:

  • (Integer)

    The maximum total number of messages that the campaign can send.