blib/lib/Paws/CodePipeline/PutJobSuccessResult.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::CodePipeline::PutJobSuccessResult;
3 use Moose;
4 has ContinuationToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'continuationToken' );
5 has CurrentRevision => (is => 'ro', isa => 'Paws::CodePipeline::CurrentRevision', traits => ['NameInRequest'], request_name => 'currentRevision' );
6 has ExecutionDetails => (is => 'ro', isa => 'Paws::CodePipeline::ExecutionDetails', traits => ['NameInRequest'], request_name => 'executionDetails' );
7 has JobId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'jobId' , required => 1);
8 has OutputVariables => (is => 'ro', isa => 'Paws::CodePipeline::OutputVariablesMap', traits => ['NameInRequest'], request_name => 'outputVariables' );
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutJobSuccessResult');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::CodePipeline::PutJobSuccessResult - Arguments for method PutJobSuccessResult on L<Paws::CodePipeline>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method PutJobSuccessResult on the
26 L<AWS CodePipeline|Paws::CodePipeline> service. Use the attributes of this class
27 as arguments to method PutJobSuccessResult.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutJobSuccessResult.
30  
31 =head1 SYNOPSIS
32  
33 my $codepipeline = Paws->service('CodePipeline');
34 $codepipeline->PutJobSuccessResult(
35 JobId => 'MyJobId',
36 ContinuationToken => 'MyContinuationToken', # OPTIONAL
37 CurrentRevision => {
38 ChangeIdentifier => 'MyRevisionChangeIdentifier', # min: 1, max: 100
39 Revision => 'MyRevision', # min: 1, max: 1500
40 Created => '1970-01-01T01:00:00', # OPTIONAL
41 RevisionSummary => 'MyRevisionSummary', # min: 1, max: 2048; OPTIONAL
42 }, # OPTIONAL
43 ExecutionDetails => {
44 ExternalExecutionId => 'MyExecutionId', # min: 1, max: 1500; OPTIONAL
45 PercentComplete => 1, # max: 100; OPTIONAL
46 Summary => 'MyExecutionSummary', # min: 1, max: 2048; OPTIONAL
47 }, # OPTIONAL
48 OutputVariables =>
49 { 'MyOutputVariablesKey' => 'MyOutputVariablesValue', }, # OPTIONAL
50 );
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codepipeline/PutJobSuccessResult>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 ContinuationToken => Str
59  
60 A token generated by a job worker, such as an AWS CodeDeploy deployment
61 ID, that a successful job provides to identify a custom action in
62 progress. Future jobs use this token to identify the running instance
63 of the action. It can be reused to return more information about the
64 progress of the custom action. When the action is complete, no
65 continuation token should be supplied.
66  
67  
68  
69 =head2 CurrentRevision => L<Paws::CodePipeline::CurrentRevision>
70  
71 The ID of the current revision of the artifact successfully worked on
72 by the job.
73  
74  
75  
76 =head2 ExecutionDetails => L<Paws::CodePipeline::ExecutionDetails>
77  
78 The execution details of the successful job, such as the actions taken
79 by the job worker.
80  
81  
82  
83 =head2 B<REQUIRED> JobId => Str
84  
85 The unique system-generated ID of the job that succeeded. This is the
86 same ID returned from C<PollForJobs>.
87  
88  
89  
90 =head2 OutputVariables => L<Paws::CodePipeline::OutputVariablesMap>
91  
92 Key-value pairs produced as output by a job worker that can be made
93 available to a downstream action configuration. C<outputVariables> can
94 be included only when there is no continuation token on the request.
95  
96  
97  
98  
99 =head1 SEE ALSO
100  
101 This class forms part of L<Paws>, documenting arguments for method PutJobSuccessResult in L<Paws::CodePipeline>
102  
103 =head1 BUGS and CONTRIBUTIONS
104  
105 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
106  
107 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
108  
109 =cut
110