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.

ChangeMessageVisibilityBatchRequestEntry

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

type ChangeMessageVisibilityBatchRequestEntry struct { Id *string `type:"string" required:"true"` ReceiptHandle *string `type:"string" required:"true"` VisibilityTimeout *int64 `type:"integer"` }

Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatch.

All of the following list parameters must be prefixed with ChangeMessageVisibilityBatchRequestEntry.n, where n is an integer value starting with 1. For example, a parameter list for this action might look like this:

&ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2

&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=your_receipt_handle

&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45

Id

Type: *string

An identifier for this particular receipt handle used to communicate the result.

The Ids of a batch request need to be unique within a request

Id is a required field

ReceiptHandle

Type: *string

A receipt handle.

ReceiptHandle is a required field

VisibilityTimeout

Type: *int64

The new value (in seconds) for the message's visibility timeout.

Method

GoString

func (s ChangeMessageVisibilityBatchRequestEntry) GoString() string

GoString returns the string representation

SetId

func (s *ChangeMessageVisibilityBatchRequestEntry) SetId(v string) *ChangeMessageVisibilityBatchRequestEntry

SetId sets the Id field's value.

SetReceiptHandle

func (s *ChangeMessageVisibilityBatchRequestEntry) SetReceiptHandle(v string) *ChangeMessageVisibilityBatchRequestEntry

SetReceiptHandle sets the ReceiptHandle field's value.

SetVisibilityTimeout

func (s *ChangeMessageVisibilityBatchRequestEntry) SetVisibilityTimeout(v int64) *ChangeMessageVisibilityBatchRequestEntry

SetVisibilityTimeout sets the VisibilityTimeout field's value.

String

func (s ChangeMessageVisibilityBatchRequestEntry) String() string

String returns the string representation

Validate

func (s *ChangeMessageVisibilityBatchRequestEntry) Validate() error

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

On this page: