String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
Integer shardCount
Note: The default limit for an AWS account is 10 shards per stream. If you need to create a stream with more than 10 shards, contact AWS Support to increase the limit on your account.
Constraints:
Range: 1 -
String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
Integer limit
Constraints:
Range: 1 - 10000
String exclusiveStartShardId
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
StreamDescription streamDescription
String shardIterator
Constraints:
Length: 1 - 512
Integer limit
GetRecords
throws InvalidArgumentException
.
Constraints:
Range: 1 - 10000
com.amazonaws.internal.ListWithAutoConstructFlag<T> records
The data records retrieved from the shard.
String nextShardIterator
null
, the shard has been
closed and the requested iterator will not return any more data.
Constraints:
Length: 1 - 512
String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String shardId
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String shardIteratorType
The following are the valid shard iterator types:
Constraints:
Allowed Values: AT_SEQUENCE_NUMBER, AFTER_SEQUENCE_NUMBER, TRIM_HORIZON, LATEST
String startingSequenceNumber
Constraints:
Pattern: 0|([1-9]\d{0,128})
String shardIterator
Constraints:
Length: 1 - 512
com.amazonaws.internal.ListWithAutoConstructFlag<T> streamNames
ListStreams
request.Boolean hasMoreStreams
true
, there are more streams available to list.String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String exclusiveStartTagKey
ListTagsForStream
gets all tags that
occur after ExclusiveStartTagKey
.
Constraints:
Length: 1 - 128
Integer limit
HasMoreTags
is
set to true
. To list additional tags, set
ExclusiveStartTagKey
to the last key in the response.
Constraints:
Range: 1 - 10
com.amazonaws.internal.ListWithAutoConstructFlag<T> tags
StreamName
, starting with
the first tag after ExclusiveStartTagKey
and up to the
specified Limit
.
Constraints:
Length: 0 -
Boolean hasMoreTags
true
, more tags are available. To request
additional tags, set ExclusiveStartTagKey
to the key of
the last tag returned.String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String shardToMerge
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String adjacentShardToMerge
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
ByteBuffer data
Constraints:
Length: 0 - 51200
String partitionKey
Constraints:
Length: 1 - 256
String explicitHashKey
Constraints:
Pattern: 0|([1-9]\d{0,38})
String sequenceNumberForOrdering
SequenceNumberForOrdering
of record n to the
sequence number of record n-1 (as returned in the
PutRecordResult when putting record n-1). If this
parameter is not set, records will be coarsely ordered based on
arrival time.
Constraints:
Pattern: 0|([1-9]\d{0,128})
String shardId
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String sequenceNumber
Constraints:
Pattern: 0|([1-9]\d{0,128})
com.amazonaws.internal.ListWithAutoConstructFlag<T> records
Constraints:
Length: 1 - 500
String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
ByteBuffer data
Constraints:
Length: 0 - 51200
String explicitHashKey
Constraints:
Pattern: 0|([1-9]\d{0,38})
String partitionKey
Constraints:
Length: 1 - 256
Integer failedRecordCount
PutRecords
request.
Constraints:
Range: 1 -
com.amazonaws.internal.ListWithAutoConstructFlag<T> records
SequenceNumber
and ShardId
in the result. A
record that fails to be added to your Amazon Kinesis stream includes
ErrorCode
and ErrorMessage
in the result.
Constraints:
Length: 1 - 500
String sequenceNumber
Constraints:
Pattern: 0|([1-9]\d{0,128})
String shardId
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String errorCode
ErrorCodes
can be either
ProvisionedThroughputExceededException
or
InternalFailure
.String errorMessage
ErrorCode
value of
ProvisionedThroughputExceededException
has an error
message that includes the account ID, stream name, and shard ID. An
ErrorCode
value of InternalFailure
has the
error message "Internal Service Failure"
.String sequenceNumber
Constraints:
Pattern: 0|([1-9]\d{0,128})
ByteBuffer data
Constraints:
Length: 0 - 51200
String partitionKey
Constraints:
Length: 1 - 256
String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
com.amazonaws.internal.ListWithAutoConstructFlag<T> tagKeys
Constraints:
Length: 1 - 10
String startingSequenceNumber
Constraints:
Pattern: 0|([1-9]\d{0,128})
String endingSequenceNumber
null
.
Constraints:
Pattern: 0|([1-9]\d{0,128})
String shardId
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String parentShardId
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String adjacentParentShardId
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
HashKeyRange hashKeyRange
SequenceNumberRange sequenceNumberRange
String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String shardToSplit
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String newStartingHashKey
NewStartingHashKey
must be in the range of hash keys
being mapped into the shard. The NewStartingHashKey
hash
key value and all higher hash key values in hash key range are
distributed to one of the child shards. All the lower hash key values
in the range are distributed to the other child shard.
Constraints:
Pattern: 0|([1-9]\d{0,38})
String streamName
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
String streamARN
String streamStatus
The stream status is one of the following states:
CREATING
- The
stream is being created. Amazon Kinesis immediately returns and sets
StreamStatus
to CREATING
.DELETING
- The stream is being deleted. The specified
stream is in the DELETING
state until Amazon Kinesis
completes the deletion.ACTIVE
- The stream
exists and is ready for read and write operations or deletion. You
should perform read and write operations only on an
ACTIVE
stream.UPDATING
- Shards in
the stream are being merged or split. Read and write operations
continue to work while the stream is in the UPDATING
state.
Constraints:
Allowed Values: CREATING, DELETING, ACTIVE, UPDATING
com.amazonaws.internal.ListWithAutoConstructFlag<T> shards
Boolean hasMoreShards
true
, more shards in the stream are available
to describe.String key
Constraints:
Length: 1 - 128
String value
Constraints:
Length: 0 - 256
Copyright © 2015. All rights reserved.