| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::CampaignLimits; | ||
| 3 | use Moose; | ||
| 4 | has Daily => (is => 'ro', isa => 'Int'); | ||
| 5 | has MaximumDuration => (is => 'ro', isa => 'Int'); | ||
| 6 | has MessagesPerSecond => (is => 'ro', isa => 'Int'); | ||
| 7 | has Total => (is => 'ro', isa => 'Int'); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::Pinpoint::CampaignLimits | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::Pinpoint::CampaignLimits object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Daily => $value, ..., Total => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::CampaignLimits object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Daily | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | For a campaign, specifies limits on the messages that the campaign can | ||
| 40 | send. For an application, specifies the default limits for messages | ||
| 41 | that campaigns in the application can send. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Daily => Int | ||
| 47 | |||
| 48 | The maximum number of messages that a campaign can send to a single | ||
| 49 | endpoint during a 24-hour period. For an application, this value | ||
| 50 | specifies the default limit for the number of messages that campaigns | ||
| 51 | and journeys can send to a single endpoint during a 24-hour period. The | ||
| 52 | maximum value is 100. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 MaximumDuration => Int | ||
| 56 | |||
| 57 | The maximum amount of time, in seconds, that a campaign can attempt to | ||
| 58 | deliver a message after the scheduled start time for the campaign. The | ||
| 59 | minimum value is 60 seconds. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 MessagesPerSecond => Int | ||
| 63 | |||
| 64 | The maximum number of messages that a campaign can send each second. | ||
| 65 | For an application, this value specifies the default limit for the | ||
| 66 | number of messages that campaigns can send each second. The minimum | ||
| 67 | value is 50. The maximum value is 20,000. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 Total => Int | ||
| 71 | |||
| 72 | The maximum number of messages that a campaign can send to a single | ||
| 73 | endpoint during the course of the campaign. If a campaign recurs, this | ||
| 74 | setting applies to all runs of the campaign. The maximum value is 100. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head1 SEE ALSO | ||
| 79 | |||
| 80 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 81 | |||
| 82 | =head1 BUGS and CONTRIBUTIONS | ||
| 83 | |||
| 84 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 85 | |||
| 86 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 87 | |||
| 88 | =cut | ||
| 89 |