types

package
v1.34.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 338

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchEntryIdsNotDistinct

type BatchEntryIdsNotDistinct struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*BatchEntryIdsNotDistinct) Error

func (e *BatchEntryIdsNotDistinct) Error() string

func (*BatchEntryIdsNotDistinct) ErrorCode

func (e *BatchEntryIdsNotDistinct) ErrorCode() string

func (*BatchEntryIdsNotDistinct) ErrorFault

func (e *BatchEntryIdsNotDistinct) ErrorFault() smithy.ErrorFault

func (*BatchEntryIdsNotDistinct) ErrorMessage

func (e *BatchEntryIdsNotDistinct) ErrorMessage() string

type BatchRequestTooLong

type BatchRequestTooLong struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*BatchRequestTooLong) Error

func (e *BatchRequestTooLong) Error() string

func (*BatchRequestTooLong) ErrorCode

func (e *BatchRequestTooLong) ErrorCode() string

func (*BatchRequestTooLong) ErrorFault

func (e *BatchRequestTooLong) ErrorFault() smithy.ErrorFault

func (*BatchRequestTooLong) ErrorMessage

func (e *BatchRequestTooLong) ErrorMessage() string

type BatchResultErrorEntry

type BatchResultErrorEntry struct {

	// An error code representing why the action failed on this entry.
	//
	// This member is required.
	Code *string

	// The Id of an entry in a batch request.
	//
	// This member is required.
	Id *string

	// Specifies whether the error happened due to the caller of the batch API action.
	//
	// This member is required.
	SenderFault bool

	// A message explaining why the action failed on this entry.
	Message *string
	// contains filtered or unexported fields
}

Gives a detailed description of the result of an action on each entry in the request.

type ChangeMessageVisibilityBatchRequestEntry

type ChangeMessageVisibilityBatchRequestEntry struct {

	// An identifier for this particular receipt handle used to communicate the result.
	//
	// The Id s of a batch request need to be unique within a request.
	//
	// This identifier can have up to 80 characters. The following characters are
	// accepted: alphanumeric characters, hyphens(-), and underscores (_).
	//
	// This member is required.
	Id *string

	// A receipt handle.
	//
	// This member is required.
	ReceiptHandle *string

	// The new value (in seconds) for the message's visibility timeout.
	VisibilityTimeout int32
	// contains filtered or unexported fields
}

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

type ChangeMessageVisibilityBatchResultEntry

type ChangeMessageVisibilityBatchResultEntry struct {

	// Represents a message whose visibility timeout has been changed successfully.
	//
	// This member is required.
	Id *string
	// contains filtered or unexported fields
}

Encloses the Id of an entry in ChangeMessageVisibilityBatch.

type DeleteMessageBatchRequestEntry

type DeleteMessageBatchRequestEntry struct {

	// The identifier for this particular receipt handle. This is used to communicate
	// the result.
	//
	// The Id s of a batch request need to be unique within a request.
	//
	// This identifier can have up to 80 characters. The following characters are
	// accepted: alphanumeric characters, hyphens(-), and underscores (_).
	//
	// This member is required.
	Id *string

	// A receipt handle.
	//
	// This member is required.
	ReceiptHandle *string
	// contains filtered or unexported fields
}

Encloses a receipt handle and an identifier for it.

type DeleteMessageBatchResultEntry

type DeleteMessageBatchResultEntry struct {

	// Represents a successfully deleted message.
	//
	// This member is required.
	Id *string
	// contains filtered or unexported fields
}

Encloses the Id of an entry in DeleteMessageBatch.

type EmptyBatchRequest

type EmptyBatchRequest struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The batch request doesn't contain any entries.

func (*EmptyBatchRequest) Error

func (e *EmptyBatchRequest) Error() string

func (*EmptyBatchRequest) ErrorCode

func (e *EmptyBatchRequest) ErrorCode() string

func (*EmptyBatchRequest) ErrorFault

func (e *EmptyBatchRequest) ErrorFault() smithy.ErrorFault

func (*EmptyBatchRequest) ErrorMessage

func (e *EmptyBatchRequest) ErrorMessage() string

type InvalidAddress added in v1.21.0

type InvalidAddress struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The accountId is invalid.

func (*InvalidAddress) Error added in v1.21.0

func (e *InvalidAddress) Error() string

func (*InvalidAddress) ErrorCode added in v1.21.0

func (e *InvalidAddress) ErrorCode() string

func (*InvalidAddress) ErrorFault added in v1.21.0

