« blib/lib/Paws/SESv2/ListEmailTemplatesResponse.pm
↑ Summary
blib/lib/Paws/SESv2/ListImportJobsResponse.pm »
| 1 | |||
| 2 | package Paws::SESv2::ListImportJobs; | ||
| 3 | use Moose; | ||
| 4 | has ImportDestinationType => (is => 'ro', isa => 'Str'); | ||
| 5 | has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'NextToken'); | ||
| 6 | has PageSize => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'PageSize'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListImportJobs'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/email/import-jobs'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SESv2::ListImportJobsResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::SESv2::ListImportJobs - Arguments for method ListImportJobs on L<Paws::SESv2> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method ListImportJobs on the | ||
| 25 | L<Amazon Simple Email Service|Paws::SESv2> service. Use the attributes of this class | ||
| 26 | as arguments to method ListImportJobs. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListImportJobs. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $email = Paws->service('SESv2'); | ||
| 33 | my $ListImportJobsResponse = $email->ListImportJobs( | ||
| 34 | ImportDestinationType => 'SUPPRESSION_LIST', # OPTIONAL | ||
| 35 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 36 | PageSize => 1, # OPTIONAL | ||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $ImportJobs = $ListImportJobsResponse->ImportJobs; | ||
| 41 | my $NextToken = $ListImportJobsResponse->NextToken; | ||
| 42 | |||
| 43 | # Returns a L<Paws::SESv2::ListImportJobsResponse> object. | ||
| 44 | |||
| 45 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 46 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/email/ListImportJobs> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 ImportDestinationType => Str | ||
| 52 | |||
| 53 | The destination of the import job, which can be used to list import | ||
| 54 | jobs that have a certain C<ImportDestinationType>. | ||
| 55 | |||
| 56 | Valid values are: C<"SUPPRESSION_LIST">, C<"CONTACT_LIST"> | ||
| 57 | |||
| 58 | =head2 NextToken => Str | ||
| 59 | |||
| 60 | A string token indicating that there might be additional import jobs | ||
| 61 | available to be listed. Copy this token to a subsequent call to | ||
| 62 | C<ListImportJobs> with the same parameters to retrieve the next page of | ||
| 63 | import jobs. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 PageSize => Int | ||
| 68 | |||
| 69 | Maximum number of import jobs to return at once. Use this parameter to | ||
| 70 | paginate results. If additional import jobs exist beyond the specified | ||
| 71 | limit, the C<NextToken> element is sent in the response. Use the | ||
| 72 | C<NextToken> value in subsequent requests to retrieve additional | ||
| 73 | addresses. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head1 SEE ALSO | ||
| 79 | |||
| 80 | This class forms part of L<Paws>, documenting arguments for method ListImportJobs in L<Paws::SESv2> | ||
| 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 |