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.

ErrCodeBatchEntryIdsNotDistinct - ErrCodeUnsupportedOperation

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

const ( ErrCodeBatchEntryIdsNotDistinct = "AWS.SimpleQueueService.BatchEntryIdsNotDistinct" ErrCodeBatchRequestTooLong = "AWS.SimpleQueueService.BatchRequestTooLong" ErrCodeEmptyBatchRequest = "AWS.SimpleQueueService.EmptyBatchRequest" ErrCodeInvalidAttributeName = "InvalidAttributeName" ErrCodeInvalidBatchEntryId = "AWS.SimpleQueueService.InvalidBatchEntryId" ErrCodeInvalidIdFormat = "InvalidIdFormat" ErrCodeInvalidMessageContents = "InvalidMessageContents" ErrCodeMessageNotInflight = "AWS.SimpleQueueService.MessageNotInflight" ErrCodeOverLimit = "OverLimit" ErrCodePurgeQueueInProgress = "AWS.SimpleQueueService.PurgeQueueInProgress" ErrCodeQueueDeletedRecently = "AWS.SimpleQueueService.QueueDeletedRecently" ErrCodeQueueDoesNotExist = "AWS.SimpleQueueService.NonExistentQueue" ErrCodeQueueNameExists = "QueueAlreadyExists" ErrCodeReceiptHandleIsInvalid = "ReceiptHandleIsInvalid" ErrCodeTooManyEntriesInBatchRequest = "AWS.SimpleQueueService.TooManyEntriesInBatchRequest" ErrCodeUnsupportedOperation = "AWS.SimpleQueueService.UnsupportedOperation" )

ErrCodeBatchEntryIdsNotDistinct

ErrCodeBatchEntryIdsNotDistinct for service response error code "AWS.SimpleQueueService.BatchEntryIdsNotDistinct".

Two or more batch entries in the request have the same Id.

ErrCodeBatchRequestTooLong

ErrCodeBatchRequestTooLong for service response error code "AWS.SimpleQueueService.BatchRequestTooLong".

The length of all the messages put together is more than the limit.

ErrCodeEmptyBatchRequest

ErrCodeEmptyBatchRequest for service response error code "AWS.SimpleQueueService.EmptyBatchRequest".

The batch request doesn't contain any entries.

ErrCodeInvalidAttributeName

ErrCodeInvalidAttributeName for service response error code "InvalidAttributeName".

The specified attribute doesn't exist.

ErrCodeInvalidBatchEntryId

ErrCodeInvalidBatchEntryId for service response error code "AWS.SimpleQueueService.InvalidBatchEntryId".

The Id of a batch entry in a batch request doesn't abide by the specification.

ErrCodeInvalidIdFormat

ErrCodeInvalidIdFormat for service response error code "InvalidIdFormat".

The specified receipt handle isn't valid for the current version.

ErrCodeInvalidMessageContents

ErrCodeInvalidMessageContents for service response error code "InvalidMessageContents".

The message contains characters outside the allowed set.

ErrCodeMessageNotInflight

ErrCodeMessageNotInflight for service response error code "AWS.SimpleQueueService.MessageNotInflight".

The specified message isn't in flight.

ErrCodeOverLimit

ErrCodeOverLimit for service response error code "OverLimit".

The specified action violates a limit. For example, ReceiveMessage returns this error if the maximum number of inflight messages is reached and AddPermission returns this error if the maximum number of permissions for the queue is reached.

ErrCodePurgeQueueInProgress

ErrCodePurgeQueueInProgress for service response error code "AWS.SimpleQueueService.PurgeQueueInProgress".

Indicates that the specified queue previously received a PurgeQueue request within the last 60 seconds (the time it can take to delete the messages in the queue).

ErrCodeQueueDeletedRecently

ErrCodeQueueDeletedRecently for service response error code "AWS.SimpleQueueService.QueueDeletedRecently".

You must wait 60 seconds after deleting a queue before you can create another queue with the same name.

ErrCodeQueueDoesNotExist

ErrCodeQueueDoesNotExist for service response error code "AWS.SimpleQueueService.NonExistentQueue".

The specified queue doesn't exist.

ErrCodeQueueNameExists

ErrCodeQueueNameExists for service response error code "QueueAlreadyExists".

A queue with this name already exists. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.

ErrCodeReceiptHandleIsInvalid

ErrCodeReceiptHandleIsInvalid for service response error code "ReceiptHandleIsInvalid".

The specified receipt handle isn't valid.

ErrCodeTooManyEntriesInBatchRequest

ErrCodeTooManyEntriesInBatchRequest for service response error code "AWS.SimpleQueueService.TooManyEntriesInBatchRequest".

The batch request contains more entries than permissible.

ErrCodeUnsupportedOperation

ErrCodeUnsupportedOperation for service response error code "AWS.SimpleQueueService.UnsupportedOperation".

Error code 400. Unsupported operation.

On this page: