aws-sdk-core 2.0.18 → 2.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/apis/CloudFormation.resources.json +55 -20
  3. data/apis/CloudFront.waiters.json +35 -17
  4. data/apis/DynamoDB.waiters.json +27 -17
  5. data/apis/EC2.api.json +5 -0
  6. data/apis/EC2.resources.json +449 -319
  7. data/apis/EC2.waiters.json +389 -139
  8. data/apis/{EMR.waiters2.json → EMR.waiters.json} +0 -0
  9. data/apis/ElasticTranscoder.api.json +34 -3
  10. data/apis/ElasticTranscoder.waiters.json +22 -8
  11. data/apis/Glacier.resources.json +215 -117
  12. data/apis/Glacier.waiters.json +31 -15
  13. data/apis/IAM.resources.json +380 -169
  14. data/apis/{Kinesis.waiters2.json → Kinesis.waiters.json} +0 -0
  15. data/apis/OpsWorks.resources.json +51 -17
  16. data/apis/RDS.waiters.json +87 -26
  17. data/apis/Redshift.waiters.json +54 -29
  18. data/apis/S3.resources.json +404 -143
  19. data/apis/S3.waiters.json +47 -16
  20. data/apis/SES.waiters.json +11 -7
  21. data/apis/SNS.resources.json +67 -33
  22. data/apis/SQS.resources.json +57 -30
  23. data/lib/aws-sdk-core.rb +1 -0
  24. data/lib/aws-sdk-core/api/documenter.rb +4 -3
  25. data/lib/aws-sdk-core/api/service_customizations.rb +0 -6
  26. data/lib/aws-sdk-core/client_waiters.rb +65 -50
  27. data/lib/aws-sdk-core/emr.rb +1 -0
  28. data/lib/aws-sdk-core/errors.rb +4 -0
  29. data/lib/aws-sdk-core/instance_profile_credentials.rb +1 -0
  30. data/lib/aws-sdk-core/kinesis.rb +1 -0
  31. data/lib/aws-sdk-core/paging/pager.rb +5 -1
  32. data/lib/aws-sdk-core/refreshing_credentials.rb +2 -0
  33. data/lib/aws-sdk-core/version.rb +1 -1
  34. data/lib/aws-sdk-core/waiters/errors.rb +50 -12
  35. data/lib/aws-sdk-core/waiters/poller.rb +105 -0
  36. data/lib/aws-sdk-core/waiters/provider.rb +11 -30
  37. data/lib/aws-sdk-core/waiters/waiter.rb +42 -102
  38. metadata +5 -12
  39. data/apis/CloudFront.waiters2.json +0 -47
  40. data/apis/DynamoDB.waiters2.json +0 -35
  41. data/apis/EC2.waiters2.json +0 -341
  42. data/apis/ElasticTranscoder.waiters2.json +0 -30
  43. data/apis/RDS.waiters2.json +0 -97
  44. data/apis/Redshift.waiters2.json +0 -97
  45. data/apis/S3.waiters2.json +0 -63
  46. data/apis/SES.waiters2.json +0 -18
@@ -1,32 +1,63 @@
1
1
  {
2
+ "version": 2,
2
3
  "waiters": {
3
- "__default__": {
4
- "interval": 5,
5
- "max_attempts": 20
6
- },
7
4
  "BucketExists": {
5
+ "delay": 5,
8
6
  "operation": "HeadBucket",
9
- "ignore_errors": [
10
- "NoSuchBucket"
11
- ],
12
- "success_type": "output"
7
+ "maxAttempts": 20,
8
+ "acceptors": [
9
+ {
10
+ "expected": 200,
11
+ "matcher": "status",
12
+ "state": "success"
13
+ },
14
+ {
15
+ "expected": 404,
16
+ "matcher": "status",
17
+ "state": "retry"
18
+ }
19
+ ]
13
20
  },
14
21
  "BucketNotExists": {
22
+ "delay": 5,
15
23
  "operation": "HeadBucket",
16
- "success_type": "error",
17
- "success_value": "NoSuchBucket"
24
+ "maxAttempts": 20,
25
+ "acceptors": [
26
+ {
27
+ "expected": 404,
28
+ "matcher": "status",
29
+ "state": "success"
30
+ }
31
+ ]
18
32
  },
19
33
  "ObjectExists": {
34
+ "delay": 5,
20
35
  "operation": "HeadObject",
21
- "ignore_errors": [
22
- "NoSuchKey"
23
- ],
24
- "success_type": "output"
36
+ "maxAttempts": 20,
37
+ "acceptors": [
38
+ {
39
+ "expected": 200,
40
+ "matcher": "status",
41
+ "state": "success"
42
+ },
43
+ {
44
+ "expected": 404,
45
+ "matcher": "status",
46
+ "state": "retry"
47
+ }
48
+ ]
25
49
  },
26
50
  "ObjectNotExists": {
51
+ "delay": 5,
27
52
  "operation": "HeadObject",
28
- "success_type": "error",
29
- "success_value": "NoSuchKey"
53
+ "maxAttempts": 20,
54
+ "acceptors": [
55
+ {
56
+ "expected": 404,
57
+ "matcher": "status",
58
+ "state": "success"
59
+ }
60
+ ]
30
61
  }
31
62
  }
32
63
  }
