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.

DeleteMessageInput

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

type DeleteMessageInput struct { QueueUrl *string `type:"string" required:"true"` ReceiptHandle *string `type:"string" required:"true"` }

QueueUrl

Type: *string

The URL of the Amazon SQS queue from which messages are deleted.

Queue URLs and names are case-sensitive.

QueueUrl is a required field

ReceiptHandle

Type: *string

The receipt handle associated with the message to delete.

ReceiptHandle is a required field

Method

GoString

func (s DeleteMessageInput) GoString() string

GoString returns the string representation

SetQueueUrl

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

SetQueueUrl sets the QueueUrl field's value.

SetReceiptHandle

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

SetReceiptHandle sets the ReceiptHandle field's value.

String

func (s DeleteMessageInput) String() string

String returns the string representation

Validate

func (s *DeleteMessageInput) Validate() error

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

On this page: