Smaws_Client_SQS.SetQueueAttributes
Sets the value of one or more queue attributes, like a policy. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system. Changes made to the MessageRetentionPeriod
attribute can take up to 15 minutes and will impact existing messages in the queue potentially causing them to be expired and deleted if the MessageRetentionPeriod
is reduced below the age of existing messages.
AddPermission
, RemovePermission
, and SetQueueAttributes
actions in your IAM policy.val request :
Smaws_Lib.Context.t ->
Types.set_queue_attributes_request ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidAddress of Types.invalid_address
| `InvalidAttributeName of Types.invalid_attribute_name
| `InvalidAttributeValue of Types.invalid_attribute_value
| `InvalidSecurity of Types.invalid_security
| `OverLimit of Types.over_limit
| `QueueDoesNotExist of Types.queue_does_not_exist
| `RequestThrottled of Types.request_throttled
| `UnsupportedOperation of Types.unsupported_operation ])
Stdlib.result