« blib/lib/Paws/Macie2/UpdateOrganizationConfigurationResponse.pm
↑ Summary
blib/lib/Paws/Macie2/UsageRecord.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Macie2::UsageByAccount; | ||
| 3 | use Moose; | ||
| 4 | has Currency => (is => 'ro', isa => 'Str', request_name => 'currency', traits => ['NameInRequest']); | ||
| 5 | has EstimatedCost => (is => 'ro', isa => 'Str', request_name => 'estimatedCost', traits => ['NameInRequest']); | ||
| 6 | has ServiceLimit => (is => 'ro', isa => 'Paws::Macie2::ServiceLimit', request_name => 'serviceLimit', traits => ['NameInRequest']); | ||
| 7 | has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::Macie2::UsageByAccount | ||
| 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::Macie2::UsageByAccount object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Currency => $value, ..., Type => $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::Macie2::UsageByAccount object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Currency | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Provides data for a specific usage metric and the corresponding quota | ||
| 40 | for an Amazon Macie account. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 Currency => Str | ||
| 46 | |||
| 47 | The type of currency that the value for the metric (estimatedCost) is | ||
| 48 | reported in. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 EstimatedCost => Str | ||
| 52 | |||
| 53 | The estimated value for the metric. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 ServiceLimit => L<Paws::Macie2::ServiceLimit> | ||
| 57 | |||
| 58 | The current value for the quota that corresponds to the metric | ||
| 59 | specified by the type field. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 Type => Str | ||
| 63 | |||
| 64 | The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, | ||
| 65 | for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing | ||
| 66 | S3 objects to detect sensitive data. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head1 SEE ALSO | ||
| 71 | |||
| 72 | This class forms part of L<Paws>, describing an object used in L<Paws::Macie2> | ||
| 73 | |||
| 74 | =head1 BUGS and CONTRIBUTIONS | ||
| 75 | |||
| 76 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 77 | |||
| 78 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 79 | |||
| 80 | =cut | ||
| 81 |