| 1 | |||
| 2 | package Paws::ApiGateway::Usage; | ||
| 3 | use Moose; | ||
| 4 | has EndDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'endDate'); | ||
| 5 | has Items => (is => 'ro', isa => 'Paws::ApiGateway::MapOfKeyUsages', traits => ['NameInRequest'], request_name => 'values'); | ||
| 6 | has Position => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'position'); | ||
| 7 | has StartDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'startDate'); | ||
| 8 | has UsagePlanId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'usagePlanId'); | ||
| 9 | |||
| 10 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::ApiGateway::Usage | ||
| 18 | |||
| 19 | =head1 ATTRIBUTES | ||
| 20 | |||
| 21 | |||
| 22 | =head2 EndDate => Str | ||
| 23 | |||
| 24 | The ending date of the usage data. | ||
| 25 | |||
| 26 | |||
| 27 | =head2 Items => L<Paws::ApiGateway::MapOfKeyUsages> | ||
| 28 | |||
| 29 | The usage data, as daily logs of used and remaining quotas, over the | ||
| 30 | specified time interval indexed over the API keys in a usage plan. For | ||
| 31 | example, C<{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, | ||
| 32 | 10]]}>, where C<{api_key}> stands for an API key value and the daily | ||
| 33 | log entry is of the format C<[used quota, remaining quota]>. | ||
| 34 | |||
| 35 | |||
| 36 | =head2 Position => Str | ||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | =head2 StartDate => Str | ||
| 42 | |||
| 43 | The starting date of the usage data. | ||
| 44 | |||
| 45 | |||
| 46 | =head2 UsagePlanId => Str | ||
| 47 | |||
| 48 | The plan Id associated with this usage data. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 _request_id => Str | ||
| 52 | |||
| 53 | |||
| 54 | =cut | ||
| 55 |