GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Kinesis::GetShardIterator(3) User Contributed Perl Documentation Paws::Kinesis::GetShardIterator(3)

Paws::Kinesis::GetShardIterator - Arguments for method GetShardIterator on Paws::Kinesis

This class represents the parameters used for calling the method GetShardIterator on the Amazon Kinesis service. Use the attributes of this class as arguments to method GetShardIterator.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetShardIterator.

    my $kinesis = Paws->service('Kinesis');
    my $GetShardIteratorOutput = $kinesis->GetShardIterator(
      ShardId                => 'MyShardId',
      ShardIteratorType      => 'AT_SEQUENCE_NUMBER',
      StreamName             => 'MyStreamName',
      StartingSequenceNumber => 'MySequenceNumber',       # OPTIONAL
      Timestamp              => '1970-01-01T01:00:00',    # OPTIONAL
    );
    # Results:
    my $ShardIterator = $GetShardIteratorOutput->ShardIterator;
    # Returns a L<Paws::Kinesis::GetShardIteratorOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/kinesis/GetShardIterator>

REQUIRED ShardId => Str

The shard ID of the Kinesis Data Streams shard to get the iterator for.

REQUIRED ShardIteratorType => Str

Determines how the shard iterator is used to start reading data records from the shard.

The following are the valid Amazon Kinesis shard iterator types:

  • AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific sequence number, provided in the value "StartingSequenceNumber".
  • AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number, provided in the value "StartingSequenceNumber".
  • AT_TIMESTAMP - Start reading from the position denoted by a specific time stamp, provided in the value "Timestamp".
  • TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard.
  • LATEST - Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.

Valid values are: "AT_SEQUENCE_NUMBER", "AFTER_SEQUENCE_NUMBER", "TRIM_HORIZON", "LATEST", "AT_TIMESTAMP"

The sequence number of the data record in the shard from which to start reading. Used with shard iterator type AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER.

REQUIRED StreamName => Str

The name of the Amazon Kinesis data stream.

The time stamp of the data record from which to start reading. Used with shard iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in milliseconds. For example, "2016-04-04T19:58:46.480-00:00" or 1459799926.480. If a record with this exact time stamp does not exist, the iterator returned is for the next (later) record. If the time stamp is older than the current trim horizon, the iterator returned is for the oldest untrimmed data record (TRIM_HORIZON).

This class forms part of Paws, documenting arguments for method GetShardIterator in Paws::Kinesis

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.