blib/lib/Paws/CodePipeline/PipelineDeclaration.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CodePipeline::PipelineDeclaration;
3 use Moose;
4 has ArtifactStore => (is => 'ro', isa => 'Paws::CodePipeline::ArtifactStore', request_name => 'artifactStore', traits => ['NameInRequest']);
5 has ArtifactStores => (is => 'ro', isa => 'Paws::CodePipeline::ArtifactStoreMap', request_name => 'artifactStores', traits => ['NameInRequest']);
6 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
7 has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest'], required => 1);
8 has Stages => (is => 'ro', isa => 'ArrayRef[Paws::CodePipeline::StageDeclaration]', request_name => 'stages', traits => ['NameInRequest'], required => 1);
9 has Version => (is => 'ro', isa => 'Int', request_name => 'version', traits => ['NameInRequest']);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::CodePipeline::PipelineDeclaration
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::CodePipeline::PipelineDeclaration object:
29  
30 $service_obj->Method(Att1 => { ArtifactStore => $value, ..., Version => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::CodePipeline::PipelineDeclaration object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->ArtifactStore
38  
39 =head1 DESCRIPTION
40  
41 Represents the structure of actions and stages to be performed in the
42 pipeline.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 ArtifactStore => L<Paws::CodePipeline::ArtifactStore>
48  
49 Represents information about the S3 bucket where artifacts are stored
50 for the pipeline.
51  
52 You must include either C<artifactStore> or C<artifactStores> in your
53 pipeline, but you cannot use both. If you create a cross-region action
54 in your pipeline, you must use C<artifactStores>.
55  
56  
57 =head2 ArtifactStores => L<Paws::CodePipeline::ArtifactStoreMap>
58  
59 A mapping of C<artifactStore> objects and their corresponding AWS
60 Regions. There must be an artifact store for the pipeline Region and
61 for each cross-region action in the pipeline.
62  
63 You must include either C<artifactStore> or C<artifactStores> in your
64 pipeline, but you cannot use both. If you create a cross-region action
65 in your pipeline, you must use C<artifactStores>.
66  
67  
68 =head2 B<REQUIRED> Name => Str
69  
70 The name of the pipeline.
71  
72  
73 =head2 B<REQUIRED> RoleArn => Str
74  
75 The Amazon Resource Name (ARN) for AWS CodePipeline to use to either
76 perform actions with no C<actionRoleArn>, or to use to assume roles for
77 actions with an C<actionRoleArn>.
78  
79  
80 =head2 B<REQUIRED> Stages => ArrayRef[L<Paws::CodePipeline::StageDeclaration>]
81  
82 The stage in which to perform the action.
83  
84  
85 =head2 Version => Int
86  
87 The version number of the pipeline. A new pipeline always has a version
88 number of 1. This number is incremented when a pipeline is updated.
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, describing an object used in L<Paws::CodePipeline>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103