AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Kinesis::Types::ShardFilter

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ShardFilter as input to an Aws::Client method, you can use a vanilla Hash:

{
  type: "AFTER_SHARD_ID", # required, accepts AFTER_SHARD_ID, AT_TRIM_HORIZON, FROM_TRIM_HORIZON, AT_LATEST, AT_TIMESTAMP, FROM_TIMESTAMP
  shard_id: "ShardId",
  timestamp: Time.now,
}

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#shard_idString

Returns:

  • (String)

#timestampTime

Returns:

  • (Time)

#typeString

Possible values:

  • AFTER_SHARD_ID
  • AT_TRIM_HORIZON
  • FROM_TRIM_HORIZON
  • AT_LATEST
  • AT_TIMESTAMP
  • FROM_TIMESTAMP

Returns:

  • (String)