blib/lib/Paws/ComputeOptimizer/S3DestinationConfig.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ComputeOptimizer::S3DestinationConfig;
3 use Moose;
4 has Bucket => (is => 'ro', isa => 'Str', request_name => 'bucket', traits => ['NameInRequest']);
5 has KeyPrefix => (is => 'ro', isa => 'Str', request_name => 'keyPrefix', traits => ['NameInRequest']);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::ComputeOptimizer::S3DestinationConfig
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::ComputeOptimizer::S3DestinationConfig object:
25  
26 $service_obj->Method(Att1 => { Bucket => $value, ..., KeyPrefix => $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::ComputeOptimizer::S3DestinationConfig object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Bucket
34  
35 =head1 DESCRIPTION
36  
37 Describes the destination Amazon Simple Storage Service (Amazon S3)
38 bucket name and key prefix for a recommendations export job.
39  
40 You must create the destination Amazon S3 bucket for your
41 recommendations export before you create the export job. Compute
42 Optimizer does not create the S3 bucket for you. After you create the
43 S3 bucket, ensure that it has the required permission policy to allow
44 Compute Optimizer to write the export file to it. If you plan to
45 specify an object prefix when you create the export job, you must
46 include the object prefix in the policy that you add to the S3 bucket.
47 For more information, see Amazon S3 Bucket Policy for Compute Optimizer
48 (https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html)
49 in the I<Compute Optimizer user guide>.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 Bucket => Str
55  
56 The name of the Amazon S3 bucket to use as the destination for an
57 export job.
58  
59  
60 =head2 KeyPrefix => Str
61  
62 The Amazon S3 bucket prefix for an export job.
63  
64  
65  
66 =head1 SEE ALSO
67  
68 This class forms part of L<Paws>, describing an object used in L<Paws::ComputeOptimizer>
69  
70 =head1 BUGS and CONTRIBUTIONS
71  
72 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
73  
74 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
75  
76 =cut
77