func (e *InvalidAddress) ErrorFault() smithy.ErrorFault

func (*InvalidAddress) ErrorMessage added in v1.21.0

func (e *InvalidAddress) ErrorMessage() string

type InvalidAttributeName

type InvalidAttributeName struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified attribute doesn't exist.

func (*InvalidAttributeName) Error

func (e *InvalidAttributeName) Error() string

func (*InvalidAttributeName) ErrorCode

func (e *InvalidAttributeName) ErrorCode() string

func (*InvalidAttributeName) ErrorFault

func (e *InvalidAttributeName) ErrorFault() smithy.ErrorFault

func (*InvalidAttributeName) ErrorMessage

func (e *InvalidAttributeName) ErrorMessage() string

type InvalidAttributeValue added in v1.21.0

type InvalidAttributeValue struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A queue attribute value is invalid.

func (*InvalidAttributeValue) Error added in v1.21.0

func (e *InvalidAttributeValue) Error() string

func (*InvalidAttributeValue) ErrorCode added in v1.21.0

func (e *InvalidAttributeValue) ErrorCode() string

func (*InvalidAttributeValue) ErrorFault added in v1.21.0

func (e *InvalidAttributeValue) ErrorFault() smithy.ErrorFault

func (*InvalidAttributeValue) ErrorMessage added in v1.21.0

func (e *InvalidAttributeValue) ErrorMessage() string

type InvalidBatchEntryId

type InvalidBatchEntryId struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*InvalidBatchEntryId) Error

func (e *InvalidBatchEntryId) Error() string

func (*InvalidBatchEntryId) ErrorCode

func (e *InvalidBatchEntryId) ErrorCode() string

func (*InvalidBatchEntryId) ErrorFault

func (e *InvalidBatchEntryId) ErrorFault() smithy.ErrorFault

func (*InvalidBatchEntryId) ErrorMessage

func (e *InvalidBatchEntryId) ErrorMessage() string

type InvalidIdFormat

type InvalidIdFormat struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*InvalidIdFormat) Error

func (e *InvalidIdFormat) Error() string

func (*InvalidIdFormat) ErrorCode

func (e *InvalidIdFormat) ErrorCode() string

func (*InvalidIdFormat) ErrorFault

func (e *InvalidIdFormat) ErrorFault() smithy.ErrorFault

func (*InvalidIdFormat) ErrorMessage

func (e *InvalidIdFormat) ErrorMessage() string

type InvalidMessageContents

type InvalidMessageContents struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The message contains characters outside the allowed set.

func (*InvalidMessageContents) Error

func (e *InvalidMessageContents) Error() string

func (*InvalidMessageContents) ErrorCode

func (e *InvalidMessageContents) ErrorCode() string

func (*InvalidMessageContents) ErrorFault

func (e *InvalidMessageContents) ErrorFault() smithy.ErrorFault

func (*InvalidMessageContents) ErrorMessage

func (e *InvalidMessageContents) ErrorMessage() string

type InvalidSecurity added in v1.21.0

type InvalidSecurity struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

When the request to a queue is not HTTPS and SigV4.

func (*InvalidSecurity) Error added in v1.21.0

func (e *InvalidSecurity) Error() string

func (*InvalidSecurity) ErrorCode added in v1.21.0

func (e *InvalidSecurity) ErrorCode() string

func (*InvalidSecurity) ErrorFault added in v1.21.0

func (e *InvalidSecurity) ErrorFault() smithy.ErrorFault

func (*InvalidSecurity) ErrorMessage added in v1.21.0

func (e *InvalidSecurity) ErrorMessage() string

type KmsAccessDenied added in v1.21.0

type KmsAccessDenied struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The caller doesn't have the required KMS access.

func (*KmsAccessDenied) Error added in v1.21.0

func (e *KmsAccessDenied) Error() string

func (*KmsAccessDenied) ErrorCode added in v1.21.0

func (e *KmsAccessDenied) ErrorCode() string

func (*KmsAccessDenied) ErrorFault added in v1.21.0

func (e *KmsAccessDenied) ErrorFault() smithy.ErrorFault

func (*KmsAccessDenied) ErrorMessage added in v1.21.0

func (e *KmsAccessDenied) ErrorMessage() string

type KmsDisabled added in v1.21.0

type KmsDisabled struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

func (*KmsDisabled) Error added in v1.21.0

func (e *KmsDisabled) Error() string

func (*KmsDisabled) ErrorCode added in v1.21.0

func (e *KmsDisabled) ErrorCode() string

func (*KmsDisabled) ErrorFault added in v1.21.0

func (e *KmsDisabled) ErrorFault() smithy.ErrorFault

func (*KmsDisabled) ErrorMessage added in v1.21.0

func (e *KmsDisabled) ErrorMessage() string

type KmsInvalidKeyUsage added in v1.21.0

type KmsInvalidKeyUsage struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was rejected for one of the following reasons:

  • The KeyUsage value of the KMS key is incompatible with the API operation.

  • The encryption algorithm or signing algorithm specified for the operation is incompatible with the type of key material in the KMS key (KeySpec).

func (*KmsInvalidKeyUsage) Error added in v1.21.0

func (e *KmsInvalidKeyUsage) Error() string

func (*KmsInvalidKeyUsage) ErrorCode added in v1.21.0

func (e *KmsInvalidKeyUsage) ErrorCode() string

func (*KmsInvalidKeyUsage) ErrorFault added in v1.21.0

func (e *KmsInvalidKeyUsage) ErrorFault() smithy.ErrorFault

func (*KmsInvalidKeyUsage) ErrorMessage added in v1.21.0

func (e *KmsInvalidKeyUsage) ErrorMessage() string

type KmsInvalidState added in v1.21.0

type KmsInvalidState struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was rejected because the state of the specified resource is not valid for this request.

func (*KmsInvalidState) Error added in v1.21.0

func (e *KmsInvalidState) Error() string

func (*KmsInvalidState) ErrorCode added in v1.21.0

func (e *KmsInvalidState) ErrorCode() string

func (*KmsInvalidState) ErrorFault added in v1.21.0

func (e *KmsInvalidState) ErrorFault() smithy.ErrorFault

func (*KmsInvalidState) ErrorMessage added in v1.21.0

func (e *KmsInvalidState) ErrorMessage() string

type KmsNotFound added in v1.21.0

type KmsNotFound struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was rejected because the specified entity or resource could not be found.

func (*KmsNotFound) Error added in v1.21.0

func (e *KmsNotFound) Error() string

func (*KmsNotFound) ErrorCode added in v1.21.0

func (e *KmsNotFound) ErrorCode() string

func (*KmsNotFound) ErrorFault added in v1.21.0

func (e *KmsNotFound) ErrorFault() smithy.ErrorFault

func (*KmsNotFound) ErrorMessage added in v1.21.0

func (e *KmsNotFound) ErrorMessage() string

type KmsOptInRequired added in v1.21.0

type KmsOptInRequired struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was rejected because the specified key policy isn't syntactically or semantically correct.

func (*KmsOptInRequired) Error added in v1.21.0

func (e *KmsOptInRequired) Error() string

func (*KmsOptInRequired) ErrorCode added in v1.21.0

func (e *KmsOptInRequired) ErrorCode() string

func (*KmsOptInRequired) ErrorFault added in v1.21.0

func (e *KmsOptInRequired) ErrorFault() smithy.ErrorFault

func (*KmsOptInRequired) ErrorMessage added in v1.21.0

func (e *KmsOptInRequired) ErrorMessage() string

type KmsThrottled added in v1.21.0

type KmsThrottled struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Amazon Web Services KMS throttles requests for the following conditions.

func (*KmsThrottled) Error added in v1.21.0

func (e *KmsThrottled) Error() string

func (*KmsThrottled) ErrorCode added in v1.21.0

func (e *KmsThrottled) ErrorCode() string

func (*KmsThrottled) ErrorFault added in v1.21.0

func (e *KmsThrottled) ErrorFault() smithy.ErrorFault

func (*KmsThrottled) ErrorMessage added in v1.21.0

func (e *KmsThrottled) ErrorMessage() string

type ListMessageMoveTasksResultEntry added in v1.23.0

type ListMessageMoveTasksResultEntry struct {

	// The approximate number of messages already moved to the destination queue.
	ApproximateNumberOfMessagesMoved int64

	// The number of messages to be moved from the source queue. This number is
	// obtained at the time of starting the message movement task and is only included
	// after the message movement task is selected to start.
	ApproximateNumberOfMessagesToMove *int64

	// The ARN of the destination queue if it has been specified in the
	// StartMessageMoveTask request. If a DestinationArn has not been specified in the
	// StartMessageMoveTask request, this field value will be NULL.
	DestinationArn *string

	// The task failure reason (only included if the task status is FAILED).
	FailureReason *string

	// The number of messages to be moved per second (the message movement rate), if
	// it has been specified in the StartMessageMoveTask request. If a
	// MaxNumberOfMessagesPerSecond has not been specified in the StartMessageMoveTask
	// request, this field value will be NULL.
	MaxNumberOfMessagesPerSecond *int32

	// The ARN of the queue that contains the messages to be moved to another queue.
	SourceArn *string

	// The timestamp of starting the message movement task.
	StartedTimestamp int64

	// The status of the message movement task. Possible values are: RUNNING,
	// COMPLETED, CANCELLING, CANCELLED, and FAILED.
	Status *string

	// An identifier associated with a message movement task. When this field is
	// returned in the response of the ListMessageMoveTasks action, it is only
	// populated for tasks that are in RUNNING status.
	TaskHandle *string
	// contains filtered or unexported fields
}

Contains the details of a message movement task.

type Message

type Message struct {

	// A map of the attributes requested in ReceiveMessage to their respective values. Supported
	// attributes:
	//
	//   - ApproximateReceiveCount
	//
	//   - ApproximateFirstReceiveTimestamp
	//
	//   - MessageDeduplicationId
	//
	//   - MessageGroupId
	//
	//   - SenderId
	//
	//   - SentTimestamp
	//
	//   - SequenceNumber
	//
	// ApproximateFirstReceiveTimestamp and SentTimestamp are each returned as an
	// integer representing the [epoch time]in milliseconds.
	//
	// [epoch time]: http://en.wikipedia.org/wiki/Unix_time
	Attributes map[string]string

	// The message's contents (not URL-encoded).
	Body *string

	// An MD5 digest of the non-URL-encoded message body string.
	MD5OfBody *string

	// An MD5 digest of the non-URL-encoded message attribute string. You can use this
	// attribute to verify that Amazon SQS received the message correctly. Amazon SQS
	// URL-decodes the message before creating the MD5 digest. For information about
	// MD5, see [RFC1321].
	//
	// [RFC1321]: https://www.ietf.org/rfc/rfc1321.txt
	MD5OfMessageAttributes *string

	// Each message attribute consists of a Name , Type , and Value . For more
	// information, see [Amazon SQS message attributes]in the Amazon SQS Developer Guide.
	//
	// [Amazon SQS message attributes]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
	MessageAttributes map[string]MessageAttributeValue

	// A unique identifier for the message. A MessageId is considered unique across all
	// Amazon Web Services accounts for an extended period of time.
	MessageId *string

	// An identifier associated with the act of receiving the message. A new receipt
	// handle is returned every time you receive a message. When deleting a message,
	// you provide the last received receipt handle to delete the message.
	ReceiptHandle *string
	// contains filtered or unexported fields
}

An Amazon SQS message.

type MessageAttributeValue

type MessageAttributeValue struct {

	// Amazon SQS supports the following logical data types: String , Number , and
	// Binary . For the Number data type, you must use StringValue .
	//
	// You can also append custom labels. For more information, see [Amazon SQS Message Attributes] in the Amazon SQS
	// Developer Guide.
	//
	// [Amazon SQS Message Attributes]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
	//
	// This member is required.
	DataType *string

	// Not implemented. Reserved for future use.
	BinaryListValues [][]byte

	// Binary type attributes can store any binary data, such as compressed data,
	// encrypted data, or images.
	BinaryValue []byte

	// Not implemented. Reserved for future use.
	StringListValues []string

	// Strings are Unicode with UTF-8 binary encoding. For a list of code values, see [ASCII Printable Characters].
	//
	// [ASCII Printable Characters]: http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
	StringValue *string
	// contains filtered or unexported fields
}

The user-specified message attribute value. For string data types, the Value attribute has the same restrictions on the content as the message body. For more information, see SendMessage.

Name , type , value and the message body must not be empty or null. All parts of the message attribute, including Name , Type , and Value , are part of the message size restriction (256 KiB or 262,144 bytes).

type MessageNotInflight

type MessageNotInflight struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified message isn't in flight.

func (*MessageNotInflight) Error

func (e *MessageNotInflight) Error() string

func (*MessageNotInflight) ErrorCode

func (e *MessageNotInflight) ErrorCode() string

func (*MessageNotInflight) ErrorFault

func (e *MessageNotInflight) ErrorFault() smithy.ErrorFault

func (*MessageNotInflight) ErrorMessage

func (e *MessageNotInflight) ErrorMessage() string

type MessageSystemAttributeName

