« blib/lib/Paws/DynamoDB/ListTablesOutput.pm
↑ Summary
blib/lib/Paws/DynamoDB/MapAttributeValue.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DynamoDB::LocalSecondaryIndexDescription; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has IndexArn => (is => 'ro', isa => 'Str'); | |
| 5 | 1 | has IndexName => (is => 'ro', isa => 'Str'); | |
| 6 | 1 | has IndexSizeBytes => (is => 'ro', isa => 'Int'); | |
| 7 | 1 | has ItemCount => (is => 'ro', isa => 'Int'); | |
| 8 | 1 | has KeySchema => (is => 'ro', isa => 'ArrayRef[Paws::DynamoDB::KeySchemaElement]'); | |
| 9 | 1 | has Projection => (is => 'ro', isa => 'Paws::DynamoDB::Projection'); | |
| 10 | |||
| 11 | 1 | 1; | |
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::DynamoDB::LocalSecondaryIndexDescription | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::DynamoDB::LocalSecondaryIndexDescription object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { IndexArn => $value, ..., Projection => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::LocalSecondaryIndexDescription object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->IndexArn | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Represents the properties of a local secondary index. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 IndexArn => Str | ||
| 47 | |||
| 48 | The Amazon Resource Name (ARN) that uniquely identifies the index. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 IndexName => Str | ||
| 52 | |||
| 53 | Represents the name of the local secondary index. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 IndexSizeBytes => Int | ||
| 57 | |||
| 58 | The total size of the specified index, in bytes. DynamoDB updates this | ||
| 59 | value approximately every six hours. Recent changes might not be | ||
| 60 | reflected in this value. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ItemCount => Int | ||
| 64 | |||
| 65 | The number of items in the specified index. DynamoDB updates this value | ||
| 66 | approximately every six hours. Recent changes might not be reflected in | ||
| 67 | this value. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 KeySchema => ArrayRef[L<Paws::DynamoDB::KeySchemaElement>] | ||
| 71 | |||
| 72 | The complete key schema for the local secondary index, consisting of | ||
| 73 | one or more pairs of attribute names and key types: | ||
| 74 | |||
| 75 | =over | ||
| 76 | |||
| 77 | =item * | ||
| 78 | |||
| 79 | C<HASH> - partition key | ||
| 80 | |||
| 81 | =item * | ||
| 82 | |||
| 83 | C<RANGE> - sort key | ||
| 84 | |||
| 85 | =back | ||
| 86 | |||
| 87 | The partition key of an item is also known as its I<hash attribute>. | ||
| 88 | The term "hash attribute" derives from DynamoDB's usage of an internal | ||
| 89 | hash function to evenly distribute data items across partitions, based | ||
| 90 | on their partition key values. | ||
| 91 | |||
| 92 | The sort key of an item is also known as its I<range attribute>. The | ||
| 93 | term "range attribute" derives from the way DynamoDB stores items with | ||
| 94 | the same partition key physically close together, in sorted order by | ||
| 95 | the sort key value. | ||
| 96 | |||
| 97 | |||
| 98 | =head2 Projection => L<Paws::DynamoDB::Projection> | ||
| 99 | |||
| 100 | Represents attributes that are copied (projected) from the table into | ||
| 101 | the global secondary index. These are in addition to the primary key | ||
| 102 | attributes and index key attributes, which are automatically projected. | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =head1 SEE ALSO | ||
| 107 | |||
| 108 | This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB> | ||
| 109 | |||
| 110 | =head1 BUGS and CONTRIBUTIONS | ||
| 111 | |||
| 112 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 113 | |||
| 114 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 115 | |||
| 116 | =cut | ||
| 117 | |||