blib/lib/Paws/DataPipeline/ValidatePipelineDefinition.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::DataPipeline::ValidatePipelineDefinition;
3 use Moose;
4 has ParameterObjects => (is => 'ro', isa => 'ArrayRef[Paws::DataPipeline::ParameterObject]', traits => ['NameInRequest'], request_name => 'parameterObjects' );
5 has ParameterValues => (is => 'ro', isa => 'ArrayRef[Paws::DataPipeline::ParameterValue]', traits => ['NameInRequest'], request_name => 'parameterValues' );
6 has PipelineId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'pipelineId' , required => 1);
7 has PipelineObjects => (is => 'ro', isa => 'ArrayRef[Paws::DataPipeline::PipelineObject]', traits => ['NameInRequest'], request_name => 'pipelineObjects' , required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ValidatePipelineDefinition');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DataPipeline::ValidatePipelineDefinitionOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::DataPipeline::ValidatePipelineDefinition - Arguments for method ValidatePipelineDefinition on L<Paws::DataPipeline>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ValidatePipelineDefinition on the
25 L<AWS Data Pipeline|Paws::DataPipeline> service. Use the attributes of this class
26 as arguments to method ValidatePipelineDefinition.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ValidatePipelineDefinition.
29  
30 =head1 SYNOPSIS
31  
32 my $datapipeline = Paws->service('DataPipeline');
33 my $ValidatePipelineDefinitionOutput =
34 $datapipeline->ValidatePipelineDefinition(
35 PipelineId => 'Myid',
36 PipelineObjects => [
37 {
38 Fields => [
39 {
40 Key => 'MyfieldNameString', # min: 1, max: 256
41 RefValue => 'MyfieldNameString', # min: 1, max: 256
42 StringValue => 'MyfieldStringValue', # max: 10240; OPTIONAL
43 },
44 ...
45 ],
46 Id => 'Myid', # min: 1, max: 1024
47 Name => 'Myid', # min: 1, max: 1024
48  
49 },
50 ...
51 ],
52 ParameterObjects => [
53 {
54 Attributes => [
55 {
56 Key => 'MyattributeNameString', # min: 1, max: 256
57 StringValue => 'MyattributeValueString', # max: 10240
58  
59 },
60 ...
61 ],
62 Id => 'MyfieldNameString', # min: 1, max: 256
63  
64 },
65 ...
66 ], # OPTIONAL
67 ParameterValues => [
68 {
69 Id => 'MyfieldNameString', # min: 1, max: 256
70 StringValue => 'MyfieldStringValue', # max: 10240; OPTIONAL
71  
72 },
73 ...
74 ], # OPTIONAL
75 );
76  
77 # Results:
78 my $Errored = $ValidatePipelineDefinitionOutput->Errored;
79 my $ValidationErrors = $ValidatePipelineDefinitionOutput->ValidationErrors;
80 my $ValidationWarnings =
81 $ValidatePipelineDefinitionOutput->ValidationWarnings;
82  
83 # Returns a L<Paws::DataPipeline::ValidatePipelineDefinitionOutput> object.
84  
85 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.
86 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/datapipeline/ValidatePipelineDefinition>
87  
88 =head1 ATTRIBUTES
89  
90  
91 =head2 ParameterObjects => ArrayRef[L<Paws::DataPipeline::ParameterObject>]
92  
93 The parameter objects used with the pipeline.
94  
95  
96  
97 =head2 ParameterValues => ArrayRef[L<Paws::DataPipeline::ParameterValue>]
98  
99 The parameter values used with the pipeline.
100  
101  
102  
103 =head2 B<REQUIRED> PipelineId => Str
104  
105 The ID of the pipeline.
106  
107  
108  
109 =head2 B<REQUIRED> PipelineObjects => ArrayRef[L<Paws::DataPipeline::PipelineObject>]
110  
111 The objects that define the pipeline changes to validate against the
112 pipeline.
113  
114  
115  
116  
117 =head1 SEE ALSO
118  
119 This class forms part of L<Paws>, documenting arguments for method ValidatePipelineDefinition in L<Paws::DataPipeline>
120  
121 =head1 BUGS and CONTRIBUTIONS
122  
123 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
124  
125 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
126  
127 =cut
128