NAME
Paws::Kinesis::SubscribeToShardEvent
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Kinesis::SubscribeToShardEvent object:
$service_obj->Method(Att1 => { ChildShards => $value, ..., Records => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Kinesis::SubscribeToShardEvent object:
$result = $service_obj->Method(...);
$result->Att1->ChildShards
DESCRIPTION
After you call SubscribeToShard, Kinesis Data Streams sends events of this type over an HTTP/2 connection to your consumer.
ATTRIBUTES
ChildShards => ArrayRef[Paws::Kinesis::ChildShard]
REQUIRED ContinuationSequenceNumber => Str
Use this as SequenceNumber
in the next call to SubscribeToShard, with StartingPosition
set to AT_SEQUENCE_NUMBER
or AFTER_SEQUENCE_NUMBER
. Use ContinuationSequenceNumber
for checkpointing because it captures your shard progress even when no data is written to the shard.
REQUIRED MillisBehindLatest => Int
The number of milliseconds the read records are from the tip of the stream, indicating how far behind current time the consumer is. A value of zero indicates that record processing is caught up, and there are no new records to process at this moment.
REQUIRED Records => ArrayRef[Paws::Kinesis::Record]
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Kinesis
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues