| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Macie2::UsageStatisticsFilter; | ||
| 3 | use Moose; | ||
| 4 | has Comparator => (is => 'ro', isa => 'Str', request_name => 'comparator', traits => ['NameInRequest']); | ||
| 5 | has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest']); | ||
| 6 | has Values => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'values', traits => ['NameInRequest']); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Macie2::UsageStatisticsFilter | ||
| 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::UsageStatisticsFilter object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Comparator => $value, ..., Values => $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::UsageStatisticsFilter object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Comparator | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Specifies a condition for filtering the results of a query for quota | ||
| 39 | and usage data for one or more Amazon Macie accounts. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 Comparator => Str | ||
| 45 | |||
| 46 | The operator to use in the condition. If the value for the key property | ||
| 47 | is accountId, this value must be CONTAINS. If the value for the key | ||
| 48 | property is any other supported field, this value can be EQ, GT, GTE, | ||
| 49 | LT, LTE, or NE. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Key => Str | ||
| 53 | |||
| 54 | The field to use in the condition. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 Values => ArrayRef[Str|Undef] | ||
| 58 | |||
| 59 | An array that lists values to use in the condition, based on the value | ||
| 60 | for the field specified by the key property. If the value for the key | ||
| 61 | property is accountId, this array can specify multiple values. | ||
| 62 | Otherwise, this array can specify only one value. | ||
| 63 | |||
| 64 | Valid values for each supported field are: | ||
| 65 | |||
| 66 | =over | ||
| 67 | |||
| 68 | =item * | ||
| 69 | |||
| 70 | accountId - The unique identifier for an Amazon Web Services account. | ||
| 71 | |||
| 72 | =item * | ||
| 73 | |||
| 74 | freeTrialStartDate - The date and time, in UTC and extended ISO 8601 | ||
| 75 | format, when the free trial started for an account. | ||
| 76 | |||
| 77 | =item * | ||
| 78 | |||
| 79 | serviceLimit - A Boolean (true or false) value that indicates whether | ||
| 80 | an account has reached its monthly quota. | ||
| 81 | |||
| 82 | =item * | ||
| 83 | |||
| 84 | total - A string that represents the current estimated cost for an | ||
| 85 | account. | ||
| 86 | |||
| 87 | =back | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head1 SEE ALSO | ||
| 93 | |||
| 94 | This class forms part of L<Paws>, describing an object used in L<Paws::Macie2> | ||
| 95 | |||
| 96 | =head1 BUGS and CONTRIBUTIONS | ||
| 97 | |||
| 98 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 99 | |||
| 100 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 101 | |||
| 102 | =cut | ||
| 103 |