type MessageSystemAttributeName string
const (
	MessageSystemAttributeNameAll                              MessageSystemAttributeName = "All"
	MessageSystemAttributeNameSenderId                         MessageSystemAttributeName = "SenderId"
	MessageSystemAttributeNameSentTimestamp                    MessageSystemAttributeName = "SentTimestamp"
	MessageSystemAttributeNameApproximateReceiveCount          MessageSystemAttributeName = "ApproximateReceiveCount"
	MessageSystemAttributeNameApproximateFirstReceiveTimestamp MessageSystemAttributeName = "ApproximateFirstReceiveTimestamp"
	MessageSystemAttributeNameSequenceNumber                   MessageSystemAttributeName = "SequenceNumber"
	MessageSystemAttributeNameMessageDeduplicationId           MessageSystemAttributeName = "MessageDeduplicationId"
	MessageSystemAttributeNameMessageGroupId                   MessageSystemAttributeName = "MessageGroupId"
	MessageSystemAttributeNameAWSTraceHeader                   MessageSystemAttributeName = "AWSTraceHeader"
	MessageSystemAttributeNameDeadLetterQueueSourceArn         MessageSystemAttributeName = "DeadLetterQueueSourceArn"
)

Enum values for MessageSystemAttributeName

func (MessageSystemAttributeName) Values added in v0.29.0

Values returns all known values for MessageSystemAttributeName. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type MessageSystemAttributeNameForSends

type MessageSystemAttributeNameForSends string
const (
	MessageSystemAttributeNameForSendsAWSTraceHeader MessageSystemAttributeNameForSends = "AWSTraceHeader"
)

Enum values for MessageSystemAttributeNameForSends

func (MessageSystemAttributeNameForSends) Values added in v0.29.0

Values returns all known values for MessageSystemAttributeNameForSends. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type MessageSystemAttributeValue

type MessageSystemAttributeValue struct {

	// Amazon SQS supports the following logical data types: String , Number , and
	// Binary . For the Number data type, you must use StringValue .
	//
	// You can also append custom labels. For more information, see [Amazon SQS Message Attributes] in the Amazon SQS
	// Developer Guide.
	//
	// [Amazon SQS Message Attributes]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
	//
	// This member is required.
	DataType *string

	// Not implemented. Reserved for future use.
	BinaryListValues [][]byte

	// Binary type attributes can store any binary data, such as compressed data,
	// encrypted data, or images.
	BinaryValue []byte

	// Not implemented. Reserved for future use.
	StringListValues []string

	// Strings are Unicode with UTF-8 binary encoding. For a list of code values, see [ASCII Printable Characters].
	//
	// [ASCII Printable Characters]: http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
	StringValue *string
	// contains filtered or unexported fields
}

The user-specified message system attribute value. For string data types, the Value attribute has the same restrictions on the content as the message body. For more information, see SendMessage.

Name , type , value and the message body must not be empty or null.

type OverLimit

type OverLimit struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*OverLimit) Error

func (e *OverLimit) Error() string

func (*OverLimit) ErrorCode

func (e *OverLimit) ErrorCode() string

func (*OverLimit) ErrorFault

func (e *OverLimit) ErrorFault() smithy.ErrorFault

func (*OverLimit) ErrorMessage

func (e *OverLimit) ErrorMessage() string

type PurgeQueueInProgress

type PurgeQueueInProgress struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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).

func (*PurgeQueueInProgress) Error

func (e *PurgeQueueInProgress) Error() string

func (*PurgeQueueInProgress) ErrorCode

func (e *PurgeQueueInProgress) ErrorCode() string

func (*PurgeQueueInProgress) ErrorFault

func (e *PurgeQueueInProgress) ErrorFault() smithy.ErrorFault

func (*PurgeQueueInProgress) ErrorMessage

func (e *PurgeQueueInProgress) ErrorMessage() string

type QueueAttributeName

