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.

ChangeMessageVisibilityBatchInput

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

type ChangeMessageVisibilityBatchInput struct { Entries []*ChangeMessageVisibilityBatchRequestEntry `locationNameList:"ChangeMessageVisibilityBatchRequestEntry" type:"list" flattened:"true" required:"true"` QueueUrl *string `type:"string" required:"true"` }

Entries

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

QueueUrl

Type: *string

The URL of the Amazon SQS queue whose messages' visibility is changed.

Queue URLs and names are case-sensitive.

QueueUrl is a required field

Method

GoString

func (s ChangeMessageVisibilityBatchInput) GoString() string

GoString returns the string representation

SetEntries

func (s *ChangeMessageVisibilityBatchInput) SetEntries(v []*ChangeMessageVisibilityBatchRequestEntry) *ChangeMessageVisibilityBatchInput

SetEntries sets the Entries field's value.

SetQueueUrl

func (s *ChangeMessageVisibilityBatchInput) SetQueueUrl(v string) *ChangeMessageVisibilityBatchInput

SetQueueUrl sets the QueueUrl field's value.

String

func (s ChangeMessageVisibilityBatchInput) String() string

String returns the string representation

Validate

func (s *ChangeMessageVisibilityBatchInput) Validate() error

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

On this page: