| 1 | |||
| 2 | package Paws::Kinesis::ListShardsOutput; | ||
| 3 | use Moose; | ||
| 4 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 5 | has Shards => (is => 'ro', isa => 'ArrayRef[Paws::Kinesis::Shard]'); | ||
| 6 | |||
| 7 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Kinesis::ListShardsOutput | ||
| 14 | |||
| 15 | =head1 ATTRIBUTES | ||
| 16 | |||
| 17 | |||
| 18 | =head2 NextToken => Str | ||
| 19 | |||
| 20 | When the number of shards in the data stream is greater than the | ||
| 21 | default value for the C<MaxResults> parameter, or if you explicitly | ||
| 22 | specify a value for C<MaxResults> that is less than the number of | ||
| 23 | shards in the data stream, the response includes a pagination token | ||
| 24 | named C<NextToken>. You can specify this C<NextToken> value in a | ||
| 25 | subsequent call to C<ListShards> to list the next set of shards. For | ||
| 26 | more information about the use of this pagination token when calling | ||
| 27 | the C<ListShards> operation, see ListShardsInput$NextToken. | ||
| 28 | |||
| 29 | Tokens expire after 300 seconds. When you obtain a value for | ||
| 30 | C<NextToken> in the response to a call to C<ListShards>, you have 300 | ||
| 31 | seconds to use that value. If you specify an expired token in a call to | ||
| 32 | C<ListShards>, you get C<ExpiredNextTokenException>. | ||
| 33 | |||
| 34 | |||
| 35 | =head2 Shards => ArrayRef[L<Paws::Kinesis::Shard>] | ||
| 36 | |||
| 37 | An array of JSON objects. Each object represents one shard and | ||
| 38 | specifies the IDs of the shard, the shard's parent, and the shard | ||
| 39 | that's adjacent to the shard's parent. Each object also contains the | ||
| 40 | starting and ending hash keys and the starting and ending sequence | ||
| 41 | numbers for the shard. | ||
| 42 | |||
| 43 | |||
| 44 | =head2 _request_id => Str | ||
| 45 | |||
| 46 | |||
| 47 | =cut | ||
| 48 | |||
| 49 | 1; |