class
Amazonite::Kinesis::ListStreamConsumersOutput
- Amazonite::Kinesis::ListStreamConsumersOutput
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
kinesis/list_stream_consumers_output.crConstructors
- .new(pull : JSON::PullParser)
- .new(consumers : Array(Consumer) | Nil = nil, next_token : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#consumers : Array(Consumer) | Nil
An array of JSON objects.
-
#consumers=(consumers : Array(Consumer) | Nil)
An array of JSON objects.
-
#hash(hasher)
See
Object#hash(hasher) -
#next_token : String | Nil
When the number of consumers that are registered with 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 registered consumers, the response includes a pagination token namedNextToken. -
#next_token=(next_token : String | Nil)
When the number of consumers that are registered with 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 registered consumers, the response includes a pagination token namedNextToken. - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
An array of JSON objects. Each object represents one registered consumer.
An array of JSON objects. Each object represents one registered consumer.
When the number of consumers that are registered with the data stream is greater than the
default value for the MaxResults parameter, or if you explicitly specify a value for
MaxResults that is less than the number of registered consumers, the response includes a
pagination token named NextToken. You can specify this NextToken value in a subsequent call
to ListStreamConsumers to list the next set of registered consumers. For more information
about the use of this pagination token when calling the ListStreamConsumers operation, see
ListStreamConsumersInput$NextToken.
Tokens expire after 300 seconds. When you obtain a value for NextToken in the response to a
call to ListStreamConsumers, you have 300 seconds to use that value. If you specify an expired
token in a call to ListStreamConsumers, you get ExpiredNextTokenException.
When the number of consumers that are registered with the data stream is greater than the
default value for the MaxResults parameter, or if you explicitly specify a value for
MaxResults that is less than the number of registered consumers, the response includes a
pagination token named NextToken. You can specify this NextToken value in a subsequent call
to ListStreamConsumers to list the next set of registered consumers. For more information
about the use of this pagination token when calling the ListStreamConsumers operation, see
ListStreamConsumersInput$NextToken.
Tokens expire after 300 seconds. When you obtain a value for NextToken in the response to a
call to ListStreamConsumers, you have 300 seconds to use that value. If you specify an expired
token in a call to ListStreamConsumers, you get ExpiredNextTokenException.