blib/lib/Paws/WorkMail/StartMailboxExportJob.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::WorkMail::StartMailboxExportJob;
3 use Moose;
4 has ClientToken => (is => 'ro', isa => 'Str', required => 1);
5 has Description => (is => 'ro', isa => 'Str');
6 has EntityId => (is => 'ro', isa => 'Str', required => 1);
7 has KmsKeyArn => (is => 'ro', isa => 'Str', required => 1);
8 has OrganizationId => (is => 'ro', isa => 'Str', required => 1);
9 has RoleArn => (is => 'ro', isa => 'Str', required => 1);
10 has S3BucketName => (is => 'ro', isa => 'Str', required => 1);
11 has S3Prefix => (is => 'ro', isa => 'Str', required => 1);
12  
13 use MooseX::ClassAttribute;
14  
15 class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartMailboxExportJob');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WorkMail::StartMailboxExportJobResponse');
17 class_has _result_key => (isa => 'Str', is => 'ro');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::WorkMail::StartMailboxExportJob - Arguments for method StartMailboxExportJob on L<Paws::WorkMail>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method StartMailboxExportJob on the
29 L<Amazon WorkMail|Paws::WorkMail> service. Use the attributes of this class
30 as arguments to method StartMailboxExportJob.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartMailboxExportJob.
33  
34 =head1 SYNOPSIS
35  
36 my $workmail = Paws->service('WorkMail');
37 my $StartMailboxExportJobResponse = $workmail->StartMailboxExportJob(
38 ClientToken => 'MyIdempotencyClientToken',
39 EntityId => 'MyWorkMailIdentifier',
40 KmsKeyArn => 'MyKmsKeyArn',
41 OrganizationId => 'MyOrganizationId',
42 RoleArn => 'MyRoleArn',
43 S3BucketName => 'MyS3BucketName',
44 S3Prefix => 'MyS3ObjectKey',
45 Description => 'MyDescription', # OPTIONAL
46 );
47  
48 # Results:
49 my $JobId = $StartMailboxExportJobResponse->JobId;
50  
51 # Returns a L<Paws::WorkMail::StartMailboxExportJobResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/workmail/StartMailboxExportJob>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> ClientToken => Str
60  
61 The idempotency token for the client request.
62  
63  
64  
65 =head2 Description => Str
66  
67 The mailbox export job description.
68  
69  
70  
71 =head2 B<REQUIRED> EntityId => Str
72  
73 The identifier of the user or resource associated with the mailbox.
74  
75  
76  
77 =head2 B<REQUIRED> KmsKeyArn => Str
78  
79 The Amazon Resource Name (ARN) of the symmetric AWS Key Management
80 Service (AWS KMS) key that encrypts the exported mailbox content.
81  
82  
83  
84 =head2 B<REQUIRED> OrganizationId => Str
85  
86 The identifier associated with the organization.
87  
88  
89  
90 =head2 B<REQUIRED> RoleArn => Str
91  
92 The ARN of the AWS Identity and Access Management (IAM) role that
93 grants write permission to the S3 bucket.
94  
95  
96  
97 =head2 B<REQUIRED> S3BucketName => Str
98  
99 The name of the S3 bucket.
100  
101  
102  
103 =head2 B<REQUIRED> S3Prefix => Str
104  
105 The S3 bucket prefix.
106  
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, documenting arguments for method StartMailboxExportJob in L<Paws::WorkMail>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121