type QueueAttributeName string
const (
	QueueAttributeNameAll                                   QueueAttributeName = "All"
	QueueAttributeNamePolicy                                QueueAttributeName = "Policy"
	QueueAttributeNameVisibilityTimeout                     QueueAttributeName = "VisibilityTimeout"
	QueueAttributeNameMaximumMessageSize                    QueueAttributeName = "MaximumMessageSize"
	QueueAttributeNameMessageRetentionPeriod                QueueAttributeName = "MessageRetentionPeriod"
	QueueAttributeNameApproximateNumberOfMessages           QueueAttributeName = "ApproximateNumberOfMessages"
	QueueAttributeNameApproximateNumberOfMessagesNotVisible QueueAttributeName = "ApproximateNumberOfMessagesNotVisible"
	QueueAttributeNameCreatedTimestamp                      QueueAttributeName = "CreatedTimestamp"
	QueueAttributeNameLastModifiedTimestamp                 QueueAttributeName = "LastModifiedTimestamp"
	QueueAttributeNameQueueArn                              QueueAttributeName = "QueueArn"
	QueueAttributeNameApproximateNumberOfMessagesDelayed    QueueAttributeName = "ApproximateNumberOfMessagesDelayed"
	QueueAttributeNameDelaySeconds                          QueueAttributeName = "DelaySeconds"
	QueueAttributeNameReceiveMessageWaitTimeSeconds         QueueAttributeName = "ReceiveMessageWaitTimeSeconds"
	QueueAttributeNameRedrivePolicy                         QueueAttributeName = "RedrivePolicy"
	QueueAttributeNameFifoQueue                             QueueAttributeName = "FifoQueue"
	QueueAttributeNameContentBasedDeduplication             QueueAttributeName = "ContentBasedDeduplication"
	QueueAttributeNameKmsMasterKeyId                        QueueAttributeName = "KmsMasterKeyId"
	QueueAttributeNameKmsDataKeyReusePeriodSeconds          QueueAttributeName = "KmsDataKeyReusePeriodSeconds"
	QueueAttributeNameDeduplicationScope                    QueueAttributeName = "DeduplicationScope"
	QueueAttributeNameFifoThroughputLimit                   QueueAttributeName = "FifoThroughputLimit"
	QueueAttributeNameRedriveAllowPolicy                    QueueAttributeName = "RedriveAllowPolicy"
	QueueAttributeNameSqsManagedSseEnabled                  QueueAttributeName = "SqsManagedSseEnabled"
)

Enum values for QueueAttributeName

func (QueueAttributeName) Values added in v0.29.0

Values returns all known values for QueueAttributeName. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type QueueDeletedRecently

type QueueDeletedRecently struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*QueueDeletedRecently) Error

func (e *QueueDeletedRecently) Error() string

func (*QueueDeletedRecently) ErrorCode

func (e *QueueDeletedRecently) ErrorCode() string

func (*QueueDeletedRecently) ErrorFault

func (e *QueueDeletedRecently) ErrorFault() smithy.ErrorFault

func (*QueueDeletedRecently) ErrorMessage

func (e *QueueDeletedRecently) ErrorMessage() string

type QueueDoesNotExist

type QueueDoesNotExist struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified queue doesn't exist.

func (*QueueDoesNotExist) Error

func (e *QueueDoesNotExist) Error() string

func (*QueueDoesNotExist) ErrorCode

func (e *QueueDoesNotExist) ErrorCode() string

func (*QueueDoesNotExist) ErrorFault

func (e *QueueDoesNotExist) ErrorFault() smithy.ErrorFault

func (*QueueDoesNotExist) ErrorMessage

func (e *QueueDoesNotExist) ErrorMessage() string

type QueueNameExists

type QueueNameExists struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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.

func (*QueueNameExists) Error

func (e *QueueNameExists) Error() string

func (*QueueNameExists) ErrorCode

func (e *QueueNameExists) ErrorCode() string

func (*QueueNameExists) ErrorFault

func (e *QueueNameExists) ErrorFault() smithy.ErrorFault

func (*QueueNameExists) ErrorMessage

func (e *QueueNameExists) ErrorMessage() string

type ReceiptHandleIsInvalid

type ReceiptHandleIsInvalid struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified receipt handle isn't valid.

func (*ReceiptHandleIsInvalid) Error

func (e *ReceiptHandleIsInvalid) Error() string

func (*ReceiptHandleIsInvalid) ErrorCode

func (e *ReceiptHandleIsInvalid) ErrorCode() string

func (*ReceiptHandleIsInvalid) ErrorFault

func (e *ReceiptHandleIsInvalid) ErrorFault() smithy.ErrorFault

func (*ReceiptHandleIsInvalid) ErrorMessage

func (e *ReceiptHandleIsInvalid) ErrorMessage() string

type RequestThrottled added in v1.21.0

type RequestThrottled struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

  • The rate of requests per second exceeds the Amazon Web Services KMS request quota for an account and Region.

  • A burst or sustained high rate of requests to change the state of the same KMS key. This condition is often known as a "hot key."

  • Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store might be throttled at a lower-than-expected rate when the Amazon Web Services CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.

