aws-sdk-core 2.6.9 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/apis/acm/2015-12-08/api-2.json +34 -3
  3. data/apis/acm/2015-12-08/paginators-1.json +2 -2
  4. data/apis/apigateway/2015-07-09/api-2.json +625 -17
  5. data/apis/application-autoscaling/2016-02-06/api-2.json +5 -2
  6. data/apis/appstream/2016-12-01/api-2.json +820 -0
  7. data/apis/appstream/2016-12-01/examples-1.json +5 -0
  8. data/apis/appstream/2016-12-01/waiters-2.json +55 -0
  9. data/apis/autoscaling/2011-01-01/api-2.json +1 -0
  10. data/apis/autoscaling/2011-01-01/resources-1.json +12 -1
  11. data/apis/batch/2016-08-10/api-2.json +885 -0
  12. data/apis/batch/2016-08-10/examples-1.json +589 -0
  13. data/apis/budgets/2016-10-20/api-2.json +696 -0
  14. data/apis/budgets/2016-10-20/examples-1.json +5 -0
  15. data/apis/cloudformation/2010-05-15/api-2.json +126 -11
  16. data/apis/cloudformation/2010-05-15/examples-1.json +153 -0
  17. data/apis/cloudformation/2010-05-15/resources-1.json +10 -1
  18. data/apis/cloudformation/2010-05-15/waiters-2.json +18 -96
  19. data/apis/cloudfront/2016-01-28/api-2.json +1 -0
  20. data/apis/cloudfront/2016-08-01/api-2.json +1 -0
  21. data/apis/cloudfront/2016-08-20/api-2.json +1 -0
  22. data/apis/cloudfront/2016-09-07/api-2.json +1 -0
  23. data/apis/cloudfront/2016-09-29/api-2.json +2599 -0
  24. data/apis/cloudfront/2016-09-29/examples-1.json +5 -0
  25. data/apis/cloudfront/2016-09-29/paginators-1.json +32 -0
  26. data/apis/cloudfront/2016-09-29/waiters-2.json +47 -0
  27. data/apis/cloudfront/2016-11-25/api-2.json +2665 -0
  28. data/apis/cloudfront/2016-11-25/examples-1.json +5 -0
  29. data/apis/cloudfront/2016-11-25/paginators-1.json +32 -0
  30. data/apis/cloudfront/2016-11-25/waiters-2.json +47 -0
  31. data/apis/cloudhsm/2014-05-30/api-2.json +2 -1
  32. data/apis/cloudsearch/2013-01-01/api-2.json +2 -1
  33. data/apis/cloudsearchdomain/2013-01-01/api-2.json +2 -1
  34. data/apis/cloudtrail/2013-11-01/api-2.json +109 -3
  35. data/apis/cloudtrail/2013-11-01/paginators-1.json +6 -0
  36. data/apis/codebuild/2016-10-06/api-2.json +702 -0
  37. data/apis/codebuild/2016-10-06/examples-1.json +5 -0
  38. data/apis/codecommit/2015-04-13/api-2.json +2 -1
  39. data/apis/codedeploy/2014-10-06/api-2.json +35 -6
  40. data/apis/codepipeline/2015-07-09/api-2.json +3 -2
  41. data/apis/cognito-identity/2014-06-30/api-2.json +84 -5
  42. data/apis/cognito-idp/2016-04-18/api-2.json +368 -5
  43. data/apis/cognito-sync/2014-06-30/api-2.json +2 -1
  44. data/apis/config/2014-11-12/api-2.json +40 -9
  45. data/apis/config/2014-11-12/paginators-1.json +2 -2
  46. data/apis/cur/2017-01-06/api-2.json +226 -0
  47. data/apis/cur/2017-01-06/examples-1.json +5 -0
  48. data/apis/cur/2017-01-06/paginators-1.json +9 -0
  49. data/apis/datapipeline/2012-10-29/api-2.json +2 -1
  50. data/apis/devicefarm/2015-06-23/api-2.json +2 -1
  51. data/apis/directconnect/2012-10-25/api-2.json +257 -10
  52. data/apis/discovery/2015-11-01/api-2.json +316 -5
  53. data/apis/dms/2016-01-01/api-2.json +45 -9
  54. data/apis/ds/2015-04-16/api-2.json +144 -1
  55. data/apis/dynamodb/2011-12-05/api-2.json +802 -0
  56. data/apis/dynamodb/2011-12-05/examples-1.json +5 -0
  57. data/apis/dynamodb/2011-12-05/paginators-1.json +26 -0
  58. data/apis/dynamodb/2011-12-05/waiters-2.json +35 -0
  59. data/apis/dynamodb/2012-08-10/api-2.json +115 -1
  60. data/apis/dynamodb/2012-08-10/examples-1.json +623 -0
  61. data/apis/dynamodb/2012-08-10/paginators-1.json +4 -4
  62. data/apis/ec2/2015-10-01/api-2.json +1 -0
  63. data/apis/ec2/2016-04-01/api-2.json +1 -0
  64. data/apis/ec2/2016-09-15/api-2.json +1 -0
  65. data/apis/ec2/2016-11-15/api-2.json +15037 -0
  66. data/apis/ec2/2016-11-15/examples-1.json +3740 -0
  67. data/apis/ec2/2016-11-15/paginators-1.json +138 -0
  68. data/apis/ec2/2016-11-15/resources-1.json +2582 -0
  69. data/apis/ec2/2016-11-15/waiters-2.json +593 -0
  70. data/apis/ecr/2015-09-21/api-2.json +17 -3
  71. data/apis/ecr/2015-09-21/paginators-1.json +12 -6
  72. data/apis/ecs/2014-11-13/api-2.json +183 -9
  73. data/apis/elasticache/2015-02-02/api-2.json +5 -2
  74. data/apis/elasticache/2015-02-02/examples-1.json +2963 -0
  75. data/apis/elasticbeanstalk/2010-12-01/api-2.json +123 -6
  76. data/apis/elasticfilesystem/2015-02-01/api-2.json +2 -1
  77. data/apis/elasticfilesystem/2015-02-01/examples-1.json +217 -0
  78. data/apis/elasticloadbalancing/2012-06-01/api-2.json +1 -0
  79. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +1 -0
  80. data/apis/elasticmapreduce/2009-03-31/api-2.json +322 -5
  81. data/apis/elastictranscoder/2012-09-25/api-2.json +44 -13
  82. data/apis/elastictranscoder/2012-09-25/examples-1.json +5 -0
  83. data/apis/email/2010-12-01/api-2.json +425 -4
  84. data/apis/es/2015-01-01/api-2.json +1 -0
  85. data/apis/events/2015-10-07/api-2.json +1 -0
  86. data/apis/firehose/2015-08-04/api-2.json +151 -4
  87. data/apis/firehose/2015-08-04/examples-1.json +5 -0
  88. data/apis/gamelift/2015-10-01/api-2.json +59 -1
  89. data/apis/glacier/2012-06-01/api-2.json +369 -779
  90. data/apis/glacier/2012-06-01/examples-1.json +806 -0
  91. data/apis/glacier/2012-06-01/paginators-1.json +5 -5
  92. data/apis/health/2016-08-04/api-2.json +547 -0
  93. data/apis/health/2016-08-04/examples-1.json +5 -0
  94. data/apis/health/2016-08-04/paginators-1.json +31 -0
  95. data/apis/iam/2010-05-08/api-2.json +209 -0
  96. data/apis/iam/2010-05-08/examples-1.json +1186 -0
  97. data/apis/importexport/2010-06-01/api-2.json +1 -0
  98. data/apis/inspector/2016-02-16/api-2.json +2 -1
  99. data/apis/inspector/2016-02-16/examples-1.json +1135 -0
  100. data/apis/iot-data/2015-05-28/api-2.json +1 -0
  101. data/apis/iot/2015-05-28/api-2.json +16 -0
  102. data/apis/kinesis/2013-12-02/api-2.json +80 -12
  103. data/apis/kinesisanalytics/2015-08-14/api-2.json +7 -2
  104. data/apis/kms/2014-11-01/api-2.json +2 -1
  105. data/apis/kms/2014-11-01/examples-1.json +810 -0
  106. data/apis/lambda/2014-11-11/api-2.json +1 -0
  107. data/apis/lambda/2015-03-31/api-2.json +162 -9
  108. data/apis/lambda/2015-03-31/examples-1.json +609 -0
  109. data/apis/lightsail/2016-11-28/api-2.json +2137 -0
  110. data/apis/lightsail/2016-11-28/examples-1.json +5 -0
  111. data/apis/logs/2014-03-28/api-2.json +113 -6
  112. data/apis/machinelearning/2014-12-12/api-2.json +1 -0
  113. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +5 -2
  114. data/apis/meteringmarketplace/2016-01-14/api-2.json +136 -0
  115. data/apis/monitoring/2010-08-01/api-2.json +27 -6
  116. data/apis/opsworks/2013-02-18/api-2.json +1 -0
  117. data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
  118. data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
  119. data/apis/pinpoint/2016-12-01/api-2.json +2753 -0
  120. data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
  121. data/apis/polly/2016-06-10/api-2.json +504 -0
  122. data/apis/polly/2016-06-10/examples-1.json +171 -0
  123. data/apis/rds/2013-01-10/api-2.json +2902 -0
  124. data/apis/rds/2013-01-10/examples-1.json +5 -0
  125. data/apis/rds/2013-01-10/paginators-1.json +97 -0
  126. data/apis/rds/2013-02-12/api-2.json +3058 -0
  127. data/apis/rds/2013-02-12/examples-1.json +5 -0
  128. data/apis/rds/2013-02-12/paginators-1.json +110 -0
  129. data/apis/rds/2013-09-09/api-2.json +3159 -0
  130. data/apis/rds/2013-09-09/examples-1.json +5 -0
  131. data/apis/rds/2013-09-09/paginators-1.json +110 -0
  132. data/apis/rds/2013-09-09/waiters-2.json +97 -0
  133. data/apis/rds/2014-09-01/api-2.json +3272 -0
  134. data/apis/rds/2014-09-01/examples-1.json +5 -0
  135. data/apis/rds/2014-09-01/paginators-1.json +4 -0
  136. data/apis/rds/2014-10-31/api-2.json +121 -6
  137. data/apis/rds/2014-10-31/examples-1.json +0 -444
  138. data/apis/rds/2014-10-31/paginators-1.json +18 -18
  139. data/apis/rds/2014-10-31/resources-1.json +1 -1
  140. data/apis/redshift/2012-12-01/api-2.json +1 -0
  141. data/apis/rekognition/2016-06-27/api-2.json +836 -0
  142. data/apis/rekognition/2016-06-27/examples-1.json +651 -0
  143. data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
  144. data/apis/route53/2013-04-01/api-2.json +186 -219
  145. data/apis/route53/2013-04-01/paginators-1.json +9 -9
  146. data/apis/route53domains/2014-05-15/api-2.json +1 -0
  147. data/apis/s3/2006-03-01/api-2.json +843 -23
  148. data/apis/sdb/2009-04-15/api-2.json +1 -0
  149. data/apis/servicecatalog/2015-12-10/api-2.json +1214 -29
  150. data/apis/shield/2016-06-02/api-2.json +494 -0
  151. data/apis/shield/2016-06-02/examples-1.json +5 -0
  152. data/apis/sms/2016-10-24/api-2.json +612 -0
  153. data/apis/sms/2016-10-24/examples-1.json +5 -0
  154. data/apis/sms/2016-10-24/paginators-1.json +28 -0
  155. data/apis/snowball/2016-06-30/api-2.json +283 -11
  156. data/apis/snowball/2016-06-30/examples-1.json +437 -0
  157. data/apis/sns/2010-03-31/api-2.json +1 -0
  158. data/apis/sqs/2012-11-05/api-2.json +74 -38
  159. data/apis/sqs/2012-11-05/examples-1.json +0 -613
  160. data/apis/sqs/2012-11-05/resources-1.json +232 -0
  161. data/apis/ssm/2014-11-06/api-2.json +4036 -536
  162. data/apis/states/2016-11-23/api-2.json +1021 -0
  163. data/apis/states/2016-11-23/examples-1.json +5 -0
  164. data/apis/states/2016-11-23/paginators-1.json +28 -0
  165. data/apis/storagegateway/2013-06-30/api-2.json +269 -6
  166. data/apis/storagegateway/2013-06-30/examples-1.json +1376 -0
  167. data/apis/streams.dynamodb/2012-08-10/api-2.json +2 -1
  168. data/apis/streams.dynamodb/2012-08-10/examples-1.json +207 -0
  169. data/apis/sts/2011-06-15/api-2.json +1 -0
  170. data/apis/sts/2011-06-15/examples-1.json +201 -0
  171. data/apis/support/2013-04-15/api-2.json +1 -0
  172. data/apis/swf/2012-01-25/api-2.json +1 -0
  173. data/apis/waf-regional/2016-11-28/api-2.json +2090 -0
  174. data/apis/waf-regional/2016-11-28/examples-1.json +1017 -0
  175. data/apis/waf/2015-08-24/api-2.json +3 -1
  176. data/apis/waf/2015-08-24/examples-1.json +1012 -0
  177. data/apis/workspaces/2015-04-08/api-2.json +1 -0
  178. data/apis/xray/2016-04-12/api-2.json +491 -0
  179. data/apis/xray/2016-04-12/examples-1.json +5 -0
  180. data/endpoints.json +781 -392
  181. data/lib/aws-sdk-core.rb +20 -0
  182. data/lib/aws-sdk-core/api/customizations.rb +16 -0
  183. data/lib/aws-sdk-core/api/docs/builder.rb +2 -1
  184. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +9 -0
  185. data/lib/aws-sdk-core/api/docs/crosslink.rb +43 -0
  186. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +11 -2
  187. data/lib/aws-sdk-core/appstream.rb +6 -0
  188. data/lib/aws-sdk-core/batch.rb +5 -0
  189. data/lib/aws-sdk-core/budgets.rb +5 -0
  190. data/lib/aws-sdk-core/client.rb +1 -0
  191. data/lib/aws-sdk-core/client_waiters.rb +5 -5
  192. data/lib/aws-sdk-core/cloudfront.rb +5 -5
  193. data/lib/aws-sdk-core/cloudfront/url_signer.rb +1 -1
  194. data/lib/aws-sdk-core/codebuild.rb +5 -0
  195. data/lib/aws-sdk-core/costandusagereportservice.rb +6 -0
  196. data/lib/aws-sdk-core/credential_provider_chain.rb +3 -3
  197. data/lib/aws-sdk-core/cur.rb +6 -0
  198. data/lib/aws-sdk-core/ec2.rb +6 -6
  199. data/lib/aws-sdk-core/elastictranscoder.rb +1 -0
  200. data/lib/aws-sdk-core/firehose.rb +1 -0
  201. data/lib/aws-sdk-core/glacier.rb +1 -0
  202. data/lib/aws-sdk-core/health.rb +6 -0
  203. data/lib/aws-sdk-core/lightsail.rb +5 -0
  204. data/lib/aws-sdk-core/opsworkscm.rb +5 -0
  205. data/lib/aws-sdk-core/partitions/region.rb +0 -12
  206. data/lib/aws-sdk-core/partitions/service.rb +1 -11
  207. data/lib/aws-sdk-core/pinpoint.rb +5 -0
  208. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +24 -55
  209. data/lib/aws-sdk-core/plugins/idempotency_token.rb +37 -0
  210. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +64 -0
  211. data/lib/aws-sdk-core/plugins/request_signer.rb +4 -0
  212. data/lib/aws-sdk-core/plugins/retry_errors.rb +1 -0
  213. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +1 -1
  214. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +1 -1
  215. data/lib/aws-sdk-core/polly.rb +13 -0
  216. data/lib/aws-sdk-core/polly/presigner.rb +70 -0
  217. data/lib/aws-sdk-core/rekognition.rb +6 -0
  218. data/lib/aws-sdk-core/rest/request/endpoint.rb +11 -66
  219. data/lib/aws-sdk-core/rest/request/querystring_builder.rb +90 -0
  220. data/lib/aws-sdk-core/shield.rb +5 -0
  221. data/lib/aws-sdk-core/signers/v4.rb +2 -1
  222. data/lib/aws-sdk-core/sms.rb +6 -0
  223. data/lib/aws-sdk-core/sqs.rb +1 -0
  224. data/lib/aws-sdk-core/states.rb +6 -0
  225. data/lib/aws-sdk-core/version.rb +1 -1
  226. data/lib/aws-sdk-core/wafregional.rb +5 -0
  227. data/lib/aws-sdk-core/xray.rb +5 -0
  228. data/lib/seahorse/client/net_http/connection_pool.rb +11 -7
  229. data/lib/seahorse/client/net_http/handler.rb +5 -2
  230. data/lib/seahorse/client/plugin_list.rb +3 -1
  231. data/lib/seahorse/client/response.rb +9 -20
  232. data/service-models.json +66 -2
  233. metadata +110 -2
