blib/lib/Paws/SageMaker/CreatePipeline.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMaker::CreatePipeline;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str', required => 1);
5 has PipelineDefinition => (is => 'ro', isa => 'Str', required => 1);
6 has PipelineDescription => (is => 'ro', isa => 'Str');
7 has PipelineDisplayName => (is => 'ro', isa => 'Str');
8 has PipelineName => (is => 'ro', isa => 'Str', required => 1);
9 has RoleArn => (is => 'ro', isa => 'Str', required => 1);
10 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::Tag]');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreatePipeline');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::CreatePipelineResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::SageMaker::CreatePipeline - Arguments for method CreatePipeline on L<Paws::SageMaker>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method CreatePipeline on the
28 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
29 as arguments to method CreatePipeline.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePipeline.
32  
33 =head1 SYNOPSIS
34  
35 my $api.sagemaker = Paws->service('SageMaker');
36 my $CreatePipelineResponse = $api . sagemaker->CreatePipeline(
37 ClientRequestToken => 'MyIdempotencyToken',
38 PipelineDefinition => 'MyPipelineDefinition',
39 PipelineName => 'MyPipelineName',
40 RoleArn => 'MyRoleArn',
41 PipelineDescription => 'MyPipelineDescription', # OPTIONAL
42 PipelineDisplayName => 'MyPipelineName', # OPTIONAL
43 Tags => [
44 {
45 Key => 'MyTagKey', # min: 1, max: 128
46 Value => 'MyTagValue', # max: 256
47  
48 },
49 ...
50 ], # OPTIONAL
51 );
52  
53 # Results:
54 my $PipelineArn = $CreatePipelineResponse->PipelineArn;
55  
56 # Returns a L<Paws::SageMaker::CreatePipelineResponse> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreatePipeline>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 B<REQUIRED> ClientRequestToken => Str
65  
66 A unique, case-sensitive identifier that you provide to ensure the
67 idempotency of the operation. An idempotent operation completes no more
68 than one time.
69  
70  
71  
72 =head2 B<REQUIRED> PipelineDefinition => Str
73  
74 The JSON pipeline definition of the pipeline.
75  
76  
77  
78 =head2 PipelineDescription => Str
79  
80 A description of the pipeline.
81  
82  
83  
84 =head2 PipelineDisplayName => Str
85  
86 The display name of the pipeline.
87  
88  
89  
90 =head2 B<REQUIRED> PipelineName => Str
91  
92 The name of the pipeline.
93  
94  
95  
96 =head2 B<REQUIRED> RoleArn => Str
97  
98 The Amazon Resource Name (ARN) of the role used by the pipeline to
99 access and create resources.
100  
101  
102  
103 =head2 Tags => ArrayRef[L<Paws::SageMaker::Tag>]
104  
105 A list of tags to apply to the created pipeline.
106  
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, documenting arguments for method CreatePipeline in L<Paws::SageMaker>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121