%PDF- %PDF-
Direktori : /usr/lib/python2.7/site-packages/salt/states/ |
Current File : //usr/lib/python2.7/site-packages/salt/states/aws_sqs.pyo |
� ���^c @@ sM d Z d d l m Z m Z m Z d � Z d e d � Z d e d � Z d S( u| Manage SQS Queues Create and destroy SQS queues. Be aware that this interacts with Amazon's services, and so may incur charges. This module uses the awscli tool provided by Amazon. This can be downloaded from pip. Also check the documentation for awscli for configuration information. .. code-block:: yaml myqueue: aws_sqs.exists: - region: eu-west-1 i ( t absolute_importt print_functiont unicode_literalsc C@ s t d d � r d St S( u( Only load if aws is available. u cmd.has_execu awsu aws_sqs( t __salt__t False( ( ( s7 /usr/lib/python2.7/site-packages/salt/states/aws_sqs.pyt __virtual__ s c C@ s� i | d 6t d 6d d 6i d 6} t d | | | | � } | s� t d rl d | d <d j | � | d <| St d | | | | � } | d d k r� | d | d d <q� t | d <| d | d <n d j | | � | d <| S( u Ensure the SQS queue exists. name Name of the SQS queue. region Region to create the queue user Name of the user performing the SQS operations opts Include additional arguments and options to the aws command line u nameu resultu u commentu changesu aws_sqs.queue_existsu testu&