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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMaker::CreateProject;
3 use Moose;
4 has ProjectDescription => (is => 'ro', isa => 'Str');
5 has ProjectName => (is => 'ro', isa => 'Str', required => 1);
6 has ServiceCatalogProvisioningDetails => (is => 'ro', isa => 'Paws::SageMaker::ServiceCatalogProvisioningDetails', required => 1);
7 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::Tag]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateProject');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::CreateProjectOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::SageMaker::CreateProject - Arguments for method CreateProject on L<Paws::SageMaker>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CreateProject on the
25 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
26 as arguments to method CreateProject.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateProject.
29  
30 =head1 SYNOPSIS
31  
32 my $api.sagemaker = Paws->service('SageMaker');
33 my $CreateProjectOutput = $api . sagemaker->CreateProject(
34 ProjectName => 'MyProjectEntityName',
35 ServiceCatalogProvisioningDetails => {
36 ProductId => 'MyServiceCatalogEntityId', # min: 1, max: 100
37 ProvisioningArtifactId => 'MyServiceCatalogEntityId', # min: 1, max: 100
38 PathId => 'MyServiceCatalogEntityId', # min: 1, max: 100
39 ProvisioningParameters => [
40 {
41 Key => 'MyProvisioningParameterKey', # min: 1, max: 1000; OPTIONAL
42 Value => 'MyProvisioningParameterValue', # max: 4096; OPTIONAL
43 },
44 ...
45 ], # OPTIONAL
46 },
47 ProjectDescription => 'MyEntityDescription', # OPTIONAL
48 Tags => [
49 {
50 Key => 'MyTagKey', # min: 1, max: 128
51 Value => 'MyTagValue', # max: 256
52  
53 },
54 ...
55 ], # OPTIONAL
56 );
57  
58 # Results:
59 my $ProjectArn = $CreateProjectOutput->ProjectArn;
60 my $ProjectId = $CreateProjectOutput->ProjectId;
61  
62 # Returns a L<Paws::SageMaker::CreateProjectOutput> object.
63  
64 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.
65 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateProject>
66  
67 =head1 ATTRIBUTES
68  
69  
70 =head2 ProjectDescription => Str
71  
72 A description for the project.
73  
74  
75  
76 =head2 B<REQUIRED> ProjectName => Str
77  
78 The name of the project.
79  
80  
81  
82 =head2 B<REQUIRED> ServiceCatalogProvisioningDetails => L<Paws::SageMaker::ServiceCatalogProvisioningDetails>
83  
84 The product ID and provisioning artifact ID to provision a service
85 catalog. For information, see What is Amazon Web Services Service
86 Catalog
87 (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
88  
89  
90  
91 =head2 Tags => ArrayRef[L<Paws::SageMaker::Tag>]
92  
93 An array of key-value pairs that you want to use to organize and track
94 your Amazon Web Services resource costs. For more information, see
95 Tagging Amazon Web Services resources
96 (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the
97 I<Amazon Web Services General Reference Guide>.
98  
99  
100  
101  
102 =head1 SEE ALSO
103  
104 This class forms part of L<Paws>, documenting arguments for method CreateProject in L<Paws::SageMaker>
105  
106 =head1 BUGS and CONTRIBUTIONS
107  
108 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
109  
110 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
111  
112 =cut
113