blib/lib/Paws/Robomaker/CreateWorldGenerationJob.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::CreateWorldGenerationJob;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientRequestToken');
5 has Tags => (is => 'ro', isa => 'Paws::Robomaker::TagMap', traits => ['NameInRequest'], request_name => 'tags');
6 has Template => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'template', required => 1);
7 has WorldCount => (is => 'ro', isa => 'Paws::Robomaker::WorldCount', traits => ['NameInRequest'], request_name => 'worldCount', required => 1);
8 has WorldTags => (is => 'ro', isa => 'Paws::Robomaker::TagMap', traits => ['NameInRequest'], request_name => 'worldTags');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateWorldGenerationJob');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/createWorldGenerationJob');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Robomaker::CreateWorldGenerationJobResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Robomaker::CreateWorldGenerationJob - Arguments for method CreateWorldGenerationJob on L<Paws::Robomaker>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateWorldGenerationJob on the
27 L<AWS RoboMaker|Paws::Robomaker> service. Use the attributes of this class
28 as arguments to method CreateWorldGenerationJob.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateWorldGenerationJob.
31  
32 =head1 SYNOPSIS
33  
34 my $robomaker = Paws->service('Robomaker');
35 my $CreateWorldGenerationJobResponse = $robomaker->CreateWorldGenerationJob(
36 Template => 'MyArn',
37 WorldCount => {
38 FloorplanCount => 1, # OPTIONAL
39 InteriorCountPerFloorplan => 1, # OPTIONAL
40 },
41 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
42 Tags => {
43 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
44 }, # OPTIONAL
45 WorldTags => {
46 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
47 }, # OPTIONAL
48 );
49  
50 # Results:
51 my $Arn = $CreateWorldGenerationJobResponse->Arn;
52 my $ClientRequestToken =
53 $CreateWorldGenerationJobResponse->ClientRequestToken;
54 my $CreatedAt = $CreateWorldGenerationJobResponse->CreatedAt;
55 my $FailureCode = $CreateWorldGenerationJobResponse->FailureCode;
56 my $Status = $CreateWorldGenerationJobResponse->Status;
57 my $Tags = $CreateWorldGenerationJobResponse->Tags;
58 my $Template = $CreateWorldGenerationJobResponse->Template;
59 my $WorldCount = $CreateWorldGenerationJobResponse->WorldCount;
60 my $WorldTags = $CreateWorldGenerationJobResponse->WorldTags;
61  
62 # Returns a L<Paws::Robomaker::CreateWorldGenerationJobResponse> object.
63  
64 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.
65 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/robomaker/CreateWorldGenerationJob>
66  
67 =head1 ATTRIBUTES
68  
69  
70 =head2 ClientRequestToken => Str
71  
72 Unique, case-sensitive identifier that you provide to ensure the
73 idempotency of the request.
74  
75  
76  
77 =head2 Tags => L<Paws::Robomaker::TagMap>
78  
79 A map that contains tag keys and tag values that are attached to the
80 world generator job.
81  
82  
83  
84 =head2 B<REQUIRED> Template => Str
85  
86 The Amazon Resource Name (arn) of the world template describing the
87 worlds you want to create.
88  
89  
90  
91 =head2 B<REQUIRED> WorldCount => L<Paws::Robomaker::WorldCount>
92  
93 Information about the world count.
94  
95  
96  
97 =head2 WorldTags => L<Paws::Robomaker::TagMap>
98  
99 A map that contains tag keys and tag values that are attached to the
100 generated worlds.
101  
102  
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, documenting arguments for method CreateWorldGenerationJob in L<Paws::Robomaker>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut
116