aws-sdk 1.13.0 → 1.14.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.
- checksums.yaml +4 -4
- data/.yardopts +3 -3
- data/lib/aws/api_config/OpsWorks-2013-02-18.yml +55 -0
- data/lib/aws/api_config/SNS-2010-03-31.yml +0 -3
- data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +30 -0
- data/lib/aws/auto_scaling/client.rb +0 -530
- data/lib/aws/cloud_formation/client.rb +0 -356
- data/lib/aws/cloud_front/client.rb +0 -1567
- data/lib/aws/cloud_search/client.rb +0 -578
- data/lib/aws/cloud_watch/client.rb +0 -445
- data/lib/aws/data_pipeline/client.rb +0 -396
- data/lib/aws/direct_connect/client.rb +0 -248
- data/lib/aws/dynamo_db.rb +0 -1
- data/lib/aws/dynamo_db/client.rb +70 -1
- data/lib/aws/dynamo_db/client_v2.rb +1 -1
- data/lib/aws/ec2/client.rb +0 -3942
- data/lib/aws/ec2/reserved_instances_offering_collection.rb +9 -3
- data/lib/aws/ec2/tag_collection.rb +1 -1
- data/lib/aws/elastic_beanstalk/client.rb +0 -898
- data/lib/aws/elastic_transcoder/client.rb +0 -1755
- data/lib/aws/elasticache/client.rb +0 -947
- data/lib/aws/elb/client.rb +0 -509
- data/lib/aws/emr/client.rb +0 -314
- data/lib/aws/glacier/client.rb +0 -278
- data/lib/aws/iam/client.rb +0 -1155
- data/lib/aws/import_export/client.rb +0 -96
- data/lib/aws/ops_works/client.rb +0 -1255
- data/lib/aws/rds/client.rb +0 -2367
- data/lib/aws/redshift/client.rb +0 -1458
- data/lib/aws/route_53/client.rb +0 -420
- data/lib/aws/simple_db/client.rb +2 -250
- data/lib/aws/simple_email_service/client.rb +0 -282
- data/lib/aws/simple_workflow/client.rb +0 -1248
- data/lib/aws/sns/client.rb +0 -283
- data/lib/aws/sns/message.rb +1 -1
- data/lib/aws/sqs/client.rb +0 -255
- data/lib/aws/storage_gateway/client.rb +0 -582
- data/lib/aws/sts/client.rb +0 -183
- data/lib/aws/support/client.rb +0 -232
- data/lib/aws/version.rb +1 -1
- metadata +2 -3
- data/lib/aws/dynamo_db/client_base.rb +0 -92
data/lib/aws/sns/client.rb
CHANGED
@@ -26,289 +26,6 @@ module AWS
|
|
26
26
|
|
27
27
|
class Client::V20100331 < Client
|
28
28
|
|
29
|
-
# client methods #
|
30
|
-
|
31
|
-
# @!method add_permission(options = {})
|
32
|
-
# Calls the AddPermission API operation.
|
33
|
-
# @param [Hash] options
|
34
|
-
#
|
35
|
-
# * `:topic_arn` - *required* - (String)
|
36
|
-
# * `:label` - *required* - (String)
|
37
|
-
# * `:aws_account_id` - *required* - (Array<String>)
|
38
|
-
# * `:action_name` - *required* - (Array<String>)
|
39
|
-
# @return [Core::Response]
|
40
|
-
|
41
|
-
# @!method confirm_subscription(options = {})
|
42
|
-
# Calls the ConfirmSubscription API operation.
|
43
|
-
# @param [Hash] options
|
44
|
-
#
|
45
|
-
# * `:topic_arn` - *required* - (String)
|
46
|
-
# * `:token` - *required* - (String)
|
47
|
-
# * `:authenticate_on_unsubscribe` - (String)
|
48
|
-
# @return [Core::Response]
|
49
|
-
# The #data method of the response object returns
|
50
|
-
# a hash with the following structure:
|
51
|
-
#
|
52
|
-
# * `:subscription_arn` - (String)
|
53
|
-
|
54
|
-
# @!method create_platform_application(options = {})
|
55
|
-
# Calls the CreatePlatformApplication API operation.
|
56
|
-
# @param [Hash] options
|
57
|
-
#
|
58
|
-
# * `:name` - (String)
|
59
|
-
# * `:platform` - (String)
|
60
|
-
# * `:attributes` - (Hash<String,String>)
|
61
|
-
# @return [Core::Response]
|
62
|
-
# The #data method of the response object returns
|
63
|
-
# a hash with the following structure:
|
64
|
-
#
|
65
|
-
# * `:platform_application_arn` - (String)
|
66
|
-
|
67
|
-
# @!method create_platform_endpoint(options = {})
|
68
|
-
# Calls the CreatePlatformEndpoint API operation.
|
69
|
-
# @param [Hash] options
|
70
|
-
#
|
71
|
-
# * `:platform_application_arn` - (String)
|
72
|
-
# * `:token` - (String)
|
73
|
-
# * `:custom_user_data` - (String)
|
74
|
-
# * `:attributes` - (Hash<String,String>)
|
75
|
-
# @return [Core::Response]
|
76
|
-
# The #data method of the response object returns
|
77
|
-
# a hash with the following structure:
|
78
|
-
#
|
79
|
-
# * `:endpoint_arn` - (String)
|
80
|
-
|
81
|
-
# @!method create_topic(options = {})
|
82
|
-
# Calls the CreateTopic API operation.
|
83
|
-
# @param [Hash] options
|
84
|
-
#
|
85
|
-
# * `:name` - *required* - (String)
|
86
|
-
# @return [Core::Response]
|
87
|
-
# The #data method of the response object returns
|
88
|
-
# a hash with the following structure:
|
89
|
-
#
|
90
|
-
# * `:topic_arn` - (String)
|
91
|
-
|
92
|
-
# @!method delete_endpoint(options = {})
|
93
|
-
# Calls the DeleteEndpoint API operation.
|
94
|
-
# @param [Hash] options
|
95
|
-
#
|
96
|
-
# * `:endpoint_arn` - (String)
|
97
|
-
# @return [Core::Response]
|
98
|
-
|
99
|
-
# @!method delete_platform_application(options = {})
|
100
|
-
# Calls the DeletePlatformApplication API operation.
|
101
|
-
# @param [Hash] options
|
102
|
-
#
|
103
|
-
# * `:platform_application_arn` - (String)
|
104
|
-
# @return [Core::Response]
|
105
|
-
|
106
|
-
# @!method delete_topic(options = {})
|
107
|
-
# Calls the DeleteTopic API operation.
|
108
|
-
# @param [Hash] options
|
109
|
-
#
|
110
|
-
# * `:topic_arn` - *required* - (String)
|
111
|
-
# @return [Core::Response]
|
112
|
-
|
113
|
-
# @!method get_endpoint_attributes(options = {})
|
114
|
-
# Calls the GetEndpointAttributes API operation.
|
115
|
-
# @param [Hash] options
|
116
|
-
#
|
117
|
-
# * `:endpoint_arn` - (String)
|
118
|
-
# @return [Core::Response]
|
119
|
-
# The #data method of the response object returns
|
120
|
-
# a hash with the following structure:
|
121
|
-
#
|
122
|
-
# * `:attributes` - (Hash<String,String>)
|
123
|
-
|
124
|
-
# @!method get_platform_application_attributes(options = {})
|
125
|
-
# Calls the GetPlatformApplicationAttributes API operation.
|
126
|
-
# @param [Hash] options
|
127
|
-
#
|
128
|
-
# * `:platform_application_arn` - (String)
|
129
|
-
# @return [Core::Response]
|
130
|
-
# The #data method of the response object returns
|
131
|
-
# a hash with the following structure:
|
132
|
-
#
|
133
|
-
# * `:attributes` - (Hash<String,String>)
|
134
|
-
|
135
|
-
# @!method get_subscription_attributes(options = {})
|
136
|
-
# Calls the GetSubscriptionAttributes API operation.
|
137
|
-
# @param [Hash] options
|
138
|
-
#
|
139
|
-
# * `:subscription_arn` - *required* - (String)
|
140
|
-
# @return [Core::Response]
|
141
|
-
# The #data method of the response object returns
|
142
|
-
# a hash with the following structure:
|
143
|
-
#
|
144
|
-
# * `:attributes` - (Hash<String,String>)
|
145
|
-
|
146
|
-
# @!method get_topic_attributes(options = {})
|
147
|
-
# Calls the GetTopicAttributes API operation.
|
148
|
-
# @param [Hash] options
|
149
|
-
#
|
150
|
-
# * `:topic_arn` - *required* - (String)
|
151
|
-
# @return [Core::Response]
|
152
|
-
# The #data method of the response object returns
|
153
|
-
# a hash with the following structure:
|
154
|
-
#
|
155
|
-
# * `:attributes` - (Hash<String,String>)
|
156
|
-
|
157
|
-
# @!method list_endpoints_by_platform_application(options = {})
|
158
|
-
# Calls the ListEndpointsByPlatformApplication API operation.
|
159
|
-
# @param [Hash] options
|
160
|
-
#
|
161
|
-
# * `:platform_application_arn` - (String)
|
162
|
-
# @return [Core::Response]
|
163
|
-
# The #data method of the response object returns
|
164
|
-
# a hash with the following structure:
|
165
|
-
#
|
166
|
-
# * `:endpoints` - (Array<Hash>)
|
167
|
-
# * `:endpoint_arn` - (String)
|
168
|
-
# * `:attributes` - (Hash<String,String>)
|
169
|
-
# * `:next_token` - (String)
|
170
|
-
|
171
|
-
# @!method list_platform_applications(options = {})
|
172
|
-
# Calls the ListPlatformApplications API operation.
|
173
|
-
# @param [Hash] options
|
174
|
-
#
|
175
|
-
# * `:next_token` - (String)
|
176
|
-
# @return [Core::Response]
|
177
|
-
# The #data method of the response object returns
|
178
|
-
# a hash with the following structure:
|
179
|
-
#
|
180
|
-
# * `:platform_applications` - (Array<Hash>)
|
181
|
-
# * `:platform_application_arn` - (String)
|
182
|
-
# * `:attributes` - (Hash<String,String>)
|
183
|
-
|
184
|
-
# @!method list_subscriptions(options = {})
|
185
|
-
# Calls the ListSubscriptions API operation.
|
186
|
-
# @param [Hash] options
|
187
|
-
#
|
188
|
-
# * `:next_token` - (String)
|
189
|
-
# @return [Core::Response]
|
190
|
-
# The #data method of the response object returns
|
191
|
-
# a hash with the following structure:
|
192
|
-
#
|
193
|
-
# * `:subscriptions` - (Array<Hash>)
|
194
|
-
# * `:subscription_arn` - (String)
|
195
|
-
# * `:owner` - (String)
|
196
|
-
# * `:protocol` - (String)
|
197
|
-
# * `:endpoint` - (String)
|
198
|
-
# * `:topic_arn` - (String)
|
199
|
-
# * `:next_token` - (String)
|
200
|
-
|
201
|
-
# @!method list_subscriptions_by_topic(options = {})
|
202
|
-
# Calls the ListSubscriptionsByTopic API operation.
|
203
|
-
# @param [Hash] options
|
204
|
-
#
|
205
|
-
# * `:topic_arn` - *required* - (String)
|
206
|
-
# * `:next_token` - (String)
|
207
|
-
# @return [Core::Response]
|
208
|
-
# The #data method of the response object returns
|
209
|
-
# a hash with the following structure:
|
210
|
-
#
|
211
|
-
# * `:subscriptions` - (Array<Hash>)
|
212
|
-
# * `:subscription_arn` - (String)
|
213
|
-
# * `:owner` - (String)
|
214
|
-
# * `:protocol` - (String)
|
215
|
-
# * `:endpoint` - (String)
|
216
|
-
# * `:topic_arn` - (String)
|
217
|
-
# * `:next_token` - (String)
|
218
|
-
|
219
|
-
# @!method list_topics(options = {})
|
220
|
-
# Calls the ListTopics API operation.
|
221
|
-
# @param [Hash] options
|
222
|
-
#
|
223
|
-
# * `:next_token` - (String)
|
224
|
-
# @return [Core::Response]
|
225
|
-
# The #data method of the response object returns
|
226
|
-
# a hash with the following structure:
|
227
|
-
#
|
228
|
-
# * `:topics` - (Array<Hash>)
|
229
|
-
# * `:topic_arn` - (String)
|
230
|
-
# * `:next_token` - (String)
|
231
|
-
|
232
|
-
# @!method publish(options = {})
|
233
|
-
# Calls the Publish API operation.
|
234
|
-
# @param [Hash] options
|
235
|
-
#
|
236
|
-
# * `:topic_arn` - (String)
|
237
|
-
# * `:target_arn` - (String)
|
238
|
-
# * `:message` - *required* - (String)
|
239
|
-
# * `:subject` - (String)
|
240
|
-
# * `:message_structure` - (String)
|
241
|
-
# * `:attributes` - (Hash<String,String>)
|
242
|
-
# @return [Core::Response]
|
243
|
-
# The #data method of the response object returns
|
244
|
-
# a hash with the following structure:
|
245
|
-
#
|
246
|
-
# * `:message_id` - (String)
|
247
|
-
|
248
|
-
# @!method remove_permission(options = {})
|
249
|
-
# Calls the RemovePermission API operation.
|
250
|
-
# @param [Hash] options
|
251
|
-
#
|
252
|
-
# * `:topic_arn` - *required* - (String)
|
253
|
-
# * `:label` - *required* - (String)
|
254
|
-
# @return [Core::Response]
|
255
|
-
|
256
|
-
# @!method set_endpoint_attributes(options = {})
|
257
|
-
# Calls the SetEndpointAttributes API operation.
|
258
|
-
# @param [Hash] options
|
259
|
-
#
|
260
|
-
# * `:endpoint_arn` - (String)
|
261
|
-
# * `:attributes` - (Hash<String,String>)
|
262
|
-
# @return [Core::Response]
|
263
|
-
|
264
|
-
# @!method set_platform_application_attributes(options = {})
|
265
|
-
# Calls the SetPlatformApplicationAttributes API operation.
|
266
|
-
# @param [Hash] options
|
267
|
-
#
|
268
|
-
# * `:platform_application_arn` - (String)
|
269
|
-
# * `:attributes` - (Hash<String,String>)
|
270
|
-
# @return [Core::Response]
|
271
|
-
|
272
|
-
# @!method set_subscription_attributes(options = {})
|
273
|
-
# Calls the SetSubscriptionAttributes API operation.
|
274
|
-
# @param [Hash] options
|
275
|
-
#
|
276
|
-
# * `:subscription_arn` - *required* - (String)
|
277
|
-
# * `:attribute_name` - *required* - (String)
|
278
|
-
# * `:attribute_value` - (String)
|
279
|
-
# @return [Core::Response]
|
280
|
-
|
281
|
-
# @!method set_topic_attributes(options = {})
|
282
|
-
# Calls the SetTopicAttributes API operation.
|
283
|
-
# @param [Hash] options
|
284
|
-
#
|
285
|
-
# * `:topic_arn` - *required* - (String)
|
286
|
-
# * `:attribute_name` - *required* - (String)
|
287
|
-
# * `:attribute_value` - (String)
|
288
|
-
# @return [Core::Response]
|
289
|
-
|
290
|
-
# @!method subscribe(options = {})
|
291
|
-
# Calls the Subscribe API operation.
|
292
|
-
# @param [Hash] options
|
293
|
-
#
|
294
|
-
# * `:topic_arn` - *required* - (String)
|
295
|
-
# * `:protocol` - *required* - (String)
|
296
|
-
# * `:endpoint` - (String)
|
297
|
-
# @return [Core::Response]
|
298
|
-
# The #data method of the response object returns
|
299
|
-
# a hash with the following structure:
|
300
|
-
#
|
301
|
-
# * `:subscription_arn` - (String)
|
302
|
-
|
303
|
-
# @!method unsubscribe(options = {})
|
304
|
-
# Calls the Unsubscribe API operation.
|
305
|
-
# @param [Hash] options
|
306
|
-
#
|
307
|
-
# * `:subscription_arn` - *required* - (String)
|
308
|
-
# @return [Core::Response]
|
309
|
-
|
310
|
-
# end client methods #
|
311
|
-
|
312
29
|
define_client_methods('2010-03-31')
|
313
30
|
|
314
31
|
end
|
data/lib/aws/sns/message.rb
CHANGED
@@ -49,7 +49,7 @@ module AWS
|
|
49
49
|
self.extend FromAutoScaling if FromAutoScaling.applicable? @raw
|
50
50
|
end
|
51
51
|
|
52
|
-
# @param [String]
|
52
|
+
# @param [String] key Indexer into raw SNS JSON message.
|
53
53
|
# @return [String] the value of the SNS' field
|
54
54
|
def [] key
|
55
55
|
@raw[key]
|
data/lib/aws/sqs/client.rb
CHANGED
@@ -41,261 +41,6 @@ module AWS
|
|
41
41
|
|
42
42
|
class Client::V20121105 < Client
|
43
43
|
|
44
|
-
# client methods #
|
45
|
-
|
46
|
-
# @!method add_permission(options = {})
|
47
|
-
# Calls the AddPermission API operation.
|
48
|
-
# @param [Hash] options
|
49
|
-
#
|
50
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
51
|
-
# take action on.
|
52
|
-
# * `:label` - *required* - (String) The unique identification of the
|
53
|
-
# permission you're setting (e.g., AliceSendMessage). Constraints:
|
54
|
-
# Maximum 80 characters; alphanumeric characters, hyphens (-), and
|
55
|
-
# underscores (_) are allowed.
|
56
|
-
# * `:aws_account_ids` - *required* - (Array<String>) The AWS account
|
57
|
-
# number of the principal who will be given permission. The principal
|
58
|
-
# must have an AWS account, but does not need to be signed up for
|
59
|
-
# Amazon SQS.
|
60
|
-
# * `:actions` - *required* - (Array<String>) The action the client
|
61
|
-
# wants to allow for the specified principal.
|
62
|
-
# @return [Core::Response]
|
63
|
-
|
64
|
-
# @!method change_message_visibility(options = {})
|
65
|
-
# Calls the ChangeMessageVisibility API operation.
|
66
|
-
# @param [Hash] options
|
67
|
-
#
|
68
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
69
|
-
# take action on.
|
70
|
-
# * `:receipt_handle` - *required* - (String) The receipt handle
|
71
|
-
# associated with the message whose visibility timeout should be
|
72
|
-
# changed.
|
73
|
-
# * `:visibility_timeout` - *required* - (Integer) The new value (in
|
74
|
-
# seconds) for the message's visibility timeout.
|
75
|
-
# @return [Core::Response]
|
76
|
-
|
77
|
-
# @!method change_message_visibility_batch(options = {})
|
78
|
-
# Calls the ChangeMessageVisibilityBatch API operation.
|
79
|
-
# @param [Hash] options
|
80
|
-
#
|
81
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
82
|
-
# take action on.
|
83
|
-
# * `:entries` - *required* - (Array<Hash>) A list of receipt handles
|
84
|
-
# of the messages for which the visibility timeout must be changed.
|
85
|
-
# * `:id` - *required* - (String) An identifier for this particular
|
86
|
-
# receipt handle. This is used to communicate the result. Note that
|
87
|
-
# the Ids of a batch request need to be unique within the request.
|
88
|
-
# * `:receipt_handle` - *required* - (String) A receipt handle.
|
89
|
-
# * `:visibility_timeout` - (Integer) The new value (in seconds) for
|
90
|
-
# the message's visibility timeout.
|
91
|
-
# @return [Core::Response]
|
92
|
-
# The #data method of the response object returns
|
93
|
-
# a hash with the following structure:
|
94
|
-
#
|
95
|
-
# * `:successful` - (Array<Hash>)
|
96
|
-
# * `:id` - (String)
|
97
|
-
# * `:failed` - (Array<Hash>)
|
98
|
-
# * `:id` - (String)
|
99
|
-
# * `:sender_fault` - (Boolean)
|
100
|
-
# * `:code` - (String)
|
101
|
-
# * `:message` - (String)
|
102
|
-
|
103
|
-
# @!method create_queue(options = {})
|
104
|
-
# Calls the CreateQueue API operation.
|
105
|
-
# @param [Hash] options
|
106
|
-
#
|
107
|
-
# * `:queue_name` - *required* - (String) The name for the queue to be
|
108
|
-
# created.
|
109
|
-
# * `:attributes` - (Hash<String,String>) A map of attributes with
|
110
|
-
# their corresponding values.
|
111
|
-
# @return [Core::Response]
|
112
|
-
# The #data method of the response object returns
|
113
|
-
# a hash with the following structure:
|
114
|
-
#
|
115
|
-
# * `:queue_url` - (String)
|
116
|
-
|
117
|
-
# @!method delete_message(options = {})
|
118
|
-
# Calls the DeleteMessage API operation.
|
119
|
-
# @param [Hash] options
|
120
|
-
#
|
121
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
122
|
-
# take action on.
|
123
|
-
# * `:receipt_handle` - *required* - (String) The receipt handle
|
124
|
-
# associated with the message to delete.
|
125
|
-
# @return [Core::Response]
|
126
|
-
|
127
|
-
# @!method delete_message_batch(options = {})
|
128
|
-
# Calls the DeleteMessageBatch API operation.
|
129
|
-
# @param [Hash] options
|
130
|
-
#
|
131
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
132
|
-
# take action on.
|
133
|
-
# * `:entries` - *required* - (Array<Hash>) A list of receipt handles
|
134
|
-
# for the messages to be deleted.
|
135
|
-
# * `:id` - *required* - (String) An identifier for this particular
|
136
|
-
# receipt handle. This is used to communicate the result. Note that
|
137
|
-
# the Ids of a batch request need to be unique within the request.
|
138
|
-
# * `:receipt_handle` - *required* - (String) A receipt handle.
|
139
|
-
# @return [Core::Response]
|
140
|
-
# The #data method of the response object returns
|
141
|
-
# a hash with the following structure:
|
142
|
-
#
|
143
|
-
# * `:successful` - (Array<Hash>)
|
144
|
-
# * `:id` - (String)
|
145
|
-
# * `:failed` - (Array<Hash>)
|
146
|
-
# * `:id` - (String)
|
147
|
-
# * `:sender_fault` - (Boolean)
|
148
|
-
# * `:code` - (String)
|
149
|
-
# * `:message` - (String)
|
150
|
-
|
151
|
-
# @!method delete_queue(options = {})
|
152
|
-
# Calls the DeleteQueue API operation.
|
153
|
-
# @param [Hash] options
|
154
|
-
#
|
155
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
156
|
-
# take action on.
|
157
|
-
# @return [Core::Response]
|
158
|
-
|
159
|
-
# @!method get_queue_attributes(options = {})
|
160
|
-
# Calls the GetQueueAttributes API operation.
|
161
|
-
# @param [Hash] options
|
162
|
-
#
|
163
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
164
|
-
# take action on.
|
165
|
-
# * `:attribute_names` - (Array<String>) A list of attributes to
|
166
|
-
# retrieve information for.
|
167
|
-
# @return [Core::Response]
|
168
|
-
# The #data method of the response object returns
|
169
|
-
# a hash with the following structure:
|
170
|
-
#
|
171
|
-
# * `:attributes` - (Hash<String,String>)
|
172
|
-
|
173
|
-
# @!method get_queue_url(options = {})
|
174
|
-
# Calls the GetQueueUrl API operation.
|
175
|
-
# @param [Hash] options
|
176
|
-
#
|
177
|
-
# * `:queue_name` - *required* - (String) The name of the queue whose
|
178
|
-
# URL must be fetched.
|
179
|
-
# * `:queue_owner_aws_account_id` - (String) The AWS account number of
|
180
|
-
# the queue's owner.
|
181
|
-
# @return [Core::Response]
|
182
|
-
# The #data method of the response object returns
|
183
|
-
# a hash with the following structure:
|
184
|
-
#
|
185
|
-
# * `:queue_url` - (String)
|
186
|
-
|
187
|
-
# @!method list_queues(options = {})
|
188
|
-
# Calls the ListQueues API operation.
|
189
|
-
# @param [Hash] options
|
190
|
-
#
|
191
|
-
# * `:queue_name_prefix` - (String) A string to use for filtering the
|
192
|
-
# list results. Only those queues whose name begins with the
|
193
|
-
# specified string are returned.
|
194
|
-
# @return [Core::Response]
|
195
|
-
# The #data method of the response object returns
|
196
|
-
# a hash with the following structure:
|
197
|
-
#
|
198
|
-
# * `:queue_urls` - (Array<String>)
|
199
|
-
|
200
|
-
# @!method receive_message(options = {})
|
201
|
-
# Calls the ReceiveMessage API operation.
|
202
|
-
# @param [Hash] options
|
203
|
-
#
|
204
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
205
|
-
# take action on.
|
206
|
-
# * `:attribute_names` - (Array<String>) A list of attributes that need
|
207
|
-
# to be returned along with each message. The set of valid attributes
|
208
|
-
# are [SenderId, ApproximateFirstReceiveTimestamp,
|
209
|
-
# ApproximateReceiveCount, SentTimestamp].
|
210
|
-
# * `:max_number_of_messages` - (Integer) The maximum number of
|
211
|
-
# messages to return. Amazon SQS never returns more messages than
|
212
|
-
# this value but may return fewer. All of the messages are not
|
213
|
-
# necessarily returned.
|
214
|
-
# * `:visibility_timeout` - (Integer) The duration (in seconds) that
|
215
|
-
# the received messages are hidden from subsequent retrieve requests
|
216
|
-
# after being retrieved by a ReceiveMessage request.
|
217
|
-
# * `:wait_time_seconds` - (Integer) The duration (in seconds) for
|
218
|
-
# which the call will wait for a message to arrive in the queue
|
219
|
-
# before returning. If a message is available, the call will return
|
220
|
-
# sooner than WaitTimeSeconds.
|
221
|
-
# @return [Core::Response]
|
222
|
-
# The #data method of the response object returns
|
223
|
-
# a hash with the following structure:
|
224
|
-
#
|
225
|
-
# * `:messages` - (Array<Hash>)
|
226
|
-
# * `:message_id` - (String)
|
227
|
-
# * `:receipt_handle` - (String)
|
228
|
-
# * `:md5_of_body` - (String)
|
229
|
-
# * `:body` - (String)
|
230
|
-
# * `:attributes` - (Hash<String,String>)
|
231
|
-
|
232
|
-
# @!method remove_permission(options = {})
|
233
|
-
# Calls the RemovePermission API operation.
|
234
|
-
# @param [Hash] options
|
235
|
-
#
|
236
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
237
|
-
# take action on.
|
238
|
-
# * `:label` - *required* - (String) The identification of the
|
239
|
-
# permission to remove. This is the label added with the
|
240
|
-
# AddPermission operation.
|
241
|
-
# @return [Core::Response]
|
242
|
-
|
243
|
-
# @!method send_message(options = {})
|
244
|
-
# Calls the SendMessage API operation.
|
245
|
-
# @param [Hash] options
|
246
|
-
#
|
247
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
248
|
-
# take action on.
|
249
|
-
# * `:message_body` - *required* - (String) The message to send.
|
250
|
-
# * `:delay_seconds` - (Integer) The number of seconds the message has
|
251
|
-
# to be delayed.
|
252
|
-
# @return [Core::Response]
|
253
|
-
# The #data method of the response object returns
|
254
|
-
# a hash with the following structure:
|
255
|
-
#
|
256
|
-
# * `:md5_of_message_body` - (String)
|
257
|
-
# * `:message_id` - (String)
|
258
|
-
|
259
|
-
# @!method send_message_batch(options = {})
|
260
|
-
# Calls the SendMessageBatch API operation.
|
261
|
-
# @param [Hash] options
|
262
|
-
#
|
263
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
264
|
-
# take action on.
|
265
|
-
# * `:entries` - *required* - (Array<Hash>) A list of
|
266
|
-
# SendMessageBatchRequestEntrys.
|
267
|
-
# * `:id` - *required* - (String) An identifier for the message in
|
268
|
-
# this batch. This is used to communicate the result. Note that the
|
269
|
-
# the Ids of a batch request need to be unique within the request.
|
270
|
-
# * `:message_body` - *required* - (String) Body of the message.
|
271
|
-
# * `:delay_seconds` - (Integer) The number of seconds for which the
|
272
|
-
# message has to be delayed.
|
273
|
-
# @return [Core::Response]
|
274
|
-
# The #data method of the response object returns
|
275
|
-
# a hash with the following structure:
|
276
|
-
#
|
277
|
-
# * `:successful` - (Array<Hash>)
|
278
|
-
# * `:id` - (String)
|
279
|
-
# * `:message_id` - (String)
|
280
|
-
# * `:md5_of_message_body` - (String)
|
281
|
-
# * `:failed` - (Array<Hash>)
|
282
|
-
# * `:id` - (String)
|
283
|
-
# * `:sender_fault` - (Boolean)
|
284
|
-
# * `:code` - (String)
|
285
|
-
# * `:message` - (String)
|
286
|
-
|
287
|
-
# @!method set_queue_attributes(options = {})
|
288
|
-
# Calls the SetQueueAttributes API operation.
|
289
|
-
# @param [Hash] options
|
290
|
-
#
|
291
|
-
# * `:queue_url` - *required* - (String) The URL of the SQS queue to
|
292
|
-
# take action on.
|
293
|
-
# * `:attributes` - *required* - (Hash<String,String>) A map of
|
294
|
-
# attributes to set.
|
295
|
-
# @return [Core::Response]
|
296
|
-
|
297
|
-
# end client methods #
|
298
|
-
|
299
44
|
define_client_methods('2012-11-05')
|
300
45
|
|
301
46
|
end
|