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

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SageMaker::UpdateTrainingJob;
3 use Moose;
4 has ProfilerConfig => (is => 'ro', isa => 'Paws::SageMaker::ProfilerConfigForUpdate');
5 has ProfilerRuleConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::ProfilerRuleConfiguration]');
6 has TrainingJobName => (is => 'ro', isa => 'Str', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateTrainingJob');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::UpdateTrainingJobResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::SageMaker::UpdateTrainingJob - Arguments for method UpdateTrainingJob on L<Paws::SageMaker>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method UpdateTrainingJob on the
24 L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class
25 as arguments to method UpdateTrainingJob.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTrainingJob.
28  
29 =head1 SYNOPSIS
30  
31 my $api.sagemaker = Paws->service('SageMaker');
32 my $UpdateTrainingJobResponse = $api . sagemaker->UpdateTrainingJob(
33 TrainingJobName => 'MyTrainingJobName',
34 ProfilerConfig => {
35 DisableProfiler => 1, # OPTIONAL
36 ProfilingIntervalInMilliseconds => 1, # OPTIONAL
37 ProfilingParameters => {
38 'MyConfigKey' =>
39 'MyConfigValue', # key: min: 1, max: 256, value: max: 256
40 }, # max: 20; OPTIONAL
41 S3OutputPath => 'MyS3Uri', # max: 1024; OPTIONAL
42 }, # OPTIONAL
43 ProfilerRuleConfigurations => [
44 {
45 RuleConfigurationName => 'MyRuleConfigurationName', # min: 1, max: 256
46 RuleEvaluatorImage => 'MyAlgorithmImage', # max: 255
47 InstanceType => 'ml.t3.medium'
48 , # values: ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge; OPTIONAL
49 LocalPath => 'MyDirectoryPath', # max: 4096; OPTIONAL
50 RuleParameters => {
51 'MyConfigKey' =>
52 'MyConfigValue', # key: min: 1, max: 256, value: max: 256
53 }, # max: 100; OPTIONAL
54 S3OutputPath => 'MyS3Uri', # max: 1024; OPTIONAL
55 VolumeSizeInGB => 1, # OPTIONAL
56 },
57 ...
58 ], # OPTIONAL
59 );
60  
61 # Results:
62 my $TrainingJobArn = $UpdateTrainingJobResponse->TrainingJobArn;
63  
64 # Returns a L<Paws::SageMaker::UpdateTrainingJobResponse> object.
65  
66 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.
67 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/UpdateTrainingJob>
68  
69 =head1 ATTRIBUTES
70  
71  
72 =head2 ProfilerConfig => L<Paws::SageMaker::ProfilerConfigForUpdate>
73  
74 Configuration information for Debugger system monitoring, framework
75 profiling, and storage paths.
76  
77  
78  
79 =head2 ProfilerRuleConfigurations => ArrayRef[L<Paws::SageMaker::ProfilerRuleConfiguration>]
80  
81 Configuration information for Debugger rules for profiling system and
82 framework metrics.
83  
84  
85  
86 =head2 B<REQUIRED> TrainingJobName => Str
87  
88 The name of a training job to update the Debugger profiling
89 configuration.
90  
91  
92  
93  
94 =head1 SEE ALSO
95  
96 This class forms part of L<Paws>, documenting arguments for method UpdateTrainingJob in L<Paws::SageMaker>
97  
98 =head1 BUGS and CONTRIBUTIONS
99  
100 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
101  
102 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
103  
104 =cut
105