File Coverage

blib/lib/Paws/CodePipeline/DisableStageTransition.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CodePipeline::DisableStageTransition;
3 1     1   301 use Moose;
  1         3  
  1         5  
4             has PipelineName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'pipelineName' , required => 1);
5             has Reason => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'reason' , required => 1);
6             has StageName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'stageName' , required => 1);
7             has TransitionType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'transitionType' , required => 1);
8              
9 1     1   5295 use MooseX::ClassAttribute;
  1         2  
  1         6  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DisableStageTransition');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::CodePipeline::DisableStageTransition - Arguments for method DisableStageTransition on Paws::CodePipeline
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method DisableStageTransition on the
25             AWS CodePipeline service. Use the attributes of this class
26             as arguments to method DisableStageTransition.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DisableStageTransition.
29              
30             As an example:
31              
32             $service_obj->DisableStageTransition(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> PipelineName => Str
40              
41             The name of the pipeline in which you want to disable the flow of
42             artifacts from one stage to another.
43              
44              
45              
46             =head2 B<REQUIRED> Reason => Str
47              
48             The reason given to the user why a stage is disabled, such as waiting
49             for manual approval or manual tests. This message is displayed in the
50             pipeline console UI.
51              
52              
53              
54             =head2 B<REQUIRED> StageName => Str
55              
56             The name of the stage where you want to disable the inbound or outbound
57             transition of artifacts.
58              
59              
60              
61             =head2 B<REQUIRED> TransitionType => Str
62              
63             Specifies whether artifacts will be prevented from transitioning into
64             the stage and being processed by the actions in that stage (inbound),
65             or prevented from transitioning from the stage after they have been
66             processed by the actions in that stage (outbound).
67              
68             Valid values are: C<"Inbound">, C<"Outbound">
69              
70              
71             =head1 SEE ALSO
72              
73             This class forms part of L<Paws>, documenting arguments for method DisableStageTransition in L<Paws::CodePipeline>
74              
75             =head1 BUGS and CONTRIBUTIONS
76              
77             The source code is located here: https://github.com/pplu/aws-sdk-perl
78              
79             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
80              
81             =cut
82