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.

GetRecordsInput

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

type GetRecordsInput struct { Limit *int64 `min:"1" type:"integer"` ShardIterator *string `min:"1" type:"string" required:"true"` }

Represents the input of a GetRecords operation.

Limit

Type: *int64

The maximum number of records to return from the shard. The upper limit is 1000.

ShardIterator

Type: *string

A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.

ShardIterator is a required field

Method

GoString

func (s GetRecordsInput) GoString() string

GoString returns the string representation

SetLimit

func (s *GetRecordsInput) SetLimit(v int64) *GetRecordsInput

SetLimit sets the Limit field's value.

SetShardIterator

func (s *GetRecordsInput) SetShardIterator(v string) *GetRecordsInput

SetShardIterator sets the ShardIterator field's value.

String

func (s GetRecordsInput) String() string

String returns the string representation

Validate

func (s *GetRecordsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: