blib/lib/Paws/Robomaker/CreateWorldExportJob.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Robomaker::CreateWorldExportJob;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientRequestToken');
5 has IamRole => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'iamRole', required => 1);
6 has OutputLocation => (is => 'ro', isa => 'Paws::Robomaker::OutputLocation', traits => ['NameInRequest'], request_name => 'outputLocation', required => 1);
7 has Tags => (is => 'ro', isa => 'Paws::Robomaker::TagMap', traits => ['NameInRequest'], request_name => 'tags');
8 has Worlds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'worlds', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateWorldExportJob');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/createWorldExportJob');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Robomaker::CreateWorldExportJobResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Robomaker::CreateWorldExportJob - Arguments for method CreateWorldExportJob on L<Paws::Robomaker>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateWorldExportJob on the
27 L<AWS RoboMaker|Paws::Robomaker> service. Use the attributes of this class
28 as arguments to method CreateWorldExportJob.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateWorldExportJob.
31  
32 =head1 SYNOPSIS
33  
34 my $robomaker = Paws->service('Robomaker');
35 my $CreateWorldExportJobResponse = $robomaker->CreateWorldExportJob(
36 IamRole => 'MyIamRole',
37 OutputLocation => {
38 S3Bucket => 'MyS3Bucket', # min: 3, max: 63; OPTIONAL
39 S3Prefix => 'MyS3Key', # min: 1, max: 1024; OPTIONAL
40 },
41 Worlds => [
42 'MyArn', ... # min: 1, max: 1224
43 ],
44 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
45 Tags => {
46 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
47 }, # OPTIONAL
48 );
49  
50 # Results:
51 my $Arn = $CreateWorldExportJobResponse->Arn;
52 my $ClientRequestToken = $CreateWorldExportJobResponse->ClientRequestToken;
53 my $CreatedAt = $CreateWorldExportJobResponse->CreatedAt;
54 my $FailureCode = $CreateWorldExportJobResponse->FailureCode;
55 my $IamRole = $CreateWorldExportJobResponse->IamRole;
56 my $OutputLocation = $CreateWorldExportJobResponse->OutputLocation;
57 my $Status = $CreateWorldExportJobResponse->Status;
58 my $Tags = $CreateWorldExportJobResponse->Tags;
59  
60 # Returns a L<Paws::Robomaker::CreateWorldExportJobResponse> object.
61  
62 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.
63 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/robomaker/CreateWorldExportJob>
64  
65 =head1 ATTRIBUTES
66  
67  
68 =head2 ClientRequestToken => Str
69  
70 Unique, case-sensitive identifier that you provide to ensure the
71 idempotency of the request.
72  
73  
74  
75 =head2 B<REQUIRED> IamRole => Str
76  
77 The IAM role that the world export process uses to access the Amazon S3
78 bucket and put the export.
79  
80  
81  
82 =head2 B<REQUIRED> OutputLocation => L<Paws::Robomaker::OutputLocation>
83  
84  
85  
86  
87  
88 =head2 Tags => L<Paws::Robomaker::TagMap>
89  
90 A map that contains tag keys and tag values that are attached to the
91 world export job.
92  
93  
94  
95 =head2 B<REQUIRED> Worlds => ArrayRef[Str|Undef]
96  
97 A list of Amazon Resource Names (arns) that correspond to worlds to
98 export.
99  
100  
101  
102  
103 =head1 SEE ALSO
104  
105 This class forms part of L<Paws>, documenting arguments for method CreateWorldExportJob in L<Paws::Robomaker>
106  
107 =head1 BUGS and CONTRIBUTIONS
108  
109 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
110  
111 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
112  
113 =cut
114