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

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SageMaker::OutputDataConfig;
3 use Moose;
4 has KmsKeyId => (is => 'ro', isa => 'Str');
5 has S3OutputPath => (is => 'ro', isa => 'Str', required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::SageMaker::OutputDataConfig
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::SageMaker::OutputDataConfig object:
25  
26 $service_obj->Method(Att1 => { KmsKeyId => $value, ..., S3OutputPath => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::OutputDataConfig object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->KmsKeyId
34  
35 =head1 DESCRIPTION
36  
37 Provides information about how to store model training results (model
38 artifacts).
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 KmsKeyId => Str
44  
45 The Amazon Web Services Key Management Service (Amazon Web Services
46 KMS) key that Amazon SageMaker uses to encrypt the model artifacts at
47 rest using Amazon S3 server-side encryption. The C<KmsKeyId> can be any
48 of the following formats:
49  
50 =over
51  
52 =item *
53  
54 // KMS Key ID
55  
56 C<"1234abcd-12ab-34cd-56ef-1234567890ab">
57  
58 =item *
59  
60 // Amazon Resource Name (ARN) of a KMS Key
61  
62 C<"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab">
63  
64 =item *
65  
66 // KMS Key Alias
67  
68 C<"alias/ExampleAlias">
69  
70 =item *
71  
72 // Amazon Resource Name (ARN) of a KMS Key Alias
73  
74 C<"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias">
75  
76 =back
77  
78 If you use a KMS key ID or an alias of your master key, the Amazon
79 SageMaker execution role must include permissions to call
80 C<kms:Encrypt>. If you don't provide a KMS key ID, Amazon SageMaker
81 uses the default KMS key for Amazon S3 for your role's account. Amazon
82 SageMaker uses server-side encryption with KMS-managed keys for
83 C<OutputDataConfig>. If you use a bucket policy with an C<s3:PutObject>
84 permission that only allows objects with server-side encryption, set
85 the condition key of C<s3:x-amz-server-side-encryption> to
86 C<"aws:kms">. For more information, see KMS-Managed Encryption Keys
87 (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html)
88 in the I<Amazon Simple Storage Service Developer Guide.>
89  
90 The KMS key policy must grant permission to the IAM role that you
91 specify in your C<CreateTrainingJob>, C<CreateTransformJob>, or
92 C<CreateHyperParameterTuningJob> requests. For more information, see
93 Using Key Policies in Amazon Web Services KMS
94 (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
95 in the I<Amazon Web Services Key Management Service Developer Guide>.
96  
97  
98 =head2 B<REQUIRED> S3OutputPath => Str
99  
100 Identifies the S3 path where you want Amazon SageMaker to store the
101 model artifacts. For example, C<s3://bucket-name/key-name-prefix>.
102  
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut
116