Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueueAttributeName is used instead of missing MessageAttributeName #199

Closed
EduardSergeev opened this issue Aug 26, 2015 · 3 comments
Closed

Comments

@EduardSergeev
Copy link

QueueAttributeName is used to represent a set of "would be" MessageAttributes.
The correct set of MessageAttributes is as per comments:

  • All - returns all values.
  • ApproximateFirstReceiveTimestamp - returns the time when the message was first received from the queue (epoch time in milliseconds).
  • ApproximateReceiveCount - returns the number of times a message has been received from the queue but not deleted.
  • SenderId - returns the AWS account number (or the IP address, if anonymous access is allowed) of the sender.
  • SentTimestamp - returns the time when the message was sent to the queue (epoch time in milliseconds).

Looks like Amazon documentation is incorrect since it enumerates QueueAttributes as valid values for MessageAttributes.

@brendanhay
Copy link
Owner

I believe this is the same issue raised upstream: boto/botocore#602

@brendanhay
Copy link
Owner

Short term, I may just construct an override to correct the enum branches.

@brendanhay
Copy link
Owner

Leaving this open due to other potential issues. Really needs to be fixed upstream, but in the meantime I'll add overrides as I become aware of the cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants