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.

ChangeMessageVisibilityInput

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

type ChangeMessageVisibilityInput struct { QueueUrl *string `type:"string" required:"true"` ReceiptHandle *string `type:"string" required:"true"` VisibilityTimeout *int64 `type:"integer" required:"true"` }

QueueUrl

Type: *string

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

Queue URLs and names are case-sensitive.

QueueUrl is a required field

ReceiptHandle

Type: *string

The receipt handle associated with the message whose visibility timeout is changed. This parameter is returned by the ReceiveMessage action.

ReceiptHandle is a required field

VisibilityTimeout

Type: *int64

The new value for the message's visibility timeout (in seconds). Values values: 0 to 43200. Maximum: 12 hours.

VisibilityTimeout is a required field

Method

GoString

func (s ChangeMessageVisibilityInput) GoString() string

GoString returns the string representation

SetQueueUrl

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

SetQueueUrl sets the QueueUrl field's value.

SetReceiptHandle

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

SetReceiptHandle sets the ReceiptHandle field's value.

SetVisibilityTimeout

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

SetVisibilityTimeout sets the VisibilityTimeout field's value.

String

func (s ChangeMessageVisibilityInput) String() string

String returns the string representation

Validate

func (s *ChangeMessageVisibilityInput) Validate() error

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

On this page: