aws-sdk-core 2.0.0.rc14 → 2.0.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -3
  3. data/apis/AutoScaling.api.json +1943 -0
  4. data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  5. data/apis/CloudFormation.api.json +785 -0
  6. data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  7. data/apis/CloudFront.api.json +2581 -0
  8. data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
  9. data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  10. data/apis/CloudSearch.api.json +1955 -0
  11. data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  12. data/apis/CloudSearchDomain.api.json +349 -0
  13. data/apis/CloudTrail.api.json +559 -0
  14. data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  15. data/apis/CloudWatch.api.json +917 -0
  16. data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  17. data/apis/CloudWatchLogs.api.json +816 -0
  18. data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  19. data/apis/CognitoIdentity.api.json +631 -0
  20. data/apis/CognitoSync.api.json +721 -0
  21. data/apis/DataPipeline.api.json +940 -0
  22. data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  23. data/apis/DirectConnect.api.json +833 -0
  24. data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  25. data/apis/DynamoDB.api.json +1210 -0
  26. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
  27. data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  28. data/apis/EC2.api.json +9914 -0
  29. data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  30. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
  31. data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  32. data/apis/EMR.api.json +1339 -0
  33. data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  34. data/apis/ElastiCache.api.json +3410 -0
  35. data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  36. data/apis/ElasticBeanstalk.api.json +1540 -0
  37. data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  38. data/apis/ElasticLoadBalancing.api.json +2131 -0
  39. data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  40. data/apis/ElasticTranscoder.api.json +1647 -0
  41. data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  42. data/apis/Glacier.api.json +1456 -0
  43. data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  44. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
  45. data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  46. data/apis/IAM.api.json +4033 -0
  47. data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  48. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
  49. data/apis/ImportExport.api.json +515 -0
  50. data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  51. data/apis/Kinesis.api.json +548 -0
  52. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
  53. data/apis/OpsWorks.api.json +2524 -0
  54. data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  55. data/apis/RDS.api.json +4473 -0
  56. data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
  57. data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  58. data/apis/Redshift.api.json +4482 -0
  59. data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  60. data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  61. data/apis/Route53.api.json +1935 -0
  62. data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  63. data/apis/Route53Domains.api.json +1129 -0
  64. data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
  65. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  66. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
  67. data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  68. data/apis/SES.api.json +644 -0
  69. data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  70. data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  71. data/apis/SNS.api.json +1760 -0
  72. data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  73. data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  74. data/apis/SQS.api.json +1113 -0
  75. data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  76. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
  77. data/apis/STS.api.json +594 -0
  78. data/apis/SWF.api.json +2656 -0
  79. data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  80. data/apis/SimpleDB.api.json +954 -0
  81. data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  82. data/apis/StorageGateway.api.json +2311 -0
  83. data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  84. data/apis/Support.api.json +869 -0
  85. data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  86. data/lib/aws.rb +96 -53
  87. data/lib/aws/api/documenter.rb +238 -0
  88. data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
  89. data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
  90. data/lib/aws/api/service_customizations.rb +3 -1
  91. data/lib/aws/client.rb +38 -0
  92. data/lib/aws/credential_provider_chain.rb +1 -0
  93. data/lib/aws/dynamodb/attribute_value.rb +87 -0
  94. data/lib/aws/empty_structure.rb +4 -3
  95. data/lib/aws/endpoint_provider.rb +1 -0
  96. data/lib/aws/errors.rb +2 -0
  97. data/lib/aws/instance_profile_credentials.rb +1 -1
  98. data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
  99. data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
  100. data/lib/aws/plugins/global_configuration.rb +13 -3
  101. data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
  102. data/lib/aws/plugins/regional_endpoint.rb +1 -1
  103. data/lib/aws/plugins/request_signer.rb +13 -6
  104. data/lib/aws/plugins/response_paging.rb +1 -2
  105. data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
  106. data/lib/aws/plugins/user_agent.rb +1 -2
  107. data/lib/aws/signers/v4.rb +1 -1
  108. data/lib/aws/structure.rb +49 -2
  109. data/lib/aws/version.rb +1 -1
  110. data/lib/aws/xml/builder.rb +1 -0
  111. data/lib/seahorse.rb +2 -1
  112. data/lib/seahorse/client/handler_list.rb +10 -3
  113. data/lib/seahorse/client/http/request.rb +0 -8
  114. data/lib/seahorse/client/xml/builder.rb +0 -1
  115. data/lib/seahorse/model/shape_map.rb +1 -0
  116. data/lib/seahorse/model/shapes.rb +5 -0
  117. metadata +93 -107
  118. data/apis/autoscaling-2011-01-01.api.json +0 -3063
  119. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  120. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  121. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  122. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  123. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  124. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  125. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  126. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  127. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  128. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  129. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  130. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  131. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  132. data/apis/directconnect-2012-10-25.api.json +0 -1174
  133. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  134. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  135. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  136. data/apis/dynamodb-2012-08-10.paginators.json +0 -26
  137. data/apis/ec2-2014-06-15.api.json +0 -11670
  138. data/apis/elasticache-2014-03-24.api.json +0 -4789
  139. data/apis/elasticache-2014-07-15.api.json +0 -4826
  140. data/apis/elasticache-2014-07-15.paginators.json +0 -76
  141. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  142. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
  143. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  144. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  145. data/apis/email-2010-12-01.api.json +0 -954
  146. data/apis/glacier-2012-06-01.api.json +0 -2012
  147. data/apis/iam-2010-05-08.api.json +0 -5322
  148. data/apis/importexport-2010-06-01.api.json +0 -687
  149. data/apis/kinesis-2013-12-02.api.json +0 -769
  150. data/apis/logs-2014-03-28.api.json +0 -942
  151. data/apis/manifest.json +0 -259
  152. data/apis/monitoring-2010-08-01.api.json +0 -1338
  153. data/apis/opsworks-2013-02-18.api.json +0 -4348
  154. data/apis/rds-2013-01-10.api.json +0 -6074
  155. data/apis/rds-2013-01-10.paginators.json +0 -97
  156. data/apis/rds-2013-02-12.api.json +0 -6392
  157. data/apis/rds-2013-09-09.api.json +0 -6564
  158. data/apis/rds-2013-09-09.paginators.json +0 -110
  159. data/apis/redshift-2012-12-01.api.json +0 -6318
  160. data/apis/route53-2013-04-01.api.json +0 -2493
  161. data/apis/route53domains-2014-05-15.api.json +0 -1622
  162. data/apis/sdb-2009-04-15.api.json +0 -1178
  163. data/apis/sns-2010-03-31.api.json +0 -2275
  164. data/apis/sqs-2012-11-05.api.json +0 -1438
  165. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  166. data/apis/sts-2011-06-15.api.json +0 -786
  167. data/apis/support-2013-04-15.api.json +0 -1379
  168. data/apis/swf-2012-01-25.api.json +0 -4463
  169. data/lib/aws/api/manifest.rb +0 -29
  170. data/lib/aws/api/manifest_builder.rb +0 -57
  171. data/lib/aws/api/minifier.rb +0 -42
  172. data/lib/aws/response_handler.rb +0 -38
  173. data/lib/aws/service_builder.rb +0 -56