func (*RequestThrottled) Error added in v1.21.0

func (e *RequestThrottled) Error() string

func (*RequestThrottled) ErrorCode added in v1.21.0

func (e *RequestThrottled) ErrorCode() string

func (*RequestThrottled) ErrorFault added in v1.21.0

func (e *RequestThrottled) ErrorFault() smithy.ErrorFault

func (*RequestThrottled) ErrorMessage added in v1.21.0

func (e *RequestThrottled) ErrorMessage() string

type ResourceNotFoundException added in v1.23.0

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

One or more specified resources don't exist.

func (*ResourceNotFoundException) Error added in v1.23.0

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode added in v1.23.0

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault added in v1.23.0

func (*ResourceNotFoundException) ErrorMessage added in v1.23.0

func (e *ResourceNotFoundException) ErrorMessage() string

type SendMessageBatchRequestEntry

type SendMessageBatchRequestEntry struct {

	// An identifier for a message in this batch used to communicate the result.
	//
	// The Id s of a batch request need to be unique within a request.
	//
	// This identifier can have up to 80 characters. The following characters are
	// accepted: alphanumeric characters, hyphens(-), and underscores (_).
	//
	// This member is required.
	Id *string

	// The body of the message.
	//
	// This member is required.
	MessageBody *string

	// The length of time, in seconds, for which a specific message is delayed. Valid
	// values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds
	// value become available for processing after the delay period is finished. If you
	// don't specify a value, the default value for the queue is applied.
	//
	// When you set FifoQueue , you can't set DelaySeconds per message. You can set
	// this parameter only on a queue level.
	DelaySeconds int32

	// Each message attribute consists of a Name , Type , and Value . For more
	// information, see [Amazon SQS message attributes]in the Amazon SQS Developer Guide.
	//
	// [Amazon SQS message attributes]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes
	MessageAttributes map[string]MessageAttributeValue

	// This parameter applies only to FIFO (first-in-first-out) queues.
	//
	// The token used for deduplication of messages within a 5-minute minimum
	// deduplication interval. If a message with a particular MessageDeduplicationId
	// is sent successfully, subsequent messages with the same MessageDeduplicationId
	// are accepted successfully but aren't delivered. For more information, see [Exactly-once processing]in
	// the Amazon SQS Developer Guide.
	//
	//   - Every message must have a unique MessageDeduplicationId ,
	//
	//   - You may provide a MessageDeduplicationId explicitly.
	//
	//   - If you aren't able to provide a MessageDeduplicationId and you enable
	//   ContentBasedDeduplication for your queue, Amazon SQS uses a SHA-256 hash to
	//   generate the MessageDeduplicationId using the body of the message (but not the
	//   attributes of the message).
	//
	//   - If you don't provide a MessageDeduplicationId and the queue doesn't have
	//   ContentBasedDeduplication set, the action fails with an error.
	//
	//   - If the queue has ContentBasedDeduplication set, your MessageDeduplicationId
	//   overrides the generated one.
	//
	//   - When ContentBasedDeduplication is in effect, messages with identical content
	//   sent within the deduplication interval are treated as duplicates and only one
	//   copy of the message is delivered.
	//
	//   - If you send one message with ContentBasedDeduplication enabled and then
	//   another message with a MessageDeduplicationId that is the same as the one
	//   generated for the first MessageDeduplicationId , the two messages are treated
	//   as duplicates and only one copy of the message is delivered.
	//
	// The MessageDeduplicationId is available to the consumer of the message (this
	// can be useful for troubleshooting delivery issues).
	//
	// If a message is sent successfully but the acknowledgement is lost and the
	// message is resent with the same MessageDeduplicationId after the deduplication
	// interval, Amazon SQS can't detect duplicate messages.
	//
	// Amazon SQS continues to keep track of the message deduplication ID even after
	// the message is received and deleted.
	//
	// The length of MessageDeduplicationId is 128 characters. MessageDeduplicationId
	// can contain alphanumeric characters ( a-z , A-Z , 0-9 ) and punctuation (
	// !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ ).
	//
	// For best practices of using MessageDeduplicationId , see [Using the MessageDeduplicationId Property] in the Amazon SQS
	// Developer Guide.
	//
	// [Using the MessageDeduplicationId Property]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html
	// [Exactly-once processing]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html
	MessageDeduplicationId *string

	// This parameter applies only to FIFO (first-in-first-out) queues.
	//
	// The tag that specifies that a message belongs to a specific message group.
	// Messages that belong to the same message group are processed in a FIFO manner
	// (however, messages in different message groups might be processed out of order).
	// To interleave multiple ordered streams within a single queue, use MessageGroupId
	// values (for example, session data for multiple users). In this scenario,
	// multiple consumers can process the queue, but the session data of each user is
	// processed in a FIFO fashion.
	//
	//   - You must associate a non-empty MessageGroupId with a message. If you don't
	//   provide a MessageGroupId , the action fails.
	//
	//   - ReceiveMessage might return messages with multiple MessageGroupId values.
	//   For each MessageGroupId , the messages are sorted by time sent. The caller
	//   can't specify a MessageGroupId .
	//
	// The length of MessageGroupId is 128 characters. Valid values: alphanumeric
	// characters and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) .
	//
	// For best practices of using MessageGroupId , see [Using the MessageGroupId Property] in the Amazon SQS Developer
	// Guide.
	//
	// MessageGroupId is required for FIFO queues. You can't use it for Standard
	// queues.
	//
	// [Using the MessageGroupId Property]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html
	MessageGroupId *string

	// The message system attribute to send Each message system attribute consists of
	// a Name , Type , and Value .
	//
	//   - Currently, the only supported message system attribute is AWSTraceHeader .
	//   Its type must be String and its value must be a correctly formatted X-Ray
	//   trace header string.
	//
	//   - The size of a message system attribute doesn't count towards the total size
	//   of a message.
	MessageSystemAttributes map[string]MessageSystemAttributeValue
	// contains filtered or unexported fields
}