@@ -1,14 +1,18 @@
1
1
  {
2
+ "version": 2,
2
3
  "waiters": {
3
- "__default__": {
4
- "interval": 3,
5
- "max_attempts": 20
6
- },
7
4
  "IdentityExists": {
5
+ "delay": 3,
8
6
  "operation": "GetIdentityVerificationAttributes",
9
- "success_type": "output",
10
- "success_path": "VerificationAttributes[].VerificationStatus",
11
- "success_value": true
7
+ "maxAttempts": 20,
8
+ "acceptors": [
9
+ {
10
+ "expected": "Success",
11
+ "matcher": "pathAll",
12
+ "state": "success",
13
+ "argument": "VerificationAttributes.*.VerificationStatus"
14
+ }
15
+ ]
12
16
  }
13
17
  }
14
18
  }
@@ -6,7 +6,7 @@
6
6
  "resource": {
7
7
  "type": "PlatformApplication",
8
8
  "identifiers": [
9
- { "target": "Arn", "sourceType": "responsePath", "source": "PlatformApplicationArn" }
9
+ { "target": "Arn", "source": "response", "path": "PlatformApplicationArn" }
10
10
  ]
11
11
  }
12
12
  },
@@ -15,7 +15,41 @@
15
15
  "resource": {
16
16
  "type": "Topic",
17
17
  "identifiers": [
18
- { "target": "Arn", "sourceType": "responsePath", "source": "TopicArn" }
18
+ { "target": "Arn", "source": "response", "path": "TopicArn" }
19
+ ]
20
+ }
21
+ }
22
+ },
23
+ "has": {
24
+ "PlatformApplication": {
25
+ "resource": {
26
+ "type": "PlatformApplication",
27
+ "identifiers": [
28
+ { "target": "Arn", "source": "input" }
29
+ ]
30
+ }
31
+ },
32
+ "PlatformEndpoint": {
33
+ "resource": {
34
+ "type": "PlatformEndpoint",
35
+ "identifiers": [
36
+ { "target": "Arn", "source": "input" }
37
+ ]
38
+ }
39
+ },
40
+ "Subscription": {
41
+ "resource": {
42
+ "type": "Subscription",
43
+ "identifiers": [
44
+ { "target": "Arn", "source": "input" }
45
+ ]
46
+ }
47
+ },
48
+ "Topic": {
49
+ "resource": {
50
+ "type": "Topic",
51
+ "identifiers": [
52
+ { "target": "Arn", "source": "input" }
19
53
  ]
20
54
  }
21
55
  }
@@ -26,7 +60,7 @@
26
60
  "resource": {
27
61
  "type": "PlatformApplication",
28
62
  "identifiers": [
29
- { "target": "Arn", "sourceType": "responsePath", "source": "PlatformApplications[].PlatformApplicationArn" }
63
+ { "target": "Arn", "source": "response", "path": "PlatformApplications[].PlatformApplicationArn" }
30
64
  ]
31
65
  }
32
66
  },
@@ -35,8 +69,8 @@
35
69
  "resource": {
36
70
  "type": "Subscription",
37
71
  "identifiers": [
38
- { "target": "TopicArn", "sourceType": "responsePath", "source": "Subscriptions[].TopicArn" },
39
- { "target": "Arn", "sourceType": "responsePath", "source": "Subscriptions[].SubscriptionArn" }
72
+ { "target": "TopicArn", "source": "response", "path": "Subscriptions[].TopicArn" },
73
+ { "target": "Arn", "source": "response", "path": "Subscriptions[].SubscriptionArn" }
40
74
  ]
41
75
  }
42
76
  },
