File Coverage

blib/lib/Paws/CodePipeline/ActionDeclaration.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::ActionDeclaration;
2 1     1   419 use Moose;
  1         3  
  1         8  
3             has ActionTypeId => (is => 'ro', isa => 'Paws::CodePipeline::ActionTypeId', request_name => 'actionTypeId', traits => ['NameInRequest'], required => 1);
4             has Configuration => (is => 'ro', isa => 'Paws::CodePipeline::ActionConfigurationMap', request_name => 'configuration', traits => ['NameInRequest']);
5             has InputArtifacts => (is => 'ro', isa => 'ArrayRef[Paws::CodePipeline::InputArtifact]', request_name => 'inputArtifacts', traits => ['NameInRequest']);
6             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
7             has OutputArtifacts => (is => 'ro', isa => 'ArrayRef[Paws::CodePipeline::OutputArtifact]', request_name => 'outputArtifacts', traits => ['NameInRequest']);
8             has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']);
9             has RunOrder => (is => 'ro', isa => 'Int', request_name => 'runOrder', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::CodePipeline::ActionDeclaration
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::CodePipeline::ActionDeclaration object:
28              
29             $service_obj->Method(Att1 => { ActionTypeId => $value, ..., RunOrder => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::CodePipeline::ActionDeclaration object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->ActionTypeId
37              
38             =head1 DESCRIPTION
39              
40             Represents information about an action declaration.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> ActionTypeId => L<Paws::CodePipeline::ActionTypeId>
46              
47             The configuration information for the action type.
48              
49              
50             =head2 Configuration => L<Paws::CodePipeline::ActionConfigurationMap>
51              
52             The action declaration's configuration.
53              
54              
55             =head2 InputArtifacts => ArrayRef[L<Paws::CodePipeline::InputArtifact>]
56              
57             The name or ID of the artifact consumed by the action, such as a test
58             or build artifact.
59              
60              
61             =head2 B<REQUIRED> Name => Str
62              
63             The action declaration's name.
64              
65              
66             =head2 OutputArtifacts => ArrayRef[L<Paws::CodePipeline::OutputArtifact>]
67              
68             The name or ID of the result of the action declaration, such as a test
69             or build artifact.
70              
71              
72             =head2 RoleArn => Str
73              
74             The ARN of the IAM service role that will perform the declared action.
75             This is assumed through the roleArn for the pipeline.
76              
77              
78             =head2 RunOrder => Int
79              
80             The order in which actions are run.
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, describing an object used in L<Paws::CodePipeline>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut
95