@@ -1,618 +1,5 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "examples": {
4
- "AddPermission": [
5
- {
6
- "input": {
7
- "AWSAccountIds": [
8
- "12345EXAMPLE"
9
- ],
10
- "Actions": [
11
- "SendMessage"
12
- ],
13
- "Label": "SendMessagesFromMyQueue",
14
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
15
- },
16
- "output": {
17
- },
18
- "comments": {
19
- "input": {
20
- },
21
- "output": {
22
- }
23
- },
24
- "description": "This example allows the specified AWS account to send messages to the specified queue.",
25
- "id": "to-add-a-permission-to-a-queue-1472079068305",
26
- "title": "To add a permission to a queue"
27
- }
28
- ],
29
- "ChangeMessageVisibility": [
30
- {
31
- "input": {
32
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue",
33
- "ReceiptHandle": "AQEBTpyI...t6HyQg==",
34
- "VisibilityTimeout": 36000
35
- },
36
- "output": {
37
- },
38
- "comments": {
39
- "input": {
40
- },
41
- "output": {
42
- }
43
- },
44
- "description": "This example changes the visibility timeout of the specified message to 10 hours (10 hours * 60 minutes * 60 seconds).",
45
- "id": "to-change-the-visibility-timeout-of-a-single-message-1472079046292",
46
- "title": "To change the visibility timeout of a single message"
47
- }
48
- ],
49
- "ChangeMessageVisibilityBatch": [
50
- {
51
- "input": {
52
- "Entries": [
53
- {
54
- "Id": "FirstMessage",
55
- "ReceiptHandle": "AQEBhz2q...Jf3kaw==",
56
- "VisibilityTimeout": 36000
57
- },
58
- {
59
- "Id": "SecondMessage",
60
- "ReceiptHandle": "AQEBkTUH...HifSnw==",
61
- "VisibilityTimeout": 36000
62
- }
63
- ],
64
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
65
- },
66
- "output": {
67
- "Failed": [
68
-
69
- ],
70
- "Successful": [
71
-
72
- ]
73
- },
74
- "comments": {
75
- "input": {
76
- },
77
- "output": {
78
- }
79
- },
80
- "description": "This example changes the visibility timeout of the two specified messages to 10 hours (10 hours * 60 minutes * 60 seconds).",
81
- "id": "to-change-the-visibility-timeout-of-multiple-messages-1472079027081",
82
- "title": "To change the visibility timeout of multiple messages"
83
- }
84
- ],
85
- "CreateQueue": [
86
- {
87
- "input": {
88
- "Attributes": {
89
- "MessageRetentionPeriod": "259200",
90
- "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":\"1000\"}"
91
- },
92
- "QueueName": "MyQueue"
93
- },
94
- "output": {
95
- "QueueUrl": "https://queue.amazonaws.com/80398EXAMPLE/MyQueue"
96
- },
97
- "comments": {
98
- "input": {
99
- },
100
- "output": {
101
- }
102
- },
103
- "description": "The following operation creates an Amazon SQS queue named MyQueue.",
104
- "id": "to-create-an-sqs-queue-1472078982579",
105
- "title": "To create an Amazon SQS queue"
106
- }
107
- ],
108
- "DeleteMessage": [
109
- {
110
- "input": {
111
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue",
112
- "ReceiptHandle": "AQEBRXTo...q2doVA=="
113
- },
114
- "output": {
115
- },
116
- "comments": {
117
- "input": {
118
- },
119
- "output": {
120
- }
121
- },
122
- "description": "This example deletes the specified message.",
123
- "id": "to-delete-a-single-message-1472078961585",
124
- "title": "To delete a single message"
125
- }
126
- ],
127
- "DeleteMessageBatch": [
128
- {
129
- "input": {
130
- "Entries": [
131
- {
132
- "Id": "FirstMessage",
133
- "ReceiptHandle": "AQEB1mgl...Z4GuLw=="
134
- },
135
- {
136
- "Id": "SecondMessage",
137
- "ReceiptHandle": "AQEBLsYM...VQubAA=="
138
- }
139
- ],
140
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
141
- },
142
- "output": {
143
- "Failed": [
144
-
145
- ],
146
- "Successful": [
147
- {
148
- "Id": "FirstMessage"
149
- },
150
- {
151
- "Id": "SecondMessage"
152
- }
153
- ]
154
- },
155
- "comments": {
156
- "input": {
157
- },
158
- "output": {
159
- }
160
- },
161
- "description": "This example deletes the two specified messages.",
162
- "id": "to-delete-multiple-messages-1472078930327",
163
- "title": "To delete multiple messages"
164
- }
165
- ],
166
- "DeleteQueue": [
167
- {
168
- "input": {
169
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewerQueue"
170
- },
171
- "output": {
172
- },
173
- "comments": {
174
- "input": {
175
- },
176
- "output": {
177
- }
178
- },
179
- "description": "This example deletes the specified queue.",
180
- "id": "to-delete-a-queue-1472151853558",
181
- "title": "To delete a queue"
182
- }
183
- ],
184
- "GetQueueAttributes": [
185
- {
186
- "input": {
187
- "AttributeNames": [
188
- "All"
189
- ],
190
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
191
- },
192
- "output": {
193
- "Attributes": {
194
- "ApproximateNumberOfMessages": "0",
195
- "ApproximateNumberOfMessagesDelayed": "0",
196
- "ApproximateNumberOfMessagesNotVisible": "0",
197
- "CreatedTimestamp": "1442426968",
198
- "DelaySeconds": "0",
199
- "LastModifiedTimestamp": "1442426968",
200
- "MaximumMessageSize": "262144",
201
- "MessageRetentionPeriod": "345600",
202
- "QueueArn": "arn:aws:sqs:us-east-1:80398EXAMPLE:MyNewQueue",
203
- "ReceiveMessageWaitTimeSeconds": "0",
204
- "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":1000}",
205
- "VisibilityTimeout": "30"
206
- }
207
- },
208
- "comments": {
209
- "input": {
210
- },
211
- "output": {
212
- }
213
- },
214
- "description": "This example gets all attributes of the specified queue.",
215
- "id": "to-get-the-attributes-of-a-queue-1472149421128",
216
- "title": "To get the attributes of a queue"
217
- },
218
- {
219
- "input": {
220
- "AttributeNames": [
221
- "MaximumMessageSize VisibilityTimeout"
222
- ],
223
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue"
224
- },
225
- "output": {
226
- "Attributes": {
227
- "MaximumMessageSize": "262144",
228
- "VisibilityTimeout": "30"
229
- }
230
- },
231
- "comments": {
232
- "input": {
233
- },
234
- "output": {
235
- }
236
- },
237
- "description": "This example gets only the specified queue's maximum message size and visibility timeout attributes.",
238
- "id": "to-get-the-attributes-of-a-queue-1472517012839",
239
- "title": "To get the attributes of a queue"
240
- }
241
- ],
242
- "GetQueueUrl": [
243
- {
244
- "input": {
245
- "QueueName": "MyQueue",
246
- "QueueOwnerAWSAccountId": "123456789101"
247
- },
248
- "output": {
249
- "QueueUrl": "https://queue.amazonaws.com/123456789101/MyQueue"
250
- },
251
- "comments": {
252
- "input": {
253
- },
254
- "output": {
255
- }
256
- },
257
- "description": "This example gets the URL of the specified queue.",
258
- "id": "to-get-the-url-of-a-queue-1472078901091",
259
- "title": "To get the URL of a queue"
260
- }
261
- ],
262
- "ListDeadLetterSourceQueues": [
263
- {
264
- "input": {
265
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyDeadLetterQueue"
266
- },
267
- "output": {
268
- "queueUrls": [
269
- "https://queue.amazonaws.com/80398EXAMPLE/MyQueue",
270
- "https://queue.amazonaws.com/80398EXAMPLE/MyOtherQueue"
271
- ]
272
- },
273
- "comments": {
274
- "input": {
275
- },
276
- "output": {
277
- }
278
- },
279
- "description": "This example lists the source queues associated with the specified dead letter queue.",
280
- "id": "to-list-the-source-queues-of-a-dead-letter-queue-1472150435081",
281
- "title": "To list the source queues of a dead letter queue"
282
- }
283
- ],
284
- "ListQueues": [
285
- {
286
- "input": {
287
- "QueueNamePrefix": ""
288
- },
289
- "output": {
290
- "QueueUrls": [
291
- "https://queue.amazonaws.com/80398EXAMPLE/MyDeadLetterQueue",
292
- "https://queue.amazonaws.com/80398EXAMPLE/MyQueue",
293
- "https://queue.amazonaws.com/80398EXAMPLE/MyOtherQueue",
294
- "https://queue.amazonaws.com/80398EXAMPLE/TestQueue1",
295
- "https://queue.amazonaws.com/80398EXAMPLE/TestQueue2"
296
- ]
297
- },
298
- "comments": {
299
- "input": {
300
- },
301
- "output": {
302
- }
303
- },
304
- "description": "This example lists all queues.",
305
- "id": "to-list-queues-1472150595914",
306
- "title": "To list queues"
307
- },
308
- {
309
- "input": {
310
- "QueueNamePrefix": "My"
311
- },
312
- "output": {
313
- "QueueUrls": [
314
- "https://queue.amazonaws.com/80398EXAMPLE/MyDeadLetterQueue",
315
- "https://queue.amazonaws.com/80398EXAMPLE/MyQueue",
316
- "https://queue.amazonaws.com/80398EXAMPLE/MyOtherQueue"
317
- ]
318
- },
319
- "comments": {
320
- "input": {
321
- },
322
- "output": {
323
- }
324
- },
325
- "description": "This example lists only queues that start with "Ty".",
326
- "id": "to-list-queues-1472517240103",
327
- "title": "To list queues"
328
- }
329
- ],
330
- "PurgeQueue": [
331
- {
332
- "input": {
333
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue"
334
- },
335
- "output": {
336
- },
337
- "comments": {
338
- "input": {
339
- },
340
- "output": {
341
- }
342
- },
343
- "description": "This example deletes all messages in the specified queue.",
344
- "id": "to-purge-a-queue-1472150819702",
345
- "title": "To purge a queue"
346
- }
347
- ],
348
- "ReceiveMessage": [
349
- {
350
- "input": {
351
- "AttributeNames": [
352
- "All"
353
- ],
354
- "MaxNumberOfMessages": 10,
355
- "MessageAttributeNames": [
356
- "All"
357
- ],
358
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue",
359
- "VisibilityTimeout": 123,
360
- "WaitTimeSeconds": 123
361
- },
362
- "output": {
363
- "Messages": [
364
- {
365
- "Attributes": {
366
- "ApproximateFirstReceiveTimestamp": "1442428276921",
367
- "ApproximateReceiveCount": "5",
368
- "SenderId": "AIDAIAZKMSNQ7TEXAMPLE",
369
- "SentTimestamp": "1442428276921"
370
- },
371
- "Body": "My first message.",
372
- "MD5OfBody": "1000f835...a35411fa",
373
- "MD5OfMessageAttributes": "9424c491...26bc3ae7",
374
- "MessageAttributes": {
375
- "City": {
376
- "DataType": "String",
377
- "StringValue": "Any City"
378
- },
379
- "PostalCode": {
380
- "DataType": "String",
381
- "StringValue": "ABC123"
382
- }
383
- },
384
- "MessageId": "d6790f8d-d575-4f01-bc51-40122EXAMPLE",
385
- "ReceiptHandle": "AQEBzbVv...fqNzFw=="
386
- }
387
- ]
388
- },
389
- "comments": {
390
- "input": {
391
- },
392
- "output": {
393
- }
394
- },
395
- "description": "This example receives up to 10 available messages, returning all available attributes.",
396
- "id": "to-receive-a-message-1472151462717",
397
- "title": "To receive a message"
398
- },
399
- {
400
- "input": {
401
- "AttributeNames": [
402
- "SenderId SentTimestamp"
403
- ],
404
- "MaxNumberOfMessages": 123,
405
- "MessageAttributeNames": [
406
- "PostalCode"
407
- ],
408
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue",
409
- "VisibilityTimeout": 123,
410
- "WaitTimeSeconds": 123
411
- },
412
- "output": {
413
- "Messages": [
414
- {
415
- "Attributes": {
416
- "SenderId": "AIDAIAZKMSNQ7TEXAMPLE",
417
- "SentTimestamp": "1442428276921"
418
- },
419
- "Body": "My first message.",
420
- "MD5OfBody": "1000f835...a35411fa",
421
- "MD5OfMessageAttributes": "b8e89563...e088e74f",
422
- "MessageAttributes": {
423
- "PostalCode": {
424
- "DataType": "String",
425
- "StringValue": "ABC123"
426
- }
427
- },
428
- "MessageId": "d6790f8d-d575-4f01-bc51-40122EXAMPLE",
429
- "ReceiptHandle": "AQEB6nR4...HzlvZQ=="
430
- }
431
- ]
432
- },
433
- "comments": {
434
- "input": {
435
- },
436
- "output": {
437
- }
438
- },
439
- "description": "This example receives the next available message, returning only the SenderId and SentTimestamp attributes and the PostalCode message attribute.",
440
- "id": "to-receive-a-message-1472517398871",
441
- "title": "To receive a message"
442
- }
443
- ],
444
- "RemovePermission": [
445
- {
446
- "input": {
447
- "Label": "SendMessagesFromMyQueue",
448
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
449
- },
450
- "output": {
451
- },
452
- "comments": {
453
- "input": {
454
- },
455
- "output": {
456
- }
457
- },
458
- "description": "This example removes the permission with the specified label from the specified queue.",
459
- "id": "to-remove-a-permission-from-a-queue-1472151967252",
460
- "title": "To remove a permission from a queue"
461
- }
462
- ],
463
- "SendMessage": [
464
- {
465
- "input": {
466
- "DelaySeconds": 10,
467
- "MessageAttributes": {
468
- "City": {
469
- "DataType": "String",
470
- "StringValue": "Any City"
471
- },
472
- "Greeting": {
473
- "BinaryValue": "Hello, World!",
474
- "DataType": "Binary"
475
- },
476
- "Population": {
477
- "DataType": "Number",
478
- "StringValue": "1250800"
479
- }
480
- },
481
- "MessageBody": "Information about the largest city in Any Region.",
482
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
483
- },
484
- "output": {
485
- "MD5OfMessageAttributes": "00484c68...59e48f06",
486
- "MD5OfMessageBody": "51b0a325...39163aa0",
487
- "MessageId": "da68f62c-0c07-4bee-bf5f-7e856EXAMPLE"
488
- },
489
- "comments": {
490
- "input": {
491
- },
492
- "output": {
493
- }
494
- },
495
- "description": "This example sends a message with the specified message body, delay period, and message attributes to the specified queue.",
496
- "id": "to-send-a-message-to-a-queue-1472152022619",
497
- "title": "To send a message to a queue"
498
- }
499
- ],
500
- "SendMessageBatch": [
501
- {
502
- "input": {
503
- "Entries": [
504
- {
505
- "DelaySeconds": 10,
506
- "Id": "FuelReport-0001-2015-09-16T140731Z",
507
- "MessageAttributes": {
508
- "City": {
509
- "DataType": "String",
510
- "StringValue": "Any City"
511
- },
512
- "PostalCode": {
513
- "DataType": "String",
514
- "StringValue": "99065"
515
- },
516
- "PricePerGallon": {
517
- "DataType": "Number",
518
- "StringValue": "1.99"
519
- },
520
- "Region": {
521
- "DataType": "String",
522
- "StringValue": "WA"
523
- },
524
- "SellerName": {
525
- "DataType": "String",
526
- "StringValue": "Example Store"
527
- }
528
- },
529
- "MessageBody": "Fuel report for account 0001 on 2015-09-16 at 02:07:31 PM."
530
- },
531
- {
532
- "DelaySeconds": 10,
533
- "Id": "FuelReport-0002-2015-09-16T140930Z",
534
- "MessageAttributes": {
535
- "City": {
536
- "DataType": "String",
537
- "StringValue": "North Town"
538
- },
539
- "PostalCode": {
540
- "DataType": "String",
541
- "StringValue": "99123"
542
- },
543
- "PricePerGallon": {
544
- "DataType": "Number",
545
- "StringValue": "1.87"
546
- },
547
- "Region": {
548
- "DataType": "String",
549
- "StringValue": "WA"
550
- },
551
- "SellerName": {
552
- "DataType": "String",
553
- "StringValue": "Example Fuels"
554
- }
555
- },
556
- "MessageBody": "Fuel report for account 0002 on 2015-09-16 at 02:09:30 PM."
557
- }
558
- ],
559
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
560
- },
561
- "output": {
562
- "Failed": [
563
-
564
- ],
565
- "Successful": [
566
- {
567
- "Id": "FuelReport-0001-2015-09-16T140731Z",
568
- "MD5OfMessageAttributes": "10809b55...baf283ef",
569
- "MD5OfMessageBody": "203c4a38...7943237e",
570
- "MessageId": "d175070c-d6b8-4101-861d-adeb3EXAMPLE"
571
- },
572
- {
573
- "Id": "FuelReport-0002-2015-09-16T140930Z",
574
- "MD5OfMessageAttributes": "55623928...ae354a25",
575
- "MD5OfMessageBody": "2cf0159a...c1980595",
576
- "MessageId": "f9b7d55d-0570-413e-b9c5-a9264EXAMPLE"
577
- }
578
- ]
579
- },
580
- "comments": {
581
- "input": {
582
- },
583
- "output": {
584
- }
585
- },
586
- "description": "This example sends two messages with the specified message bodies, delay periods, and message attributes to the specified queue.",
587
- "id": "to-send-multiple-messages-1472152282144",
588
- "title": "To send multiple messages"
589
- }
590
- ],
591
- "SetQueueAttributes": [
592
- {
593
- "input": {
594
- "Attributes": {
595
- "DelaySeconds": "10",
596
- "MaximumMessageSize": "131072",
597
- "MessageRetentionPeriod": "259200",
598
- "ReceiveMessageWaitTimeSeconds": "20",
599
- "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":\"1000\"}",
600
- "VisibilityTimeout": "60"
601
- },
602
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue"
603
- },
604
- "output": {
605
- },
606
- "comments": {
607
- "input": {
608
- },
609
- "output": {
610
- }
611
- },
612
- "description": "This example sets the specified queue to a delivery delay of 10 seconds, a maximum message size of 128 KB (128 KB * 1,024 bytes), a message retention period of 3 days (3 days * 24 hours * 60 minutes * 60 seconds), a receive message wait time of 20 seconds, and a default visibility timeout of 60 seconds. This example also associates the specified dead letter queue with a maximum receive count of 1,000 messages.",
613
- "id": "to-set-the-attributes-of-a-queue-1472152379646",
614
- "title": "To set the attributes of a queue"
615
- }
616
- ]
617
4
  }
618
5
  }