blib/lib/Paws/MobileHub/CreateProject.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MobileHub::CreateProject;
3 use Moose;
4 has Contents => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'contents');
5 has Name => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'name');
6 has Region => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'region');
7 has SnapshotId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'snapshotId');
8  
9 use MooseX::ClassAttribute;
10 class_has _stream_param => (is => 'ro', default => 'Contents');
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateProject');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/projects');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MobileHub::CreateProjectResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::MobileHub::CreateProject - Arguments for method CreateProject on L<Paws::MobileHub>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method CreateProject on the
26 L<AWS Mobile|Paws::MobileHub> service. Use the attributes of this class
27 as arguments to method CreateProject.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateProject.
30  
31 =head1 SYNOPSIS
32  
33 my $mobile = Paws->service('MobileHub');
34 my $CreateProjectResult = $mobile->CreateProject(
35 Contents => 'BlobContents', # OPTIONAL
36 Name => 'MyProjectName', # OPTIONAL
37 Region => 'MyProjectRegion', # OPTIONAL
38 SnapshotId => 'MySnapshotId', # OPTIONAL
39 );
40  
41 # Results:
42 my $Details = $CreateProjectResult->Details;
43  
44 # Returns a L<Paws::MobileHub::CreateProjectResult> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mobile/CreateProject>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 Contents => Str
53  
54 ZIP or YAML file which contains configuration settings to be used when
55 creating the project. This may be the contents of the file downloaded
56 from the URL provided in an export project operation.
57  
58  
59  
60 =head2 Name => Str
61  
62 Name of the project.
63  
64  
65  
66 =head2 Region => Str
67  
68 Default region where project resources should be created.
69  
70  
71  
72 =head2 SnapshotId => Str
73  
74 Unique identifier for an exported snapshot of project configuration.
75 This snapshot identifier is included in the share URL when a project is
76 exported.
77  
78  
79  
80  
81 =head1 SEE ALSO
82  
83 This class forms part of L<Paws>, documenting arguments for method CreateProject in L<Paws::MobileHub>
84  
85 =head1 BUGS and CONTRIBUTIONS
86  
87 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
88  
89 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
90  
91 =cut
92