| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Macie2::UsageRecord; | ||
| 3 | use Moose; | ||
| 4 | has AccountId => (is => 'ro', isa => 'Str', request_name => 'accountId', traits => ['NameInRequest']); | ||
| 5 | has FreeTrialStartDate => (is => 'ro', isa => 'Str', request_name => 'freeTrialStartDate', traits => ['NameInRequest']); | ||
| 6 | has Usage => (is => 'ro', isa => 'ArrayRef[Paws::Macie2::UsageByAccount]', request_name => 'usage', traits => ['NameInRequest']); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Macie2::UsageRecord | ||
| 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::Macie2::UsageRecord object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { AccountId => $value, ..., Usage => $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::Macie2::UsageRecord object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->AccountId | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Provides quota and aggregated usage data for an Amazon Macie account. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 AccountId => Str | ||
| 44 | |||
| 45 | The unique identifier for the Amazon Web Services account that the data | ||
| 46 | applies to. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 FreeTrialStartDate => Str | ||
| 50 | |||
| 51 | The date and time, in UTC and extended ISO 8601 format, when the free | ||
| 52 | trial started for the account. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Usage => ArrayRef[L<Paws::Macie2::UsageByAccount>] | ||
| 56 | |||
| 57 | An array of objects that contains usage data and quotas for the | ||
| 58 | account. Each object contains the data for a specific usage metric and | ||
| 59 | the corresponding quota. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head1 SEE ALSO | ||
| 64 | |||
| 65 | This class forms part of L<Paws>, describing an object used in L<Paws::Macie2> | ||
| 66 | |||
| 67 | =head1 BUGS and CONTRIBUTIONS | ||
| 68 | |||
| 69 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 70 | |||
| 71 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 72 | |||
| 73 | =cut | ||
| 74 |