« blib/lib/Paws/Backup/ListBackupVaultsOutput.pm
↑ Summary
blib/lib/Paws/Backup/ListCopyJobsOutput.pm »
| 1 | |||
| 2 | package Paws::Backup::ListCopyJobs; | ||
| 3 | use Moose; | ||
| 4 | has ByAccountId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'accountId'); | ||
| 5 | has ByCreatedAfter => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'createdAfter'); | ||
| 6 | has ByCreatedBefore => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'createdBefore'); | ||
| 7 | has ByDestinationVaultArn => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'destinationVaultArn'); | ||
| 8 | has ByResourceArn => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'resourceArn'); | ||
| 9 | has ByResourceType => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'resourceType'); | ||
| 10 | has ByState => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'state'); | ||
| 11 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults'); | ||
| 12 | has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken'); | ||
| 13 | |||
| 14 | use MooseX::ClassAttribute; | ||
| 15 | |||
| 16 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListCopyJobs'); | ||
| 17 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/copy-jobs/'); | ||
| 18 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 19 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Backup::ListCopyJobsOutput'); | ||
| 20 | 1; | ||
| 21 | |||
| 22 | ### main pod documentation begin ### | ||
| 23 | |||
| 24 | =head1 NAME | ||
| 25 | |||
| 26 | Paws::Backup::ListCopyJobs - Arguments for method ListCopyJobs on L<Paws::Backup> | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | This class represents the parameters used for calling the method ListCopyJobs on the | ||
| 31 | L<AWS Backup|Paws::Backup> service. Use the attributes of this class | ||
| 32 | as arguments to method ListCopyJobs. | ||
| 33 | |||
| 34 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListCopyJobs. | ||
| 35 | |||
| 36 | =head1 SYNOPSIS | ||
| 37 | |||
| 38 | my $backup = Paws->service('Backup'); | ||
| 39 | my $ListCopyJobsOutput = $backup->ListCopyJobs( | ||
| 40 | ByAccountId => 'MyAccountId', # OPTIONAL | ||
| 41 | ByCreatedAfter => '1970-01-01T01:00:00', # OPTIONAL | ||
| 42 | ByCreatedBefore => '1970-01-01T01:00:00', # OPTIONAL | ||
| 43 | ByDestinationVaultArn => 'Mystring', # OPTIONAL | ||
| 44 | ByResourceArn => 'MyARN', # OPTIONAL | ||
| 45 | ByResourceType => 'MyResourceType', # OPTIONAL | ||
| 46 | ByState => 'CREATED', # OPTIONAL | ||
| 47 | MaxResults => 1, # OPTIONAL | ||
| 48 | NextToken => 'Mystring', # OPTIONAL | ||
| 49 | ); | ||
| 50 | |||
| 51 | # Results: | ||
| 52 | my $CopyJobs = $ListCopyJobsOutput->CopyJobs; | ||
| 53 | my $NextToken = $ListCopyJobsOutput->NextToken; | ||
| 54 | |||
| 55 | # Returns a L<Paws::Backup::ListCopyJobsOutput> object. | ||
| 56 | |||
| 57 | 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. | ||
| 58 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/backup/ListCopyJobs> | ||
| 59 | |||
| 60 | =head1 ATTRIBUTES | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ByAccountId => Str | ||
| 64 | |||
| 65 | The account ID to list the jobs from. Returns only copy jobs associated | ||
| 66 | with the specified account ID. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 ByCreatedAfter => Str | ||
| 71 | |||
| 72 | Returns only copy jobs that were created after the specified date. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 ByCreatedBefore => Str | ||
| 77 | |||
| 78 | Returns only copy jobs that were created before the specified date. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 ByDestinationVaultArn => Str | ||
| 83 | |||
| 84 | An Amazon Resource Name (ARN) that uniquely identifies a source backup | ||
| 85 | vault to copy from; for example, | ||
| 86 | C<arn:aws:backup:us-east-1:123456789012:vault:aBackupVault>. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 ByResourceArn => Str | ||
| 91 | |||
| 92 | Returns only copy jobs that match the specified resource Amazon | ||
| 93 | Resource Name (ARN). | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head2 ByResourceType => Str | ||
| 98 | |||
| 99 | Returns only backup jobs for the specified resources: | ||
| 100 | |||
| 101 | =over | ||
| 102 | |||
| 103 | =item * | ||
| 104 | |||
| 105 | C<DynamoDB> for Amazon DynamoDB | ||
| 106 | |||
| 107 | =item * | ||
| 108 | |||
| 109 | C<EBS> for Amazon Elastic Block Store | ||
| 110 | |||
| 111 | =item * | ||
| 112 | |||
| 113 | C<EC2> for Amazon Elastic Compute Cloud | ||
| 114 | |||
| 115 | =item * | ||
| 116 | |||
| 117 | C<EFS> for Amazon Elastic File System | ||
| 118 | |||
| 119 | =item * | ||
| 120 | |||
| 121 | C<RDS> for Amazon Relational Database Service | ||
| 122 | |||
| 123 | =item * | ||
| 124 | |||
| 125 | C<Aurora> for Amazon Aurora | ||
| 126 | |||
| 127 | =item * | ||
| 128 | |||
| 129 | C<Storage Gateway> for AWS Storage Gateway | ||
| 130 | |||
| 131 | =back | ||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | |||
| 136 | =head2 ByState => Str | ||
| 137 | |||
| 138 | Returns only copy jobs that are in the specified state. | ||
| 139 | |||
| 140 | Valid values are: C<"CREATED">, C<"RUNNING">, C<"COMPLETED">, C<"FAILED"> | ||
| 141 | |||
| 142 | =head2 MaxResults => Int | ||
| 143 | |||
| 144 | The maximum number of items to be returned. | ||
| 145 | |||
| 146 | |||
| 147 | |||
| 148 | =head2 NextToken => Str | ||
| 149 | |||
| 150 | The next item following a partial list of returned items. For example, | ||
| 151 | if a request is made to return maxResults number of items, NextToken | ||
| 152 | allows you to return more items in your list starting at the location | ||
| 153 | pointed to by the next token. | ||
| 154 | |||
| 155 | |||
| 156 | |||
| 157 | |||
| 158 | =head1 SEE ALSO | ||
| 159 | |||
| 160 | This class forms part of L<Paws>, documenting arguments for method ListCopyJobs in L<Paws::Backup> | ||
| 161 | |||
| 162 | =head1 BUGS and CONTRIBUTIONS | ||
| 163 | |||
| 164 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 165 | |||
| 166 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 167 | |||
| 168 | =cut | ||
| 169 |