aws-sdk-core 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/EC2.api.json +27 -3
- data/apis/EC2.resources.json +1561 -52
- data/apis/EC2.waiters.json +14 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90a3bc1726f74fb0442e17e58b62560404d125db
|
4
|
+
data.tar.gz: 439984a4771811ab02d6b4dab48cb9f87c9421fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c1ae4f922236290215f8741b88c40764e8fc88529366f30109fe392c0e148a18896bbfa6d0c13b7f7807c110c29c9bb3def701bab03a5ca77a49bbfedc7f55c
|
7
|
+
data.tar.gz: e031d35218126b706bcb8142eb95c8e2a82f329138d9a0e0accb6a197ef3f3b703090ebad8f8b41a42393f96fbcfd37e47b9b829b2e3b040354945710c99a134
|
data/apis/EC2.api.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"metadata":{
|
3
|
-
"apiVersion":"2014-
|
3
|
+
"apiVersion":"2014-09-01",
|
4
4
|
"endpointPrefix":"ec2",
|
5
5
|
"serviceAbbreviation":"Amazon EC2",
|
6
6
|
"serviceFullName":"Amazon Elastic Compute Cloud",
|
7
|
-
"signatureVersion":"
|
8
|
-
"xmlNamespace":"http://ec2.amazonaws.com/doc/2014-
|
7
|
+
"signatureVersion":"v4",
|
8
|
+
"xmlNamespace":"http://ec2.amazonaws.com/doc/2014-09-01",
|
9
9
|
"protocol":"ec2"
|
10
10
|
},
|
11
11
|
"operations":{
|
@@ -4304,6 +4304,14 @@
|
|
4304
4304
|
"Filters":{
|
4305
4305
|
"shape":"FilterList",
|
4306
4306
|
"locationName":"Filter"
|
4307
|
+
},
|
4308
|
+
"NextToken":{
|
4309
|
+
"shape":"String",
|
4310
|
+
"locationName":"nextToken"
|
4311
|
+
},
|
4312
|
+
"MaxResults":{
|
4313
|
+
"shape":"Integer",
|
4314
|
+
"locationName":"maxResults"
|
4307
4315
|
}
|
4308
4316
|
}
|
4309
4317
|
},
|
@@ -4313,6 +4321,10 @@
|
|
4313
4321
|
"Volumes":{
|
4314
4322
|
"shape":"VolumeList",
|
4315
4323
|
"locationName":"volumeSet"
|
4324
|
+
},
|
4325
|
+
"NextToken":{
|
4326
|
+
"shape":"String",
|
4327
|
+
"locationName":"nextToken"
|
4316
4328
|
}
|
4317
4329
|
}
|
4318
4330
|
},
|
@@ -5247,6 +5259,10 @@
|
|
5247
5259
|
"shape":"SecurityGroupStringList",
|
5248
5260
|
"locationName":"GroupName"
|
5249
5261
|
},
|
5262
|
+
"GroupIds":{
|
5263
|
+
"shape":"SecurityGroupIdStringList",
|
5264
|
+
"locationName":"GroupId"
|
5265
|
+
},
|
5250
5266
|
"AdditionalInfo":{
|
5251
5267
|
"shape":"String",
|
5252
5268
|
"locationName":"additionalInfo"
|
@@ -5696,6 +5712,10 @@
|
|
5696
5712
|
"SourceDestCheck":{
|
5697
5713
|
"shape":"AttributeBooleanValue",
|
5698
5714
|
"locationName":"sourceDestCheck"
|
5715
|
+
},
|
5716
|
+
"Groups":{
|
5717
|
+
"shape":"GroupIdentifierList",
|
5718
|
+
"locationName":"groupSet"
|
5699
5719
|
}
|
5700
5720
|
}
|
5701
5721
|
},
|
@@ -5863,6 +5883,10 @@
|
|
5863
5883
|
"shape":"NetworkInterfaceStatus",
|
5864
5884
|
"locationName":"status"
|
5865
5885
|
},
|
5886
|
+
"MacAddress":{
|
5887
|
+
"shape":"String",
|
5888
|
+
"locationName":"macAddress"
|
5889
|
+
},
|
5866
5890
|
"PrivateIpAddress":{
|
5867
5891
|
"shape":"String",
|
5868
5892
|
"locationName":"privateIpAddress"
|
data/apis/EC2.resources.json
CHANGED
@@ -30,6 +30,145 @@
|
|
30
30
|
]
|
31
31
|
},
|
32
32
|
"path": "Vpc"
|
33
|
+
},
|
34
|
+
"RegisterImage": {
|
35
|
+
"request": { "operation": "RegisterImage" },
|
36
|
+
"resource": {
|
37
|
+
"type": "Image",
|
38
|
+
"identifiers": [
|
39
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"ImageId" }
|
40
|
+
]
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"CreateVolume": {
|
44
|
+
"request": { "operation": "CreateVolume" },
|
45
|
+
"resource": {
|
46
|
+
"type": "Image",
|
47
|
+
"identifiers": [
|
48
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"VolumeId" }
|
49
|
+
]
|
50
|
+
},
|
51
|
+
"path": "$"
|
52
|
+
},
|
53
|
+
"CreateSnapshot": {
|
54
|
+
"request": { "operation": "CreateSnapshot" },
|
55
|
+
"resource": {
|
56
|
+
"type": "Snapshot",
|
57
|
+
"identifiers": [
|
58
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"SnapshotId" }
|
59
|
+
]
|
60
|
+
},
|
61
|
+
"path": "$"
|
62
|
+
},
|
63
|
+
"CreateSecurityGroup": {
|
64
|
+
"request": { "operation": "CreateSecurityGroup" },
|
65
|
+
"resource": {
|
66
|
+
"type": "SecurityGroup",
|
67
|
+
"identifiers": [
|
68
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"GroupId" }
|
69
|
+
]
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"CreateDhcpOptions": {
|
73
|
+
"request": { "operation": "CreateDhcpOptions" },
|
74
|
+
"resource": {
|
75
|
+
"type": "DhcpOptions",
|
76
|
+
"identifiers": [
|
77
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"DhcpOptions.DhcpOptionsId" }
|
78
|
+
]
|
79
|
+
},
|
80
|
+
"path": "DhcpOptions"
|
81
|
+
},
|
82
|
+
"CreateInternetGateway": {
|
83
|
+
"request": { "operation": "CreateInternetGateway" },
|
84
|
+
"resource": {
|
85
|
+
"type": "InternetGateway",
|
86
|
+
"identifiers": [
|
87
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"InternetGateway.InternetGatewayId" }
|
88
|
+
]
|
89
|
+
},
|
90
|
+
"path": "InternetGateway"
|
91
|
+
},
|
92
|
+
"CreateKeyPair": {
|
93
|
+
"request": { "operation": "CreateKeyPair" },
|
94
|
+
"resource": {
|
95
|
+
"type": "KeyPair",
|
96
|
+
"identifiers": [
|
97
|
+
{ "target":"Name", "sourceType":"responsePath", "source":"KeyName" }
|
98
|
+
]
|
99
|
+
}
|
100
|
+
},
|
101
|
+
"ImportKeyPair": {
|
102
|
+
"request": { "operation": "ImportKeyPair" },
|
103
|
+
"resource": {
|
104
|
+
"type": "KeyPair",
|
105
|
+
"identifiers": [
|
106
|
+
{ "target":"Name", "sourceType":"responsePath", "source":"KeyName" }
|
107
|
+
]
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"CreateNetworkAcl": {
|
111
|
+
"request": { "operation": "CreateNetworkAcl" },
|
112
|
+
"resource": {
|
113
|
+
"type": "NetworkAcl",
|
114
|
+
"identifiers": [
|
115
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NetworkAcl.NetworkAclId" }
|
116
|
+
]
|
117
|
+
},
|
118
|
+
"path": "NetworkAcl"
|
119
|
+
},
|
120
|
+
"CreateNetworkInterface": {
|
121
|
+
"request": { "operation": "CreateNetworkInterface" },
|
122
|
+
"resource": {
|
123
|
+
"type": "NetworkInterface",
|
124
|
+
"identifiers": [
|
125
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NetworkInterface.NetworkInterfaceId" }
|
126
|
+
]
|
127
|
+
},
|
128
|
+
"path": "NetworkInterface"
|
129
|
+
},
|
130
|
+
"CreatePlacementGroup": {
|
131
|
+
"request": { "operation": "CreatePlacementGroup" },
|
132
|
+
"resource": {
|
133
|
+
"type": "PlacementGroup",
|
134
|
+
"identifiers": [
|
135
|
+
{ "target":"Id", "sourceType":"requestParameter", "source":"GroupName" }
|
136
|
+
]
|
137
|
+
}
|
138
|
+
},
|
139
|
+
"CreateRouteTable": {
|
140
|
+
"request": { "operation": "CreateRouteTable" },
|
141
|
+
"resource": {
|
142
|
+
"type": "RouteTable",
|
143
|
+
"identifiers": [
|
144
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"RouteTable.RouteTableId" }
|
145
|
+
]
|
146
|
+
},
|
147
|
+
"path": "RouteTable"
|
148
|
+
},
|
149
|
+
"DisassociateRouteTable": {
|
150
|
+
"request": { "operation": "DisassociateRouteTable" }
|
151
|
+
},
|
152
|
+
"CreateTags": {
|
153
|
+
"request": { "operation": "CreateTags" },
|
154
|
+
"resource": {
|
155
|
+
"type": "Tag",
|
156
|
+
"identifiers": [
|
157
|
+
{ "target":"ResourceId", "sourceType":"requestParameter", "source":"Resources[]" },
|
158
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
159
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
160
|
+
]
|
161
|
+
}
|
162
|
+
},
|
163
|
+
"CreateVpcPeeringConnection": {
|
164
|
+
"request": { "operation": "CreateVpcPeeringConnection" },
|
165
|
+
"resource": {
|
166
|
+
"type": "VpcPeeringConnection",
|
167
|
+
"identifiers": [
|
168
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"VpcPeeringConnection.VpcPeeringConnectionId" }
|
169
|
+
]
|
170
|
+
},
|
171
|
+
"path": "VpcPeeringConnection"
|
33
172
|
}
|
34
173
|
},
|
35
174
|
"hasMany": {
|
@@ -62,18 +201,138 @@
|
|
62
201
|
]
|
63
202
|
},
|
64
203
|
"path": "Vpcs[]"
|
204
|
+
},
|
205
|
+
"Images": {
|
206
|
+
"request": { "operation": "DescribeImages" },
|
207
|
+
"resource": {
|
208
|
+
"type": "Image",
|
209
|
+
"identifiers": [
|
210
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"Images[].ImageId" }
|
211
|
+
]
|
212
|
+
},
|
213
|
+
"path": "Images[]"
|
214
|
+
},
|
215
|
+
"Volumes": {
|
216
|
+
"request": { "operation": "DescribeVolumes" },
|
217
|
+
"resource": {
|
218
|
+
"type": "Volume",
|
219
|
+
"identifiers": [
|
220
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"Volumes[].VolumeId" }
|
221
|
+
]
|
222
|
+
},
|
223
|
+
"path": "Volumes[]"
|
224
|
+
},
|
225
|
+
"Snapshots": {
|
226
|
+
"request": { "operation": "DescribeSnapshots" },
|
227
|
+
"resource": {
|
228
|
+
"type": "Snapshot",
|
229
|
+
"identifiers": [
|
230
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"Snapshots[].SnapshotId" }
|
231
|
+
]
|
232
|
+
},
|
233
|
+
"path": "Snapshots[]"
|
234
|
+
},
|
235
|
+
"SecurityGroups": {
|
236
|
+
"request": { "operation": "DescribeSecurityGroups" },
|
237
|
+
"resource": {
|
238
|
+
"type": "SecurityGroup",
|
239
|
+
"identifiers": [
|
240
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"SecurityGroups[].GroupId" }
|
241
|
+
]
|
242
|
+
},
|
243
|
+
"path": "SecurityGroups[]"
|
244
|
+
},
|
245
|
+
"DhcpOptionsSets": {
|
246
|
+
"request": { "operation": "DescribeDhcpOptions" },
|
247
|
+
"resource": {
|
248
|
+
"type": "DhcpOptions",
|
249
|
+
"identifiers": [
|
250
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"DhcpOptions[].DhcpOptionsId" }
|
251
|
+
]
|
252
|
+
},
|
253
|
+
"path": "DhcpOptions[]"
|
254
|
+
},
|
255
|
+
"InternetGateways": {
|
256
|
+
"request": { "operation": "DescribeInternetGateways" },
|
257
|
+
"resource": {
|
258
|
+
"type": "InternetGateway",
|
259
|
+
"identifiers": [
|
260
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"InternetGateways[].InternetGatewayId" }
|
261
|
+
]
|
262
|
+
},
|
263
|
+
"path": "InternetGateways[]"
|
264
|
+
},
|
265
|
+
"KeyPairs": {
|
266
|
+
"request": { "operation": "DescribeKeyPairs" },
|
267
|
+
"resource": {
|
268
|
+
"type": "KeyPair",
|
269
|
+
"identifiers": [
|
270
|
+
{ "target":"Name", "sourceType":"responsePath", "source":"KeyPairs[].KeyName" }
|
271
|
+
]
|
272
|
+
},
|
273
|
+
"path": "KeyPairs[]"
|
274
|
+
},
|
275
|
+
"NetworkAcls": {
|
276
|
+
"request": { "operation": "DescribeNetworkAcls" },
|
277
|
+
"resource": {
|
278
|
+
"type": "NetworkAcl",
|
279
|
+
"identifiers": [
|
280
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NetworkAcls[].NetworkAclId" }
|
281
|
+
]
|
282
|
+
},
|
283
|
+
"path": "NetworkAcls[]"
|
284
|
+
},
|
285
|
+
"NetworkInterfaces": {
|
286
|
+
"request": { "operation": "DescribeNetworkInterfaces" },
|
287
|
+
"resource": {
|
288
|
+
"type": "NetworkInterface",
|
289
|
+
"identifiers": [
|
290
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NetworkInterfaces[].NetworkInterfaceId" }
|
291
|
+
]
|
292
|
+
},
|
293
|
+
"path": "NetworkInterfaces[]"
|
294
|
+
},
|
295
|
+
"PlacementGroups": {
|
296
|
+
"request": { "operation": "DescribePlacementGroups" },
|
297
|
+
"resource": {
|
298
|
+
"type": "PlacementGroup",
|
299
|
+
"identifiers": [
|
300
|
+
{ "target":"Name", "sourceType":"responsePath", "source":"PlacementGroups[].GroupName" }
|
301
|
+
]
|
302
|
+
},
|
303
|
+
"path": "PlacementGroups[]"
|
304
|
+
},
|
305
|
+
"RouteTables": {
|
306
|
+
"request": { "operation": "DescribeRouteTables" },
|
307
|
+
"resource": {
|
308
|
+
"type": "RouteTable",
|
309
|
+
"identifiers": [
|
310
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"RouteTables[].RouteTableId" }
|
311
|
+
]
|
312
|
+
},
|
313
|
+
"path": "RouteTables[]"
|
314
|
+
},
|
315
|
+
"VpcPeeringConnections": {
|
316
|
+
"request": { "operation": "DescribeVpcPeeringConnections" },
|
317
|
+
"resource": {
|
318
|
+
"type": "VpcPeeringConnection",
|
319
|
+
"identifiers": [
|
320
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"VpcPeeringConnections[].VpcPeeringConnectionId" }
|
321
|
+
]
|
322
|
+
},
|
323
|
+
"path": "VpcPeeringConnections[]"
|
65
324
|
}
|
66
325
|
}
|
67
326
|
},
|
68
327
|
"resources": {
|
69
328
|
"Instance": {
|
70
|
-
"identifiers": [{ "name": "Id" }],
|
329
|
+
"identifiers": [{ "name": "Id", "memberName" : "InstanceId" }],
|
71
330
|
"shape": "Instance",
|
72
331
|
"load": {
|
73
332
|
"request": {
|
74
333
|
"operation": "DescribeInstances",
|
75
334
|
"params": [
|
76
|
-
{ "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
|
335
|
+
{ "target":"InstanceIds[0]", "sourceType":"identifier", "source":"Id" }
|
77
336
|
]
|
78
337
|
},
|
79
338
|
"path": "Reservations[0].Instances[0]"
|
@@ -87,6 +346,14 @@
|
|
87
346
|
]
|
88
347
|
}
|
89
348
|
},
|
349
|
+
"DescribeAttribute": {
|
350
|
+
"request": {
|
351
|
+
"operation": "DescribeInstanceAttribute",
|
352
|
+
"params": [
|
353
|
+
{ "target":"InstanceId", "sourceType":"identifier", "source":"Id" }
|
354
|
+
]
|
355
|
+
}
|
356
|
+
},
|
90
357
|
"ModifyAttribute": {
|
91
358
|
"request": {
|
92
359
|
"operation": "ModifyInstanceAttribute",
|
@@ -99,7 +366,7 @@
|
|
99
366
|
"request": {
|
100
367
|
"operation": "MonitorInstances",
|
101
368
|
"params": [
|
102
|
-
{ "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
|
369
|
+
{ "target":"InstanceIds[0]", "sourceType":"identifier", "source":"Id" }
|
103
370
|
]
|
104
371
|
}
|
105
372
|
},
|
@@ -115,7 +382,7 @@
|
|
115
382
|
"request": {
|
116
383
|
"operation": "ReportInstanceStatus",
|
117
384
|
"params": [
|
118
|
-
{ "target":"Instances[]", "sourceType":"identifier", "source":"Id" }
|
385
|
+
{ "target":"Instances[0]", "sourceType":"identifier", "source":"Id" }
|
119
386
|
]
|
120
387
|
}
|
121
388
|
},
|
@@ -158,7 +425,7 @@
|
|
158
425
|
"request": {
|
159
426
|
"operation": "StartInstances",
|
160
427
|
"params": [
|
161
|
-
{ "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
|
428
|
+
{ "target":"InstanceIds[0]", "sourceType":"identifier", "source":"Id" }
|
162
429
|
]
|
163
430
|
}
|
164
431
|
},
|
@@ -166,7 +433,7 @@
|
|
166
433
|
"request": {
|
167
434
|
"operation": "StopInstances",
|
168
435
|
"params": [
|
169
|
-
{ "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
|
436
|
+
{ "target":"InstanceIds[0]", "sourceType":"identifier", "source":"Id" }
|
170
437
|
]
|
171
438
|
}
|
172
439
|
},
|
@@ -174,7 +441,7 @@
|
|
174
441
|
"request": {
|
175
442
|
"operation": "RebootInstances",
|
176
443
|
"params": [
|
177
|
-
{ "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
|
444
|
+
{ "target":"InstanceIds[0]", "sourceType":"identifier", "source":"Id" }
|
178
445
|
]
|
179
446
|
}
|
180
447
|
},
|
@@ -182,7 +449,7 @@
|
|
182
449
|
"request": {
|
183
450
|
"operation": "TerminateInstances",
|
184
451
|
"params": [
|
185
|
-
{ "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
|
452
|
+
{ "target":"InstanceIds[0]", "sourceType":"identifier", "source":"Id" }
|
186
453
|
]
|
187
454
|
}
|
188
455
|
},
|
@@ -190,25 +457,55 @@
|
|
190
457
|
"request": {
|
191
458
|
"operation": "UnmonitorInstances",
|
192
459
|
"params": [
|
193
|
-
{ "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
|
460
|
+
{ "target":"InstanceIds[0]", "sourceType":"identifier", "source":"Id" }
|
194
461
|
]
|
195
462
|
}
|
196
|
-
}
|
197
|
-
},
|
198
|
-
"waiters": {
|
199
|
-
"Stopped": {
|
200
|
-
"waiterName": "InstanceStopped",
|
201
|
-
"params": [
|
202
|
-
{ "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
|
203
|
-
],
|
204
|
-
"path": "Reservations[0].Instances[0]"
|
205
463
|
},
|
206
|
-
"
|
207
|
-
"
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
464
|
+
"CreateImage": {
|
465
|
+
"request": {
|
466
|
+
"operation": "CreateImage",
|
467
|
+
"params": [
|
468
|
+
{ "target":"InstanceId", "sourceType":"identifier", "source":"Id" }
|
469
|
+
]
|
470
|
+
},
|
471
|
+
"resource": {
|
472
|
+
"type": "Image",
|
473
|
+
"identifiers": [
|
474
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"ImageId" }
|
475
|
+
]
|
476
|
+
}
|
477
|
+
},
|
478
|
+
"AttachVolume": {
|
479
|
+
"request": {
|
480
|
+
"operation": "AttachVolume",
|
481
|
+
"params": [
|
482
|
+
{ "target":"InstanceId", "sourceType":"identifier", "source":"Id" }
|
483
|
+
]
|
484
|
+
}
|
485
|
+
},
|
486
|
+
"DetachVolume": {
|
487
|
+
"request": {
|
488
|
+
"operation": "DetachVolume",
|
489
|
+
"params": [
|
490
|
+
{ "target":"InstanceId", "sourceType":"identifier", "source":"Id" }
|
491
|
+
]
|
492
|
+
}
|
493
|
+
},
|
494
|
+
"CreateTags": {
|
495
|
+
"request": {
|
496
|
+
"operation": "CreateTags",
|
497
|
+
"params": [
|
498
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
499
|
+
]
|
500
|
+
},
|
501
|
+
"resource": {
|
502
|
+
"type": "Tag",
|
503
|
+
"identifiers": [
|
504
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
505
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
506
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
507
|
+
]
|
508
|
+
}
|
212
509
|
}
|
213
510
|
},
|
214
511
|
"hasOne": {
|
@@ -227,17 +524,59 @@
|
|
227
524
|
{ "target":"Id", "sourceType":"dataMember", "source":"VpcId" }
|
228
525
|
]
|
229
526
|
}
|
527
|
+
},
|
528
|
+
"Image": {
|
529
|
+
"resource": {
|
530
|
+
"type": "Image",
|
531
|
+
"identifiers": [
|
532
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"ImageId" }
|
533
|
+
]
|
534
|
+
}
|
535
|
+
},
|
536
|
+
"KeyPair": {
|
537
|
+
"resource": {
|
538
|
+
"type": "KeyPair",
|
539
|
+
"identifiers": [
|
540
|
+
{ "target":"Name", "sourceType":"dataMember", "source":"KeyName" }
|
541
|
+
]
|
542
|
+
}
|
543
|
+
},
|
544
|
+
"PlacementGroup": {
|
545
|
+
"resource": {
|
546
|
+
"type": "PlacementGroup",
|
547
|
+
"identifiers": [
|
548
|
+
{ "target":"Name", "sourceType":"dataMember", "source":"Placement.GroupName" }
|
549
|
+
]
|
550
|
+
}
|
551
|
+
}
|
552
|
+
},
|
553
|
+
"hasMany": {
|
554
|
+
"Volumes": {
|
555
|
+
"request": {
|
556
|
+
"operation": "DescribeVolumes",
|
557
|
+
"params": [
|
558
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"attachment.instance-id" },
|
559
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
560
|
+
]
|
561
|
+
},
|
562
|
+
"resource": {
|
563
|
+
"type": "Volume",
|
564
|
+
"identifiers": [
|
565
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"Volumes[].VolumeId" }
|
566
|
+
]
|
567
|
+
},
|
568
|
+
"path": "Volumes[]"
|
230
569
|
}
|
231
570
|
}
|
232
571
|
},
|
233
572
|
"Subnet": {
|
234
|
-
"identifiers": [{ "name": "Id" }],
|
573
|
+
"identifiers": [{ "name": "Id", "memberName" : "SubnetId" }],
|
235
574
|
"shape": "Subnet",
|
236
575
|
"load": {
|
237
576
|
"request": {
|
238
577
|
"operation": "DescribeSubnets",
|
239
578
|
"params": [
|
240
|
-
{ "target":"SubnetIds[]", "sourceType":"identifier", "source":"Id" }
|
579
|
+
{ "target":"SubnetIds[0]", "sourceType":"identifier", "source":"Id" }
|
241
580
|
]
|
242
581
|
},
|
243
582
|
"path": "Subnets[0]"
|
@@ -265,6 +604,37 @@
|
|
265
604
|
{ "target":"SubnetId", "sourceType":"identifier", "source":"Id" }
|
266
605
|
]
|
267
606
|
}
|
607
|
+
},
|
608
|
+
"CreateNetworkInterface": {
|
609
|
+
"request": {
|
610
|
+
"operation": "CreateNetworkInterface",
|
611
|
+
"params": [
|
612
|
+
{ "target":"SubnetId", "sourceType":"identifier", "source":"Id" }
|
613
|
+
]
|
614
|
+
},
|
615
|
+
"resource": {
|
616
|
+
"type": "NetworkInterface",
|
617
|
+
"identifiers": [
|
618
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NetworkInterface.NetworkInterfaceId" }
|
619
|
+
]
|
620
|
+
},
|
621
|
+
"path": "NetworkInterface"
|
622
|
+
},
|
623
|
+
"CreateTags": {
|
624
|
+
"request": {
|
625
|
+
"operation": "CreateTags",
|
626
|
+
"params": [
|
627
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
628
|
+
]
|
629
|
+
},
|
630
|
+
"resource": {
|
631
|
+
"type": "Tag",
|
632
|
+
"identifiers": [
|
633
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
634
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
635
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
636
|
+
]
|
637
|
+
}
|
268
638
|
}
|
269
639
|
},
|
270
640
|
"hasMany": {
|
@@ -273,7 +643,7 @@
|
|
273
643
|
"operation": "DescribeInstances",
|
274
644
|
"params": [
|
275
645
|
{ "target":"Filters[0].Name", "sourceType":"string", "source":"subnet-id" },
|
276
|
-
{ "target":"Filters[0].Values[]", "sourceType":"identifier", "source":"Id" }
|
646
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
277
647
|
]
|
278
648
|
},
|
279
649
|
"resource": {
|
@@ -283,6 +653,22 @@
|
|
283
653
|
]
|
284
654
|
},
|
285
655
|
"path": "Reservations[].Instances[]"
|
656
|
+
},
|
657
|
+
"NetworkInterfaces": {
|
658
|
+
"request": {
|
659
|
+
"operation": "DescribeNetworkInterfaces",
|
660
|
+
"params": [
|
661
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"subnet-id" },
|
662
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
663
|
+
]
|
664
|
+
},
|
665
|
+
"resource": {
|
666
|
+
"type": "NetworkInterface",
|
667
|
+
"identifiers": [
|
668
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NetworkInterfaces[].NetworkInterfaceId" }
|
669
|
+
]
|
670
|
+
},
|
671
|
+
"path": "NetworkInterfaces[]"
|
286
672
|
}
|
287
673
|
},
|
288
674
|
"hasOne": {
|
@@ -297,13 +683,13 @@
|
|
297
683
|
}
|
298
684
|
},
|
299
685
|
"Vpc": {
|
300
|
-
"identifiers": [{ "name": "Id" }],
|
686
|
+
"identifiers": [{ "name": "Id", "memberName" : "VpcId" }],
|
301
687
|
"shape": "Vpc",
|
302
688
|
"load": {
|
303
689
|
"request": {
|
304
690
|
"operation": "DescribeVpcs",
|
305
691
|
"params": [
|
306
|
-
{ "target":"VpcIds[]", "sourceType":"identifier", "source":"Id" }
|
692
|
+
{ "target":"VpcIds[0]", "sourceType":"identifier", "source":"Id" }
|
307
693
|
]
|
308
694
|
},
|
309
695
|
"path": "Vpcs[0]"
|
@@ -347,40 +733,1163 @@
|
|
347
733
|
{ "target":"VpcId", "sourceType":"identifier", "source":"Id" }
|
348
734
|
]
|
349
735
|
}
|
350
|
-
}
|
351
|
-
|
352
|
-
"hasMany": {
|
353
|
-
"Instances": {
|
736
|
+
},
|
737
|
+
"AssociateDhcpOptions": {
|
354
738
|
"request": {
|
355
|
-
"operation": "
|
739
|
+
"operation": "AssociateDhcpOptions",
|
356
740
|
"params": [
|
357
|
-
{ "target":"
|
358
|
-
{ "target":"Filters[0].Values[]", "sourceType":"identifier", "source":"Id" }
|
359
|
-
]
|
360
|
-
},
|
361
|
-
"resource": {
|
362
|
-
"type": "Instance",
|
363
|
-
"identifiers": [
|
364
|
-
{ "target":"Id", "sourceType":"responsePath", "source":"Reservations[].Instances[].InstanceId" }
|
741
|
+
{ "target":"VpcId", "sourceType":"identifier", "source":"Id" }
|
365
742
|
]
|
366
|
-
}
|
367
|
-
"path": "Reservations[].Instances[]"
|
743
|
+
}
|
368
744
|
},
|
369
|
-
"
|
745
|
+
"CreateSecurityGroup": {
|
370
746
|
"request": {
|
371
|
-
"operation": "
|
747
|
+
"operation": "CreateSecurityGroup",
|
372
748
|
"params": [
|
373
|
-
{ "target":"
|
374
|
-
{ "target":"Filters[0].Values[]", "sourceType":"identifier", "source":"Id" }
|
749
|
+
{ "target":"VpcId", "sourceType":"identifier", "source":"Id" }
|
375
750
|
]
|
376
751
|
},
|
377
752
|
"resource": {
|
378
|
-
"type": "
|
753
|
+
"type": "SecurityGroup",
|
379
754
|
"identifiers": [
|
380
|
-
{ "target":"Id", "sourceType":"responsePath", "source":"
|
755
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"GroupId" }
|
381
756
|
]
|
382
|
-
}
|
383
|
-
|
757
|
+
}
|
758
|
+
},
|
759
|
+
"AttachInternetGateway": {
|
760
|
+
"request": {
|
761
|
+
"operation": "AttachInternetGateway",
|
762
|
+
"params": [
|
763
|
+
{ "target":"VpcId", "sourceType":"identifier", "source":"Id" }
|
764
|
+
]
|
765
|
+
}
|
766
|
+
},
|
767
|
+
"DetachInternetGateway": {
|
768
|
+
"request": {
|
769
|
+
"operation": "DetachInternetGateway",
|
770
|
+
"params": [
|
771
|
+
{ "target":"VpcId", "sourceType":"identifier", "source":"Id" }
|
772
|
+
]
|
773
|
+
}
|
774
|
+
},
|
775
|
+
"CreateNetworkAcl": {
|
776
|
+
"request": {
|
777
|
+
"operation": "CreateNetworkAcl",
|
778
|
+
"params": [
|
779
|
+
{ "target":"VpcId", "sourceType":"identifier", "source":"Id" }
|
780
|
+
]
|
781
|
+
},
|
782
|
+
"resource": {
|
783
|
+
"type": "NetworkAcl",
|
784
|
+
"identifiers": [
|
785
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NetworkAcl.NetworkAclId" }
|
786
|
+
]
|
787
|
+
},
|
788
|
+
"path": "NetworkAcl"
|
789
|
+
},
|
790
|
+
"CreateRouteTable": {
|
791
|
+
"request": {
|
792
|
+
"operation": "CreateRouteTable",
|
793
|
+
"params": [
|
794
|
+
{ "target":"VpcId", "sourceType":"identifier", "source":"Id" }
|
795
|
+
]
|
796
|
+
},
|
797
|
+
"resource": {
|
798
|
+
"type": "RouteTable",
|
799
|
+
"identifiers": [
|
800
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"RouteTable.RouteTableId" }
|
801
|
+
]
|
802
|
+
},
|
803
|
+
"path": "RouteTable"
|
804
|
+
},
|
805
|
+
"RequestVpcPeeringConnection": {
|
806
|
+
"request": {
|
807
|
+
"operation": "CreateVpcPeeringConnection",
|
808
|
+
"params": [
|
809
|
+
{ "target":"VpcId", "sourceType":"identifier", "source":"Id" }
|
810
|
+
]
|
811
|
+
},
|
812
|
+
"resource": {
|
813
|
+
"type": "VpcPeeringConnection",
|
814
|
+
"identifiers": [
|
815
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"VpcPeeringConnection.VpcPeeringConnectionId" }
|
816
|
+
]
|
817
|
+
},
|
818
|
+
"path": "VpcPeeringConnection"
|
819
|
+
},
|
820
|
+
"CreateTags": {
|
821
|
+
"request": {
|
822
|
+
"operation": "CreateTags",
|
823
|
+
"params": [
|
824
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
825
|
+
]
|
826
|
+
},
|
827
|
+
"resource": {
|
828
|
+
"type": "Tag",
|
829
|
+
"identifiers": [
|
830
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
831
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
832
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
833
|
+
]
|
834
|
+
}
|
835
|
+
}
|
836
|
+
},
|
837
|
+
"hasMany": {
|
838
|
+
"Instances": {
|
839
|
+
"request": {
|
840
|
+
"operation": "DescribeInstances",
|
841
|
+
"params": [
|
842
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"vpc-id" },
|
843
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
844
|
+
]
|
845
|
+
},
|
846
|
+
"resource": {
|
847
|
+
"type": "Instance",
|
848
|
+
"identifiers": [
|
849
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"Reservations[].Instances[].InstanceId" }
|
850
|
+
]
|
851
|
+
},
|
852
|
+
"path": "Reservations[].Instances[]"
|
853
|
+
},
|
854
|
+
"Subnets": {
|
855
|
+
"request": {
|
856
|
+
"operation": "DescribeSubnets",
|
857
|
+
"params": [
|
858
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"vpc-id" },
|
859
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
860
|
+
]
|
861
|
+
},
|
862
|
+
"resource": {
|
863
|
+
"type": "Subnet",
|
864
|
+
"identifiers": [
|
865
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"Subnets[].SubnetId" }
|
866
|
+
]
|
867
|
+
},
|
868
|
+
"path": "Subnets[]"
|
869
|
+
},
|
870
|
+
"SecurityGroups": {
|
871
|
+
"request": {
|
872
|
+
"operation": "DescribeSecurityGroups",
|
873
|
+
"params": [
|
874
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"vpc-id" },
|
875
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
876
|
+
]
|
877
|
+
},
|
878
|
+
"resource": {
|
879
|
+
"type": "SecurityGroup",
|
880
|
+
"identifiers": [
|
881
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"SecurityGroups[].GroupId" }
|
882
|
+
]
|
883
|
+
},
|
884
|
+
"path": "SecurityGroups[]"
|
885
|
+
},
|
886
|
+
"InternetGateways": {
|
887
|
+
"request": {
|
888
|
+
"operation": "DescribeInternetGateways",
|
889
|
+
"params": [
|
890
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"attachment.vpc-id" },
|
891
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
892
|
+
]
|
893
|
+
},
|
894
|
+
"resource": {
|
895
|
+
"type": "InternetGateway",
|
896
|
+
"identifiers": [
|
897
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"InternetGateways[].InternetGatewayId" }
|
898
|
+
]
|
899
|
+
},
|
900
|
+
"path": "InternetGateways[]"
|
901
|
+
},
|
902
|
+
"NetworkAcls": {
|
903
|
+
"request": {
|
904
|
+
"operation": "DescribeNetworkAcls",
|
905
|
+
"params": [
|
906
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"vpc-id" },
|
907
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
908
|
+
]
|
909
|
+
},
|
910
|
+
"resource": {
|
911
|
+
"type": "NetworkAcl",
|
912
|
+
"identifiers": [
|
913
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NetworkAcls[].NetworkAclId" }
|
914
|
+
]
|
915
|
+
},
|
916
|
+
"path": "NetworkAcls[]"
|
917
|
+
},
|
918
|
+
"NetworkInterfaces": {
|
919
|
+
"request": {
|
920
|
+
"operation": "DescribeNetworkInterfaces",
|
921
|
+
"params": [
|
922
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"vpc-id" },
|
923
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
924
|
+
]
|
925
|
+
},
|
926
|
+
"resource": {
|
927
|
+
"type": "NetworkInterface",
|
928
|
+
"identifiers": [
|
929
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NetworkInterfaces[].NetworkInterfaceId" }
|
930
|
+
]
|
931
|
+
},
|
932
|
+
"path": "NetworkInterfaces[]"
|
933
|
+
},
|
934
|
+
"RouteTables": {
|
935
|
+
"request": {
|
936
|
+
"operation": "DescribeRouteTables",
|
937
|
+
"params": [
|
938
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"vpc-id" },
|
939
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
940
|
+
]
|
941
|
+
},
|
942
|
+
"resource": {
|
943
|
+
"type": "RouteTable",
|
944
|
+
"identifiers": [
|
945
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"RouteTables[].RouteTableId" }
|
946
|
+
]
|
947
|
+
},
|
948
|
+
"path": "RouteTables[]"
|
949
|
+
},
|
950
|
+
"RequestedVpcPeeringConnections": {
|
951
|
+
"request": {
|
952
|
+
"operation": "DescribeVpcPeeringConnections",
|
953
|
+
"params": [
|
954
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"requester-vpc-info.vpc-id" },
|
955
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
956
|
+
]
|
957
|
+
},
|
958
|
+
"resource": {
|
959
|
+
"type": "VpcPeeringConnection",
|
960
|
+
"identifiers": [
|
961
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"VpcPeeringConnections[].VpcPeeringConnectionId" }
|
962
|
+
]
|
963
|
+
},
|
964
|
+
"path": "VpcPeeringConnections[]"
|
965
|
+
},
|
966
|
+
"AcceptedVpcPeeringConnections": {
|
967
|
+
"request": {
|
968
|
+
"operation": "DescribeVpcPeeringConnections",
|
969
|
+
"params": [
|
970
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"accepter-vpc-info.vpc-id" },
|
971
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
972
|
+
]
|
973
|
+
},
|
974
|
+
"resource": {
|
975
|
+
"type": "VpcPeeringConnection",
|
976
|
+
"identifiers": [
|
977
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"VpcPeeringConnections[].VpcPeeringConnectionId" }
|
978
|
+
]
|
979
|
+
},
|
980
|
+
"path": "VpcPeeringConnections[]"
|
981
|
+
}
|
982
|
+
},
|
983
|
+
"hasOne": {
|
984
|
+
"DhcpOptions": {
|
985
|
+
"resource": {
|
986
|
+
"type": "DhcpOptions",
|
987
|
+
"identifiers": [
|
988
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"DhcpOptionsId" }
|
989
|
+
]
|
990
|
+
}
|
991
|
+
}
|
992
|
+
}
|
993
|
+
},
|
994
|
+
"Image": {
|
995
|
+
"identifiers": [{ "name": "Id", "memberName" : "ImageId" }],
|
996
|
+
"shape": "Image",
|
997
|
+
"load": {
|
998
|
+
"request": {
|
999
|
+
"operation": "DescribeImages",
|
1000
|
+
"params": [
|
1001
|
+
{ "target":"ImageIds[0]", "sourceType":"identifier", "source":"Id" }
|
1002
|
+
]
|
1003
|
+
},
|
1004
|
+
"path": "Images[0]"
|
1005
|
+
},
|
1006
|
+
"actions": {
|
1007
|
+
"Deregister": {
|
1008
|
+
"request": {
|
1009
|
+
"operation": "DeregisterImage",
|
1010
|
+
"params": [
|
1011
|
+
{ "target":"ImageId", "sourceType":"identifier", "source":"Id" }
|
1012
|
+
]
|
1013
|
+
}
|
1014
|
+
},
|
1015
|
+
"DescribeAttribute": {
|
1016
|
+
"request": {
|
1017
|
+
"operation": "DescribeImageAttribute",
|
1018
|
+
"params": [
|
1019
|
+
{ "target":"ImageId", "sourceType":"identifier", "source":"Id" }
|
1020
|
+
]
|
1021
|
+
}
|
1022
|
+
},
|
1023
|
+
"ModifyAttribute": {
|
1024
|
+
"request": {
|
1025
|
+
"operation": "ModifyImageAttribute",
|
1026
|
+
"params": [
|
1027
|
+
{ "target":"ImageId", "sourceType":"identifier", "source":"Id" }
|
1028
|
+
]
|
1029
|
+
}
|
1030
|
+
},
|
1031
|
+
"ResetAttribute": {
|
1032
|
+
"request": {
|
1033
|
+
"operation": "ResetImageAttribute",
|
1034
|
+
"params": [
|
1035
|
+
{ "target":"ImageId", "sourceType":"identifier", "source":"Id" }
|
1036
|
+
]
|
1037
|
+
}
|
1038
|
+
},
|
1039
|
+
"CreateTags": {
|
1040
|
+
"request": {
|
1041
|
+
"operation": "CreateTags",
|
1042
|
+
"params": [
|
1043
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
1044
|
+
]
|
1045
|
+
},
|
1046
|
+
"resource": {
|
1047
|
+
"type": "Tag",
|
1048
|
+
"identifiers": [
|
1049
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
1050
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
1051
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
1052
|
+
]
|
1053
|
+
}
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
},
|
1057
|
+
"Volume": {
|
1058
|
+
"identifiers": [{ "name": "Id", "memberName" : "VolumeId" }],
|
1059
|
+
"shape": "Volume",
|
1060
|
+
"load": {
|
1061
|
+
"request": {
|
1062
|
+
"operation": "DescribeVolumes",
|
1063
|
+
"params": [
|
1064
|
+
{ "target":"VolumeIds[0]", "sourceType":"identifier", "source":"Id" }
|
1065
|
+
]
|
1066
|
+
},
|
1067
|
+
"path": "Volumes[0]"
|
1068
|
+
},
|
1069
|
+
"actions": {
|
1070
|
+
"CreateSnapshot": {
|
1071
|
+
"request": {
|
1072
|
+
"operation": "CreateSnapshot",
|
1073
|
+
"params": [
|
1074
|
+
{ "target":"VolumeId", "sourceType":"identifier", "source":"Id" }
|
1075
|
+
]
|
1076
|
+
},
|
1077
|
+
"resource": {
|
1078
|
+
"type": "Snapshot",
|
1079
|
+
"identifiers": [
|
1080
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"SnapshotId" }
|
1081
|
+
]
|
1082
|
+
},
|
1083
|
+
"path": "$"
|
1084
|
+
},
|
1085
|
+
"AttachToInstance": {
|
1086
|
+
"request": {
|
1087
|
+
"operation": "AttachVolume",
|
1088
|
+
"params": [
|
1089
|
+
{ "target":"VolumeId", "sourceType":"identifier", "source":"Id" }
|
1090
|
+
]
|
1091
|
+
}
|
1092
|
+
},
|
1093
|
+
"DetachFromInstance": {
|
1094
|
+
"request": {
|
1095
|
+
"operation": "DetachVolume",
|
1096
|
+
"params": [
|
1097
|
+
{ "target":"VolumeId", "sourceType":"identifier", "source":"Id" }
|
1098
|
+
]
|
1099
|
+
}
|
1100
|
+
},
|
1101
|
+
"DescribeAttribute": {
|
1102
|
+
"request": {
|
1103
|
+
"operation": "DescribeVolumeAttribute",
|
1104
|
+
"params": [
|
1105
|
+
{ "target":"VolumeId", "sourceType":"identifier", "source":"Id" }
|
1106
|
+
]
|
1107
|
+
}
|
1108
|
+
},
|
1109
|
+
"ModifyAttribute": {
|
1110
|
+
"request": {
|
1111
|
+
"operation": "ModifyVolumeAttribute",
|
1112
|
+
"params": [
|
1113
|
+
{ "target":"VolumeId", "sourceType":"identifier", "source":"Id" }
|
1114
|
+
]
|
1115
|
+
}
|
1116
|
+
},
|
1117
|
+
"EnableIo": {
|
1118
|
+
"request": {
|
1119
|
+
"operation": "EnableVolumeIO",
|
1120
|
+
"params": [
|
1121
|
+
{ "target":"VolumeId", "sourceType":"identifier", "source":"Id" }
|
1122
|
+
]
|
1123
|
+
}
|
1124
|
+
},
|
1125
|
+
"DescribeStatus": {
|
1126
|
+
"request": {
|
1127
|
+
"operation": "DescribeVolumeStatus",
|
1128
|
+
"params": [
|
1129
|
+
{ "target":"VolumeIds[0]", "sourceType":"identifier", "source":"Id" }
|
1130
|
+
]
|
1131
|
+
}
|
1132
|
+
},
|
1133
|
+
"CreateTags": {
|
1134
|
+
"request": {
|
1135
|
+
"operation": "CreateTags",
|
1136
|
+
"params": [
|
1137
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
1138
|
+
]
|
1139
|
+
},
|
1140
|
+
"resource": {
|
1141
|
+
"type": "Tag",
|
1142
|
+
"identifiers": [
|
1143
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
1144
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
1145
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
1146
|
+
]
|
1147
|
+
}
|
1148
|
+
}
|
1149
|
+
},
|
1150
|
+
"hasMany": {
|
1151
|
+
"Snapshots": {
|
1152
|
+
"request": {
|
1153
|
+
"operation": "DescribeSnapshots",
|
1154
|
+
"params": [
|
1155
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"volume-id" },
|
1156
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Id" }
|
1157
|
+
]
|
1158
|
+
},
|
1159
|
+
"resource": {
|
1160
|
+
"type": "Snapshot",
|
1161
|
+
"identifiers": [
|
1162
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"Snapshots[].SnapshotId" }
|
1163
|
+
]
|
1164
|
+
},
|
1165
|
+
"path": "Snapshots[]"
|
1166
|
+
}
|
1167
|
+
}
|
1168
|
+
},
|
1169
|
+
"Snapshot": {
|
1170
|
+
"identifiers": [{ "name": "Id", "memberName" : "SnapshotId" }],
|
1171
|
+
"shape": "Snapshot",
|
1172
|
+
"load": {
|
1173
|
+
"request": {
|
1174
|
+
"operation": "DescribeSnapshots",
|
1175
|
+
"params": [
|
1176
|
+
{ "target":"SnapshotIds[0]", "sourceType":"identifier", "source":"Id" }
|
1177
|
+
]
|
1178
|
+
},
|
1179
|
+
"path": "Snapshots[0]"
|
1180
|
+
},
|
1181
|
+
"actions": {
|
1182
|
+
"Copy": {
|
1183
|
+
"request": {
|
1184
|
+
"operation": "CopySnapshot",
|
1185
|
+
"params": [
|
1186
|
+
{ "target":"SourceSnapshotId", "sourceType":"identifier", "source":"Id" }
|
1187
|
+
]
|
1188
|
+
}
|
1189
|
+
},
|
1190
|
+
"Delete": {
|
1191
|
+
"request": {
|
1192
|
+
"operation": "DeleteSnapshot",
|
1193
|
+
"params": [
|
1194
|
+
{ "target":"SnapshotId", "sourceType":"identifier", "source":"Id" }
|
1195
|
+
]
|
1196
|
+
}
|
1197
|
+
},
|
1198
|
+
"DescribeAttribute": {
|
1199
|
+
"request": {
|
1200
|
+
"operation": "DescribeSnapshotAttribute",
|
1201
|
+
"params": [
|
1202
|
+
{ "target":"SnapshotId", "sourceType":"identifier", "source":"Id" }
|
1203
|
+
]
|
1204
|
+
}
|
1205
|
+
},
|
1206
|
+
"ModifyAttribute": {
|
1207
|
+
"request": {
|
1208
|
+
"operation": "ModifySnapshotAttribute",
|
1209
|
+
"params": [
|
1210
|
+
{ "target":"SnapshotId", "sourceType":"identifier", "source":"Id" }
|
1211
|
+
]
|
1212
|
+
}
|
1213
|
+
},
|
1214
|
+
"ResetAttribute": {
|
1215
|
+
"request": {
|
1216
|
+
"operation": "ResetSnapshotAttribute",
|
1217
|
+
"params": [
|
1218
|
+
{ "target":"SnapshotId", "sourceType":"identifier", "source":"Id" }
|
1219
|
+
]
|
1220
|
+
}
|
1221
|
+
},
|
1222
|
+
"CreateTags": {
|
1223
|
+
"request": {
|
1224
|
+
"operation": "CreateTags",
|
1225
|
+
"params": [
|
1226
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
1227
|
+
]
|
1228
|
+
},
|
1229
|
+
"resource": {
|
1230
|
+
"type": "Tag",
|
1231
|
+
"identifiers": [
|
1232
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
1233
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
1234
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
1235
|
+
]
|
1236
|
+
}
|
1237
|
+
}
|
1238
|
+
},
|
1239
|
+
"hasOne": {
|
1240
|
+
"Volume": {
|
1241
|
+
"resource": {
|
1242
|
+
"type": "Volume",
|
1243
|
+
"identifiers": [
|
1244
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"VolumeId" }
|
1245
|
+
]
|
1246
|
+
}
|
1247
|
+
}
|
1248
|
+
}
|
1249
|
+
},
|
1250
|
+
"SecurityGroup": {
|
1251
|
+
"identifiers": [{ "name": "Id", "memberName" : "GroupId" }],
|
1252
|
+
"shape": "SecurityGroup",
|
1253
|
+
"load": {
|
1254
|
+
"request": {
|
1255
|
+
"operation": "DescribeSecurityGroups",
|
1256
|
+
"params": [
|
1257
|
+
{ "target":"GroupIds[0]", "sourceType":"identifier", "source":"Id" }
|
1258
|
+
]
|
1259
|
+
},
|
1260
|
+
"path": "SecurityGroups[0]"
|
1261
|
+
},
|
1262
|
+
"actions": {
|
1263
|
+
"Delete": {
|
1264
|
+
"request": {
|
1265
|
+
"operation": "DeleteSecurityGroup",
|
1266
|
+
"params": [
|
1267
|
+
{ "target":"GroupId", "sourceType":"identifier", "source":"Id" }
|
1268
|
+
]
|
1269
|
+
}
|
1270
|
+
},
|
1271
|
+
"AuthorizeEgress": {
|
1272
|
+
"request": {
|
1273
|
+
"operation": "AuthorizeSecurityGroupEgress",
|
1274
|
+
"params": [
|
1275
|
+
{ "target":"GroupId", "sourceType":"identifier", "source":"Id" }
|
1276
|
+
]
|
1277
|
+
}
|
1278
|
+
},
|
1279
|
+
"AuthorizeIngress": {
|
1280
|
+
"request": {
|
1281
|
+
"operation": "AuthorizeSecurityGroupIngress",
|
1282
|
+
"params": [
|
1283
|
+
{ "target":"GroupId", "sourceType":"identifier", "source":"Id" }
|
1284
|
+
]
|
1285
|
+
}
|
1286
|
+
},
|
1287
|
+
"RevokeEgress": {
|
1288
|
+
"request": {
|
1289
|
+
"operation": "RevokeSecurityGroupEgress",
|
1290
|
+
"params": [
|
1291
|
+
{ "target":"GroupId", "sourceType":"identifier", "source":"Id" }
|
1292
|
+
]
|
1293
|
+
}
|
1294
|
+
},
|
1295
|
+
"RevokeIngress": {
|
1296
|
+
"request": {
|
1297
|
+
"operation": "RevokeSecurityGroupIngress",
|
1298
|
+
"params": [
|
1299
|
+
{ "target":"GroupId", "sourceType":"identifier", "source":"Id" }
|
1300
|
+
]
|
1301
|
+
}
|
1302
|
+
},
|
1303
|
+
"CreateTags": {
|
1304
|
+
"request": {
|
1305
|
+
"operation": "CreateTags",
|
1306
|
+
"params": [
|
1307
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
1308
|
+
]
|
1309
|
+
},
|
1310
|
+
"resource": {
|
1311
|
+
"type": "Tag",
|
1312
|
+
"identifiers": [
|
1313
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
1314
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
1315
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
1316
|
+
]
|
1317
|
+
}
|
1318
|
+
}
|
1319
|
+
}
|
1320
|
+
},
|
1321
|
+
"DhcpOptions": {
|
1322
|
+
"identifiers": [{ "name": "Id", "memberName" : "DhcpOptionsId" }],
|
1323
|
+
"shape": "DhcpOptions",
|
1324
|
+
"load": {
|
1325
|
+
"request": {
|
1326
|
+
"operation": "DescribeDhcpOptions",
|
1327
|
+
"params": [
|
1328
|
+
{ "target":"DhcpOptionsIds[0]", "sourceType":"identifier", "source":"Id" }
|
1329
|
+
]
|
1330
|
+
},
|
1331
|
+
"path": "DhcpOptions[0]"
|
1332
|
+
},
|
1333
|
+
"actions": {
|
1334
|
+
"AssociateWithVpc": {
|
1335
|
+
"request": {
|
1336
|
+
"operation": "AssociateDhcpOptions",
|
1337
|
+
"params": [
|
1338
|
+
{ "target":"DhcpOptionsId", "sourceType":"identifier", "source":"Id" }
|
1339
|
+
]
|
1340
|
+
}
|
1341
|
+
},
|
1342
|
+
"Delete": {
|
1343
|
+
"request": {
|
1344
|
+
"operation": "DeleteDhcpOptions",
|
1345
|
+
"params": [
|
1346
|
+
{ "target":"DhcpOptionsId", "sourceType":"identifier", "source":"Id" }
|
1347
|
+
]
|
1348
|
+
}
|
1349
|
+
},
|
1350
|
+
"CreateTags": {
|
1351
|
+
"request": {
|
1352
|
+
"operation": "CreateTags",
|
1353
|
+
"params": [
|
1354
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
1355
|
+
]
|
1356
|
+
},
|
1357
|
+
"resource": {
|
1358
|
+
"type": "Tag",
|
1359
|
+
"identifiers": [
|
1360
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
1361
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
1362
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
1363
|
+
]
|
1364
|
+
}
|
1365
|
+
}
|
1366
|
+
}
|
1367
|
+
},
|
1368
|
+
"InternetGateway": {
|
1369
|
+
"identifiers": [{ "name": "Id", "memberName" : "InternetGatewayId" }],
|
1370
|
+
"shape": "InternetGateway",
|
1371
|
+
"load": {
|
1372
|
+
"request": {
|
1373
|
+
"operation": "DescribeInternetGateways",
|
1374
|
+
"params": [
|
1375
|
+
{ "target":"InternetGatewayIds[0]", "sourceType":"identifier", "source":"Id" }
|
1376
|
+
]
|
1377
|
+
},
|
1378
|
+
"path": "InternetGateways[0]"
|
1379
|
+
},
|
1380
|
+
"actions": {
|
1381
|
+
"AttachToVpc": {
|
1382
|
+
"request": {
|
1383
|
+
"operation": "AttachInternetGateway",
|
1384
|
+
"params": [
|
1385
|
+
{ "target":"InternetGatewayId", "sourceType":"identifier", "source":"Id" }
|
1386
|
+
]
|
1387
|
+
}
|
1388
|
+
},
|
1389
|
+
"DetachFromVpc": {
|
1390
|
+
"request": {
|
1391
|
+
"operation": "DetachInternetGateway",
|
1392
|
+
"params": [
|
1393
|
+
{ "target":"InternetGatewayId", "sourceType":"identifier", "source":"Id" }
|
1394
|
+
]
|
1395
|
+
}
|
1396
|
+
},
|
1397
|
+
"Delete": {
|
1398
|
+
"request": {
|
1399
|
+
"operation": "DeleteInternetGateway",
|
1400
|
+
"params": [
|
1401
|
+
{ "target":"InternetGatewayId", "sourceType":"identifier", "source":"Id" }
|
1402
|
+
]
|
1403
|
+
}
|
1404
|
+
},
|
1405
|
+
"CreateTags": {
|
1406
|
+
"request": {
|
1407
|
+
"operation": "CreateTags",
|
1408
|
+
"params": [
|
1409
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
1410
|
+
]
|
1411
|
+
},
|
1412
|
+
"resource": {
|
1413
|
+
"type": "Tag",
|
1414
|
+
"identifiers": [
|
1415
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
1416
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
1417
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
1418
|
+
]
|
1419
|
+
}
|
1420
|
+
}
|
1421
|
+
}
|
1422
|
+
},
|
1423
|
+
"KeyPair": {
|
1424
|
+
"identifiers": [{ "name": "Name", "memberName" : "KeyName" }],
|
1425
|
+
"shape": "KeyPairInfo",
|
1426
|
+
"load": {
|
1427
|
+
"request": {
|
1428
|
+
"operation": "DescribeKeyPairs",
|
1429
|
+
"params": [
|
1430
|
+
{ "target":"KeyNames[0]", "sourceType":"identifier", "source":"Name" }
|
1431
|
+
]
|
1432
|
+
},
|
1433
|
+
"path": "KeyPairs[0]"
|
1434
|
+
},
|
1435
|
+
"actions": {
|
1436
|
+
"Delete": {
|
1437
|
+
"request": {
|
1438
|
+
"operation": "DeleteKeyPair",
|
1439
|
+
"params": [
|
1440
|
+
{ "target":"KeyName", "sourceType":"identifier", "source":"Name" }
|
1441
|
+
]
|
1442
|
+
}
|
1443
|
+
}
|
1444
|
+
}
|
1445
|
+
},
|
1446
|
+
"NetworkAcl": {
|
1447
|
+
"identifiers": [{ "name": "Id", "memberName" : "NetworkAclId" }],
|
1448
|
+
"shape": "NetworkAcl",
|
1449
|
+
"load": {
|
1450
|
+
"request": {
|
1451
|
+
"operation": "DescribeNetworkAcls",
|
1452
|
+
"params": [
|
1453
|
+
{ "target":"NetworkAclIds[0]", "sourceType":"identifier", "source":"Id" }
|
1454
|
+
]
|
1455
|
+
},
|
1456
|
+
"path": "NetworkAcls[0]"
|
1457
|
+
},
|
1458
|
+
"actions": {
|
1459
|
+
"Delete": {
|
1460
|
+
"request": {
|
1461
|
+
"operation": "DeleteNetworkAcl",
|
1462
|
+
"params": [
|
1463
|
+
{ "target":"NetworkAclId", "sourceType":"identifier", "source":"Id" }
|
1464
|
+
]
|
1465
|
+
}
|
1466
|
+
},
|
1467
|
+
"CreateEntry": {
|
1468
|
+
"request": {
|
1469
|
+
"operation": "CreateNetworkAclEntry",
|
1470
|
+
"params": [
|
1471
|
+
{ "target":"NetworkAclId", "sourceType":"identifier", "source":"Id" }
|
1472
|
+
]
|
1473
|
+
}
|
1474
|
+
},
|
1475
|
+
"DeleteEntry": {
|
1476
|
+
"request": {
|
1477
|
+
"operation": "DeleteNetworkAclEntry",
|
1478
|
+
"params": [
|
1479
|
+
{ "target":"NetworkAclId", "sourceType":"identifier", "source":"Id" }
|
1480
|
+
]
|
1481
|
+
}
|
1482
|
+
},
|
1483
|
+
"ReplaceEntry": {
|
1484
|
+
"request": {
|
1485
|
+
"operation": "ReplaceNetworkAclEntry",
|
1486
|
+
"params": [
|
1487
|
+
{ "target":"NetworkAclId", "sourceType":"identifier", "source":"Id" }
|
1488
|
+
]
|
1489
|
+
}
|
1490
|
+
},
|
1491
|
+
"ReplaceAssociation": {
|
1492
|
+
"request": {
|
1493
|
+
"operation": "ReplaceNetworkAclAssociation",
|
1494
|
+
"params": [
|
1495
|
+
{ "target":"NetworkAclId", "sourceType":"identifier", "source":"Id" }
|
1496
|
+
]
|
1497
|
+
}
|
1498
|
+
},
|
1499
|
+
"CreateTags": {
|
1500
|
+
"request": {
|
1501
|
+
"operation": "CreateTags",
|
1502
|
+
"params": [
|
1503
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
1504
|
+
]
|
1505
|
+
},
|
1506
|
+
"resource": {
|
1507
|
+
"type": "Tag",
|
1508
|
+
"identifiers": [
|
1509
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
1510
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
1511
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
1512
|
+
]
|
1513
|
+
}
|
1514
|
+
}
|
1515
|
+
},
|
1516
|
+
"hasOne": {
|
1517
|
+
"Vpc": {
|
1518
|
+
"resource": {
|
1519
|
+
"type": "Vpc",
|
1520
|
+
"identifiers": [
|
1521
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"VpcId" }
|
1522
|
+
]
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
}
|
1526
|
+
},
|
1527
|
+
"NetworkInterface": {
|
1528
|
+
"identifiers": [{ "name": "Id", "memberName" : "NetworkInterfaceId" }],
|
1529
|
+
"shape": "NetworkInterface",
|
1530
|
+
"load": {
|
1531
|
+
"request": {
|
1532
|
+
"operation": "DescribeNetworkInterfaces",
|
1533
|
+
"params": [
|
1534
|
+
{ "target":"NetworkInterfaceIds[0]", "sourceType":"identifier", "source":"Id" }
|
1535
|
+
]
|
1536
|
+
},
|
1537
|
+
"path": "NetworkInterfaces[0]"
|
1538
|
+
},
|
1539
|
+
"actions": {
|
1540
|
+
"Attach": {
|
1541
|
+
"request": {
|
1542
|
+
"operation": "AttachNetworkInterface",
|
1543
|
+
"params": [
|
1544
|
+
{ "target":"NetworkInterfaceId", "sourceType":"identifier", "source":"Id" }
|
1545
|
+
]
|
1546
|
+
}
|
1547
|
+
},
|
1548
|
+
"Detach": {
|
1549
|
+
"request": {
|
1550
|
+
"operation": "DetachNetworkInterface",
|
1551
|
+
"params": [
|
1552
|
+
{ "target":"AttachmentId", "sourceType":"dataMember", "source":"Attachment.AttachmentId" }
|
1553
|
+
]
|
1554
|
+
}
|
1555
|
+
},
|
1556
|
+
"AssignPrivateIpAddresses": {
|
1557
|
+
"request": {
|
1558
|
+
"operation": "AssignPrivateIpAddresses",
|
1559
|
+
"params": [
|
1560
|
+
{ "target":"NetworkInterfaceId", "sourceType":"identifier", "source":"Id" }
|
1561
|
+
]
|
1562
|
+
}
|
1563
|
+
},
|
1564
|
+
"UnassignPrivateIpAddresses": {
|
1565
|
+
"request": {
|
1566
|
+
"operation": "UnassignPrivateIpAddresses",
|
1567
|
+
"params": [
|
1568
|
+
{ "target":"NetworkInterfaceId", "sourceType":"identifier", "source":"Id" }
|
1569
|
+
]
|
1570
|
+
}
|
1571
|
+
},
|
1572
|
+
"Delete": {
|
1573
|
+
"request": {
|
1574
|
+
"operation": "DeleteNetworkInterface",
|
1575
|
+
"params": [
|
1576
|
+
{ "target":"NetworkInterfaceId", "sourceType":"identifier", "source":"Id" }
|
1577
|
+
]
|
1578
|
+
}
|
1579
|
+
},
|
1580
|
+
"DescribeAttribute": {
|
1581
|
+
"request": {
|
1582
|
+
"operation": "DescribeNetworkInterfaceAttribute",
|
1583
|
+
"params": [
|
1584
|
+
{ "target":"NetworkInterfaceId", "sourceType":"identifier", "source":"Id" }
|
1585
|
+
]
|
1586
|
+
}
|
1587
|
+
},
|
1588
|
+
"ModifyAttribute": {
|
1589
|
+
"request": {
|
1590
|
+
"operation": "ModifyNetworkInterfaceAttribute",
|
1591
|
+
"params": [
|
1592
|
+
{ "target":"NetworkInterfaceId", "sourceType":"identifier", "source":"Id" }
|
1593
|
+
]
|
1594
|
+
}
|
1595
|
+
},
|
1596
|
+
"ResetAttribute": {
|
1597
|
+
"request": {
|
1598
|
+
"operation": "ResetNetworkInterfaceAttribute",
|
1599
|
+
"params": [
|
1600
|
+
{ "target":"NetworkInterfaceId", "sourceType":"identifier", "source":"Id" }
|
1601
|
+
]
|
1602
|
+
}
|
1603
|
+
},
|
1604
|
+
"CreateTags": {
|
1605
|
+
"request": {
|
1606
|
+
"operation": "CreateTags",
|
1607
|
+
"params": [
|
1608
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
1609
|
+
]
|
1610
|
+
},
|
1611
|
+
"resource": {
|
1612
|
+
"type": "Tag",
|
1613
|
+
"identifiers": [
|
1614
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
1615
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
1616
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
1617
|
+
]
|
1618
|
+
}
|
1619
|
+
}
|
1620
|
+
},
|
1621
|
+
"hasOne": {
|
1622
|
+
"Subnet": {
|
1623
|
+
"resource": {
|
1624
|
+
"type": "Subnet",
|
1625
|
+
"identifiers": [
|
1626
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"SubnetId" }
|
1627
|
+
]
|
1628
|
+
}
|
1629
|
+
},
|
1630
|
+
"Vpc": {
|
1631
|
+
"resource": {
|
1632
|
+
"type": "Vpc",
|
1633
|
+
"identifiers": [
|
1634
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"VpcId" }
|
1635
|
+
]
|
1636
|
+
}
|
1637
|
+
}
|
1638
|
+
}
|
1639
|
+
},
|
1640
|
+
"PlacementGroup": {
|
1641
|
+
"identifiers": [{ "name": "Name", "memberName" : "GroupName" }],
|
1642
|
+
"shape": "PlacementGroup",
|
1643
|
+
"load": {
|
1644
|
+
"request": {
|
1645
|
+
"operation": "DescribePlacementGroups",
|
1646
|
+
"params": [
|
1647
|
+
{ "target":"GroupNames[0]", "sourceType":"identifier", "source":"Name" }
|
1648
|
+
]
|
1649
|
+
},
|
1650
|
+
"path": "PlacementGroups[0]"
|
1651
|
+
},
|
1652
|
+
"actions": {
|
1653
|
+
"Delete": {
|
1654
|
+
"request": {
|
1655
|
+
"operation": "DeletePlacementGroup",
|
1656
|
+
"params": [
|
1657
|
+
{ "target":"GroupName", "sourceType":"identifier", "source":"Name" }
|
1658
|
+
]
|
1659
|
+
}
|
1660
|
+
}
|
1661
|
+
},
|
1662
|
+
"hasMany": {
|
1663
|
+
"Instances": {
|
1664
|
+
"request": {
|
1665
|
+
"operation": "DescribeInstances",
|
1666
|
+
"params": [
|
1667
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"placement-group-name" },
|
1668
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Name" }
|
1669
|
+
]
|
1670
|
+
},
|
1671
|
+
"resource": {
|
1672
|
+
"type": "Instance",
|
1673
|
+
"identifiers": [
|
1674
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"Reservations[].Instances[].InstanceId" }
|
1675
|
+
]
|
1676
|
+
},
|
1677
|
+
"path": "Reservations[].Instances[]"
|
1678
|
+
}
|
1679
|
+
}
|
1680
|
+
},
|
1681
|
+
"RouteTable": {
|
1682
|
+
"identifiers": [{ "name": "Id", "memberName" : "RouteTableId" }],
|
1683
|
+
"shape": "RouteTable",
|
1684
|
+
"load": {
|
1685
|
+
"request": {
|
1686
|
+
"operation": "DescribeRouteTables",
|
1687
|
+
"params": [
|
1688
|
+
{ "target":"RouteTableIds[0]", "sourceType":"identifier", "source":"Id" }
|
1689
|
+
]
|
1690
|
+
},
|
1691
|
+
"path": "RouteTables[0]"
|
1692
|
+
},
|
1693
|
+
"actions": {
|
1694
|
+
"CreateRoute": {
|
1695
|
+
"request": {
|
1696
|
+
"operation": "CreateRoute",
|
1697
|
+
"params": [
|
1698
|
+
{ "target":"RouteTableId", "sourceType":"identifier", "source":"Id" }
|
1699
|
+
]
|
1700
|
+
}
|
1701
|
+
},
|
1702
|
+
"AssociateWithSubnet": {
|
1703
|
+
"request": {
|
1704
|
+
"operation": "AssociateRouteTable",
|
1705
|
+
"params": [
|
1706
|
+
{ "target":"RouteTableId", "sourceType":"identifier", "source":"Id" }
|
1707
|
+
]
|
1708
|
+
},
|
1709
|
+
"resource": {
|
1710
|
+
"type": "RouteTableAssociation",
|
1711
|
+
"identifiers": [
|
1712
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"AssociationId" }
|
1713
|
+
]
|
1714
|
+
}
|
1715
|
+
},
|
1716
|
+
"CreateTags": {
|
1717
|
+
"request": {
|
1718
|
+
"operation": "CreateTags",
|
1719
|
+
"params": [
|
1720
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"Id" }
|
1721
|
+
]
|
1722
|
+
},
|
1723
|
+
"resource": {
|
1724
|
+
"type": "Tag",
|
1725
|
+
"identifiers": [
|
1726
|
+
{ "target":"ResourceId", "sourceType":"identifier", "source":"Id" },
|
1727
|
+
{ "target":"Key", "sourceType":"requestParameter", "source":"Tags[].Key" },
|
1728
|
+
{ "target":"Value", "sourceType":"requestParameter", "source":"Tags[].Value" }
|
1729
|
+
]
|
1730
|
+
}
|
1731
|
+
}
|
1732
|
+
},
|
1733
|
+
"hasOne": {
|
1734
|
+
"Vpc": {
|
1735
|
+
"resource": {
|
1736
|
+
"type": "Vpc",
|
1737
|
+
"identifiers": [
|
1738
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"VpcId" }
|
1739
|
+
]
|
1740
|
+
}
|
1741
|
+
}
|
1742
|
+
},
|
1743
|
+
"hasMany": {
|
1744
|
+
"Associations": {
|
1745
|
+
"request": {
|
1746
|
+
"operation": "DescribeRouteTables",
|
1747
|
+
"params": [
|
1748
|
+
{ "target":"RouteTableIds[0]", "sourceType":"identifier", "source":"Id" }
|
1749
|
+
]
|
1750
|
+
},
|
1751
|
+
"resource": {
|
1752
|
+
"type": "RouteTableAssociation",
|
1753
|
+
"identifiers": [
|
1754
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"RouteTables[0].Associations[].RouteTableAssociationId" }
|
1755
|
+
]
|
1756
|
+
},
|
1757
|
+
"path": "RouteTables[0].Associations[]"
|
1758
|
+
}
|
1759
|
+
}
|
1760
|
+
},
|
1761
|
+
"RouteTableAssociation": {
|
1762
|
+
"identifiers": [{ "name": "Id", "memberName" : "RouteTableAssociationId" }],
|
1763
|
+
"shape": "RouteTableAssociation",
|
1764
|
+
"actions": {
|
1765
|
+
"ReplaceSubnet": {
|
1766
|
+
"request": {
|
1767
|
+
"operation": "ReplaceRouteTableAssociation",
|
1768
|
+
"params": [
|
1769
|
+
{ "target":"AssociationId", "sourceType":"identifier", "source":"Id" }
|
1770
|
+
]
|
1771
|
+
},
|
1772
|
+
"resource": {
|
1773
|
+
"type": "RouteTableAssociation",
|
1774
|
+
"identifiers": [
|
1775
|
+
{ "target":"Id", "sourceType":"responsePath", "source":"NewAssociationId" }
|
1776
|
+
]
|
1777
|
+
}
|
1778
|
+
},
|
1779
|
+
"Delete": {
|
1780
|
+
"request": {
|
1781
|
+
"operation": "DisassociateRouteTable",
|
1782
|
+
"params": [
|
1783
|
+
{ "target":"AssociationId", "sourceType":"identifier", "source":"Id" }
|
1784
|
+
]
|
1785
|
+
}
|
1786
|
+
}
|
1787
|
+
},
|
1788
|
+
"hasOne": {
|
1789
|
+
"RouteTable": {
|
1790
|
+
"resource": {
|
1791
|
+
"type": "RouteTable",
|
1792
|
+
"identifiers": [
|
1793
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"RouteTableId" }
|
1794
|
+
]
|
1795
|
+
}
|
1796
|
+
},
|
1797
|
+
"Subnet": {
|
1798
|
+
"resource": {
|
1799
|
+
"type": "Subnet",
|
1800
|
+
"identifiers": [
|
1801
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"SubnetId" }
|
1802
|
+
]
|
1803
|
+
}
|
1804
|
+
}
|
1805
|
+
}
|
1806
|
+
},
|
1807
|
+
"VpcPeeringConnection": {
|
1808
|
+
"identifiers": [{ "name": "Id", "memberName" : "VpcPeeringConnectionId" }],
|
1809
|
+
"shape": "VpcPeeringConnection",
|
1810
|
+
"load": {
|
1811
|
+
"request": {
|
1812
|
+
"operation": "DescribeVpcPeeringConnections",
|
1813
|
+
"params": [
|
1814
|
+
{ "target":"VpcPeeringConnectionIds[0]", "sourceType":"identifier", "source":"Id" }
|
1815
|
+
]
|
1816
|
+
},
|
1817
|
+
"path": "VpcPeeringConnections[0]"
|
1818
|
+
},
|
1819
|
+
"actions": {
|
1820
|
+
"Accept": {
|
1821
|
+
"request": {
|
1822
|
+
"operation": "AcceptVpcPeeringConnection",
|
1823
|
+
"params": [
|
1824
|
+
{ "target":"VpcPeeringConnectionId", "sourceType":"identifier", "source":"Id" }
|
1825
|
+
]
|
1826
|
+
}
|
1827
|
+
},
|
1828
|
+
"Reject": {
|
1829
|
+
"request": {
|
1830
|
+
"operation": "RejectVpcPeeringConnection",
|
1831
|
+
"params": [
|
1832
|
+
{ "target":"VpcPeeringConnectionId", "sourceType":"identifier", "source":"Id" }
|
1833
|
+
]
|
1834
|
+
}
|
1835
|
+
},
|
1836
|
+
"Delete": {
|
1837
|
+
"request": {
|
1838
|
+
"operation": "DeleteVpcPeeringConnection",
|
1839
|
+
"params": [
|
1840
|
+
{ "target":"VpcPeeringConnectionId", "sourceType":"identifier", "source":"Id" }
|
1841
|
+
]
|
1842
|
+
}
|
1843
|
+
}
|
1844
|
+
},
|
1845
|
+
"hasOne": {
|
1846
|
+
"RequesterVpc": {
|
1847
|
+
"resource": {
|
1848
|
+
"type": "Vpc",
|
1849
|
+
"identifiers": [
|
1850
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"RequesterVpcInfo.VpcId" }
|
1851
|
+
]
|
1852
|
+
}
|
1853
|
+
},
|
1854
|
+
"AccepterVpc": {
|
1855
|
+
"resource": {
|
1856
|
+
"type": "Vpc",
|
1857
|
+
"identifiers": [
|
1858
|
+
{ "target":"Id", "sourceType":"dataMember", "source":"AccepterVpcInfo.VpcId" }
|
1859
|
+
]
|
1860
|
+
}
|
1861
|
+
}
|
1862
|
+
}
|
1863
|
+
},
|
1864
|
+
"Tag": {
|
1865
|
+
"identifiers": [
|
1866
|
+
{ "name": "ResourceId", "memberName" : "ResourceId" },
|
1867
|
+
{ "name": "Key", "memberName" : "Key" },
|
1868
|
+
{ "name": "Value", "memberName" : "Value" }
|
1869
|
+
],
|
1870
|
+
"shape": "TagDescription",
|
1871
|
+
"load": {
|
1872
|
+
"request": {
|
1873
|
+
"operation": "DescribeTags",
|
1874
|
+
"params": [
|
1875
|
+
{ "target":"Filters[0].Name", "sourceType":"string", "source":"key" },
|
1876
|
+
{ "target":"Filters[0].Values[0]", "sourceType":"identifier", "source":"Key" },
|
1877
|
+
{ "target":"Filters[1].Name", "sourceType":"string", "source":"value" },
|
1878
|
+
{ "target":"Filters[1].Values[0]", "sourceType":"identifier", "source":"Value" }
|
1879
|
+
]
|
1880
|
+
},
|
1881
|
+
"path": "Tags[0]"
|
1882
|
+
},
|
1883
|
+
"actions": {
|
1884
|
+
"Delete": {
|
1885
|
+
"request": {
|
1886
|
+
"operation": "DeleteTags",
|
1887
|
+
"params": [
|
1888
|
+
{ "target":"Resources[0]", "sourceType":"identifier", "source":"ResourceId" },
|
1889
|
+
{ "target":"Tags[0].Key", "sourceType":"identifier", "source":"Key" },
|
1890
|
+
{ "target":"Tags[0].Value", "sourceType":"identifier", "source":"Value" }
|
1891
|
+
]
|
1892
|
+
}
|
384
1893
|
}
|
385
1894
|
}
|
386
1895
|
}
|