@@ -1,1438 +0,0 @@
1
- {
2
- "metadata":{
3
- "apiVersion":"2012-11-05",
4
- "endpointPrefix":"sqs",
5
- "serviceAbbreviation":"Amazon SQS",
6
- "serviceFullName":"Amazon Simple Queue Service",
7
- "signatureVersion":"v4",
8
- "xmlNamespace":"http://queue.amazonaws.com/doc/2012-11-05/",
9
- "protocol":"query"
10
- },
11
- "documentation":"<p>Welcome to the <i>Amazon Simple Queue Service API Reference</i>. This section describes who should read this guide, how the guide is organized, and other resources related to the Amazon Simple Queue Service (Amazon SQS).</p> <p>Amazon SQS offers reliable and scalable hosted queues for storing messages as they travel between computers. By using Amazon SQS, you can move data between distributed components of your applications that perform different tasks without losing messages or requiring each component to be always available.</p> <p>Helpful Links: <ul> <li><a href=\"http://queue.amazonaws.com/doc/2012-11-05/QueueService.wsdl\">Current WSDL (2012-11-05)</a></li> <li><a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html\">Making API Requests</a></li> <li><a href=\"http://aws.amazon.com/sqs/\">Amazon SQS product page</a></li> <li><a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html\">Using Amazon SQS Dead Letter Queues</a></li> <li><a href=\"http://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region\">Regions and Endpoints</a></li> </ul> </p> <p>We also provide SDKs that enable you to access Amazon SQS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as:</p> <p> <ul> <li>Cryptographically signing your service requests</li> <li>Retrying requests</li> <li>Handling error responses</li> </ul> </p> <p>For a list of available SDKs, go to <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>.</p>",
12
- "operations":{
13
- "AddPermission":{
14
- "name":"AddPermission",
15
- "http":{
16
- "method":"POST",
17
- "requestUri":"/"
18
- },
19
- "input":{"shape":"AddPermissionRequest"},
20
- "errors":[
21
- {
22
- "shape":"OverLimit",
23
- "error":{
24
- "code":"OverLimit",
25
- "httpStatusCode":403,
26
- "senderFault":true
27
- },
28
- "exception":true,
29
- "documentation":"<p>The action that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. <a>AddPermission</a> returns this error if the maximum number of permissions for the queue has already been reached. </p>"
30
- }
31
- ],
32
- "documentation":"<p>Adds a permission to a queue for a specific <a href=\"http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P\">principal</a>. This allows for sharing access to the queue.</p> <p>When you create a queue, you have full control access rights for the queue. Only you (as owner of the queue) can grant or deny permissions to the queue. For more information about these permissions, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html\">Shared Queues</a> in the <i>Amazon SQS Developer Guide</i>.</p> <p><code>&amp;Attribute.1=this</code></p> <p><code>&amp;Attribute.2=that</code></p>"
33
- },
34
- "ChangeMessageVisibility":{
35
- "name":"ChangeMessageVisibility",
36
- "http":{
37
- "method":"POST",
38
- "requestUri":"/"
39
- },
40
- "input":{"shape":"ChangeMessageVisibilityRequest"},
41
- "errors":[
42
- {
43
- "shape":"MessageNotInflight",
44
- "error":{
45
- "code":"AWS.SimpleQueueService.MessageNotInflight",
46
- "httpStatusCode":400,
47
- "senderFault":true
48
- },
49
- "exception":true,
50
- "documentation":"<p>The message referred to is not in flight.</p>"
51
- },
52
- {
53
- "shape":"ReceiptHandleIsInvalid",
54
- "exception":true,
55
- "documentation":"<p>The receipt handle provided is not valid.</p>"
56
- }
57
- ],
58
- "documentation":"<p>Changes the visibility timeout of a specified message in a queue to a new value. The maximum allowed timeout value you can set the value to is 12 hours. This means you can't extend the timeout of a message in an existing queue to more than a total visibility timeout of 12 hours. (For more information visibility timeout, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html\">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.)</p> <p>For example, let's say you have a message and its default message visibility timeout is 30 minutes. You could call <code>ChangeMessageVisiblity</code> with a value of two hours and the effective timeout would be two hours and 30 minutes. When that time comes near you could again extend the time out by calling ChangeMessageVisiblity, but this time the maximum allowed timeout would be 9 hours and 30 minutes.</p> <important>If you attempt to set the <code>VisibilityTimeout</code> to an amount more than the maximum time left, Amazon SQS returns an error. It will not automatically recalculate and increase the timeout to the maximum time remaining.</important> <important>Unlike with a queue, when you change the visibility timeout for a specific message, that timeout value is applied immediately but is not saved in memory for that message. If you don't delete a message after it is received, the visibility timeout for the message the next time it is received reverts to the original timeout value, not the value you set with the <code>ChangeMessageVisibility</code> action.</important>"
59
- },
60
- "ChangeMessageVisibilityBatch":{
61
- "name":"ChangeMessageVisibilityBatch",
62
- "http":{
63
- "method":"POST",
64
- "requestUri":"/"
65
- },
66
- "input":{"shape":"ChangeMessageVisibilityBatchRequest"},
67
- "output":{
68
- "shape":"ChangeMessageVisibilityBatchResult",
69
- "documentation":"<p> For each message in the batch, the response contains a <a>ChangeMessageVisibilityBatchResultEntry</a> tag if the message succeeds or a <a>BatchResultErrorEntry</a> tag if the message fails. </p>",
70
- "resultWrapper":"ChangeMessageVisibilityBatchResult"
71
- },
72
- "errors":[
73
- {
74
- "shape":"TooManyEntriesInBatchRequest",
75
- "error":{
76
- "code":"AWS.SimpleQueueService.TooManyEntriesInBatchRequest",
77
- "httpStatusCode":400,
78
- "senderFault":true
79
- },
80
- "exception":true,
81
- "documentation":"<p>Batch request contains more number of entries than permissible.</p>"
82
- },
83
- {
84
- "shape":"EmptyBatchRequest",
85
- "error":{
86
- "code":"AWS.SimpleQueueService.EmptyBatchRequest",
87
- "httpStatusCode":400,
88
- "senderFault":true
89
- },
90
- "exception":true,
91
- "documentation":"<p>Batch request does not contain an entry.</p>"
92
- },
93
- {
94
- "shape":"BatchEntryIdsNotDistinct",
95
- "error":{
96
- "code":"AWS.SimpleQueueService.BatchEntryIdsNotDistinct",
97
- "httpStatusCode":400,
98
- "senderFault":true
99
- },
100
- "exception":true,
101
- "documentation":"<p>Two or more batch entries have the same <code>Id</code> in the request.</p>"
102
- },
103
- {
104
- "shape":"InvalidBatchEntryId",
105
- "error":{
106
- "code":"AWS.SimpleQueueService.InvalidBatchEntryId",
107
- "httpStatusCode":400,
108
- "senderFault":true
109
- },
110
- "exception":true,
111
- "documentation":"<p>The <code>Id</code> of a batch entry in a batch request does not abide by the specification.</p>"
112
- }
113
- ],
114
- "documentation":"<p>Changes the visibility timeout of multiple messages. This is a batch version of <a>ChangeMessageVisibility</a>. The result of the action on each message is reported individually in the response. You can send up to 10 <a>ChangeMessageVisibility</a> requests with each <code>ChangeMessageVisibilityBatch</code> action.</p> <important>Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.</important> <p><code>&amp;Attribute.1=this</code></p> <p><code>&amp;Attribute.2=that</code></p>"
115
- },
116
- "CreateQueue":{
117
- "name":"CreateQueue",
118
- "http":{
119
- "method":"POST",
120
- "requestUri":"/"
121
- },
122
- "input":{"shape":"CreateQueueRequest"},
123
- "output":{
124
- "shape":"CreateQueueResult",
125
- "documentation":"<p>Returns the QueueUrl element of the created queue.</p>",
126
- "resultWrapper":"CreateQueueResult"
127
- },
128
- "errors":[
129
- {
130
- "shape":"QueueDeletedRecently",
131
- "error":{
132
- "code":"AWS.SimpleQueueService.QueueDeletedRecently",
133
- "httpStatusCode":400,
134
- "senderFault":true
135
- },
136
- "exception":true,
137
- "documentation":"<p>You must wait 60 seconds after deleting a queue before you can create another with the same name.</p>"
138
- },
139
- {
140
- "shape":"QueueNameExists",
141
- "error":{
142
- "code":"QueueAlreadyExists",
143
- "httpStatusCode":400,
144
- "senderFault":true
145
- },
146
- "exception":true,
147
- "documentation":"<p>A queue already exists with this name. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.</p>"
148
- }
149
- ],
150
- "documentation":"<p>Creates a new queue, or returns the URL of an existing one. When you request <code>CreateQueue</code>, you provide a name for the queue. To successfully create a new queue, you must provide a name that is unique within the scope of your own queues.</p> <p>You may pass one or more attributes in the request. If you do not provide a value for any attribute, the queue will have the default value for that attribute. Permitted attributes are the same that can be set using <a>SetQueueAttributes</a>.</p> <p>If you provide the name of an existing queue, along with the exact names and values of all the queue's attributes, <code>CreateQueue</code> returns the queue URL for the existing queue. If the queue name, attribute names, or attribute values do not match an existing queue, <code>CreateQueue</code> returns an error.</p> <p><code>&amp;Attribute.1=this</code></p> <p><code>&amp;Attribute.2=that</code></p>"
151
- },
152
- "DeleteMessage":{
153
- "name":"DeleteMessage",
154
- "http":{
155
- "method":"POST",
156
- "requestUri":"/"
157
- },
158
- "input":{"shape":"DeleteMessageRequest"},
159
- "errors":[
160
- {
161
- "shape":"InvalidIdFormat",
162
- "exception":true,
163
- "documentation":"<p>The receipt handle is not valid for the current version.</p>"
164
- },
165
- {
166
- "shape":"ReceiptHandleIsInvalid",
167
- "exception":true,
168
- "documentation":"<p>The receipt handle provided is not valid.</p>"
169
- }
170
- ],
171
- "documentation":"<p> Deletes the specified message from the specified queue. You specify the message by using the message's <code>receipt handle</code> and not the <code>message ID</code> you received when you sent the message. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue. If you leave a message in the queue for longer than the queue's configured retention period, Amazon SQS automatically deletes it. </p> <important> <p> It is possible you will receive a message even after you have deleted it. This might happen on rare occasions if one of the servers storing a copy of the message is unavailable when you request to delete the message. The copy remains on the server and might be returned to you again on a subsequent receive request. You should create your system to be idempotent so that receiving a particular message more than once is not a problem. </p> </important>"
172
- },
173
- "DeleteMessageBatch":{
174
- "name":"DeleteMessageBatch",
175
- "http":{
176
- "method":"POST",
177
- "requestUri":"/"
178
- },
179
- "input":{"shape":"DeleteMessageBatchRequest"},
180
- "output":{
181
- "shape":"DeleteMessageBatchResult",
182
- "documentation":"<p> For each message in the batch, the response contains a <a>DeleteMessageBatchResultEntry</a> tag if the message is deleted or a <a>BatchResultErrorEntry</a> tag if the message cannot be deleted. </p>",
183
- "resultWrapper":"DeleteMessageBatchResult"
184
- },
185
- "errors":[
186
- {
187
- "shape":"TooManyEntriesInBatchRequest",
188
- "error":{
189
- "code":"AWS.SimpleQueueService.TooManyEntriesInBatchRequest",
190
- "httpStatusCode":400,
191
- "senderFault":true
192
- },
193
- "exception":true,
194
- "documentation":"<p>Batch request contains more number of entries than permissible.</p>"
195
- },
196
- {
197
- "shape":"EmptyBatchRequest",
198
- "error":{
199
- "code":"AWS.SimpleQueueService.EmptyBatchRequest",
200
- "httpStatusCode":400,
201
- "senderFault":true
202
- },
203
- "exception":true,
204
- "documentation":"<p>Batch request does not contain an entry.</p>"
205
- },
206
- {
207
- "shape":"BatchEntryIdsNotDistinct",
208
- "error":{
209
- "code":"AWS.SimpleQueueService.BatchEntryIdsNotDistinct",
210
- "httpStatusCode":400,
211
- "senderFault":true
212
- },
213
- "exception":true,
214
- "documentation":"<p>Two or more batch entries have the same <code>Id</code> in the request.</p>"
215
- },
216
- {
217
- "shape":"InvalidBatchEntryId",
218
- "error":{
219
- "code":"AWS.SimpleQueueService.InvalidBatchEntryId",
220
- "httpStatusCode":400,
221
- "senderFault":true
222
- },
223
- "exception":true,
224
- "documentation":"<p>The <code>Id</code> of a batch entry in a batch request does not abide by the specification.</p>"
225
- }
226
- ],
227
- "documentation":"<p>Deletes multiple messages. This is a batch version of <a>DeleteMessage</a>. The result of the delete action on each message is reported individually in the response.</p> <important> <p> Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200. </p> </important> <p><code>&amp;Attribute.1=this</code></p> <p><code>&amp;Attribute.2=that</code></p>"
228
- },
229
- "DeleteQueue":{
230
- "name":"DeleteQueue",
231
- "http":{
232
- "method":"POST",
233
- "requestUri":"/"
234
- },
235
- "input":{"shape":"DeleteQueueRequest"},
236
- "documentation":"<p> Deletes the queue specified by the <b>queue URL</b>, regardless of whether the queue is empty. If the specified queue does not exist, Amazon SQS returns a successful response. </p> <important> <p> Use <code>DeleteQueue</code> with care; once you delete your queue, any messages in the queue are no longer available. </p> </important> <p> When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a <a>SendMessage</a> request might succeed, but after the 60 seconds, the queue and that message you sent no longer exist. Also, when you delete a queue, you must wait at least 60 seconds before creating a queue with the same name. </p> <p> We reserve the right to delete queues that have had no activity for more than 30 days. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSConcepts.html\">How Amazon SQS Queues Work</a> in the <i>Amazon SQS Developer Guide</i>. </p>"
237
- },
238
- "GetQueueAttributes":{
239
- "name":"GetQueueAttributes",
240
- "http":{
241
- "method":"POST",
242
- "requestUri":"/"
243
- },
244
- "input":{"shape":"GetQueueAttributesRequest"},
245
- "output":{
246
- "shape":"GetQueueAttributesResult",
247
- "documentation":"A list of returned queue attributes.",
248
- "resultWrapper":"GetQueueAttributesResult"
249
- },
250
- "errors":[
251
- {
252
- "shape":"InvalidAttributeName",
253
- "exception":true,
254
- "documentation":"<p>The attribute referred to does not exist.</p>"
255
- }
256
- ],
257
- "documentation":"<p>Gets attributes for the specified queue. The following attributes are supported: <ul> <li> <code>All</code> - returns all values.</li> <li> <code>ApproximateNumberOfMessages</code> - returns the approximate number of visible messages in a queue. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html\">Resources Required to Process Messages</a> in the <i>Amazon SQS Developer Guide</i>.</li> <li> <code>ApproximateNumberOfMessagesNotVisible</code> - returns the approximate number of messages that are not timed-out and not deleted. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html\">Resources Required to Process Messages</a> in the <i>Amazon SQS Developer Guide</i>.</li> <li> <code>VisibilityTimeout</code> - returns the visibility timeout for the queue. For more information about visibility timeout, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html\">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.</li> <li> <code>CreatedTimestamp</code> - returns the time when the queue was created (epoch time in seconds).</li> <li> <code>LastModifiedTimestamp</code> - returns the time when the queue was last changed (epoch time in seconds).</li> <li> <code>Policy</code> - returns the queue's policy.</li> <li> <code>MaximumMessageSize</code> - returns the limit of how many bytes a message can contain before Amazon SQS rejects it.</li> <li> <code>MessageRetentionPeriod</code> - returns the number of seconds Amazon SQS retains a message.</li> <li> <code>QueueArn</code> - returns the queue's Amazon resource name (ARN).</li> <li> <code>ApproximateNumberOfMessagesDelayed</code> - returns the approximate number of messages that are pending to be added to the queue.</li> <li> <code>DelaySeconds</code> - returns the default delay on the queue in seconds.</li> <li> <code>ReceiveMessageWaitTimeSeconds</code> - returns the time for which a ReceiveMessage call will wait for a message to arrive.</li> <li> <code>RedrivePolicy</code> - returns the parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html\">Using Amazon SQS Dead Letter Queues</a> in the <i>Amazon SQS Developer Guide</i>.</li> </ul> </p> <p><code>&amp;Attribute.1=this</code></p> <p><code>&amp;Attribute.2=that</code></p>"
258
- },
259
- "GetQueueUrl":{
260
- "name":"GetQueueUrl",
261
- "http":{
262
- "method":"POST",
263
- "requestUri":"/"
264
- },
265
- "input":{"shape":"GetQueueUrlRequest"},
266
- "output":{
267
- "shape":"GetQueueUrlResult",
268
- "documentation":"<p>For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/UnderstandingResponses.html\">Responses</a> in the <i>Amazon SQS Developer Guide</i>.</p>",
269
- "resultWrapper":"GetQueueUrlResult"
270
- },
271
- "errors":[
272
- {
273
- "shape":"QueueDoesNotExist",
274
- "error":{
275
- "code":"AWS.SimpleQueueService.NonExistentQueue",
276
- "httpStatusCode":400,
277
- "senderFault":true
278
- },
279
- "exception":true,
280
- "documentation":"<p>The queue referred to does not exist.</p>"
281
- }
282
- ],
283
- "documentation":"<p> Returns the URL of an existing queue. This action provides a simple way to retrieve the URL of an Amazon SQS queue. </p> <p> To access a queue that belongs to another AWS account, use the <code>QueueOwnerAWSAccountId</code> parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see <a>AddPermission</a> or go to <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html\">Shared Queues</a> in the <i>Amazon SQS Developer Guide</i>. </p>"
284
- },
285
- "ListDeadLetterSourceQueues":{
286
- "name":"ListDeadLetterSourceQueues",
287
- "http":{
288
- "method":"POST",
289
- "requestUri":"/"
290
- },
291
- "input":{"shape":"ListDeadLetterSourceQueuesRequest"},
292
- "output":{
293
- "shape":"ListDeadLetterSourceQueuesResult",
294
- "documentation":"A list of your dead letter source queues.",
295
- "resultWrapper":"ListDeadLetterSourceQueuesResult"
296
- },
297
- "errors":[
298
- {
299
- "shape":"QueueDoesNotExist",
300
- "error":{
301
- "code":"AWS.SimpleQueueService.NonExistentQueue",
302
- "httpStatusCode":400,
303
- "senderFault":true
304
- },
305
- "exception":true,
306
- "documentation":"<p>The queue referred to does not exist.</p>"
307
- }
308
- ],
309
- "documentation":"<p>Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead letter queue.</p> <p>For more information about using dead letter queues, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html\">Using Amazon SQS Dead Letter Queues</a>.</p>"
310
- },
311
- "ListQueues":{
312
- "name":"ListQueues",
313
- "http":{
314
- "method":"POST",
315
- "requestUri":"/"
316
- },
317
- "input":{"shape":"ListQueuesRequest"},
318
- "output":{
319
- "shape":"ListQueuesResult",
320
- "documentation":"A list of your queues.",
321
- "resultWrapper":"ListQueuesResult"
322
- },
323
- "documentation":"<p>Returns a list of your queues. The maximum number of queues that can be returned is 1000. If you specify a value for the optional <code>QueueNamePrefix</code> parameter, only queues with a name beginning with the specified value are returned.</p>"
324
- },
325
- "ReceiveMessage":{
326
- "name":"ReceiveMessage",
327
- "http":{
328
- "method":"POST",
329
- "requestUri":"/"
330
- },
331
- "input":{"shape":"ReceiveMessageRequest"},
332
- "output":{
333
- "shape":"ReceiveMessageResult",
334
- "documentation":"A list of received messages.",
335
- "resultWrapper":"ReceiveMessageResult"
336
- },
337
- "errors":[
338
- {
339
- "shape":"OverLimit",
340
- "error":{
341
- "code":"OverLimit",
342
- "httpStatusCode":403,
343
- "senderFault":true
344
- },
345
- "exception":true,
346
- "documentation":"<p>The action that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. <a>AddPermission</a> returns this error if the maximum number of permissions for the queue has already been reached. </p>"
347
- }
348
- ],
349
- "documentation":"<p> Retrieves one or more messages, with a maximum limit of 10 messages, from the specified queue. Long poll support is enabled by using the <code>WaitTimeSeconds</code> parameter. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html\">Amazon SQS Long Poll</a> in the <i>Amazon SQS Developer Guide</i>. </p> <p> Short poll is the default behavior where a weighted random set of machines is sampled on a <code>ReceiveMessage</code> call. This means only the messages on the sampled machines are returned. If the number of messages in the queue is small (less than 1000), it is likely you will get fewer messages than you requested per <code>ReceiveMessage</code> call. If the number of messages in the queue is extremely small, you might not receive any messages in a particular <code>ReceiveMessage</code> response; in which case you should repeat the request. </p> <p> For each message returned, the response includes the following: </p> <ul> <li> <p> Message body </p> </li> <li> <p> MD5 digest of the message body. For information about MD5, go to <a href=\"http://www.faqs.org/rfcs/rfc1321.html\">http://www.faqs.org/rfcs/rfc1321.html</a>. </p> </li> <li> <p> Message ID you received when you sent the message to the queue. </p> </li> <li> <p> Receipt handle. </p> </li> <li> <p> Message attributes. </p> </li> <li> <p> MD5 digest of the message attributes. </p> </li> </ul> <p> The receipt handle is the identifier you must provide when deleting the message. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ImportantIdentifiers.html\">Queue and Message Identifiers</a> in the <i>Amazon SQS Developer Guide</i>. </p> <p> You can provide the <code>VisibilityTimeout</code> parameter in your request, which will be applied to the messages that Amazon SQS returns in the response. If you do not include the parameter, the overall visibility timeout for the queue is used for the returned messages. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html\">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>. </p>"
350
- },
351
- "RemovePermission":{
352
- "name":"RemovePermission",
353
- "http":{
354
- "method":"POST",
355
- "requestUri":"/"
356
- },
357
- "input":{"shape":"RemovePermissionRequest"},
358
- "documentation":"<p>Revokes any permissions in the queue policy that matches the specified <code>Label</code> parameter. Only the owner of the queue can remove permissions.</p>"
359
- },
360
- "SendMessage":{
361
- "name":"SendMessage",
362
- "http":{
363
- "method":"POST",
364
- "requestUri":"/"
365
- },
366
- "input":{"shape":"SendMessageRequest"},
367
- "output":{
368
- "shape":"SendMessageResult",
369
- "documentation":"<p>The MD5OfMessageBody and MessageId elements.</p>",
370
- "resultWrapper":"SendMessageResult"
371
- },
372
- "errors":[
373
- {
374
- "shape":"InvalidMessageContents",
375
- "exception":true,
376
- "documentation":"<p>The message contains characters outside the allowed set.</p>"
377
- },
378
- {
379
- "shape":"UnsupportedOperation",
380
- "error":{
381
- "code":"AWS.SimpleQueueService.UnsupportedOperation",
382
- "httpStatusCode":400,
383
- "senderFault":true
384
- },
385
- "exception":true,
386
- "documentation":"<p>Error code 400. Unsupported operation.</p>"
387
- }
388
- ],
389
- "documentation":"<p> Delivers a message to the specified queue. With Amazon SQS, you now have the ability to send large payload messages that are up to 256KB (262,144 bytes) in size. To send large payloads, you must use an AWS SDK that supports SigV4 signing. To verify whether SigV4 is supported for an AWS SDK, check the SDK release notes. </p> <important> <p> The following list shows the characters (in Unicode) allowed in your message, according to the W3C XML specification. For more information, go to <a href=\"http://www.w3.org/TR/REC-xml/#charsets\">http://www.w3.org/TR/REC-xml/#charsets</a> If you send any characters not included in the list, your request will be rejected. </p> <p> #x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF] </p> </important>"
390
- },
391
- "SendMessageBatch":{
392
- "name":"SendMessageBatch",
393
- "http":{
394
- "method":"POST",
395
- "requestUri":"/"
396
- },
397
- "input":{"shape":"SendMessageBatchRequest"},
398
- "output":{
399
- "shape":"SendMessageBatchResult",
400
- "documentation":"<p>For each message in the batch, the response contains a <a>SendMessageBatchResultEntry</a> tag if the message succeeds or a <a>BatchResultErrorEntry</a> tag if the message fails.</p>",
401
- "resultWrapper":"SendMessageBatchResult"
402
- },
403
- "errors":[
404
- {
405
- "shape":"TooManyEntriesInBatchRequest",
406
- "error":{
407
- "code":"AWS.SimpleQueueService.TooManyEntriesInBatchRequest",
408
- "httpStatusCode":400,
409
- "senderFault":true
410
- },
411
- "exception":true,
412
- "documentation":"<p>Batch request contains more number of entries than permissible.</p>"
413
- },
414
- {
415
- "shape":"EmptyBatchRequest",
416
- "error":{
417
- "code":"AWS.SimpleQueueService.EmptyBatchRequest",
418
- "httpStatusCode":400,
419
- "senderFault":true
420
- },
421
- "exception":true,
422
- "documentation":"<p>Batch request does not contain an entry.</p>"
423
- },
424
- {
425
- "shape":"BatchEntryIdsNotDistinct",
426
- "error":{
427
- "code":"AWS.SimpleQueueService.BatchEntryIdsNotDistinct",
428
- "httpStatusCode":400,
429
- "senderFault":true
430
- },
431
- "exception":true,
432
- "documentation":"<p>Two or more batch entries have the same <code>Id</code> in the request.</p>"
433
- },
434
- {
435
- "shape":"BatchRequestTooLong",
436
- "error":{
437
- "code":"AWS.SimpleQueueService.BatchRequestTooLong",
438
- "httpStatusCode":400,
439
- "senderFault":true
440
- },
441
- "exception":true,
442
- "documentation":"<p>The length of all the messages put together is more than the limit.</p>"
443
- },
444
- {
445
- "shape":"InvalidBatchEntryId",
446
- "error":{
447
- "code":"AWS.SimpleQueueService.InvalidBatchEntryId",
448
- "httpStatusCode":400,
449
- "senderFault":true
450
- },
451
- "exception":true,
452
- "documentation":"<p>The <code>Id</code> of a batch entry in a batch request does not abide by the specification.</p>"
453
- },
454
- {
455
- "shape":"UnsupportedOperation",
456
- "error":{
457
- "code":"AWS.SimpleQueueService.UnsupportedOperation",
458
- "httpStatusCode":400,
459
- "senderFault":true
460
- },
461
- "exception":true,
462
- "documentation":"<p>Error code 400. Unsupported operation.</p>"
463
- }
464
- ],
465
- "documentation":"<p>Delivers up to ten messages to the specified queue. This is a batch version of <a>SendMessage</a>. The result of the send action on each message is reported individually in the response. The maximum allowed individual message size is 256 KB (262,144 bytes).</p> <p>The maximum total payload size (i.e., the sum of all a batch's individual message lengths) is also 256 KB (262,144 bytes).</p> <p>If the <code>DelaySeconds</code> parameter is not specified for an entry, the default for the queue is used.</p> <important>The following list shows the characters (in Unicode) that are allowed in your message, according to the W3C XML specification. For more information, go to <a href=\"http://www.faqs.org/rfcs/rfc1321.html\">http://www.faqs.org/rfcs/rfc1321.html</a>. If you send any characters that are not included in the list, your request will be rejected. <p>#x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]</p> </important> <important> Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200. </important> <p><code>&amp;Attribute.1=this</code></p> <p><code>&amp;Attribute.2=that</code></p>"
466
- },
467
- "SetQueueAttributes":{
468
- "name":"SetQueueAttributes",
469
- "http":{
470
- "method":"POST",
471
- "requestUri":"/"
472
- },
473
- "input":{"shape":"SetQueueAttributesRequest"},
474
- "errors":[
475
- {
476
- "shape":"InvalidAttributeName",
477
- "exception":true,
478
- "documentation":"<p>The attribute referred to does not exist.</p>"
479
- }
480
- ],
481
- "documentation":"<p>Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the SQS system. Changes made to the <code>MessageRetentionPeriod</code> attribute can take up to 15 minutes.</p>"
482
- }
483
- },
484
- "shapes":{
485
- "AWSAccountIdList":{
486
- "type":"list",
487
- "member":{
488
- "shape":"String",
489
- "locationName":"AWSAccountId"
490
- },
491
- "flattened":true
492
- },
493
- "ActionNameList":{
494
- "type":"list",
495
- "member":{
496
- "shape":"String",
497
- "locationName":"ActionName"
498
- },
499
- "flattened":true
500
- },
501
- "AddPermissionRequest":{
502
- "type":"structure",
503
- "required":[
504
- "QueueUrl",
505
- "Label",
506
- "AWSAccountIds",
507
- "Actions"
508
- ],
509
- "members":{
510
- "QueueUrl":{
511
- "shape":"String",
512
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
513
- },
514
- "Label":{
515
- "shape":"String",
516
- "documentation":"<p>The unique identification of the permission you're setting (e.g., <code>AliceSendMessage</code>). Constraints: Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.</p>"
517
- },
518
- "AWSAccountIds":{
519
- "shape":"AWSAccountIdList",
520
- "documentation":"<p>The AWS account number of the <a href=\"http://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P\">principal</a> who will be given permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. For information about locating the AWS account identification, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AWSCredentials.html\">Your AWS Identifiers</a> in the <i>Amazon SQS Developer Guide</i>.</p>"
521
- },
522
- "Actions":{
523
- "shape":"ActionNameList",
524
- "documentation":"<p>The action the client wants to allow for the specified principal. The following are valid values: <code>* | SendMessage | ReceiveMessage | DeleteMessage | ChangeMessageVisibility | GetQueueAttributes | GetQueueUrl</code>. For more information about these actions, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html#PermissionTypes\">Understanding Permissions</a> in the <i>Amazon SQS Developer Guide</i>.</p> <p>Specifying <code>SendMessage</code>, <code>DeleteMessage</code>, or <code>ChangeMessageVisibility</code> for the <code>ActionName.n</code> also grants permissions for the corresponding batch versions of those actions: <code>SendMessageBatch</code>, <code>DeleteMessageBatch</code>, and <code>ChangeMessageVisibilityBatch</code>.</p>"
525
- }
526
- }
527
- },
528
- "AttributeMap":{
529
- "type":"map",
530
- "key":{
531
- "shape":"QueueAttributeName",
532
- "documentation":"<p>The name of a queue attribute.</p>",
533
- "locationName":"Name"
534
- },
535
- "value":{
536
- "shape":"String",
537
- "documentation":"<p>The value of a queue attribute.</p>",
538
- "locationName":"Value"
539
- },
540
- "flattened":true,
541
- "locationName":"Attribute"
542
- },
543
- "AttributeNameList":{
544
- "type":"list",
545
- "member":{
546
- "shape":"QueueAttributeName",
547
- "locationName":"AttributeName"
548
- },
549
- "flattened":true
550
- },
551
- "BatchEntryIdsNotDistinct":{
552
- "type":"structure",
553
- "members":{
554
- },
555
- "error":{
556
- "code":"AWS.SimpleQueueService.BatchEntryIdsNotDistinct",
557
- "httpStatusCode":400,
558
- "senderFault":true
559
- },
560
- "exception":true,
561
- "documentation":"<p>Two or more batch entries have the same <code>Id</code> in the request.</p>"
562
- },
563
- "BatchRequestTooLong":{
564
- "type":"structure",
565
- "members":{
566
- },
567
- "error":{
568
- "code":"AWS.SimpleQueueService.BatchRequestTooLong",
569
- "httpStatusCode":400,
570
- "senderFault":true
571
- },
572
- "exception":true,
573
- "documentation":"<p>The length of all the messages put together is more than the limit.</p>"
574
- },
575
- "BatchResultErrorEntry":{
576
- "type":"structure",
577
- "required":[
578
- "Id",
579
- "SenderFault",
580
- "Code"
581
- ],
582
- "members":{
583
- "Id":{
584
- "shape":"String",
585
- "documentation":"<p>The id of an entry in a batch request.</p>"
586
- },
587
- "SenderFault":{
588
- "shape":"Boolean",
589
- "documentation":"<p>Whether the error happened due to the sender's fault.</p>"
590
- },
591
- "Code":{
592
- "shape":"String",
593
- "documentation":"<p>An error code representing why the action failed on this entry.</p>"
594
- },
595
- "Message":{
596
- "shape":"String",
597
- "documentation":"<p>A message explaining why the action failed on this entry.</p>"
598
- }
599
- },
600
- "documentation":"<p>This is used in the responses of batch API to give a detailed description of the result of an action on each entry in the request.</p>"
601
- },
602
- "BatchResultErrorEntryList":{
603
- "type":"list",
604
- "member":{
605
- "shape":"BatchResultErrorEntry",
606
- "locationName":"BatchResultErrorEntry"
607
- },
608
- "flattened":true
609
- },
610
- "Binary":{"type":"blob"},
611
- "BinaryList":{
612
- "type":"list",
613
- "member":{
614
- "shape":"Binary",
615
- "locationName":"BinaryListValue"
616
- }
617
- },
618
- "Boolean":{"type":"boolean"},
619
- "ChangeMessageVisibilityBatchRequest":{
620
- "type":"structure",
621
- "required":[
622
- "QueueUrl",
623
- "Entries"
624
- ],
625
- "members":{
626
- "QueueUrl":{
627
- "shape":"String",
628
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
629
- },
630
- "Entries":{
631
- "shape":"ChangeMessageVisibilityBatchRequestEntryList",
632
- "documentation":"<p>A list of receipt handles of the messages for which the visibility timeout must be changed.</p>"
633
- }
634
- }
635
- },
636
- "ChangeMessageVisibilityBatchRequestEntry":{
637
- "type":"structure",
638
- "required":[
639
- "Id",
640
- "ReceiptHandle"
641
- ],
642
- "members":{
643
- "Id":{
644
- "shape":"String",
645
- "documentation":"<p>An identifier for this particular receipt handle. This is used to communicate the result. Note that the <code>Id</code>s of a batch request need to be unique within the request.</p>"
646
- },
647
- "ReceiptHandle":{
648
- "shape":"String",
649
- "documentation":"<p>A receipt handle.</p>"
650
- },
651
- "VisibilityTimeout":{
652
- "shape":"Integer",
653
- "documentation":"<p>The new value (in seconds) for the message's visibility timeout.</p>"
654
- }
655
- },
656
- "documentation":"<p>Encloses a receipt handle and an entry id for each message in <a>ChangeMessageVisibilityBatch</a>. </p> <important> <p>All of the following parameters are list parameters that must be prefixed with <code>ChangeMessageVisibilityBatchRequestEntry.n</code>, where <code>n</code> is an integer value starting with 1. For example, a parameter list for this action might look like this:</p> </important> <p><code>&amp;ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2</code></p> <p><code>&amp;ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=<replaceable>Your_Receipt_Handle</replaceable></code></p> <p><code>&amp;ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45</code></p>"
657
- },
658
- "ChangeMessageVisibilityBatchRequestEntryList":{
659
- "type":"list",
660
- "member":{
661
- "shape":"ChangeMessageVisibilityBatchRequestEntry",
662
- "locationName":"ChangeMessageVisibilityBatchRequestEntry"
663
- },
664
- "flattened":true
665
- },
666
- "ChangeMessageVisibilityBatchResult":{
667
- "type":"structure",
668
- "required":[
669
- "Successful",
670
- "Failed"
671
- ],
672
- "members":{
673
- "Successful":{
674
- "shape":"ChangeMessageVisibilityBatchResultEntryList",
675
- "documentation":"<p>A list of <a>ChangeMessageVisibilityBatchResultEntry</a> items.</p>"
676
- },
677
- "Failed":{
678
- "shape":"BatchResultErrorEntryList",
679
- "documentation":"<p>A list of <a>BatchResultErrorEntry</a> items.</p>"
680
- }
681
- },
682
- "documentation":"<p> For each message in the batch, the response contains a <a>ChangeMessageVisibilityBatchResultEntry</a> tag if the message succeeds or a <a>BatchResultErrorEntry</a> tag if the message fails. </p>"
683
- },
684
- "ChangeMessageVisibilityBatchResultEntry":{
685
- "type":"structure",
686
- "required":["Id"],
687
- "members":{
688
- "Id":{
689
- "shape":"String",
690
- "documentation":"<p>Represents a message whose visibility timeout has been changed successfully.</p>"
691
- }
692
- },
693
- "documentation":"<p>Encloses the id of an entry in <a>ChangeMessageVisibilityBatch</a>.</p>"
694
- },
695
- "ChangeMessageVisibilityBatchResultEntryList":{
696
- "type":"list",
697
- "member":{
698
- "shape":"ChangeMessageVisibilityBatchResultEntry",
699
- "locationName":"ChangeMessageVisibilityBatchResultEntry"
700
- },
701
- "flattened":true
702
- },
703
- "ChangeMessageVisibilityRequest":{
704
- "type":"structure",
705
- "required":[
706
- "QueueUrl",
707
- "ReceiptHandle",
708
- "VisibilityTimeout"
709
- ],
710
- "members":{
711
- "QueueUrl":{
712
- "shape":"String",
713
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
714
- },
715
- "ReceiptHandle":{
716
- "shape":"String",
717
- "documentation":"<p>The receipt handle associated with the message whose visibility timeout should be changed. This parameter is returned by the <a>ReceiveMessage</a> action.</p>"
718
- },
719
- "VisibilityTimeout":{
720
- "shape":"Integer",
721
- "documentation":"<p>The new value (in seconds - from 0 to 43200 - maximum 12 hours) for the message's visibility timeout.</p>"
722
- }
723
- }
724
- },
725
- "CreateQueueRequest":{
726
- "type":"structure",
727
- "required":["QueueName"],
728
- "members":{
729
- "QueueName":{
730
- "shape":"String",
731
- "documentation":"<p>The name for the queue to be created.</p>"
732
- },
733
- "Attributes":{
734
- "shape":"AttributeMap",
735
- "documentation":"<p>A map of attributes with their corresponding values.</p> <p>The following lists the names, descriptions, and values of the special request parameters the <code>CreateQueue</code> action uses:</p> <p> <ul> <li> <code>DelaySeconds</code> - The time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes). The default for this attribute is 0 (zero).</li> <li> <code>MaximumMessageSize</code> - The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB).</li> <li> <code>MessageRetentionPeriod</code> - The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days).</li> <li> <code>Policy</code> - The queue's policy. A valid form-url-encoded policy. For more information about policy structure, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/BasicStructure.html\">Basic Policy Structure</a> in the <i>Amazon SQS Developer Guide</i>. For more information about form-url-encoding, see <a href=\"http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2.1\">http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2.1</a>.</li> <li> <code>ReceiveMessageWaitTimeSeconds</code> - The time for which a <a>ReceiveMessage</a> call will wait for a message to arrive. An integer from 0 to 20 (seconds). The default for this attribute is 0. </li> <li> <code>VisibilityTimeout</code> - The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default for this attribute is 30. For more information about visibility timeout, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html\">Visibility Timeout</a> in the <i>Amazon SQS Developer Guide</i>.</li> </ul> </p>",
736
- "locationName":"Attribute"
737
- }
738
- }
739
- },
740
- "CreateQueueResult":{
741
- "type":"structure",
742
- "members":{
743
- "QueueUrl":{
744
- "shape":"String",
745
- "documentation":"<p>The URL for the created Amazon SQS queue.</p>"
746
- }
747
- },
748
- "documentation":"<p>Returns the QueueUrl element of the created queue.</p>"
749
- },
750
- "DeleteMessageBatchRequest":{
751
- "type":"structure",
752
- "required":[
753
- "QueueUrl",
754
- "Entries"
755
- ],
756
- "members":{
757
- "QueueUrl":{
758
- "shape":"String",
759
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
760
- },
761
- "Entries":{
762
- "shape":"DeleteMessageBatchRequestEntryList",
763
- "documentation":"<p>A list of receipt handles for the messages to be deleted.</p>"
764
- }
765
- }
766
- },
767
- "DeleteMessageBatchRequestEntry":{
768
- "type":"structure",
769
- "required":[
770
- "Id",
771
- "ReceiptHandle"
772
- ],
773
- "members":{
774
- "Id":{
775
- "shape":"String",
776
- "documentation":"<p>An identifier for this particular receipt handle. This is used to communicate the result. Note that the <code>Id</code>s of a batch request need to be unique within the request.</p>"
777
- },
778
- "ReceiptHandle":{
779
- "shape":"String",
780
- "documentation":"<p>A receipt handle.</p>"
781
- }
782
- },
783
- "documentation":"<p>Encloses a receipt handle and an identifier for it.</p>"
784
- },
785
- "DeleteMessageBatchRequestEntryList":{
786
- "type":"list",
787
- "member":{
788
- "shape":"DeleteMessageBatchRequestEntry",
789
- "locationName":"DeleteMessageBatchRequestEntry"
790
- },
791
- "flattened":true
792
- },
793
- "DeleteMessageBatchResult":{
794
- "type":"structure",
795
- "required":[
796
- "Successful",
797
- "Failed"
798
- ],
799
- "members":{
800
- "Successful":{
801
- "shape":"DeleteMessageBatchResultEntryList",
802
- "documentation":"<p>A list of <a>DeleteMessageBatchResultEntry</a> items.</p>"
803
- },
804
- "Failed":{
805
- "shape":"BatchResultErrorEntryList",
806
- "documentation":"<p>A list of <a>BatchResultErrorEntry</a> items.</p>"
807
- }
808
- },
809
- "documentation":"<p> For each message in the batch, the response contains a <a>DeleteMessageBatchResultEntry</a> tag if the message is deleted or a <a>BatchResultErrorEntry</a> tag if the message cannot be deleted. </p>"
810
- },
811
- "DeleteMessageBatchResultEntry":{
812
- "type":"structure",
813
- "required":["Id"],
814
- "members":{
815
- "Id":{
816
- "shape":"String",
817
- "documentation":"<p>Represents a successfully deleted message.</p>"
818
- }
819
- },
820
- "documentation":"<p>Encloses the id an entry in <a>DeleteMessageBatch</a>.</p>"
821
- },
822
- "DeleteMessageBatchResultEntryList":{
823
- "type":"list",
824
- "member":{
825
- "shape":"DeleteMessageBatchResultEntry",
826
- "locationName":"DeleteMessageBatchResultEntry"
827
- },
828
- "flattened":true
829
- },
830
- "DeleteMessageRequest":{
831
- "type":"structure",
832
- "required":[
833
- "QueueUrl",
834
- "ReceiptHandle"
835
- ],
836
- "members":{
837
- "QueueUrl":{
838
- "shape":"String",
839
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
840
- },
841
- "ReceiptHandle":{
842
- "shape":"String",
843
- "documentation":"<p>The receipt handle associated with the message to delete.</p>"
844
- }
845
- }
846
- },
847
- "DeleteQueueRequest":{
848
- "type":"structure",
849
- "required":["QueueUrl"],
850
- "members":{
851
- "QueueUrl":{
852
- "shape":"String",
853
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
854
- }
855
- }
856
- },
857
- "EmptyBatchRequest":{
858
- "type":"structure",
859
- "members":{
860
- },
861
- "error":{
862
- "code":"AWS.SimpleQueueService.EmptyBatchRequest",
863
- "httpStatusCode":400,
864
- "senderFault":true
865
- },
866
- "exception":true,
867
- "documentation":"<p>Batch request does not contain an entry.</p>"
868
- },
869
- "GetQueueAttributesRequest":{
870
- "type":"structure",
871
- "required":["QueueUrl"],
872
- "members":{
873
- "QueueUrl":{
874
- "shape":"String",
875
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
876
- },
877
- "AttributeNames":{
878
- "shape":"AttributeNameList",
879
- "documentation":"<p>A list of attributes to retrieve information for. </p>"
880
- }
881
- }
882
- },
883
- "GetQueueAttributesResult":{
884
- "type":"structure",
885
- "members":{
886
- "Attributes":{
887
- "shape":"AttributeMap",
888
- "documentation":"<p>A map of attributes to the respective values.</p>",
889
- "locationName":"Attribute"
890
- }
891
- },
892
- "documentation":"A list of returned queue attributes."
893
- },
894
- "GetQueueUrlRequest":{
895
- "type":"structure",
896
- "required":["QueueName"],
897
- "members":{
898
- "QueueName":{
899
- "shape":"String",
900
- "documentation":"<p>The name of the queue whose URL must be fetched. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.</p>"
901
- },
902
- "QueueOwnerAWSAccountId":{
903
- "shape":"String",
904
- "documentation":"<p>The AWS account ID of the account that created the queue.</p>"
905
- }
906
- }
907
- },
908
- "GetQueueUrlResult":{
909
- "type":"structure",
910
- "members":{
911
- "QueueUrl":{
912
- "shape":"String",
913
- "documentation":"<p>The URL for the queue.</p>"
914
- }
915
- },
916
- "documentation":"<p>For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/UnderstandingResponses.html\">Responses</a> in the <i>Amazon SQS Developer Guide</i>.</p>"
917
- },
918
- "Integer":{"type":"integer"},
919
- "InvalidAttributeName":{
920
- "type":"structure",
921
- "members":{
922
- },
923
- "exception":true,
924
- "documentation":"<p>The attribute referred to does not exist.</p>"
925
- },
926
- "InvalidBatchEntryId":{
927
- "type":"structure",
928
- "members":{
929
- },
930
- "error":{
931
- "code":"AWS.SimpleQueueService.InvalidBatchEntryId",
932
- "httpStatusCode":400,
933
- "senderFault":true
934
- },
935
- "exception":true,
936
- "documentation":"<p>The <code>Id</code> of a batch entry in a batch request does not abide by the specification.</p>"
937
- },
938
- "InvalidIdFormat":{
939
- "type":"structure",
940
- "members":{
941
- },
942
- "exception":true,
943
- "documentation":"<p>The receipt handle is not valid for the current version.</p>"
944
- },
945
- "InvalidMessageContents":{
946
- "type":"structure",
947
- "members":{
948
- },
949
- "exception":true,
950
- "documentation":"<p>The message contains characters outside the allowed set.</p>"
951
- },
952
- "ListDeadLetterSourceQueuesRequest":{
953
- "type":"structure",
954
- "required":["QueueUrl"],
955
- "members":{
956
- "QueueUrl":{
957
- "shape":"String",
958
- "documentation":"The queue URL of a dead letter queue."
959
- }
960
- }
961
- },
962
- "ListDeadLetterSourceQueuesResult":{
963
- "type":"structure",
964
- "required":["queueUrls"],
965
- "members":{
966
- "queueUrls":{
967
- "shape":"QueueUrlList",
968
- "documentation":"A list of source queue URLs that have the RedrivePolicy queue attribute configured with a dead letter queue."
969
- }
970
- },
971
- "documentation":"A list of your dead letter source queues."
972
- },
973
- "ListQueuesRequest":{
974
- "type":"structure",
975
- "members":{
976
- "QueueNamePrefix":{
977
- "shape":"String",
978
- "documentation":"<p>A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.</p>"
979
- }
980
- }
981
- },
982
- "ListQueuesResult":{
983
- "type":"structure",
984
- "members":{
985
- "QueueUrls":{
986
- "shape":"QueueUrlList",
987
- "documentation":"<p>A list of queue URLs, up to 1000 entries.</p>"
988
- }
989
- },
990
- "documentation":"A list of your queues."
991
- },
992
- "Message":{
993
- "type":"structure",
994
- "members":{
995
- "MessageId":{
996
- "shape":"String",
997
- "documentation":"<p>A unique identifier for the message. Message IDs are considered unique across all AWS accounts for an extended period of time.</p>"
998
- },
999
- "ReceiptHandle":{
1000
- "shape":"String",
1001
- "documentation":"<p>An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.</p>"
1002
- },
1003
- "MD5OfBody":{
1004
- "shape":"String",
1005
- "documentation":"<p>An MD5 digest of the non-URL-encoded message body string.</p>"
1006
- },
1007
- "Body":{
1008
- "shape":"String",
1009
- "documentation":"<p>The message's contents (not URL-encoded).</p>"
1010
- },
1011
- "Attributes":{
1012
- "shape":"AttributeMap",
1013
- "documentation":"<p><code>SenderId</code>, <code>SentTimestamp</code>, <code>ApproximateReceiveCount</code>, and/or <code>ApproximateFirstReceiveTimestamp</code>. <code>SentTimestamp</code> and <code>ApproximateFirstReceiveTimestamp</code> are each returned as an integer representing the <a href=\"http://en.wikipedia.org/wiki/Unix_time\">epoch time</a> in milliseconds.</p>",
1014
- "locationName":"Attribute"
1015
- },
1016
- "MD5OfMessageAttributes":{
1017
- "shape":"String",
1018
- "documentation":"<p>An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to <a href=\"http://www.faqs.org/rfcs/rfc1321.html\">http://www.faqs.org/rfcs/rfc1321.html</a>.</p>"
1019
- },
1020
- "MessageAttributes":{
1021
- "shape":"MessageAttributeMap",
1022
- "documentation":"<p>Each message attribute consists of a Name, Type, and Value. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributesNTV\">Message Attribute Items</a>.</p>",
1023
- "locationName":"MessageAttribute"
1024
- }
1025
- },
1026
- "documentation":"<p>An Amazon SQS message.</p>"
1027
- },
1028
- "MessageAttributeMap":{
1029
- "type":"map",
1030
- "key":{
1031
- "shape":"String",
1032
- "locationName":"Name"
1033
- },
1034
- "value":{
1035
- "shape":"MessageAttributeValue",
1036
- "locationName":"Value"
1037
- },
1038
- "flattened":true
1039
- },
1040
- "MessageAttributeName":{"type":"string"},
1041
- "MessageAttributeNameList":{
1042
- "type":"list",
1043
- "member":{
1044
- "shape":"MessageAttributeName",
1045
- "locationName":"MessageAttributeName"
1046
- },
1047
- "flattened":true
1048
- },
1049
- "MessageAttributeValue":{
1050
- "type":"structure",
1051
- "required":["DataType"],
1052
- "members":{
1053
- "StringValue":{
1054
- "shape":"String",
1055
- "documentation":"<p>Strings are Unicode with UTF8 binary encoding. For a list of code values, see <a href=\"http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters\">http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters</a>.</p>"
1056
- },
1057
- "BinaryValue":{
1058
- "shape":"Binary",
1059
- "documentation":"<p>Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.</p>"
1060
- },
1061
- "StringListValues":{
1062
- "shape":"StringList",
1063
- "documentation":"<p>Not implemented. Reserved for future use.</p>",
1064
- "flattened":true,
1065
- "locationName":"StringListValue"
1066
- },
1067
- "BinaryListValues":{
1068
- "shape":"BinaryList",
1069
- "documentation":"<p>Not implemented. Reserved for future use.</p>",
1070
- "flattened":true,
1071
- "locationName":"BinaryListValue"
1072
- },
1073
- "DataType":{
1074
- "shape":"String",
1075
- "documentation":"<p>Amazon SQS supports the following logical data types: String, Number, and Binary. In addition, you can append your own custom labels. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributes.DataTypes\">Message Attribute Data Types</a>.</p>"
1076
- }
1077
- },
1078
- "documentation":"<p>The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html\">SendMessage</a>.</p> <p>Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes).</p>"
1079
- },
1080
- "MessageList":{
1081
- "type":"list",
1082
- "member":{
1083
- "shape":"Message",
1084
- "locationName":"Message"
1085
- },
1086
- "flattened":true
1087
- },
1088
- "MessageNotInflight":{
1089
- "type":"structure",
1090
- "members":{
1091
- },
1092
- "error":{
1093
- "code":"AWS.SimpleQueueService.MessageNotInflight",
1094
- "httpStatusCode":400,
1095
- "senderFault":true
1096
- },
1097
- "exception":true,
1098
- "documentation":"<p>The message referred to is not in flight.</p>"
1099
- },
1100
- "OverLimit":{
1101
- "type":"structure",
1102
- "members":{
1103
- },
1104
- "error":{
1105
- "code":"OverLimit",
1106
- "httpStatusCode":403,
1107
- "senderFault":true
1108
- },
1109
- "exception":true,
1110
- "documentation":"<p>The action that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. <a>AddPermission</a> returns this error if the maximum number of permissions for the queue has already been reached. </p>"
1111
- },
1112
- "QueueAttributeName":{
1113
- "type":"string",
1114
- "enum":[
1115
- "Policy",
1116
- "VisibilityTimeout",
1117
- "MaximumMessageSize",
1118
- "MessageRetentionPeriod",
1119
- "ApproximateNumberOfMessages",
1120
- "ApproximateNumberOfMessagesNotVisible",
1121
- "CreatedTimestamp",
1122
- "LastModifiedTimestamp",
1123
- "QueueArn",
1124
- "ApproximateNumberOfMessagesDelayed",
1125
- "DelaySeconds",
1126
- "ReceiveMessageWaitTimeSeconds",
1127
- "RedrivePolicy"
1128
- ]
1129
- },
1130
- "QueueDeletedRecently":{
1131
- "type":"structure",
1132
- "members":{
1133
- },
1134
- "error":{
1135
- "code":"AWS.SimpleQueueService.QueueDeletedRecently",
1136
- "httpStatusCode":400,
1137
- "senderFault":true
1138
- },
1139
- "exception":true,
1140
- "documentation":"<p>You must wait 60 seconds after deleting a queue before you can create another with the same name.</p>"
1141
- },
1142
- "QueueDoesNotExist":{
1143
- "type":"structure",
1144
- "members":{
1145
- },
1146
- "error":{
1147
- "code":"AWS.SimpleQueueService.NonExistentQueue",
1148
- "httpStatusCode":400,
1149
- "senderFault":true
1150
- },
1151
- "exception":true,
1152
- "documentation":"<p>The queue referred to does not exist.</p>"
1153
- },
1154
- "QueueNameExists":{
1155
- "type":"structure",
1156
- "members":{
1157
- },
1158
- "error":{
1159
- "code":"QueueAlreadyExists",
1160
- "httpStatusCode":400,
1161
- "senderFault":true
1162
- },
1163
- "exception":true,
1164
- "documentation":"<p>A queue already exists with this name. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.</p>"
1165
- },
1166
- "QueueUrlList":{
1167
- "type":"list",
1168
- "member":{
1169
- "shape":"String",
1170
- "locationName":"QueueUrl"
1171
- },
1172
- "flattened":true
1173
- },
1174
- "ReceiptHandleIsInvalid":{
1175
- "type":"structure",
1176
- "members":{
1177
- },
1178
- "exception":true,
1179
- "documentation":"<p>The receipt handle provided is not valid.</p>"
1180
- },
1181
- "ReceiveMessageRequest":{
1182
- "type":"structure",
1183
- "required":["QueueUrl"],
1184
- "members":{
1185
- "QueueUrl":{
1186
- "shape":"String",
1187
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
1188
- },
1189
- "AttributeNames":{
1190
- "shape":"AttributeNameList",
1191
- "documentation":"<p>A list of attributes that need to be returned along with each message. </p> <p> The following lists the names and descriptions of the attributes that can be returned: </p> <ul> <li> <code>All</code> - returns all values.</li> <li> <code>ApproximateFirstReceiveTimestamp</code> - returns the time when the message was first received (epoch time in milliseconds).</li> <li> <code>ApproximateReceiveCount</code> - returns the number of times a message has been received but not deleted.</li> <li> <code>SenderId</code> - returns the AWS account number (or the IP address, if anonymous access is allowed) of the sender.</li> <li> <code>SentTimestamp</code> - returns the time when the message was sent (epoch time in milliseconds).</li> </ul>"
1192
- },
1193
- "MessageAttributeNames":{
1194
- "shape":"MessageAttributeNameList",
1195
- "documentation":"<p>The message attribute Name can contain the following characters: A-Z, a-z, 0-9, underscore(_), hyphen(-), and period (.). The message attribute name must not start or end with a period, and it should not have successive periods. The message attribute name is case sensitive and must be unique among all attribute names for the message. The message attribute name can be up to 256 characters long. Attribute names cannot start with \"AWS.\" or \"Amazon.\" because these prefixes are reserved for use by Amazon Web Services.</p>"
1196
- },
1197
- "MaxNumberOfMessages":{
1198
- "shape":"Integer",
1199
- "documentation":"<p>The maximum number of messages to return. Amazon SQS never returns more messages than this value but may return fewer. Values can be from 1 to 10. Default is 1.</p> <p>All of the messages are not necessarily returned.</p>"
1200
- },
1201
- "VisibilityTimeout":{
1202
- "shape":"Integer",
1203
- "documentation":"<p>The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a <code>ReceiveMessage</code> request.</p>"
1204
- },
1205
- "WaitTimeSeconds":{
1206
- "shape":"Integer",
1207
- "documentation":"<p>The duration (in seconds) for which the call will wait for a message to arrive in the queue before returning. If a message is available, the call will return sooner than WaitTimeSeconds.</p>"
1208
- }
1209
- }
1210
- },
1211
- "ReceiveMessageResult":{
1212
- "type":"structure",
1213
- "members":{
1214
- "Messages":{
1215
- "shape":"MessageList",
1216
- "documentation":"<p>A list of messages.</p>"
1217
- }
1218
- },
1219
- "documentation":"A list of received messages."
1220
- },
1221
- "RemovePermissionRequest":{
1222
- "type":"structure",
1223
- "required":[
1224
- "QueueUrl",
1225
- "Label"
1226
- ],
1227
- "members":{
1228
- "QueueUrl":{
1229
- "shape":"String",
1230
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
1231
- },
1232
- "Label":{
1233
- "shape":"String",
1234
- "documentation":"<p>The identification of the permission to remove. This is the label added with the <a>AddPermission</a> action.</p>"
1235
- }
1236
- }
1237
- },
1238
- "SendMessageBatchRequest":{
1239
- "type":"structure",
1240
- "required":[
1241
- "QueueUrl",
1242
- "Entries"
1243
- ],
1244
- "members":{
1245
- "QueueUrl":{
1246
- "shape":"String",
1247
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
1248
- },
1249
- "Entries":{
1250
- "shape":"SendMessageBatchRequestEntryList",
1251
- "documentation":"<p>A list of <a>SendMessageBatchRequestEntry</a> items.</p>"
1252
- }
1253
- }
1254
- },
1255
- "SendMessageBatchRequestEntry":{
1256
- "type":"structure",
1257
- "required":[
1258
- "Id",
1259
- "MessageBody"
1260
- ],
1261
- "members":{
1262
- "Id":{
1263
- "shape":"String",
1264
- "documentation":"<p>An identifier for the message in this batch. This is used to communicate the result. Note that the <code>Id</code>s of a batch request need to be unique within the request.</p>"
1265
- },
1266
- "MessageBody":{
1267
- "shape":"String",
1268
- "documentation":"<p>Body of the message.</p>"
1269
- },
1270
- "DelaySeconds":{
1271
- "shape":"Integer",
1272
- "documentation":"<p>The number of seconds for which the message has to be delayed.</p>"
1273
- },
1274
- "MessageAttributes":{
1275
- "shape":"MessageAttributeMap",
1276
- "documentation":"<p>Each message attribute consists of a Name, Type, and Value. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributesNTV\">Message Attribute Items</a>.</p>",
1277
- "locationName":"MessageAttribute"
1278
- }
1279
- },
1280
- "documentation":"<p>Contains the details of a single Amazon SQS message along with a <code>Id</code>. </p>"
1281
- },
1282
- "SendMessageBatchRequestEntryList":{
1283
- "type":"list",
1284
- "member":{
1285
- "shape":"SendMessageBatchRequestEntry",
1286
- "locationName":"SendMessageBatchRequestEntry"
1287
- },
1288
- "flattened":true
1289
- },
1290
- "SendMessageBatchResult":{
1291
- "type":"structure",
1292
- "required":[
1293
- "Successful",
1294
- "Failed"
1295
- ],
1296
- "members":{
1297
- "Successful":{
1298
- "shape":"SendMessageBatchResultEntryList",
1299
- "documentation":"<p>A list of <a>SendMessageBatchResultEntry</a> items.</p>"
1300
- },
1301
- "Failed":{
1302
- "shape":"BatchResultErrorEntryList",
1303
- "documentation":"<p>A list of <a>BatchResultErrorEntry</a> items with the error detail about each message that could not be enqueued.</p>"
1304
- }
1305
- },
1306
- "documentation":"<p>For each message in the batch, the response contains a <a>SendMessageBatchResultEntry</a> tag if the message succeeds or a <a>BatchResultErrorEntry</a> tag if the message fails.</p>"
1307
- },
1308
- "SendMessageBatchResultEntry":{
1309
- "type":"structure",
1310
- "required":[
1311
- "Id",
1312
- "MessageId",
1313
- "MD5OfMessageBody"
1314
- ],
1315
- "members":{
1316
- "Id":{
1317
- "shape":"String",
1318
- "documentation":"<p>An identifier for the message in this batch.</p>"
1319
- },
1320
- "MessageId":{
1321
- "shape":"String",
1322
- "documentation":"<p>An identifier for the message.</p>"
1323
- },
1324
- "MD5OfMessageBody":{
1325
- "shape":"String",
1326
- "documentation":"<p>An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to <a href=\"http://www.faqs.org/rfcs/rfc1321.html\">http://www.faqs.org/rfcs/rfc1321.html</a>.</p>"
1327
- },
1328
- "MD5OfMessageAttributes":{
1329
- "shape":"String",
1330
- "documentation":"<p>An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to <a href=\"http://www.faqs.org/rfcs/rfc1321.html\">http://www.faqs.org/rfcs/rfc1321.html</a>.</p>"
1331
- }
1332
- },
1333
- "documentation":"<p>Encloses a message ID for successfully enqueued message of a <a>SendMessageBatch</a>.</p>"
1334
- },
1335
- "SendMessageBatchResultEntryList":{
1336
- "type":"list",
1337
- "member":{
1338
- "shape":"SendMessageBatchResultEntry",
1339
- "locationName":"SendMessageBatchResultEntry"
1340
- },
1341
- "flattened":true
1342
- },
1343
- "SendMessageRequest":{
1344
- "type":"structure",
1345
- "required":[
1346
- "QueueUrl",
1347
- "MessageBody"
1348
- ],
1349
- "members":{
1350
- "QueueUrl":{
1351
- "shape":"String",
1352
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
1353
- },
1354
- "MessageBody":{
1355
- "shape":"String",
1356
- "documentation":"<p>The message to send. String maximum 256 KB in size. For a list of allowed characters, see the preceding important note.</p>"
1357
- },
1358
- "DelaySeconds":{
1359
- "shape":"Integer",
1360
- "documentation":"<p> The number of seconds (0 to 900 - 15 minutes) to delay a specific message. Messages with a positive <code>DelaySeconds</code> value become available for processing after the delay time is finished. If you don't specify a value, the default value for the queue applies. </p>"
1361
- },
1362
- "MessageAttributes":{
1363
- "shape":"MessageAttributeMap",
1364
- "documentation":"<p>Each message attribute consists of a Name, Type, and Value. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributesNTV\">Message Attribute Items</a>.</p>",
1365
- "locationName":"MessageAttribute"
1366
- }
1367
- }
1368
- },
1369
- "SendMessageResult":{
1370
- "type":"structure",
1371
- "members":{
1372
- "MD5OfMessageBody":{
1373
- "shape":"String",
1374
- "documentation":"<p>An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to <a href=\"http://www.faqs.org/rfcs/rfc1321.html\">http://www.faqs.org/rfcs/rfc1321.html</a>.</p>"
1375
- },
1376
- "MD5OfMessageAttributes":{
1377
- "shape":"String",
1378
- "documentation":"<p>An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to <a href=\"http://www.faqs.org/rfcs/rfc1321.html\">http://www.faqs.org/rfcs/rfc1321.html</a>.</p>"
1379
- },
1380
- "MessageId":{
1381
- "shape":"String",
1382
- "documentation":"<p> An element containing the message ID of the message sent to the queue. For more information, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ImportantIdentifiers.html\">Queue and Message Identifiers</a> in the <i>Amazon SQS Developer Guide</i>. </p>"
1383
- }
1384
- },
1385
- "documentation":"<p>The MD5OfMessageBody and MessageId elements.</p>"
1386
- },
1387
- "SetQueueAttributesRequest":{
1388
- "type":"structure",
1389
- "required":[
1390
- "QueueUrl",
1391
- "Attributes"
1392
- ],
1393
- "members":{
1394
- "QueueUrl":{
1395
- "shape":"String",
1396
- "documentation":"<p>The URL of the Amazon SQS queue to take action on.</p>"
1397
- },
1398
- "Attributes":{
1399
- "shape":"AttributeMap",
1400
- "documentation":"<p>A map of attributes to set.</p> <p>The following lists the names, descriptions, and values of the special request parameters the <code>SetQueueAttributes</code> action uses:</p> <p> <ul> <li> <code>DelaySeconds</code> - The time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes). The default for this attribute is 0 (zero).</li> <li> <code>MaximumMessageSize</code> - The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB).</li> <li> <code>MessageRetentionPeriod</code> - The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days).</li> <li> <code>Policy</code> - The queue's policy. A valid form-url-encoded policy. For more information about policy structure, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/BasicStructure.html\">Basic Policy Structure</a> in the <i>Amazon SQS Developer Guide</i>. For more information about form-url-encoding, see <a href=\"http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2.1\">http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2.1</a>.</li> <li> <code>ReceiveMessageWaitTimeSeconds</code> - The time for which a ReceiveMessage call will wait for a message to arrive. An integer from 0 to 20 (seconds). The default for this attribute is 0. </li> <li> <code>VisibilityTimeout</code> - The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default for this attribute is 30. For more information about visibility timeout, see Visibility Timeout in the <i>Amazon SQS Developer Guide</i>.</li> <li> <code>RedrivePolicy</code> - The parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the <i>Amazon SQS Developer Guide</i>.</li> </ul> </p>",
1401
- "locationName":"Attribute"
1402
- }
1403
- }
1404
- },
1405
- "String":{"type":"string"},
1406
- "StringList":{
1407
- "type":"list",
1408
- "member":{
1409
- "shape":"String",
1410
- "locationName":"StringListValue"
1411
- }
1412
- },
1413
- "TooManyEntriesInBatchRequest":{
1414
- "type":"structure",
1415
- "members":{
1416
- },
1417
- "error":{
1418
- "code":"AWS.SimpleQueueService.TooManyEntriesInBatchRequest",
1419
- "httpStatusCode":400,
1420
- "senderFault":true
1421
- },
1422
- "exception":true,
1423
- "documentation":"<p>Batch request contains more number of entries than permissible.</p>"
1424
- },
1425
- "UnsupportedOperation":{
1426
- "type":"structure",
1427
- "members":{
1428
- },
1429
- "error":{
1430
- "code":"AWS.SimpleQueueService.UnsupportedOperation",
1431
- "httpStatusCode":400,
1432
- "senderFault":true
1433
- },
1434
- "exception":true,
1435
- "documentation":"<p>Error code 400. Unsupported operation.</p>"
1436
- }
1437
- }
1438
- }