AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Shard

import "github.com/aws/aws-sdk-go/service/dynamodbstreams"

type Shard struct { ParentShardId *string `min:"28" type:"string"` SequenceNumberRange *SequenceNumberRange `type:"structure"` ShardId *string `min:"28" type:"string"` }

A uniquely identified group of stream records within a stream.

ParentShardId

Type: *string

The shard ID of the current shard's parent.

SequenceNumberRange

The beginning and ending sequence numbers for the stream records contained within a shard.

ShardId

Type: *string

The system-generated identifier for this shard.

Method

GoString

func (s Shard) GoString() string

GoString returns the string representation

SetParentShardId

func (s *Shard) SetParentShardId(v string) *Shard

SetParentShardId sets the ParentShardId field's value.

SetSequenceNumberRange

func (s *Shard) SetSequenceNumberRange(v *SequenceNumberRange) *Shard

SetSequenceNumberRange sets the SequenceNumberRange field's value.

SetShardId

func (s *Shard) SetShardId(v string) *Shard

SetShardId sets the ShardId field's value.

String

func (s Shard) String() string

String returns the string representation

On this page: