File Coverage

blib/lib/Paws/CodePipeline/PipelineDeclaration.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CodePipeline::PipelineDeclaration;
2 1     1   297 use Moose;
  1         2  
  1         6  
3             has ArtifactStore => (is => 'ro', isa => 'Paws::CodePipeline::ArtifactStore', request_name => 'artifactStore', traits => ['NameInRequest'], required => 1);
4             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
5             has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest'], required => 1);
6             has Stages => (is => 'ro', isa => 'ArrayRef[Paws::CodePipeline::StageDeclaration]', request_name => 'stages', traits => ['NameInRequest'], required => 1);
7             has Version => (is => 'ro', isa => 'Int', request_name => 'version', traits => ['NameInRequest']);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::CodePipeline::PipelineDeclaration
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::CodePipeline::PipelineDeclaration object:
26              
27             $service_obj->Method(Att1 => { ArtifactStore => $value, ..., Version => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::CodePipeline::PipelineDeclaration object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->ArtifactStore
35              
36             =head1 DESCRIPTION
37              
38             Represents the structure of actions and stages to be performed in the
39             pipeline.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> ArtifactStore => L<Paws::CodePipeline::ArtifactStore>
45              
46             Represents information about the Amazon S3 bucket where artifacts are
47             stored for the pipeline.
48              
49              
50             =head2 B<REQUIRED> Name => Str
51              
52             The name of the action to be performed.
53              
54              
55             =head2 B<REQUIRED> RoleArn => Str
56              
57             The Amazon Resource Name (ARN) for AWS CodePipeline to use to either
58             perform actions with no actionRoleArn, or to use to assume roles for
59             actions with an actionRoleArn.
60              
61              
62             =head2 B<REQUIRED> Stages => ArrayRef[L<Paws::CodePipeline::StageDeclaration>]
63              
64             The stage in which to perform the action.
65              
66              
67             =head2 Version => Int
68              
69             The version number of the pipeline. A new pipeline always has a version
70             number of 1. This number is automatically incremented when a pipeline
71             is updated.
72              
73              
74              
75             =head1 SEE ALSO
76              
77             This class forms part of L<Paws>, describing an object used in L<Paws::CodePipeline>
78              
79             =head1 BUGS and CONTRIBUTIONS
80              
81             The source code is located here: https://github.com/pplu/aws-sdk-perl
82              
83             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
84              
85             =cut
86