File Coverage

blib/lib/Paws/DataPipeline/CreatePipeline.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::DataPipeline::CreatePipeline;
3 1     1   531 use Moose;
  1         3  
  1         8  
4             has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
5             has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1);
6             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::DataPipeline::Tag]', traits => ['NameInRequest'], request_name => 'tags' );
7             has UniqueId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'uniqueId' , required => 1);
8              
9 1     1   6599 use MooseX::ClassAttribute;
  1         3  
  1         10  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreatePipeline');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DataPipeline::CreatePipelineOutput');
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::CreatePipeline - Arguments for method CreatePipeline on Paws::DataPipeline
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method CreatePipeline on the
25             AWS Data Pipeline service. Use the attributes of this class
26             as arguments to method CreatePipeline.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePipeline.
29              
30             As an example:
31              
32             $service_obj->CreatePipeline(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 Description => Str
40              
41             The description for the pipeline.
42              
43              
44              
45             =head2 B<REQUIRED> Name => Str
46              
47             The name for the pipeline. You can use the same name for multiple
48             pipelines associated with your AWS account, because AWS Data Pipeline
49             assigns each pipeline a unique pipeline identifier.
50              
51              
52              
53             =head2 Tags => ArrayRef[L<Paws::DataPipeline::Tag>]
54              
55             A list of tags to associate with the pipeline at creation. Tags let you
56             control access to pipelines. For more information, see Controlling User
57             Access to Pipelines in the I<AWS Data Pipeline Developer Guide>.
58              
59              
60              
61             =head2 B<REQUIRED> UniqueId => Str
62              
63             A unique identifier. This identifier is not the same as the pipeline
64             identifier assigned by AWS Data Pipeline. You are responsible for
65             defining the format and ensuring the uniqueness of this identifier. You
66             use this parameter to ensure idempotency during repeated calls to
67             C<CreatePipeline>. For example, if the first call to C<CreatePipeline>
68             does not succeed, you can pass in the same unique identifier and
69             pipeline name combination on a subsequent call to C<CreatePipeline>.
70             C<CreatePipeline> ensures that if a pipeline already exists with the
71             same name and unique identifier, a new pipeline is not created.
72             Instead, you'll receive the pipeline identifier from the previous
73             attempt. The uniqueness of the name and unique identifier combination
74             is scoped to the AWS account or IAM user credentials.
75              
76              
77              
78              
79             =head1 SEE ALSO
80              
81             This class forms part of L<Paws>, documenting arguments for method CreatePipeline in L<Paws::DataPipeline>
82              
83             =head1 BUGS and CONTRIBUTIONS
84              
85             The source code is located here: https://github.com/pplu/aws-sdk-perl
86              
87             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
88              
89             =cut
90