@@ -45,7 +79,7 @@
45
79
  "resource": {
46
80
  "type": "Topic",
47
81
  "identifiers": [
48
- { "target": "Arn", "sourceType": "responsePath", "source": "Topics[].TopicArn" }
82
+ { "target": "Arn", "source": "response", "path": "Topics[].TopicArn" }
49
83
  ]
50
84
  }
51
85
  }
@@ -61,7 +95,7 @@
61
95
  "request": {
62
96
  "operation": "GetPlatformApplicationAttributes",
63
97
  "params": [
64
- { "target": "PlatformApplicationArn", "sourceType": "identifier", "source": "Arn" }
98
+ { "target": "PlatformApplicationArn", "source": "identifier", "name": "Arn" }
65
99
  ]
66
100
  },
67
101
  "path": "@"
@@ -71,14 +105,14 @@
71
105
  "request": {
72
106
  "operation": "CreatePlatformEndpoint",
73
107
  "params": [
74
- { "target": "PlatformApplicationArn", "sourceType": "identifier", "source": "Arn" }
108
+ { "target": "PlatformApplicationArn", "source": "identifier", "name": "Arn" }
75
109
  ]
76
110
  },
77
111
  "resource": {
78
112
  "type": "PlatformEndpoint",
79
113
  "identifiers": [
80
- { "target": "PlatformApplicationArn", "sourceType": "identifier", "source": "Arn" },
81
- { "target": "Arn", "sourceType": "responsePath", "source": "EndpointArn" }
114
+ { "target": "PlatformApplicationArn", "source": "identifier", "name": "Arn" },
115
+ { "target": "Arn", "source": "response", "path": "EndpointArn" }
82
116
  ]
83
117
  }
84
118
  },
@@ -86,7 +120,7 @@
86
120
  "request": {
87
121
  "operation": "DeletePlatformApplication",
88
122
  "params": [
89
- { "target": "PlatformApplicationArn", "sourceType": "identifier", "source": "Arn" }
123
+ { "target": "PlatformApplicationArn", "source": "identifier", "name": "Arn" }
90
124
  ]
91
125
  }
92
126
  },
@@ -94,7 +128,7 @@
94
128
  "request": {
95
129
  "operation": "SetPlatformApplicationAttributes",
96
130
  "params": [
97
- { "target": "PlatformApplicationArn", "sourceType": "identifier", "source": "Arn" }
131
+ { "target": "PlatformApplicationArn", "source": "identifier", "name": "Arn" }
98
132
  ]
99
133
  }
100
134
  }
@@ -104,13 +138,13 @@
104
138
  "request": {
105
139
  "operation": "ListEndpointsByPlatformApplication",
106
140
  "params": [
107
- { "target": "PlatformApplicationArn", "sourceType": "identifier", "source": "Arn" }
141
+ { "target": "PlatformApplicationArn", "source": "identifier", "name": "Arn" }
108
142
  ]
109
143
  },
110
144
  "resource": {
111
145
  "type": "PlatformEndpoint",
112
146
  "identifiers": [
113
- { "target": "Arn", "sourceType": "responsePath", "source": "Endpoints[].EndpointArn" }
147
+ { "target": "Arn", "source": "response", "path": "Endpoints[].EndpointArn" }
114
148
  ]
115
149
  }
116
150
  }
@@ -125,7 +159,7 @@
125
159
  "request": {
126
160
  "operation": "GetEndpointAttributes",
127
161
  "params": [
128
- { "target": "EndpointArn", "sourceType": "identifier", "source": "Arn" }
162
+ { "target": "EndpointArn", "source": "identifier", "name": "Arn" }
129
163
  ]
130
164
  },
131
165
  "path": "@"
@@ -135,7 +169,7 @@
135
169
  "request": {
136
170
  "operation": "DeleteEndpoint",
137
171
  "params": [
138
- { "target": "EndpointArn", "sourceType": "identifier", "source": "Arn" }
172
+ { "target": "EndpointArn", "source": "identifier", "name": "Arn" }
139
173
  ]
140
174
  }
141
175
  },
@@ -143,7 +177,7 @@
143
177
  "request": {
144
178
  "operation": "Publish",
145
179
  "params": [
146
- { "target": "TargetArn", "sourceType": "identifier", "source": "Arn" }
180
+ { "target": "TargetArn", "source": "identifier", "name": "Arn" }
147
181
  ]
148
182
  }
149
183
  },
@@ -151,7 +185,7 @@
151
185
  "request": {
152
186
  "operation": "SetEndpointAttributes",
153
187
  "params": [
154
- { "target": "EndpointArn", "sourceType": "identifier", "source": "Arn" }
188
+ { "target": "EndpointArn", "source": "identifier", "name": "Arn" }
155
189
  ]
156
190
  }
157
191
  }
@@ -166,7 +200,7 @@
166
200
  "request": {
167
201
  "operation": "GetSubscriptionAttributes",
168
202
  "params": [
169
- { "target": "SubscriptionArn", "sourceType": "identifier", "source": "Arn" }
203
+ { "target": "SubscriptionArn", "source": "identifier", "name": "Arn" }
170
204
  ]
171
205
  },
172
206
  "path": "@"
@@ -176,7 +210,7 @@
176
210
  "request": {
177
211
  "operation": "Unsubscribe",
178
212
  "params": [
179
- { "target": "SubscriptionArn", "sourceType": "identifier", "source": "Arn" }
213
+ { "target": "SubscriptionArn", "source": "identifier", "name": "Arn" }
180
214
  ]
181
215
  }
182
216
  },
@@ -184,7 +218,7 @@
184
218
  "request": {
185
219
  "operation": "SetSubscriptionAttributes",
186
220
  "params": [
187
- { "target": "SubscriptionArn", "sourceType": "identifier", "source": "Arn" }
221
+ { "target": "SubscriptionArn", "source": "identifier", "name": "Arn" }
188
222
  ]
189
223
  }
190
224
  }
@@ -199,7 +233,7 @@
199
233
  "request": {
200
234
  "operation": "GetTopicAttributes",
201
235
  "params": [
202
- { "target": "TopicArn", "sourceType": "identifier", "source": "Arn" }
236
+ { "target": "TopicArn", "source": "identifier", "name": "Arn" }
203
237
  ]
204
238
  },
205
239
  "path": "@"
@@ -209,7 +243,7 @@
209
243
  "request": {
210
244
  "operation": "AddPermission",
211
245
  "params": [
212
- { "target": "TopicArn", "sourceType": "identifier", "source": "Arn" }
246
+ { "target": "TopicArn", "source": "identifier", "name": "Arn" }
213
247
  ]
214
248
  }
215
249
  },
@@ -217,13 +251,13 @@
217
251
  "request": {
218
252
  "operation": "ConfirmSubscription",
219
253
  "params": [
220
- { "target": "TopicArn", "sourceType": "identifier", "source": "Arn" }
254
+ { "target": "TopicArn", "source": "identifier", "name": "Arn" }
221
255
  ]
222
256
  },
223
257
  "resource": {
224
258
  "type": "Subscription",
225
259
  "identifiers": [
226
- { "target": "Arn", "sourceType": "responsePath", "source": "SubscriptionArn" }
260
+ { "target": "Arn", "source": "response", "path": "SubscriptionArn" }
227
261
  ]
228
262
  }
229
263
  },
@@ -231,7 +265,7 @@
231
265
  "request": {
232
266
  "operation": "DeleteTopic",
233
267
  "params": [
234
- { "target": "TopicArn", "sourceType": "identifier", "source": "Arn" }
268
+ { "target": "TopicArn", "source": "identifier", "name": "Arn" }
235
269
  ]
236
270
  }
237
271
  },
@@ -239,7 +273,7 @@
239
273
  "request": {
240
274
  "operation": "Publish",
241
275
  "params": [
242
- { "target": "TopicArn", "sourceType": "identifier", "source": "Arn" }
276
+ { "target": "TopicArn", "source": "identifier", "name": "Arn" }
243
277
  ]
244
278
  }
245
279
  },
@@ -247,7 +281,7 @@
247
281
  "request": {
248
282
  "operation": "RemovePermission",
249
283
  "params": [
250
- { "target": "TopicArn", "sourceType": "identifier", "source": "Arn" }
284
+ { "target": "TopicArn", "source": "identifier", "name": "Arn" }
251
285
  ]
252
286
  }
253
287
  },
@@ -255,7 +289,7 @@
255
289
  "request": {
256
290
  "operation": "SetTopicAttributes",
257
291
  "params": [
258
- { "target": "TopicArn", "sourceType": "identifier", "source": "Arn" }
292
+ { "target": "TopicArn", "source": "identifier", "name": "Arn" }
259
293
  ]
260
294
  }
261
295
  },
@@ -263,13 +297,13 @@
263
297
  "request": {
264
298
  "operation": "Subscribe",
265
299
  "params": [
266
- { "target": "TopicArn", "sourceType": "identifier", "source": "Arn" }
300
+ { "target": "TopicArn", "source": "identifier", "name": "Arn" }
267
301
  ]
268
302
  },
269
303
  "resource": {
270
304
  "type": "Subscription",
271
305
  "identifiers": [
272
- { "target": "Arn", "sourceType": "responsePath", "source": "SubscriptionArn" }
306
+ { "target": "Arn", "source": "response", "path": "SubscriptionArn" }
273
307
  ]
274
308
  }
275
309
  }
@@ -279,13 +313,13 @@
279
313
  "request": {
280
314
  "operation": "ListSubscriptionsByTopic",
281
315
  "params": [
282
- { "target": "TopicArn", "sourceType": "identifier", "source": "Arn" }
316
+ { "target": "TopicArn", "source": "identifier", "name": "Arn" }
283
317
  ]
284
318
  },
285
319
  "resource": {
286
320
  "type": "Subscription",
287
321
  "identifiers": [
288
- { "target": "Arn", "sourceType": "responsePath", "source": "Subscriptions[].SubscriptionArn" }
322
+ { "target": "Arn", "source": "response", "path": "Subscriptions[].SubscriptionArn" }
289
323
  ]
290
324
  }
291
325
  }
@@ -6,7 +6,7 @@
6
6
  "resource": {
7
7
  "type": "Queue",
8
8
  "identifiers": [
9
- { "target": "Url", "sourceType": "responsePath", "source": "QueueUrl" }
9
+ { "target": "Url", "source": "response", "path": "QueueUrl" }
10
10
  ]
11
11
  }
12
12
  },
@@ -15,7 +15,17 @@
15
15
  "resource": {
16
16
  "type": "Queue",
17
17
  "identifiers": [
18
- { "target": "Url", "sourceType": "responsePath", "source": "QueueUrl" }
18
+ { "target": "Url", "source": "response", "path": "QueueUrl" }
19
+ ]
20
+ }
21
+ }
22
+ },
23
+ "has": {
24
+ "Queue": {
25
+ "resource": {
26
+ "type": "Queue",
27
+ "identifiers": [
28
+ { "target": "Url", "source": "input" }
19
29
  ]
20
30
  }
21
31
  }
@@ -26,7 +36,7 @@
26
36
  "resource": {
27
37
  "type": "Queue",
28
38
  "identifiers": [
29
- { "target": "Url", "sourceType": "responsePath", "source": "QueueUrls[]" }
39
+ { "target": "Url", "source": "response", "path": "QueueUrls[]" }
30
40
  ]
31
41
  }
32
42
  }
@@ -47,8 +57,8 @@
47
57
  "request": {
48
58
  "operation": "ChangeMessageVisibility",
49
59
  "params": [
50
- { "target": "QueueUrl", "sourceType": "identifier", "source": "QueueUrl" },
51
- { "target": "ReceiptHandle", "sourceType": "identifier", "source": "ReceiptHandle" }
60
+ { "target": "QueueUrl", "source": "identifier", "name": "QueueUrl" },
61
+ { "target": "ReceiptHandle", "source": "identifier", "name": "ReceiptHandle" }
52
62
  ]
53
63
  }
54
64
  },
@@ -56,8 +66,8 @@
56
66
  "request": {
57
67
  "operation": "DeleteMessage",
58
68
  "params": [
59
- { "target": "QueueUrl", "sourceType": "identifier", "source": "QueueUrl" },
60
- { "target": "ReceiptHandle", "sourceType": "identifier", "source": "ReceiptHandle" }
69
+ { "target": "QueueUrl", "source": "identifier", "name": "QueueUrl" },
70
+ { "target": "ReceiptHandle", "source": "identifier", "name": "ReceiptHandle" }
61
71
  ]
62
72
  }
63
73
  }
