| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SES::ReceiptIpFilter; | ||
| 3 | use Moose; | ||
| 4 | has Cidr => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Policy => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::SES::ReceiptIpFilter | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::SES::ReceiptIpFilter object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Cidr => $value, ..., Policy => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::SES::ReceiptIpFilter object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Cidr | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | A receipt IP address filter enables you to specify whether to accept or | ||
| 38 | reject mail originating from an IP address or range of IP addresses. | ||
| 39 | |||
| 40 | For information about setting up IP address filters, see the Amazon SES | ||
| 41 | Developer Guide | ||
| 42 | (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html). | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 B<REQUIRED> Cidr => Str | ||
| 48 | |||
| 49 | A single IP address or a range of IP addresses that you want to block | ||
| 50 | or allow, specified in Classless Inter-Domain Routing (CIDR) notation. | ||
| 51 | An example of a single email address is 10.0.0.1. An example of a range | ||
| 52 | of IP addresses is 10.0.0.1/24. For more information about CIDR | ||
| 53 | notation, see RFC 2317 (https://tools.ietf.org/html/rfc2317). | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> Policy => Str | ||
| 57 | |||
| 58 | Indicates whether to block or allow incoming mail from the specified IP | ||
| 59 | addresses. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head1 SEE ALSO | ||
| 64 | |||
| 65 | This class forms part of L<Paws>, describing an object used in L<Paws::SES> | ||
| 66 | |||
| 67 | =head1 BUGS and CONTRIBUTIONS | ||
| 68 | |||
| 69 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 70 | |||
| 71 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 72 | |||
| 73 | =cut | ||
| 74 |