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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass CampaignLimits data as a hash:

{
  daily: 1,
  total: 1,
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#dailyInteger

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

Returns:

  • (Integer)


573
574
575
576
577
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 573

class CampaignLimits < Struct.new(
  :daily,
  :total)
  include Aws::Structure
end

#totalInteger

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

Returns:

  • (Integer)


573
574
575
576
577
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 573

class CampaignLimits < Struct.new(
  :daily,
  :total)
  include Aws::Structure
end