blib/lib/Paws/AppStream/UsageReportSubscription.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::AppStream::UsageReportSubscription;
3 use Moose;
4 has LastGeneratedReportDate => (is => 'ro', isa => 'Str');
5 has S3BucketName => (is => 'ro', isa => 'Str');
6 has Schedule => (is => 'ro', isa => 'Str');
7 has SubscriptionErrors => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::LastReportGenerationExecutionError]');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::AppStream::UsageReportSubscription
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::AppStream::UsageReportSubscription object:
27  
28 $service_obj->Method(Att1 => { LastGeneratedReportDate => $value, ..., SubscriptionErrors => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::AppStream::UsageReportSubscription object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->LastGeneratedReportDate
36  
37 =head1 DESCRIPTION
38  
39 Describes information about the usage report subscription.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 LastGeneratedReportDate => Str
45  
46 The time when the last usage report was generated.
47  
48  
49 =head2 S3BucketName => Str
50  
51 The Amazon S3 bucket where generated reports are stored.
52  
53 If you enabled on-instance session scripts and Amazon S3 logging for
54 your session script configuration, AppStream 2.0 created an S3 bucket
55 to store the script output. The bucket is unique to your account and
56 Region. When you enable usage reporting in this case, AppStream 2.0
57 uses the same bucket to store your usage reports. If you haven't
58 already enabled on-instance session scripts, when you enable usage
59 reports, AppStream 2.0 creates a new S3 bucket.
60  
61  
62 =head2 Schedule => Str
63  
64 The schedule for generating usage reports.
65  
66  
67 =head2 SubscriptionErrors => ArrayRef[L<Paws::AppStream::LastReportGenerationExecutionError>]
68  
69 The errors that were returned if usage reports couldn't be generated.
70  
71  
72  
73 =head1 SEE ALSO
74  
75 This class forms part of L<Paws>, describing an object used in L<Paws::AppStream>
76  
77 =head1 BUGS and CONTRIBUTIONS
78  
79 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
80  
81 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
82  
83 =cut
84