@@ -67,9 +77,19 @@
67
77
  "request": {
68
78
  "operation": "DeleteMessageBatch",
69
79
  "params": [
70
- { "target": "QueueUrl", "sourceType": "identifier", "source": "QueueUrl" },
71
- { "target": "Entries[*].Id", "sourceType": "dataMember", "source": "MessageId" },
72
- { "target": "Entries[*].ReceiptHandle", "sourceType": "identifier", "source": "ReceiptHandle" }
80
+ { "target": "QueueUrl", "source": "identifier", "name": "QueueUrl" },
81
+ { "target": "Entries[*].Id", "source": "data", "path": "MessageId" },
82
+ { "target": "Entries[*].ReceiptHandle", "source": "identifier", "name": "ReceiptHandle" }
83
+ ]
84
+ }
85
+ }
86
+ },
87
+ "has": {
88
+ "Queue": {
89
+ "resource": {
90
+ "type": "Queue",
91
+ "identifiers": [
92
+ { "target": "Url", "source": "identifier", "name": "QueueUrl" }
73
93
  ]
74
94
  }
75
95
  }
@@ -84,8 +104,8 @@
84
104
  "request": {
85
105
  "operation": "GetQueueAttributes",
86
106
  "params": [
87
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" },
88
- { "target": "AttributeNames[]", "sourceType": "string", "source": "All" }
107
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" },
108
+ { "target": "AttributeNames[]", "source": "string", "value": "All" }
89
109
  ]
90
110
  },
91
111
  "path": "@"
@@ -95,7 +115,7 @@
95
115
  "request": {
96
116
  "operation": "AddPermission",
97
117
  "params": [
98
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
118
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
99
119
  ]
100
120
  }
101
121
  },
@@ -103,7 +123,7 @@
103
123
  "request": {
104
124
  "operation": "ChangeMessageVisibilityBatch",
105
125
  "params": [
106
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
126
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
107
127
  ]
108
128
  }
109
129
  },
@@ -111,7 +131,7 @@
111
131
  "request": {
112
132
  "operation": "DeleteQueue",
113
133
  "params": [
114
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
134
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
115
135
  ]
116
136
  }
117
137
  },
@@ -119,7 +139,7 @@
119
139
  "request": {
120
140
  "operation": "DeleteMessageBatch",
121
141
  "params": [
122
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
142
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
123
143
  ]
124
144
  }
125
145
  },
@@ -127,7 +147,7 @@
127
147
  "request": {
128
148
  "operation": "PurgeQueue",
129
149
  "params": [
130
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
150
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
131
151
  ]
132
152
  }
133
153
  },
@@ -135,14 +155,14 @@
135
155
  "request": {
136
156
  "operation": "ReceiveMessage",
137
157
  "params": [
138
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
158
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
139
159
  ]
140
160
  },
141
161
  "resource": {
142
162
  "type": "Message",
143
163
  "identifiers": [
144
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" },
145
- { "target": "ReceiptHandle", "sourceType": "responsePath", "source": "Messages[].ReceiptHandle" }
164
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" },
165
+ { "target": "ReceiptHandle", "source": "response", "path": "Messages[].ReceiptHandle" }
146
166
  ],
147
167
  "path": "Messages[]"
148
168
  }
@@ -151,7 +171,7 @@
151
171
  "request": {
152
172
  "operation": "RemovePermission",
153
173
  "params": [
154
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
174
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
155
175
  ]
156
176
  }
157
177
  },
@@ -159,7 +179,7 @@
159
179
  "request": {
160
180
  "operation": "SendMessage",
161
181
  "params": [
162
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
182
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
163
183
  ]
164
184
  }
165
185
  },
@@ -167,7 +187,7 @@
167
187
  "request": {
168
188
  "operation": "SendMessageBatch",
169
189
  "params": [
170
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
190
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
171
191
  ]
172
192
  }
173
193
  },
@@ -175,7 +195,18 @@
175
195
  "request": {
176
196
  "operation": "SetQueueAttributes",
177
197
  "params": [
178
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
198
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
199
+ ]
200
+ }
201
+ }
202
+ },
203
+ "has": {
204
+ "Message": {
205
+ "resource": {
206
+ "type": "Message",
207
+ "identifiers": [
208
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" },
209
+ { "target": "ReceiptHandle", "source": "input" }
179
210
  ]
180
211
  }
181
212
  }
@@ -185,20 +216,16 @@
185
216
  "request": {
186
217
  "operation": "ListDeadLetterSourceQueues",
187
218
  "params": [
188
- { "target": "QueueUrl", "sourceType": "identifier", "source": "Url" }
219
+ { "target": "QueueUrl", "source": "identifier", "name": "Url" }
189
220
  ]
190
221
  },
191
222
  "resource": {
192
223
  "type": "Queue",
193
224
  "identifiers": [
194
- { "target": "Url", "sourceType": "responsePath", "source": "QueueUrls[]" }
225
+ { "target": "Url", "source": "response", "path": "QueueUrls[]" }
195
226
  ]
196
227
  }
197
228
  }
198
- },
199
- "subResources": {
200
- "resources": [ "Message" ],
201
- "identifiers": { "Url": "QueueUrl" }
202
229
  }
203
230
  }
204
231
  }