Module Smaws_Client_SQS.CreateQueue

Creates a new standard or FIFO queue. You can pass one or more attributes in the request. Keep the following in mind:

To successfully create a new queue, you must provide a queue name that adheres to the limits related to queues and is unique within the scope of your queues.

After you create a queue, you must wait at least one second after the queue is created to be able to use the queue.

To get the queue URL, use the

 [GetQueueUrl] 

action.

 [GetQueueUrl] 

requires only the QueueName parameter. be aware of existing queue names:

Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide.

val request : Smaws_Lib.Context.t -> create_queue_request -> (create_queue_result, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidAddress of invalid_address | `InvalidAttributeName of invalid_attribute_name | `InvalidAttributeValue of invalid_attribute_value | `InvalidSecurity of invalid_security | `QueueDeletedRecently of queue_deleted_recently | `QueueNameExists of queue_name_exists | `RequestThrottled of request_throttled | `UnsupportedOperation of unsupported_operation ]) Stdlib.result