AWSKinesisListShardsOutput
Objective-C
@interface AWSKinesisListShardsOutput
Swift
class AWSKinesisListShardsOutput
-
When the number of shards in the data stream is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of shards in the data stream, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListShardsto list the next set of shards. For more information about the use of this pagination token when calling theListShardsoperation, see ListShardsInput$NextToken.Tokens expire after 300 seconds. When you obtain a value for
NextTokenin the response to a call toListShards, you have 300 seconds to use that value. If you specify an expired token in a call toListShards, you getExpiredNextTokenException.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable nextToken;Swift
var nextToken: String? { get set } -
An array of JSON objects. Each object represents one shard and specifies the IDs of the shard, the shard’s parent, and the shard that’s adjacent to the shard’s parent. Each object also contains the starting and ending hash keys and the starting and ending sequence numbers for the shard.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSKinesisShard *> *_Nullable shards;Swift
var shards: [AWSKinesisShard]? { get set }
View on GitHub
Install in Dash
AWSKinesisListShardsOutput Class Reference