Contains the details of a single Amazon SQS message along with an Id .

type SendMessageBatchResultEntry

type SendMessageBatchResultEntry struct {

	// An identifier for the message in this batch.
	//
	// This member is required.
	Id *string

	// An MD5 digest of the non-URL-encoded message body string. You can use this
	// attribute to verify that Amazon SQS received the message correctly. Amazon SQS
	// URL-decodes the message before creating the MD5 digest. For information about
	// MD5, see [RFC1321].
	//
	// [RFC1321]: https://www.ietf.org/rfc/rfc1321.txt
	//
	// This member is required.
	MD5OfMessageBody *string

	// An identifier for the message.
	//
	// This member is required.
	MessageId *string

	// An MD5 digest of the non-URL-encoded message attribute string. You can use this
	// attribute to verify that Amazon SQS received the message correctly. Amazon SQS
	// URL-decodes the message before creating the MD5 digest. For information about
	// MD5, see [RFC1321].
	//
	// [RFC1321]: https://www.ietf.org/rfc/rfc1321.txt
	MD5OfMessageAttributes *string

	// An MD5 digest of the non-URL-encoded message system attribute string. You can
	// use this attribute to verify that Amazon SQS received the message correctly.
	// Amazon SQS URL-decodes the message before creating the MD5 digest. For
	// information about MD5, see [RFC1321].
	//
	// [RFC1321]: https://www.ietf.org/rfc/rfc1321.txt
	MD5OfMessageSystemAttributes *string

	// This parameter applies only to FIFO (first-in-first-out) queues.
	//
	// The large, non-consecutive number that Amazon SQS assigns to each message.
	//
	// The length of SequenceNumber is 128 bits. As SequenceNumber continues to
	// increase for a particular MessageGroupId .
	SequenceNumber *string
	// contains filtered or unexported fields
}

Encloses a MessageId for a successfully-enqueued message in a SendMessageBatch.

type TooManyEntriesInBatchRequest

type TooManyEntriesInBatchRequest struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The batch request contains more entries than permissible.

func (*TooManyEntriesInBatchRequest) Error

func (*TooManyEntriesInBatchRequest) ErrorCode

func (e *TooManyEntriesInBatchRequest) ErrorCode() string

func (*TooManyEntriesInBatchRequest) ErrorFault

func (*TooManyEntriesInBatchRequest) ErrorMessage

func (e *TooManyEntriesInBatchRequest) ErrorMessage() string

type UnsupportedOperation

type UnsupportedOperation struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Error code 400. Unsupported operation.

func (*UnsupportedOperation) Error

func (e *UnsupportedOperation) Error() string

func (*UnsupportedOperation) ErrorCode

func (e *UnsupportedOperation) ErrorCode() string

func (*UnsupportedOperation) ErrorFault

func (e *UnsupportedOperation) ErrorFault() smithy.ErrorFault

func (*UnsupportedOperation) ErrorMessage

func (e *UnsupportedOperation) ErrorMessage() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL