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

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 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::LabelingJobOutputConfig;
3 use Moose;
4 has KmsKeyId => (is => 'ro', isa => 'Str');
5 has S3OutputPath => (is => 'ro', isa => 'Str', required => 1);
6 has SnsTopicArn => (is => 'ro', isa => 'Str');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::SageMaker::LabelingJobOutputConfig
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::SageMaker::LabelingJobOutputConfig object:
26  
27 $service_obj->Method(Att1 => { KmsKeyId => $value, ..., SnsTopicArn => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::LabelingJobOutputConfig object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->KmsKeyId
35  
36 =head1 DESCRIPTION
37  
38 Output configuration information for a labeling job.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 KmsKeyId => Str
44  
45 The Amazon Web Services Key Management Service ID of the key used to
46 encrypt the output data, if any.
47  
48 If you provide your own KMS key ID, you must add the required
49 permissions to your KMS key described in Encrypt Output Data and
50 Storage Volume with Amazon Web Services KMS
51 (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-security-permission.html#sms-security-kms-permissions).
52  
53 If you don't provide a KMS key ID, Amazon SageMaker uses the default
54 Amazon Web Services KMS key for Amazon S3 for your role's account to
55 encrypt your output data.
56  
57 If you use a bucket policy with an C<s3:PutObject> permission that only
58 allows objects with server-side encryption, set the condition key of
59 C<s3:x-amz-server-side-encryption> to C<"aws:kms">. For more
60 information, see KMS-Managed Encryption Keys
61 (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
62 in the I<Amazon Simple Storage Service Developer Guide.>
63  
64  
65 =head2 B<REQUIRED> S3OutputPath => Str
66  
67 The Amazon S3 location to write output data.
68  
69  
70 =head2 SnsTopicArn => Str
71  
72 An Amazon Simple Notification Service (Amazon SNS) output topic ARN.
73 Provide a C<SnsTopicArn> if you want to do real time chaining to
74 another streaming job and receive an Amazon SNS notifications each time
75 a data object is submitted by a worker.
76  
77 If you provide an C<SnsTopicArn> in C<OutputConfig>, when workers
78 complete labeling tasks, Ground Truth will send labeling task output
79 data to the SNS output topic you specify here.
80  
81 To learn more, see Receive Output Data from a Streaming Labeling Job
82 (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-labeling-job.html#sms-streaming-how-it-works-output-data).
83  
84  
85  
86 =head1 SEE ALSO
87  
88 This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker>
89  
90 =head1 BUGS and CONTRIBUTIONS
91  
92 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
93  
94 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
95  
96 =cut
97