/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the dynamodbstreams-2012-08-10.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.DynamoDBv2.Model
{
///
/// Container for the parameters to the DescribeStream operation.
/// Returns information about a stream, including the current status of the stream, its
/// Amazon Resource Name (ARN), the composition of its shards, and its corresponding DynamoDB
/// table.
///
///
///
/// You can call DescribeStream
at a maximum rate of 10 times per second.
///
///
///
/// Each shard in the stream has a SequenceNumberRange
associated with it.
/// If the SequenceNumberRange
has a StartingSequenceNumber
/// but no EndingSequenceNumber
, then the shard is still open (able to receive
/// more stream records). If both StartingSequenceNumber
and EndingSequenceNumber
/// are present, then that shard is closed and can no longer receive more data.
///
///
public partial class DescribeStreamRequest : AmazonDynamoDBStreamsRequest
{
private string _exclusiveStartShardId;
private int? _limit;
private string _streamArn;
///
/// Gets and sets the property ExclusiveStartShardId.
///
/// The shard ID of the first item that this operation will evaluate. Use the value that
/// was returned for LastEvaluatedShardId
in the previous operation.
///
///
[AWSProperty(Min=28, Max=65)]
public string ExclusiveStartShardId
{
get { return this._exclusiveStartShardId; }
set { this._exclusiveStartShardId = value; }
}
// Check to see if ExclusiveStartShardId property is set
internal bool IsSetExclusiveStartShardId()
{
return this._exclusiveStartShardId != null;
}
///
/// Gets and sets the property Limit.
///
/// The maximum number of shard objects to return. The upper limit is 100.
///
///
[AWSProperty(Min=1)]
public int Limit
{
get { return this._limit.GetValueOrDefault(); }
set { this._limit = value; }
}
// Check to see if Limit property is set
internal bool IsSetLimit()
{
return this._limit.HasValue;
}
///
/// Gets and sets the property StreamArn.
///
/// The Amazon Resource Name (ARN) for the stream.
///
///
[AWSProperty(Required=true, Min=37, Max=1024)]
public string StreamArn
{
get { return this._streamArn; }
set { this._streamArn = value; }
}
// Check to see if StreamArn property is set
internal bool IsSetStreamArn()
{
return this._streamArn != null;
}
}
}