aws-sdk-core 2.0.38 → 2.0.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/cloudformation/2010-05-15/waiters-1.json +70 -0
- data/apis/cloudfront/2014-11-06/waiters-2.json +3 -3
- data/apis/cognito-sync/2014-06-30/api-2.json +206 -0
- data/apis/cognito-sync/2014-06-30/docs-2.json +79 -29
- data/apis/config/2014-11-12/api-2.json +696 -0
- data/apis/config/2014-11-12/docs-2.json +514 -0
- data/apis/config/2014-11-12/paginators-1.json +10 -0
- data/apis/dynamodb/2012-08-10/resources-1.json +136 -0
- data/apis/ec2/2014-10-01/waiters-2.json +36 -0
- data/apis/elasticache/2015-02-02/waiters-1.json +143 -0
- data/apis/opsworks/2013-02-18/waiters-1.json +190 -0
- data/apis/rds/2014-10-31/waiters-2.json +5 -6
- data/lib/aws-sdk-core.rb +1 -0
- data/lib/aws-sdk-core/cloudformation.rb +1 -0
- data/lib/aws-sdk-core/configservice.rb +3 -3
- data/lib/aws-sdk-core/dynamodb.rb +1 -0
- data/lib/aws-sdk-core/elasticache.rb +1 -0
- data/lib/aws-sdk-core/{lambda_preview.rb → lambdapreview.rb} +0 -0
- data/lib/aws-sdk-core/opsworks.rb +1 -0
- data/lib/aws-sdk-core/structure.rb +1 -1
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/aws-sdk-core/xml/parser/engines/ox.rb +1 -1
- metadata +11 -4
@@ -0,0 +1,136 @@
|
|
1
|
+
{
|
2
|
+
"service": {
|
3
|
+
"actions": {
|
4
|
+
"BatchGetItem": {
|
5
|
+
"request": { "operation": "BatchGetItem" }
|
6
|
+
},
|
7
|
+
"BatchWriteItem": {
|
8
|
+
"request": { "operation": "BatchWriteItem" }
|
9
|
+
},
|
10
|
+
"CreateTable": {
|
11
|
+
"request": { "operation": "CreateTable" },
|
12
|
+
"resource": {
|
13
|
+
"type": "Table",
|
14
|
+
"identifiers": [
|
15
|
+
{ "target": "Name", "source": "response", "path": "TableDescription.TableName" }
|
16
|
+
],
|
17
|
+
"path": "TableDescription"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"has": {
|
22
|
+
"Table": {
|
23
|
+
"resource": {
|
24
|
+
"type": "Table",
|
25
|
+
"identifiers": [
|
26
|
+
{ "target": "Name", "source": "input" }
|
27
|
+
]
|
28
|
+
}
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"hasMany": {
|
32
|
+
"Tables": {
|
33
|
+
"request": { "operation": "ListTables" },
|
34
|
+
"resource": {
|
35
|
+
"type": "Table",
|
36
|
+
"identifiers": [
|
37
|
+
{ "target": "Name", "source": "response", "path": "TableNames[]" }
|
38
|
+
]
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"resources": {
|
44
|
+
"Table": {
|
45
|
+
"identifiers": [
|
46
|
+
{
|
47
|
+
"name": "Name",
|
48
|
+
"memberName": "TableName"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"shape": "TableDescription",
|
52
|
+
"load": {
|
53
|
+
"request": {
|
54
|
+
"operation": "DescribeTable",
|
55
|
+
"params": [
|
56
|
+
{ "target": "TableName", "source": "identifier", "name": "Name" }
|
57
|
+
]
|
58
|
+
},
|
59
|
+
"path": "Table"
|
60
|
+
},
|
61
|
+
"actions": {
|
62
|
+
"Delete": {
|
63
|
+
"request": {
|
64
|
+
"operation": "DeleteTable",
|
65
|
+
"params": [
|
66
|
+
{ "target": "TableName", "source": "identifier", "name": "Name" }
|
67
|
+
]
|
68
|
+
}
|
69
|
+
},
|
70
|
+
"DeleteItem": {
|
71
|
+
"request": {
|
72
|
+
"operation": "DeleteItem",
|
73
|
+
"params": [
|
74
|
+
{ "target": "TableName", "source": "identifier", "name": "Name" }
|
75
|
+
]
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"GetItem": {
|
79
|
+
"request": {
|
80
|
+
"operation": "GetItem",
|
81
|
+
"params": [
|
82
|
+
{ "target": "TableName", "source": "identifier", "name": "Name" }
|
83
|
+
]
|
84
|
+
}
|
85
|
+
},
|
86
|
+
"PutItem": {
|
87
|
+
"request": {
|
88
|
+
"operation": "PutItem",
|
89
|
+
"params": [
|
90
|
+
{ "target": "TableName", "source": "identifier", "name": "Name" }
|
91
|
+
]
|
92
|
+
}
|
93
|
+
},
|
94
|
+
"Query": {
|
95
|
+
"request": {
|
96
|
+
"operation": "Query",
|
97
|
+
"params": [
|
98
|
+
{ "target": "TableName", "source": "identifier", "name": "Name" }
|
99
|
+
]
|
100
|
+
}
|
101
|
+
},
|
102
|
+
"Scan": {
|
103
|
+
"request": {
|
104
|
+
"operation": "Scan",
|
105
|
+
"params": [
|
106
|
+
{ "target": "TableName", "source": "identifier", "name": "Name" }
|
107
|
+
]
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"Update": {
|
111
|
+
"request": {
|
112
|
+
"operation": "UpdateTable",
|
113
|
+
"params": [
|
114
|
+
{ "target": "TableName", "source": "identifier", "name": "Name" }
|
115
|
+
]
|
116
|
+
},
|
117
|
+
"resource": {
|
118
|
+
"type": "Table",
|
119
|
+
"identifiers": [
|
120
|
+
{ "target": "Name", "source": "identifier", "name": "Name" }
|
121
|
+
],
|
122
|
+
"path": "TableDescription"
|
123
|
+
}
|
124
|
+
},
|
125
|
+
"UpdateItem": {
|
126
|
+
"request": {
|
127
|
+
"operation": "UpdateItem",
|
128
|
+
"params": [
|
129
|
+
{ "target": "TableName", "source": "identifier", "name": "Name" }
|
130
|
+
]
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
@@ -252,6 +252,42 @@
|
|
252
252
|
}
|
253
253
|
]
|
254
254
|
},
|
255
|
+
"KeyPairExists": {
|
256
|
+
"operation": "DescribeKeyPairs",
|
257
|
+
"delay": 5,
|
258
|
+
"maxAttempts": 6,
|
259
|
+
"acceptors": [
|
260
|
+
{
|
261
|
+
"expected": true,
|
262
|
+
"matcher": "pathAll",
|
263
|
+
"state": "success",
|
264
|
+
"argument": "length(KeyPairs[].KeyName) > `0`"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"expected": "InvalidKeyPairNotFound",
|
268
|
+
"matcher": "error",
|
269
|
+
"state": "retry"
|
270
|
+
}
|
271
|
+
]
|
272
|
+
},
|
273
|
+
"NetworkInterfaceAvailable": {
|
274
|
+
"operation": "DescribeNetworkInterfaces",
|
275
|
+
"delay": 20,
|
276
|
+
"maxAttempts": 10,
|
277
|
+
"acceptors": [
|
278
|
+
{
|
279
|
+
"expected": "available",
|
280
|
+
"matcher": "pathAll",
|
281
|
+
"state": "success",
|
282
|
+
"argument": "NetworkInterfaces[].Status"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"expected": "InvalidNetworkInterfaceIDNotFound",
|
286
|
+
"matcher": "error",
|
287
|
+
"state": "failure"
|
288
|
+
}
|
289
|
+
]
|
290
|
+
},
|
255
291
|
"PasswordDataAvailable": {
|
256
292
|
"operation": "GetPasswordData",
|
257
293
|
"maxAttempts": 40,
|
@@ -0,0 +1,143 @@
|
|
1
|
+
{
|
2
|
+
"version": 2,
|
3
|
+
"waiters": {
|
4
|
+
"CacheClusterAvailable": {
|
5
|
+
"delay": 15,
|
6
|
+
"operation": "DescribeCacheClusters",
|
7
|
+
"maxAttempts": 40,
|
8
|
+
"description": "Wait until ElastiCache cluster is available.",
|
9
|
+
"acceptors": [
|
10
|
+
{
|
11
|
+
"expected": "available",
|
12
|
+
"matcher": "pathAll",
|
13
|
+
"state": "success",
|
14
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"expected": "deleted",
|
18
|
+
"matcher": "pathAny",
|
19
|
+
"state": "failure",
|
20
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"expected": "deleting",
|
24
|
+
"matcher": "pathAny",
|
25
|
+
"state": "failure",
|
26
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"expected": "incompatible-network",
|
30
|
+
"matcher": "pathAny",
|
31
|
+
"state": "failure",
|
32
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"expected": "restore-failed",
|
36
|
+
"matcher": "pathAny",
|
37
|
+
"state": "failure",
|
38
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
39
|
+
}
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"CacheClusterDeleted": {
|
43
|
+
"delay": 15,
|
44
|
+
"operation": "DescribeCacheClusters",
|
45
|
+
"maxAttempts": 40,
|
46
|
+
"description": "Wait until ElastiCache cluster is deleted.",
|
47
|
+
"acceptors": [
|
48
|
+
{
|
49
|
+
"expected": "deleted",
|
50
|
+
"matcher": "pathAll",
|
51
|
+
"state": "success",
|
52
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"expected": "CacheClusterNotFound",
|
56
|
+
"matcher": "error",
|
57
|
+
"state": "success"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"expected": "available",
|
61
|
+
"matcher": "pathAny",
|
62
|
+
"state": "failure",
|
63
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"expected": "creating",
|
67
|
+
"matcher": "pathAny",
|
68
|
+
"state": "failure",
|
69
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"expected": "incompatible-network",
|
73
|
+
"matcher": "pathAny",
|
74
|
+
"state": "failure",
|
75
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"expected": "modifying",
|
79
|
+
"matcher": "pathAny",
|
80
|
+
"state": "failure",
|
81
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"expected": "restore-failed",
|
85
|
+
"matcher": "pathAny",
|
86
|
+
"state": "failure",
|
87
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"expected": "snapshotting",
|
91
|
+
"matcher": "pathAny",
|
92
|
+
"state": "failure",
|
93
|
+
"argument": "CacheClusters[].CacheClusterStatus"
|
94
|
+
}
|
95
|
+
]
|
96
|
+
},
|
97
|
+
"ReplicationGroupAvailable": {
|
98
|
+
"delay": 15,
|
99
|
+
"operation": "DescribeReplicationGroups",
|
100
|
+
"maxAttempts": 40,
|
101
|
+
"description": "Wait until ElastiCache replication group is available.",
|
102
|
+
"acceptors": [
|
103
|
+
{
|
104
|
+
"expected": "available",
|
105
|
+
"matcher": "pathAll",
|
106
|
+
"state": "success",
|
107
|
+
"argument": "ReplicationGroups[].Status"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"expected": "deleted",
|
111
|
+
"matcher": "pathAny",
|
112
|
+
"state": "failure",
|
113
|
+
"argument": "ReplicationGroups[].Status"
|
114
|
+
}
|
115
|
+
]
|
116
|
+
},
|
117
|
+
"ReplicationGroupDeleted": {
|
118
|
+
"delay": 15,
|
119
|
+
"operation": "DescribeReplicationGroups",
|
120
|
+
"maxAttempts": 40,
|
121
|
+
"description": "Wait until ElastiCache replication group is deleted.",
|
122
|
+
"acceptors": [
|
123
|
+
{
|
124
|
+
"expected": "deleted",
|
125
|
+
"matcher": "pathAll",
|
126
|
+
"state": "success",
|
127
|
+
"argument": "ReplicationGroups[].Status"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"expected": "available",
|
131
|
+
"matcher": "pathAny",
|
132
|
+
"state": "failure",
|
133
|
+
"argument": "ReplicationGroups[].Status"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"expected": "ReplicationGroupNotFoundFault",
|
137
|
+
"matcher": "error",
|
138
|
+
"state": "success"
|
139
|
+
}
|
140
|
+
]
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
@@ -0,0 +1,190 @@
|
|
1
|
+
{
|
2
|
+
"version": 2,
|
3
|
+
"waiters": {
|
4
|
+
"InstanceOnline": {
|
5
|
+
"delay": 15,
|
6
|
+
"operation": "DescribeInstances",
|
7
|
+
"maxAttempts": 40,
|
8
|
+
"description": "Wait until OpsWorks instance is online.",
|
9
|
+
"acceptors": [
|
10
|
+
{
|
11
|
+
"expected": "online",
|
12
|
+
"matcher": "pathAll",
|
13
|
+
"state": "success",
|
14
|
+
"argument": "Instances[].Status"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"expected": "setup_failed",
|
18
|
+
"matcher": "pathAny",
|
19
|
+
"state": "failure",
|
20
|
+
"argument": "Instances[].Status"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"expected": "shutting_down",
|
24
|
+
"matcher": "pathAny",
|
25
|
+
"state": "failure",
|
26
|
+
"argument": "Instances[].Status"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"expected": "start_failed",
|
30
|
+
"matcher": "pathAny",
|
31
|
+
"state": "failure",
|
32
|
+
"argument": "Instances[].Status"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"expected": "stopped",
|
36
|
+
"matcher": "pathAny",
|
37
|
+
"state": "failure",
|
38
|
+
"argument": "Instances[].Status"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"expected": "stopping",
|
42
|
+
"matcher": "pathAny",
|
43
|
+
"state": "failure",
|
44
|
+
"argument": "Instances[].Status"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"expected": "terminating",
|
48
|
+
"matcher": "pathAny",
|
49
|
+
"state": "failure",
|
50
|
+
"argument": "Instances[].Status"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"expected": "terminated",
|
54
|
+
"matcher": "pathAny",
|
55
|
+
"state": "failure",
|
56
|
+
"argument": "Instances[].Status"
|
57
|
+
}
|
58
|
+
]
|
59
|
+
},
|
60
|
+
"InstanceStopped": {
|
61
|
+
"delay": 15,
|
62
|
+
"operation": "DescribeInstances",
|
63
|
+
"maxAttempts": 40,
|
64
|
+
"description": "Wait until OpsWorks instance is stopped.",
|
65
|
+
"acceptors": [
|
66
|
+
{
|
67
|
+
"expected": "stopped",
|
68
|
+
"matcher": "pathAll",
|
69
|
+
"state": "success",
|
70
|
+
"argument": "Instances[].Status"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"expected": "booting",
|
74
|
+
"matcher": "pathAny",
|
75
|
+
"state": "failure",
|
76
|
+
"argument": "Instances[].Status"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"expected": "online",
|
80
|
+
"matcher": "pathAny",
|
81
|
+
"state": "failure",
|
82
|
+
"argument": "Instances[].Status"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"expected": "pending",
|
86
|
+
"matcher": "pathAny",
|
87
|
+
"state": "failure",
|
88
|
+
"argument": "Instances[].Status"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"expected": "rebooting",
|
92
|
+
"matcher": "pathAny",
|
93
|
+
"state": "failure",
|
94
|
+
"argument": "Instances[].Status"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"expected": "requested",
|
98
|
+
"matcher": "pathAny",
|
99
|
+
"state": "failure",
|
100
|
+
"argument": "Instances[].Status"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"expected": "running_setup",
|
104
|
+
"matcher": "pathAny",
|
105
|
+
"state": "failure",
|
106
|
+
"argument": "Instances[].Status"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"expected": "setup_failed",
|
110
|
+
"matcher": "pathAny",
|
111
|
+
"state": "failure",
|
112
|
+
"argument": "Instances[].Status"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"expected": "start_failed",
|
116
|
+
"matcher": "pathAny",
|
117
|
+
"state": "failure",
|
118
|
+
"argument": "Instances[].Status"
|
119
|
+
}
|
120
|
+
]
|
121
|
+
},
|
122
|
+
"InstanceTerminated": {
|
123
|
+
"delay": 15,
|
124
|
+
"operation": "DescribeInstances",
|
125
|
+
"maxAttempts": 40,
|
126
|
+
"description": "Wait until OpsWorks instance is terminated.",
|
127
|
+
"acceptors": [
|
128
|
+
{
|
129
|
+
"expected": "terminated",
|
130
|
+
"matcher": "pathAll",
|
131
|
+
"state": "success",
|
132
|
+
"argument": "Instances[].Status"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"expected": "ResourceNotFoundException",
|
136
|
+
"matcher": "error",
|
137
|
+
"state": "success"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"expected": "booting",
|
141
|
+
"matcher": "pathAny",
|
142
|
+
"state": "failure",
|
143
|
+
"argument": "Instances[].Status"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"expected": "online",
|
147
|
+
"matcher": "pathAny",
|
148
|
+
"state": "failure",
|
149
|
+
"argument": "Instances[].Status"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"expected": "pending",
|
153
|
+
"matcher": "pathAny",
|
154
|
+
"state": "failure",
|
155
|
+
"argument": "Instances[].Status"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"expected": "rebooting",
|
159
|
+
"matcher": "pathAny",
|
160
|
+
"state": "failure",
|
161
|
+
"argument": "Instances[].Status"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"expected": "requested",
|
165
|
+
"matcher": "pathAny",
|
166
|
+
"state": "failure",
|
167
|
+
"argument": "Instances[].Status"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"expected": "running_setup",
|
171
|
+
"matcher": "pathAny",
|
172
|
+
"state": "failure",
|
173
|
+
"argument": "Instances[].Status"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"expected": "setup_failed",
|
177
|
+
"matcher": "pathAny",
|
178
|
+
"state": "failure",
|
179
|
+
"argument": "Instances[].Status"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"expected": "start_failed",
|
183
|
+
"matcher": "pathAny",
|
184
|
+
"state": "failure",
|
185
|
+
"argument": "Instances[].Status"
|
186
|
+
}
|
187
|
+
]
|
188
|
+
}
|
189
|
+
}
|
190
|
+
}
|