aws-sdk-core 2.0.48 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/autoscaling/2011-01-01/api-2.json +636 -33
- data/apis/cloudhsm/2014-05-30/api-2.json +3 -6
- data/apis/ec2/2014-10-01/api-2.json +10267 -0
- data/apis/ec2/2014-10-01/paginators-1.json +125 -0
- data/apis/ec2/2014-10-01/resources-1.json +2289 -0
- data/apis/ec2/2014-10-01/waiters-2.json +453 -0
- data/apis/ec2/2015-03-01/api-2.json +11245 -0
- data/apis/ec2/2015-03-01/paginators-1.json +125 -0
- data/apis/ec2/2015-03-01/resources-1.json +2479 -0
- data/apis/ec2/2015-03-01/waiters-2.json +458 -0
- data/apis/ec2/2015-04-15/api-2.json +182 -2
- data/apis/ecs/2014-11-13/api-2.json +316 -7
- data/apis/ecs/2014-11-13/paginators-1.json +40 -0
- data/apis/ecs/2014-11-13/waiters-2.json +93 -0
- data/apis/redshift/2012-12-01/waiters-2.json +19 -0
- data/apis/s3/2006-03-01/api-2.json +1 -2
- data/apis/sqs/2012-11-05/api-2.json +5 -6
- data/ca-bundle.crt +3554 -0
- data/lib/aws-sdk-core.rb +127 -44
- data/lib/aws-sdk-core/api/builder.rb +95 -0
- data/lib/aws-sdk-core/api/customizations.rb +152 -0
- data/lib/aws-sdk-core/api/docs/builder.rb +220 -0
- data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +109 -0
- data/lib/aws-sdk-core/api/docs/docstring_provider.rb +66 -0
- data/lib/aws-sdk-core/api/docs/operation_documenter.rb +107 -0
- data/lib/aws-sdk-core/api/docs/param_formatter.rb +163 -0
- data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +22 -0
- data/lib/aws-sdk-core/api/docs/response_structure_example.rb +91 -0
- data/lib/aws-sdk-core/api/docs/utils.rb +133 -0
- data/lib/aws-sdk-core/api/shape_map.rb +140 -0
- data/lib/aws-sdk-core/assume_role_credentials.rb +9 -6
- data/lib/aws-sdk-core/client.rb +9 -6
- data/lib/aws-sdk-core/client_stubs.rb +127 -133
- data/lib/aws-sdk-core/client_waiters.rb +1 -1
- data/lib/aws-sdk-core/credential_provider.rb +44 -0
- data/lib/aws-sdk-core/credential_provider_chain.rb +3 -2
- data/lib/aws-sdk-core/credentials.rb +5 -0
- data/lib/aws-sdk-core/deprecations.rb +69 -0
- data/lib/aws-sdk-core/dynamodb.rb +12 -0
- data/lib/aws-sdk-core/eager_loader.rb +31 -0
- data/lib/aws-sdk-core/ecs.rb +2 -0
- data/lib/aws-sdk-core/empty_structure.rb +1 -82
- data/lib/aws-sdk-core/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-core/instance_profile_credentials.rb +9 -10
- data/lib/aws-sdk-core/json.rb +56 -0
- data/lib/aws-sdk-core/json/builder.rb +33 -34
- data/lib/aws-sdk-core/json/error_handler.rb +2 -2
- data/lib/aws-sdk-core/json/handler.rb +67 -0
- data/lib/aws-sdk-core/json/json_engine.rb +15 -0
- data/lib/aws-sdk-core/json/oj_engine.rb +15 -0
- data/lib/aws-sdk-core/json/parser.rb +30 -38
- data/lib/aws-sdk-core/pageable_response.rb +9 -12
- data/lib/aws-sdk-core/pager.rb +69 -0
- data/lib/aws-sdk-core/param_converter.rb +203 -0
- data/lib/aws-sdk-core/param_validator.rb +148 -0
- data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +21 -18
- data/lib/aws-sdk-core/plugins/glacier_account_id.rb +9 -1
- data/lib/aws-sdk-core/plugins/glacier_checksums.rb +2 -3
- data/lib/aws-sdk-core/plugins/param_converter.rb +27 -0
- data/lib/aws-sdk-core/plugins/param_validator.rb +28 -0
- data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +3 -7
- data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +1 -2
- data/lib/aws-sdk-core/plugins/protocols/rest_xml.rb +1 -1
- data/lib/aws-sdk-core/plugins/regional_endpoint.rb +1 -1
- data/lib/aws-sdk-core/plugins/request_signer.rb +5 -5
- data/lib/aws-sdk-core/plugins/response_paging.rb +20 -11
- data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +1 -1
- data/lib/aws-sdk-core/plugins/s3_request_signer.rb +1 -2
- data/lib/aws-sdk-core/plugins/stub_responses.rb +25 -27
- data/lib/aws-sdk-core/query/ec2_param_builder.rb +29 -34
- data/lib/aws-sdk-core/query/handler.rb +32 -18
- data/lib/aws-sdk-core/query/param_builder.rb +45 -53
- data/lib/aws-sdk-core/refreshing_credentials.rb +3 -15
- data/lib/aws-sdk-core/rest/handler.rb +22 -0
- data/lib/aws-sdk-core/rest/request/body.rb +58 -0
- data/lib/aws-sdk-core/rest/request/builder.rb +50 -0
- data/lib/aws-sdk-core/rest/request/endpoint.rb +70 -0
- data/lib/aws-sdk-core/rest/request/headers.rb +48 -0
- data/lib/aws-sdk-core/rest/response/body.rb +43 -0
- data/lib/aws-sdk-core/rest/response/headers.rb +60 -0
- data/lib/aws-sdk-core/rest/response/parser.rb +47 -0
- data/lib/aws-sdk-core/rest/response/status_code.rb +24 -0
- data/lib/aws-sdk-core/shared_credentials.rb +11 -6
- data/lib/aws-sdk-core/signers/base.rb +1 -1
- data/lib/aws-sdk-core/signers/s3.rb +2 -3
- data/lib/aws-sdk-core/signers/v2.rb +7 -4
- data/lib/aws-sdk-core/signers/v4.rb +11 -22
- data/lib/aws-sdk-core/structure.rb +26 -145
- data/lib/aws-sdk-core/stubbing/data_applicator.rb +46 -0
- data/lib/aws-sdk-core/stubbing/empty_stub.rb +53 -0
- data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +49 -0
- data/lib/aws-sdk-core/stubbing/protocols/json.rb +40 -0
- data/lib/aws-sdk-core/stubbing/protocols/query.rb +40 -0
- data/lib/aws-sdk-core/stubbing/protocols/rest.rb +67 -0
- data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +25 -0
- data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +38 -0
- data/lib/aws-sdk-core/stubbing/stub_data.rb +34 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/lib/aws-sdk-core/xml/builder.rb +58 -52
- data/lib/aws-sdk-core/xml/default_map.rb +10 -0
- data/lib/aws-sdk-core/xml/doc_builder.rb +86 -0
- data/lib/aws-sdk-core/xml/error_handler.rb +7 -2
- data/lib/aws-sdk-core/xml/parser.rb +4 -4
- data/lib/aws-sdk-core/xml/parser/frame.rb +75 -70
- data/lib/aws-sdk-core/xml/parser/stack.rb +4 -4
- data/lib/seahorse.rb +0 -11
- data/lib/seahorse/client/base.rb +3 -12
- data/lib/seahorse/client/http/request.rb +9 -5
- data/lib/seahorse/client/plugins/endpoint.rb +5 -56
- data/lib/seahorse/client/plugins/restful_bindings.rb +38 -31
- data/lib/seahorse/client/request_context.rb +2 -2
- data/lib/seahorse/client/response.rb +6 -5
- data/lib/seahorse/model/api.rb +18 -61
- data/lib/seahorse/model/operation.rb +24 -54
- data/lib/seahorse/model/shapes.rb +120 -364
- data/lib/seahorse/util.rb +2 -6
- metadata +56 -109
- data/apis/autoscaling/2011-01-01/docs-2.json +0 -1246
- data/apis/cloudformation/2010-05-15/docs-2.json +0 -725
- data/apis/cloudfront/2014-11-06/docs-2.json +0 -1125
- data/apis/cloudhsm/2014-05-30/docs-2.json +0 -472
- data/apis/cloudsearch/2013-01-01/docs-2.json +0 -865
- data/apis/cloudsearchdomain/2013-01-01/docs-2.json +0 -311
- data/apis/cloudtrail/2013-11-01/docs-2.json +0 -328
- data/apis/codedeploy/2014-10-06/docs-2.json +0 -1261
- data/apis/cognito-identity/2014-06-30/docs-2.json +0 -506
- data/apis/cognito-sync/2014-06-30/docs-2.json +0 -582
- data/apis/config/2014-10-17/docs-2.json +0 -513
- data/apis/config/2014-11-12/docs-2.json +0 -514
- data/apis/datapipeline/2012-10-29/docs-2.json +0 -607
- data/apis/directconnect/2012-10-25/docs-2.json +0 -494
- data/apis/ds/2015-04-16/docs-2.json +0 -753
- data/apis/dynamodb/2011-12-05/api-2.json +0 -949
- data/apis/dynamodb/2011-12-05/docs-2.json +0 -606
- data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
- data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
- data/apis/dynamodb/2012-08-10/docs-2.json +0 -977
- data/apis/ec2/2015-04-15/docs-2.json +0 -5368
- data/apis/ecs/2014-11-13/docs-2.json +0 -791
- data/apis/elasticache/2015-02-02/docs-2.json +0 -1390
- data/apis/elasticbeanstalk/2010-12-01/docs-2.json +0 -1114
- data/apis/elasticfilesystem/2015-02-01/docs-2.json +0 -414
- data/apis/elasticloadbalancing/2012-06-01/docs-2.json +0 -1078
- data/apis/elasticmapreduce/2009-03-31/docs-2.json +0 -969
- data/apis/elastictranscoder/2012-09-25/docs-2.json +0 -1152
- data/apis/email/2010-12-01/docs-2.json +0 -441
- data/apis/glacier/2012-06-01/docs-2.json +0 -575
- data/apis/iam/2010-05-08/docs-2.json +0 -2138
- data/apis/importexport/2010-06-01/docs-2.json +0 -432
- data/apis/kinesis/2013-12-02/docs-2.json +0 -424
- data/apis/kms/2014-11-01/docs-2.json +0 -628
- data/apis/lambda/2014-11-11/docs-2.json +0 -303
- data/apis/lambda/2015-03-31/docs-2.json +0 -490
- data/apis/logs/2014-03-28/docs-2.json +0 -599
- data/apis/machinelearning/2014-12-12/docs-2.json +0 -1034
- data/apis/monitoring/2010-08-01/docs-2.json +0 -514
- data/apis/opsworks/2013-02-18/docs-2.json +0 -1592
- data/apis/rds/2014-10-31/docs-2.json +0 -2074
- data/apis/redshift/2012-12-01/docs-2.json +0 -1890
- data/apis/route53/2013-04-01/docs-2.json +0 -1159
- data/apis/route53domains/2014-05-15/docs-2.json +0 -620
- data/apis/s3/2006-03-01/docs-2.json +0 -2213
- data/apis/sdb/2009-04-15/docs-2.json +0 -339
- data/apis/sns/2010-03-31/docs-2.json +0 -564
- data/apis/sqs/2012-11-05/docs-2.json +0 -503
- data/apis/ssm/2014-11-06/docs-2.json +0 -440
- data/apis/storagegateway/2013-06-30/docs-2.json +0 -1331
- data/apis/sts/2011-06-15/docs-2.json +0 -351
- data/apis/support/2013-04-15/docs-2.json +0 -680
- data/apis/swf/2012-01-25/docs-2.json +0 -1569
- data/apis/workspaces/2015-04-08/docs-2.json +0 -457
- data/lib/aws-sdk-core/api/customizer.rb +0 -75
- data/lib/aws-sdk-core/api/docstrings.rb +0 -38
- data/lib/aws-sdk-core/api/documenter.rb +0 -241
- data/lib/aws-sdk-core/api/operation_documenter.rb +0 -173
- data/lib/aws-sdk-core/api/operation_example.rb +0 -133
- data/lib/aws-sdk-core/api/service_customizations.rb +0 -140
- data/lib/aws-sdk-core/client_paging.rb +0 -31
- data/lib/aws-sdk-core/json/rest_handler.rb +0 -20
- data/lib/aws-sdk-core/json/rpc_body_handler.rb +0 -38
- data/lib/aws-sdk-core/json/rpc_headers_handler.rb +0 -34
- data/lib/aws-sdk-core/json/simple_body_handler.rb +0 -34
- data/lib/aws-sdk-core/paging/null_pager.rb +0 -20
- data/lib/aws-sdk-core/paging/null_provider.rb +0 -13
- data/lib/aws-sdk-core/paging/pager.rb +0 -70
- data/lib/aws-sdk-core/paging/provider.rb +0 -22
- data/lib/aws-sdk-core/rest_body_handler.rb +0 -111
- data/lib/aws-sdk-core/signers/handler.rb +0 -18
- data/lib/aws-sdk-core/xml/rest_handler.rb +0 -20
- data/lib/seahorse/client/param_converter.rb +0 -207
- data/lib/seahorse/client/param_validator.rb +0 -139
- data/lib/seahorse/client/plugins/json_simple.rb +0 -33
- data/lib/seahorse/client/plugins/param_conversion.rb +0 -29
- data/lib/seahorse/client/plugins/param_validation.rb +0 -30
- data/lib/seahorse/client/xml/builder.rb +0 -91
- data/lib/seahorse/model/shape_map.rb +0 -47
@@ -0,0 +1,458 @@
|
|
1
|
+
{
|
2
|
+
"version": 2,
|
3
|
+
"waiters": {
|
4
|
+
"InstanceExists": {
|
5
|
+
"delay": 5,
|
6
|
+
"maxAttempts": 40,
|
7
|
+
"operation": "DescribeInstances",
|
8
|
+
"acceptors": [
|
9
|
+
{
|
10
|
+
"matcher": "status",
|
11
|
+
"expected": 200,
|
12
|
+
"state": "success"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"matcher": "error",
|
16
|
+
"expected": "InvalidInstanceIDNotFound",
|
17
|
+
"state": "retry"
|
18
|
+
}
|
19
|
+
]
|
20
|
+
},
|
21
|
+
"BundleTaskComplete": {
|
22
|
+
"delay": 15,
|
23
|
+
"operation": "DescribeBundleTasks",
|
24
|
+
"maxAttempts": 40,
|
25
|
+
"acceptors": [
|
26
|
+
{
|
27
|
+
"expected": "complete",
|
28
|
+
"matcher": "pathAll",
|
29
|
+
"state": "success",
|
30
|
+
"argument": "BundleTasks[].State"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"expected": "failed",
|
34
|
+
"matcher": "pathAny",
|
35
|
+
"state": "failure",
|
36
|
+
"argument": "BundleTasks[].State"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
},
|
40
|
+
"ConversionTaskCancelled": {
|
41
|
+
"delay": 15,
|
42
|
+
"operation": "DescribeConversionTasks",
|
43
|
+
"maxAttempts": 40,
|
44
|
+
"acceptors": [
|
45
|
+
{
|
46
|
+
"expected": "cancelled",
|
47
|
+
"matcher": "pathAll",
|
48
|
+
"state": "success",
|
49
|
+
"argument": "ConversionTasks[].State"
|
50
|
+
}
|
51
|
+
]
|
52
|
+
},
|
53
|
+
"ConversionTaskCompleted": {
|
54
|
+
"delay": 15,
|
55
|
+
"operation": "DescribeConversionTasks",
|
56
|
+
"maxAttempts": 40,
|
57
|
+
"acceptors": [
|
58
|
+
{
|
59
|
+
"expected": "completed",
|
60
|
+
"matcher": "pathAll",
|
61
|
+
"state": "success",
|
62
|
+
"argument": "ConversionTasks[].State"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"expected": "cancelled",
|
66
|
+
"matcher": "pathAny",
|
67
|
+
"state": "failure",
|
68
|
+
"argument": "ConversionTasks[].State"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"expected": "cancelling",
|
72
|
+
"matcher": "pathAny",
|
73
|
+
"state": "failure",
|
74
|
+
"argument": "ConversionTasks[].State"
|
75
|
+
}
|
76
|
+
]
|
77
|
+
},
|
78
|
+
"ConversionTaskDeleted": {
|
79
|
+
"delay": 15,
|
80
|
+
"operation": "DescribeConversionTasks",
|
81
|
+
"maxAttempts": 40,
|
82
|
+
"acceptors": [
|
83
|
+
{
|
84
|
+
"expected": "deleted",
|
85
|
+
"matcher": "pathAll",
|
86
|
+
"state": "success",
|
87
|
+
"argument": "ConversionTasks[].State"
|
88
|
+
}
|
89
|
+
]
|
90
|
+
},
|
91
|
+
"CustomerGatewayAvailable": {
|
92
|
+
"delay": 15,
|
93
|
+
"operation": "DescribeCustomerGateways",
|
94
|
+
"maxAttempts": 40,
|
95
|
+
"acceptors": [
|
96
|
+
{
|
97
|
+
"expected": "available",
|
98
|
+
"matcher": "pathAll",
|
99
|
+
"state": "success",
|
100
|
+
"argument": "CustomerGateways[].State"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"expected": "deleted",
|
104
|
+
"matcher": "pathAny",
|
105
|
+
"state": "failure",
|
106
|
+
"argument": "CustomerGateways[].State"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"expected": "deleting",
|
110
|
+
"matcher": "pathAny",
|
111
|
+
"state": "failure",
|
112
|
+
"argument": "CustomerGateways[].State"
|
113
|
+
}
|
114
|
+
]
|
115
|
+
},
|
116
|
+
"ExportTaskCancelled": {
|
117
|
+
"delay": 15,
|
118
|
+
"operation": "DescribeExportTasks",
|
119
|
+
"maxAttempts": 40,
|
120
|
+
"acceptors": [
|
121
|
+
{
|
122
|
+
"expected": "cancelled",
|
123
|
+
"matcher": "pathAll",
|
124
|
+
"state": "success",
|
125
|
+
"argument": "ExportTasks[].State"
|
126
|
+
}
|
127
|
+
]
|
128
|
+
},
|
129
|
+
"ExportTaskCompleted": {
|
130
|
+
"delay": 15,
|
131
|
+
"operation": "DescribeExportTasks",
|
132
|
+
"maxAttempts": 40,
|
133
|
+
"acceptors": [
|
134
|
+
{
|
135
|
+
"expected": "completed",
|
136
|
+
"matcher": "pathAll",
|
137
|
+
"state": "success",
|
138
|
+
"argument": "ExportTasks[].State"
|
139
|
+
}
|
140
|
+
]
|
141
|
+
},
|
142
|
+
"ImageAvailable": {
|
143
|
+
"operation": "DescribeImages",
|
144
|
+
"maxAttempts": 40,
|
145
|
+
"delay": 15,
|
146
|
+
"acceptors": [
|
147
|
+
{
|
148
|
+
"state": "success",
|
149
|
+
"matcher": "pathAll",
|
150
|
+
"argument": "Images[].State",
|
151
|
+
"expected": "available"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"state": "failure",
|
155
|
+
"matcher": "pathAny",
|
156
|
+
"argument": "Images[].State",
|
157
|
+
"expected": "failed"
|
158
|
+
}
|
159
|
+
]
|
160
|
+
},
|
161
|
+
"InstanceRunning": {
|
162
|
+
"delay": 15,
|
163
|
+
"operation": "DescribeInstances",
|
164
|
+
"maxAttempts": 40,
|
165
|
+
"acceptors": [
|
166
|
+
{
|
167
|
+
"expected": "running",
|
168
|
+
"matcher": "pathAll",
|
169
|
+
"state": "success",
|
170
|
+
"argument": "Reservations[].Instances[].State.Name"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"expected": "shutting-down",
|
174
|
+
"matcher": "pathAny",
|
175
|
+
"state": "failure",
|
176
|
+
"argument": "Reservations[].Instances[].State.Name"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"expected": "terminated",
|
180
|
+
"matcher": "pathAny",
|
181
|
+
"state": "failure",
|
182
|
+
"argument": "Reservations[].Instances[].State.Name"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"expected": "stopping",
|
186
|
+
"matcher": "pathAny",
|
187
|
+
"state": "failure",
|
188
|
+
"argument": "Reservations[].Instances[].State.Name"
|
189
|
+
}
|
190
|
+
]
|
191
|
+
},
|
192
|
+
"InstanceStatusOk": {
|
193
|
+
"operation": "DescribeInstanceStatus",
|
194
|
+
"maxAttempts": 40,
|
195
|
+
"delay": 15,
|
196
|
+
"acceptors": [
|
197
|
+
{
|
198
|
+
"state": "success",
|
199
|
+
"matcher": "pathAll",
|
200
|
+
"argument": "InstanceStatuses[].InstanceStatus.Status",
|
201
|
+
"expected": "ok"
|
202
|
+
}
|
203
|
+
]
|
204
|
+
},
|
205
|
+
"InstanceStopped": {
|
206
|
+
"delay": 15,
|
207
|
+
"operation": "DescribeInstances",
|
208
|
+
"maxAttempts": 40,
|
209
|
+
"acceptors": [
|
210
|
+
{
|
211
|
+
"expected": "stopped",
|
212
|
+
"matcher": "pathAll",
|
213
|
+
"state": "success",
|
214
|
+
"argument": "Reservations[].Instances[].State.Name"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"expected": "pending",
|
218
|
+
"matcher": "pathAny",
|
219
|
+
"state": "failure",
|
220
|
+
"argument": "Reservations[].Instances[].State.Name"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"expected": "terminated",
|
224
|
+
"matcher": "pathAny",
|
225
|
+
"state": "failure",
|
226
|
+
"argument": "Reservations[].Instances[].State.Name"
|
227
|
+
}
|
228
|
+
]
|
229
|
+
},
|
230
|
+
"InstanceTerminated": {
|
231
|
+
"delay": 15,
|
232
|
+
"operation": "DescribeInstances",
|
233
|
+
"maxAttempts": 40,
|
234
|
+
"acceptors": [
|
235
|
+
{
|
236
|
+
"expected": "terminated",
|
237
|
+
"matcher": "pathAll",
|
238
|
+
"state": "success",
|
239
|
+
"argument": "Reservations[].Instances[].State.Name"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"expected": "pending",
|
243
|
+
"matcher": "pathAny",
|
244
|
+
"state": "failure",
|
245
|
+
"argument": "Reservations[].Instances[].State.Name"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"expected": "stopping",
|
249
|
+
"matcher": "pathAny",
|
250
|
+
"state": "failure",
|
251
|
+
"argument": "Reservations[].Instances[].State.Name"
|
252
|
+
}
|
253
|
+
]
|
254
|
+
},
|
255
|
+
"PasswordDataAvailable": {
|
256
|
+
"operation": "GetPasswordData",
|
257
|
+
"maxAttempts": 40,
|
258
|
+
"delay": 15,
|
259
|
+
"acceptors": [
|
260
|
+
{
|
261
|
+
"state": "success",
|
262
|
+
"matcher": "path",
|
263
|
+
"argument": "length(PasswordData) > `0`",
|
264
|
+
"expected": true
|
265
|
+
}
|
266
|
+
]
|
267
|
+
},
|
268
|
+
"SnapshotCompleted": {
|
269
|
+
"delay": 15,
|
270
|
+
"operation": "DescribeSnapshots",
|
271
|
+
"maxAttempts": 40,
|
272
|
+
"acceptors": [
|
273
|
+
{
|
274
|
+
"expected": "completed",
|
275
|
+
"matcher": "pathAll",
|
276
|
+
"state": "success",
|
277
|
+
"argument": "Snapshots[].State"
|
278
|
+
}
|
279
|
+
]
|
280
|
+
},
|
281
|
+
"SpotInstanceRequestFulfilled": {
|
282
|
+
"operation": "DescribeSpotInstanceRequests",
|
283
|
+
"maxAttempts": 40,
|
284
|
+
"delay": 15,
|
285
|
+
"acceptors": [
|
286
|
+
{
|
287
|
+
"state": "success",
|
288
|
+
"matcher": "pathAll",
|
289
|
+
"argument": "SpotInstanceRequests[].Status.Code",
|
290
|
+
"expected": "fulfilled"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"state": "failure",
|
294
|
+
"matcher": "pathAny",
|
295
|
+
"argument": "SpotInstanceRequests[].Status.Code",
|
296
|
+
"expected": "schedule-expired"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"state": "failure",
|
300
|
+
"matcher": "pathAny",
|
301
|
+
"argument": "SpotInstanceRequests[].Status.Code",
|
302
|
+
"expected": "canceled-before-fulfillment"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"state": "failure",
|
306
|
+
"matcher": "pathAny",
|
307
|
+
"argument": "SpotInstanceRequests[].Status.Code",
|
308
|
+
"expected": "bad-parameters"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"state": "failure",
|
312
|
+
"matcher": "pathAny",
|
313
|
+
"argument": "SpotInstanceRequests[].Status.Code",
|
314
|
+
"expected": "system-error"
|
315
|
+
}
|
316
|
+
]
|
317
|
+
},
|
318
|
+
"SubnetAvailable": {
|
319
|
+
"delay": 15,
|
320
|
+
"operation": "DescribeSubnets",
|
321
|
+
"maxAttempts": 40,
|
322
|
+
"acceptors": [
|
323
|
+
{
|
324
|
+
"expected": "available",
|
325
|
+
"matcher": "pathAll",
|
326
|
+
"state": "success",
|
327
|
+
"argument": "Subnets[].State"
|
328
|
+
}
|
329
|
+
]
|
330
|
+
},
|
331
|
+
"SystemStatusOk": {
|
332
|
+
"operation": "DescribeInstanceStatus",
|
333
|
+
"maxAttempts": 40,
|
334
|
+
"delay": 15,
|
335
|
+
"acceptors": [
|
336
|
+
{
|
337
|
+
"state": "success",
|
338
|
+
"matcher": "pathAll",
|
339
|
+
"argument": "InstanceStatuses[].SystemStatus.Status",
|
340
|
+
"expected": "ok"
|
341
|
+
}
|
342
|
+
]
|
343
|
+
},
|
344
|
+
"VolumeAvailable": {
|
345
|
+
"delay": 15,
|
346
|
+
"operation": "DescribeVolumes",
|
347
|
+
"maxAttempts": 40,
|
348
|
+
"acceptors": [
|
349
|
+
{
|
350
|
+
"expected": "available",
|
351
|
+
"matcher": "pathAll",
|
352
|
+
"state": "success",
|
353
|
+
"argument": "Volumes[].State"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"expected": "deleted",
|
357
|
+
"matcher": "pathAny",
|
358
|
+
"state": "failure",
|
359
|
+
"argument": "Volumes[].State"
|
360
|
+
}
|
361
|
+
]
|
362
|
+
},
|
363
|
+
"VolumeDeleted": {
|
364
|
+
"delay": 15,
|
365
|
+
"operation": "DescribeVolumes",
|
366
|
+
"maxAttempts": 40,
|
367
|
+
"acceptors": [
|
368
|
+
{
|
369
|
+
"expected": "deleted",
|
370
|
+
"matcher": "pathAll",
|
371
|
+
"state": "success",
|
372
|
+
"argument": "Volumes[].State"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"matcher": "error",
|
376
|
+
"expected": "InvalidVolumeNotFound",
|
377
|
+
"state": "success"
|
378
|
+
}
|
379
|
+
]
|
380
|
+
},
|
381
|
+
"VolumeInUse": {
|
382
|
+
"delay": 15,
|
383
|
+
"operation": "DescribeVolumes",
|
384
|
+
"maxAttempts": 40,
|
385
|
+
"acceptors": [
|
386
|
+
{
|
387
|
+
"expected": "in-use",
|
388
|
+
"matcher": "pathAll",
|
389
|
+
"state": "success",
|
390
|
+
"argument": "Volumes[].State"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"expected": "deleted",
|
394
|
+
"matcher": "pathAny",
|
395
|
+
"state": "failure",
|
396
|
+
"argument": "Volumes[].State"
|
397
|
+
}
|
398
|
+
]
|
399
|
+
},
|
400
|
+
"VpcAvailable": {
|
401
|
+
"delay": 15,
|
402
|
+
"operation": "DescribeVpcs",
|
403
|
+
"maxAttempts": 40,
|
404
|
+
"acceptors": [
|
405
|
+
{
|
406
|
+
"expected": "available",
|
407
|
+
"matcher": "pathAll",
|
408
|
+
"state": "success",
|
409
|
+
"argument": "Vpcs[].State"
|
410
|
+
}
|
411
|
+
]
|
412
|
+
},
|
413
|
+
"VpnConnectionAvailable": {
|
414
|
+
"delay": 15,
|
415
|
+
"operation": "DescribeVpnConnections",
|
416
|
+
"maxAttempts": 40,
|
417
|
+
"acceptors": [
|
418
|
+
{
|
419
|
+
"expected": "available",
|
420
|
+
"matcher": "pathAll",
|
421
|
+
"state": "success",
|
422
|
+
"argument": "VpnConnections[].State"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"expected": "deleting",
|
426
|
+
"matcher": "pathAny",
|
427
|
+
"state": "failure",
|
428
|
+
"argument": "VpnConnections[].State"
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"expected": "deleted",
|
432
|
+
"matcher": "pathAny",
|
433
|
+
"state": "failure",
|
434
|
+
"argument": "VpnConnections[].State"
|
435
|
+
}
|
436
|
+
]
|
437
|
+
},
|
438
|
+
"VpnConnectionDeleted": {
|
439
|
+
"delay": 15,
|
440
|
+
"operation": "DescribeVpnConnections",
|
441
|
+
"maxAttempts": 40,
|
442
|
+
"acceptors": [
|
443
|
+
{
|
444
|
+
"expected": "deleted",
|
445
|
+
"matcher": "pathAll",
|
446
|
+
"state": "success",
|
447
|
+
"argument": "VpnConnections[].State"
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"expected": "pending",
|
451
|
+
"matcher": "pathAny",
|
452
|
+
"state": "failure",
|
453
|
+
"argument": "VpnConnections[].State"
|
454
|
+
}
|
455
|
+
]
|
456
|
+
}
|
457
|
+
}
|
458
|
+
}
|