aws-sdk-core 2.0.0.rc2 → 2.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +13 -7
- data/.yardopts +1 -0
- data/Gemfile +5 -1
- data/README.md +26 -0
- data/apis/AutoScaling-2011-01-01.json +57 -0
- data/apis/CloudFormation-2010-05-15.json +29 -0
- data/apis/CloudFront-2012-05-05.json +33 -0
- data/apis/CloudFront-2013-05-12.json +33 -0
- data/apis/CloudFront-2013-08-26.json +33 -0
- data/apis/CloudSearch-2011-02-01.json +1 -0
- data/apis/CloudWatch-2010-08-01.json +22 -0
- data/apis/DataPipeline-2012-10-29.json +25 -0
- data/apis/DirectConnect-2012-10-25.json +1 -0
- data/apis/DynamoDB-2011-12-05.json +29 -0
- data/apis/DynamoDB-2012-08-10.json +29 -0
- data/apis/EC2-2013-06-15.json +29 -0
- data/apis/EC2-2013-10-01.json +29 -0
- data/apis/EMR-2009-03-31.json +958 -40
- data/apis/ElastiCache-2012-11-15.json +72 -0
- data/apis/ElastiCache-2013-06-15.json +72 -0
- data/apis/ElasticBeanstalk-2010-12-01.json +8 -0
- data/apis/ElasticLoadBalancing-2012-06-01.json +8 -0
- data/apis/ElasticTranscoder-2012-09-25.json +16 -3
- data/apis/Glacier-2012-06-01.json +35 -0
- data/apis/IAM-2010-05-08.json +129 -0
- data/apis/ImportExport-2010-06-01.json +9 -0
- data/apis/Kinesis-2013-12-02.json +409 -0
- data/apis/OpsWorks-2013-02-18.json +1 -0
- data/apis/RDS-2013-01-10.json +106 -0
- data/apis/RDS-2013-02-12.json +120 -0
- data/apis/RDS-2013-05-15.json +120 -0
- data/apis/Redshift-2012-12-01.json +90 -1
- data/apis/Route53-2012-12-12.json +27 -0
- data/apis/S3-2006-03-01.json +34 -0
- data/apis/SDB-2009-04-15.json +16 -0
- data/apis/SES-2010-12-01.json +8 -0
- data/apis/SNS-2010-03-31.json +22 -0
- data/apis/SQS-2012-11-05.json +1 -0
- data/apis/STS-2011-06-15.json +3 -1
- data/apis/SWF-2012-01-25.json +52 -1
- data/apis/StorageGateway-2012-06-30.json +15 -0
- data/apis/StorageGateway-2013-06-30.json +15 -0
- data/apis/Support-2013-04-15.json +15 -0
- data/apis/configuration/endpoints.json +88 -23
- data/apis/source/elasticmapreduce-2009-03-31.json +1529 -126
- data/apis/source/elasticmapreduce-2009-03-31.paginators.json +25 -0
- data/apis/source/importexport-2010-06-01.paginators.json +1 -0
- data/apis/source/kinesis-2013-12-02.json +894 -0
- data/apis/source/kinesis-2013-12-02.paginators.json +18 -0
- data/apis/source/rds-2013-01-10.paginators.json +1 -0
- data/apis/source/rds-2013-02-12.paginators.json +1 -0
- data/apis/source/rds-2013-05-15.paginators.json +1 -0
- data/apis/source/redshift-2012-12-01.paginators.json +1 -0
- data/apis/source/s3-2006-03-01.paginators.json +1 -1
- data/aws-sdk-core.gemspec +1 -0
- data/doc-src/plugins/stability.rb +1 -0
- data/features/glacier/client.feature +5 -0
- data/features/glacier/step_definitions.rb +56 -5
- data/features/kinesis/client.feature +18 -0
- data/features/kinesis/setup.rb +6 -0
- data/features/s3/buckets.feature +10 -0
- data/features/s3/objects.feature +9 -0
- data/features/s3/step_definitions.rb +29 -0
- data/lib/aws.rb +13 -2
- data/lib/aws/api/pagination_translator.rb +71 -0
- data/lib/aws/api/service_translators/glacier.rb +0 -7
- data/lib/aws/api/translator.rb +10 -3
- data/lib/aws/error_handler.rb +1 -1
- data/lib/aws/json/builder.rb +4 -2
- data/lib/aws/pageable_response.rb +230 -0
- data/lib/aws/plugins/glacier_checksums.rb +10 -29
- data/lib/aws/plugins/response_paging.rb +18 -0
- data/lib/aws/plugins/retry_errors.rb +3 -1
- data/lib/aws/plugins/s3_complete_multipart_upload_fix.rb +1 -1
- data/lib/aws/plugins/s3_get_bucket_location_fix.rb +9 -3
- data/lib/aws/plugins/signature_v4.rb +2 -1
- data/lib/aws/plugins/sqs_queue_urls.rb +7 -4
- data/lib/aws/plugins/user_agent.rb +3 -3
- data/lib/aws/response_handler.rb +1 -1
- data/lib/aws/signers/s3.rb +1 -1
- data/lib/aws/tree_hash.rb +69 -0
- data/lib/aws/version.rb +1 -1
- data/spec/aws/json/builder_spec.rb +12 -0
- data/spec/aws/pageable_response_spec.rb +195 -0
- data/spec/aws/plugins/retry_errors_spec.rb +13 -0
- data/spec/aws/plugins/signature_v4_spec.rb +65 -0
- data/spec/aws/plugins/sqs_queue_urls_spec.rb +41 -0
- data/spec/aws_spec.rb +4 -0
- data/spec/fixtures/operations/glacier/get_job_output.yml +23 -0
- data/spec/fixtures/operations/s3/get_bucket_policy.yml +8 -0
- data/tasks/endpoints.rake +15 -0
- data/tasks/handlers.rake +1 -1
- data/vendor/seahorse/lib/seahorse/client.rb +1 -0
- data/vendor/seahorse/lib/seahorse/client/base.rb +6 -0
- data/vendor/seahorse/lib/seahorse/client/configuration.rb +1 -1
- data/vendor/seahorse/lib/seahorse/client/handler_builder.rb +3 -3
- data/vendor/seahorse/lib/seahorse/client/handler_list.rb +2 -2
- data/vendor/seahorse/lib/seahorse/client/http/error.rb +17 -0
- data/vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb +10 -0
- data/vendor/seahorse/lib/seahorse/client/logging/handler.rb +1 -1
- data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +13 -2
- data/vendor/seahorse/lib/seahorse/client/plugins/json_simple.rb +1 -1
- data/vendor/seahorse/lib/seahorse/client/plugins/operation_methods.rb +4 -2
- data/vendor/seahorse/lib/seahorse/client/plugins/restful_bindings.rb +9 -1
- data/vendor/seahorse/lib/seahorse/client/request.rb +14 -0
- data/vendor/seahorse/lib/seahorse/client/response.rb +8 -38
- data/vendor/seahorse/lib/seahorse/model/shapes/shape.rb +11 -3
- data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +13 -0
- data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +6 -0
- data/vendor/seahorse/spec/seahorse/client/response_spec.rb +9 -63
- metadata +41 -3
@@ -26,6 +26,7 @@
|
|
26
26
|
"Aws::Plugins::GlobalConfiguration",
|
27
27
|
"Aws::Plugins::RegionalEndpoint",
|
28
28
|
"Aws::Plugins::InstanceProfileCredentials",
|
29
|
+
"Aws::Plugins::ResponsePaging",
|
29
30
|
"Aws::Plugins::Credentials",
|
30
31
|
"Aws::Plugins::QueryProtocol",
|
31
32
|
"Aws::Plugins::SignatureV2"
|
@@ -53,6 +54,13 @@
|
|
53
54
|
"name": "DescribeAlarmHistory",
|
54
55
|
"http_method": "POST",
|
55
56
|
"http_path": "/",
|
57
|
+
"metadata": {
|
58
|
+
"paging": {
|
59
|
+
"tokens": {
|
60
|
+
"next_token": "next_token"
|
61
|
+
}
|
62
|
+
}
|
63
|
+
},
|
56
64
|
"input": {
|
57
65
|
"type": "input",
|
58
66
|
"members": {
|
@@ -138,6 +146,13 @@
|
|
138
146
|
"name": "DescribeAlarms",
|
139
147
|
"http_method": "POST",
|
140
148
|
"http_path": "/",
|
149
|
+
"metadata": {
|
150
|
+
"paging": {
|
151
|
+
"tokens": {
|
152
|
+
"next_token": "next_token"
|
153
|
+
}
|
154
|
+
}
|
155
|
+
},
|
141
156
|
"input": {
|
142
157
|
"type": "input",
|
143
158
|
"members": {
|
@@ -827,6 +842,13 @@
|
|
827
842
|
"name": "ListMetrics",
|
828
843
|
"http_method": "POST",
|
829
844
|
"http_path": "/",
|
845
|
+
"metadata": {
|
846
|
+
"paging": {
|
847
|
+
"tokens": {
|
848
|
+
"next_token": "next_token"
|
849
|
+
}
|
850
|
+
}
|
851
|
+
},
|
830
852
|
"input": {
|
831
853
|
"type": "input",
|
832
854
|
"members": {
|
@@ -19,6 +19,7 @@
|
|
19
19
|
"Aws::Plugins::GlobalConfiguration",
|
20
20
|
"Aws::Plugins::RegionalEndpoint",
|
21
21
|
"Aws::Plugins::InstanceProfileCredentials",
|
22
|
+
"Aws::Plugins::ResponsePaging",
|
22
23
|
"Aws::Plugins::Credentials",
|
23
24
|
"Aws::Plugins::JsonProtocol",
|
24
25
|
"Aws::Plugins::JsonRpcHeaders",
|
@@ -92,6 +93,14 @@
|
|
92
93
|
"name": "DescribeObjects",
|
93
94
|
"http_method": "POST",
|
94
95
|
"http_path": "/",
|
96
|
+
"metadata": {
|
97
|
+
"paging": {
|
98
|
+
"tokens": {
|
99
|
+
"marker": "marker"
|
100
|
+
},
|
101
|
+
"truncated_if": "has_more_results"
|
102
|
+
}
|
103
|
+
},
|
95
104
|
"input": {
|
96
105
|
"type": "input",
|
97
106
|
"members": {
|
@@ -335,6 +344,14 @@
|
|
335
344
|
"name": "ListPipelines",
|
336
345
|
"http_method": "POST",
|
337
346
|
"http_path": "/",
|
347
|
+
"metadata": {
|
348
|
+
"paging": {
|
349
|
+
"tokens": {
|
350
|
+
"marker": "marker"
|
351
|
+
},
|
352
|
+
"truncated_if": "has_more_results"
|
353
|
+
}
|
354
|
+
},
|
338
355
|
"input": {
|
339
356
|
"type": "input",
|
340
357
|
"members": {
|
@@ -583,6 +600,14 @@
|
|
583
600
|
"name": "QueryObjects",
|
584
601
|
"http_method": "POST",
|
585
602
|
"http_path": "/",
|
603
|
+
"metadata": {
|
604
|
+
"paging": {
|
605
|
+
"tokens": {
|
606
|
+
"marker": "marker"
|
607
|
+
},
|
608
|
+
"truncated_if": "has_more_results"
|
609
|
+
}
|
610
|
+
},
|
586
611
|
"input": {
|
587
612
|
"type": "input",
|
588
613
|
"members": {
|
@@ -28,6 +28,7 @@
|
|
28
28
|
"Aws::Plugins::GlobalConfiguration",
|
29
29
|
"Aws::Plugins::RegionalEndpoint",
|
30
30
|
"Aws::Plugins::InstanceProfileCredentials",
|
31
|
+
"Aws::Plugins::ResponsePaging",
|
31
32
|
"Aws::Plugins::Credentials",
|
32
33
|
"Aws::Plugins::JsonProtocol",
|
33
34
|
"Aws::Plugins::JsonRpcHeaders",
|
@@ -39,6 +40,13 @@
|
|
39
40
|
"name": "BatchGetItem",
|
40
41
|
"http_method": "POST",
|
41
42
|
"http_path": "/",
|
43
|
+
"metadata": {
|
44
|
+
"paging": {
|
45
|
+
"tokens": {
|
46
|
+
"request_items": "unprocessed_keys"
|
47
|
+
}
|
48
|
+
}
|
49
|
+
},
|
42
50
|
"input": {
|
43
51
|
"type": "input",
|
44
52
|
"members": {
|
@@ -1508,6 +1516,13 @@
|
|
1508
1516
|
"name": "ListTables",
|
1509
1517
|
"http_method": "POST",
|
1510
1518
|
"http_path": "/",
|
1519
|
+
"metadata": {
|
1520
|
+
"paging": {
|
1521
|
+
"tokens": {
|
1522
|
+
"exclusive_start_table_name": "last_evaluated_table_name"
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
},
|
1511
1526
|
"input": {
|
1512
1527
|
"type": "input",
|
1513
1528
|
"members": {
|
@@ -1723,6 +1738,13 @@
|
|
1723
1738
|
"name": "Query",
|
1724
1739
|
"http_method": "POST",
|
1725
1740
|
"http_path": "/",
|
1741
|
+
"metadata": {
|
1742
|
+
"paging": {
|
1743
|
+
"tokens": {
|
1744
|
+
"exclusive_start_key": "last_evaluated_key"
|
1745
|
+
}
|
1746
|
+
}
|
1747
|
+
},
|
1726
1748
|
"input": {
|
1727
1749
|
"type": "input",
|
1728
1750
|
"members": {
|
@@ -2099,6 +2121,13 @@
|
|
2099
2121
|
"name": "Scan",
|
2100
2122
|
"http_method": "POST",
|
2101
2123
|
"http_path": "/",
|
2124
|
+
"metadata": {
|
2125
|
+
"paging": {
|
2126
|
+
"tokens": {
|
2127
|
+
"exclusive_start_key": "last_evaluated_key"
|
2128
|
+
}
|
2129
|
+
}
|
2130
|
+
},
|
2102
2131
|
"input": {
|
2103
2132
|
"type": "input",
|
2104
2133
|
"members": {
|
@@ -28,6 +28,7 @@
|
|
28
28
|
"Aws::Plugins::GlobalConfiguration",
|
29
29
|
"Aws::Plugins::RegionalEndpoint",
|
30
30
|
"Aws::Plugins::InstanceProfileCredentials",
|
31
|
+
"Aws::Plugins::ResponsePaging",
|
31
32
|
"Aws::Plugins::Credentials",
|
32
33
|
"Aws::Plugins::JsonProtocol",
|
33
34
|
"Aws::Plugins::JsonRpcHeaders",
|
@@ -39,6 +40,13 @@
|
|
39
40
|
"name": "BatchGetItem",
|
40
41
|
"http_method": "POST",
|
41
42
|
"http_path": "/",
|
43
|
+
"metadata": {
|
44
|
+
"paging": {
|
45
|
+
"tokens": {
|
46
|
+
"request_items": "unprocessed_keys"
|
47
|
+
}
|
48
|
+
}
|
49
|
+
},
|
42
50
|
"input": {
|
43
51
|
"type": "input",
|
44
52
|
"members": {
|
@@ -1720,6 +1728,13 @@
|
|
1720
1728
|
"name": "ListTables",
|
1721
1729
|
"http_method": "POST",
|
1722
1730
|
"http_path": "/",
|
1731
|
+
"metadata": {
|
1732
|
+
"paging": {
|
1733
|
+
"tokens": {
|
1734
|
+
"exclusive_start_table_name": "last_evaluated_table_name"
|
1735
|
+
}
|
1736
|
+
}
|
1737
|
+
},
|
1723
1738
|
"input": {
|
1724
1739
|
"type": "input",
|
1725
1740
|
"members": {
|
@@ -2019,6 +2034,13 @@
|
|
2019
2034
|
"name": "Query",
|
2020
2035
|
"http_method": "POST",
|
2021
2036
|
"http_path": "/",
|
2037
|
+
"metadata": {
|
2038
|
+
"paging": {
|
2039
|
+
"tokens": {
|
2040
|
+
"exclusive_start_key": "last_evaluated_key"
|
2041
|
+
}
|
2042
|
+
}
|
2043
|
+
},
|
2022
2044
|
"input": {
|
2023
2045
|
"type": "input",
|
2024
2046
|
"members": {
|
@@ -2310,6 +2332,13 @@
|
|
2310
2332
|
"name": "Scan",
|
2311
2333
|
"http_method": "POST",
|
2312
2334
|
"http_path": "/",
|
2335
|
+
"metadata": {
|
2336
|
+
"paging": {
|
2337
|
+
"tokens": {
|
2338
|
+
"exclusive_start_key": "last_evaluated_key"
|
2339
|
+
}
|
2340
|
+
}
|
2341
|
+
},
|
2313
2342
|
"input": {
|
2314
2343
|
"type": "input",
|
2315
2344
|
"members": {
|
data/apis/EC2-2013-06-15.json
CHANGED
@@ -26,6 +26,7 @@
|
|
26
26
|
"Aws::Plugins::GlobalConfiguration",
|
27
27
|
"Aws::Plugins::RegionalEndpoint",
|
28
28
|
"Aws::Plugins::InstanceProfileCredentials",
|
29
|
+
"Aws::Plugins::ResponsePaging",
|
29
30
|
"Aws::Plugins::Credentials",
|
30
31
|
"Aws::Plugins::QueryProtocol",
|
31
32
|
"Aws::Plugins::SignatureV2"
|
@@ -5226,6 +5227,13 @@
|
|
5226
5227
|
"name": "DescribeInstanceStatus",
|
5227
5228
|
"http_method": "POST",
|
5228
5229
|
"http_path": "/",
|
5230
|
+
"metadata": {
|
5231
|
+
"paging": {
|
5232
|
+
"tokens": {
|
5233
|
+
"next_token": "next_token"
|
5234
|
+
}
|
5235
|
+
}
|
5236
|
+
},
|
5229
5237
|
"input": {
|
5230
5238
|
"type": "input",
|
5231
5239
|
"members": {
|
@@ -7257,6 +7265,13 @@
|
|
7257
7265
|
"name": "DescribeReservedInstancesOfferings",
|
7258
7266
|
"http_method": "POST",
|
7259
7267
|
"http_path": "/",
|
7268
|
+
"metadata": {
|
7269
|
+
"paging": {
|
7270
|
+
"tokens": {
|
7271
|
+
"next_token": "next_token"
|
7272
|
+
}
|
7273
|
+
}
|
7274
|
+
},
|
7260
7275
|
"input": {
|
7261
7276
|
"type": "input",
|
7262
7277
|
"members": {
|
@@ -8515,6 +8530,13 @@
|
|
8515
8530
|
"name": "DescribeSpotPriceHistory",
|
8516
8531
|
"http_method": "POST",
|
8517
8532
|
"http_path": "/",
|
8533
|
+
"metadata": {
|
8534
|
+
"paging": {
|
8535
|
+
"tokens": {
|
8536
|
+
"next_token": "next_token"
|
8537
|
+
}
|
8538
|
+
}
|
8539
|
+
},
|
8518
8540
|
"input": {
|
8519
8541
|
"type": "input",
|
8520
8542
|
"members": {
|
@@ -8919,6 +8941,13 @@
|
|
8919
8941
|
"name": "DescribeVolumeStatus",
|
8920
8942
|
"http_method": "POST",
|
8921
8943
|
"http_path": "/",
|
8944
|
+
"metadata": {
|
8945
|
+
"paging": {
|
8946
|
+
"tokens": {
|
8947
|
+
"next_token": "next_token"
|
8948
|
+
}
|
8949
|
+
}
|
8950
|
+
},
|
8922
8951
|
"input": {
|
8923
8952
|
"type": "input",
|
8924
8953
|
"members": {
|
data/apis/EC2-2013-10-01.json
CHANGED
@@ -26,6 +26,7 @@
|
|
26
26
|
"Aws::Plugins::GlobalConfiguration",
|
27
27
|
"Aws::Plugins::RegionalEndpoint",
|
28
28
|
"Aws::Plugins::InstanceProfileCredentials",
|
29
|
+
"Aws::Plugins::ResponsePaging",
|
29
30
|
"Aws::Plugins::Credentials",
|
30
31
|
"Aws::Plugins::QueryProtocol",
|
31
32
|
"Aws::Plugins::SignatureV2"
|
@@ -5474,6 +5475,13 @@
|
|
5474
5475
|
"name": "DescribeInstanceStatus",
|
5475
5476
|
"http_method": "POST",
|
5476
5477
|
"http_path": "/",
|
5478
|
+
"metadata": {
|
5479
|
+
"paging": {
|
5480
|
+
"tokens": {
|
5481
|
+
"next_token": "next_token"
|
5482
|
+
}
|
5483
|
+
}
|
5484
|
+
},
|
5477
5485
|
"input": {
|
5478
5486
|
"type": "input",
|
5479
5487
|
"members": {
|
@@ -7821,6 +7829,13 @@
|
|
7821
7829
|
"name": "DescribeReservedInstancesOfferings",
|
7822
7830
|
"http_method": "POST",
|
7823
7831
|
"http_path": "/",
|
7832
|
+
"metadata": {
|
7833
|
+
"paging": {
|
7834
|
+
"tokens": {
|
7835
|
+
"next_token": "next_token"
|
7836
|
+
}
|
7837
|
+
}
|
7838
|
+
},
|
7824
7839
|
"input": {
|
7825
7840
|
"type": "input",
|
7826
7841
|
"members": {
|
@@ -9147,6 +9162,13 @@
|
|
9147
9162
|
"name": "DescribeSpotPriceHistory",
|
9148
9163
|
"http_method": "POST",
|
9149
9164
|
"http_path": "/",
|
9165
|
+
"metadata": {
|
9166
|
+
"paging": {
|
9167
|
+
"tokens": {
|
9168
|
+
"next_token": "next_token"
|
9169
|
+
}
|
9170
|
+
}
|
9171
|
+
},
|
9150
9172
|
"input": {
|
9151
9173
|
"type": "input",
|
9152
9174
|
"members": {
|
@@ -9571,6 +9593,13 @@
|
|
9571
9593
|
"name": "DescribeVolumeStatus",
|
9572
9594
|
"http_method": "POST",
|
9573
9595
|
"http_path": "/",
|
9596
|
+
"metadata": {
|
9597
|
+
"paging": {
|
9598
|
+
"tokens": {
|
9599
|
+
"next_token": "next_token"
|
9600
|
+
}
|
9601
|
+
}
|
9602
|
+
},
|
9574
9603
|
"input": {
|
9575
9604
|
"type": "input",
|
9576
9605
|
"members": {
|
data/apis/EMR-2009-03-31.json
CHANGED
@@ -12,7 +12,8 @@
|
|
12
12
|
"ap-northeast-1": "elasticmapreduce.ap-northeast-1.amazonaws.com",
|
13
13
|
"ap-southeast-1": "elasticmapreduce.ap-southeast-1.amazonaws.com",
|
14
14
|
"ap-southeast-2": "elasticmapreduce.ap-southeast-2.amazonaws.com",
|
15
|
-
"sa-east-1": "elasticmapreduce.sa-east-1.amazonaws.com"
|
15
|
+
"sa-east-1": "elasticmapreduce.sa-east-1.amazonaws.com",
|
16
|
+
"us-gov-west-1": "elasticmapreduce.us-gov-west-1.amazonaws.com"
|
16
17
|
},
|
17
18
|
"service_abbreviation": "Amazon EMR",
|
18
19
|
"service_class_name": "EMR",
|
@@ -27,6 +28,7 @@
|
|
27
28
|
"Aws::Plugins::GlobalConfiguration",
|
28
29
|
"Aws::Plugins::RegionalEndpoint",
|
29
30
|
"Aws::Plugins::InstanceProfileCredentials",
|
31
|
+
"Aws::Plugins::ResponsePaging",
|
30
32
|
"Aws::Plugins::Credentials",
|
31
33
|
"Aws::Plugins::JsonProtocol",
|
32
34
|
"Aws::Plugins::JsonRpcHeaders",
|
@@ -139,6 +141,7 @@
|
|
139
141
|
"serialized_name": "ActionOnFailure",
|
140
142
|
"enum": [
|
141
143
|
"TERMINATE_JOB_FLOW",
|
144
|
+
"TERMINATE_CLUSTER",
|
142
145
|
"CANCEL_AND_WAIT",
|
143
146
|
"CONTINUE"
|
144
147
|
]
|
@@ -187,6 +190,191 @@
|
|
187
190
|
}
|
188
191
|
}
|
189
192
|
}
|
193
|
+
},
|
194
|
+
"output": {
|
195
|
+
"type": "output",
|
196
|
+
"members": {
|
197
|
+
"step_ids": {
|
198
|
+
"type": "list",
|
199
|
+
"serialized_name": "StepIds",
|
200
|
+
"members": {
|
201
|
+
"type": "string"
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
},
|
207
|
+
"describe_cluster": {
|
208
|
+
"name": "DescribeCluster",
|
209
|
+
"http_method": "POST",
|
210
|
+
"http_path": "/",
|
211
|
+
"input": {
|
212
|
+
"type": "input",
|
213
|
+
"members": {
|
214
|
+
"cluster_id": {
|
215
|
+
"type": "string",
|
216
|
+
"serialized_name": "ClusterId"
|
217
|
+
}
|
218
|
+
}
|
219
|
+
},
|
220
|
+
"output": {
|
221
|
+
"type": "output",
|
222
|
+
"members": {
|
223
|
+
"cluster": {
|
224
|
+
"type": "structure",
|
225
|
+
"serialized_name": "Cluster",
|
226
|
+
"members": {
|
227
|
+
"id": {
|
228
|
+
"type": "string",
|
229
|
+
"serialized_name": "Id"
|
230
|
+
},
|
231
|
+
"name": {
|
232
|
+
"type": "string",
|
233
|
+
"serialized_name": "Name"
|
234
|
+
},
|
235
|
+
"status": {
|
236
|
+
"type": "structure",
|
237
|
+
"serialized_name": "Status",
|
238
|
+
"members": {
|
239
|
+
"state": {
|
240
|
+
"type": "string",
|
241
|
+
"serialized_name": "State",
|
242
|
+
"enum": [
|
243
|
+
"STARTING",
|
244
|
+
"BOOTSTRAPPING",
|
245
|
+
"RUNNING",
|
246
|
+
"WAITING",
|
247
|
+
"TERMINATING",
|
248
|
+
"TERMINATED",
|
249
|
+
"TERMINATED_WITH_ERRORS"
|
250
|
+
]
|
251
|
+
},
|
252
|
+
"state_change_reason": {
|
253
|
+
"type": "structure",
|
254
|
+
"serialized_name": "StateChangeReason",
|
255
|
+
"members": {
|
256
|
+
"code": {
|
257
|
+
"type": "string",
|
258
|
+
"serialized_name": "Code",
|
259
|
+
"enum": [
|
260
|
+
"INTERNAL_ERROR",
|
261
|
+
"VALIDATION_ERROR",
|
262
|
+
"INSTANCE_FAILURE",
|
263
|
+
"BOOTSTRAP_FAILURE",
|
264
|
+
"USER_REQUEST",
|
265
|
+
"STEP_FAILURE",
|
266
|
+
"ALL_STEPS_COMPLETED"
|
267
|
+
]
|
268
|
+
},
|
269
|
+
"message": {
|
270
|
+
"type": "string",
|
271
|
+
"serialized_name": "Message"
|
272
|
+
}
|
273
|
+
}
|
274
|
+
},
|
275
|
+
"timeline": {
|
276
|
+
"type": "structure",
|
277
|
+
"serialized_name": "Timeline",
|
278
|
+
"members": {
|
279
|
+
"creation_date_time": {
|
280
|
+
"type": "unix_timestamp",
|
281
|
+
"serialized_name": "CreationDateTime"
|
282
|
+
},
|
283
|
+
"ready_date_time": {
|
284
|
+
"type": "unix_timestamp",
|
285
|
+
"serialized_name": "ReadyDateTime"
|
286
|
+
},
|
287
|
+
"end_date_time": {
|
288
|
+
"type": "unix_timestamp",
|
289
|
+
"serialized_name": "EndDateTime"
|
290
|
+
}
|
291
|
+
}
|
292
|
+
}
|
293
|
+
}
|
294
|
+
},
|
295
|
+
"ec_2_instance_attributes": {
|
296
|
+
"type": "structure",
|
297
|
+
"serialized_name": "Ec2InstanceAttributes",
|
298
|
+
"members": {
|
299
|
+
"ec2_key_name": {
|
300
|
+
"type": "string",
|
301
|
+
"serialized_name": "Ec2KeyName"
|
302
|
+
},
|
303
|
+
"ec2_subnet_id": {
|
304
|
+
"type": "string",
|
305
|
+
"serialized_name": "Ec2SubnetId"
|
306
|
+
},
|
307
|
+
"ec_2_availability_zone": {
|
308
|
+
"type": "string",
|
309
|
+
"serialized_name": "Ec2AvailabilityZone"
|
310
|
+
},
|
311
|
+
"iam_instance_profile": {
|
312
|
+
"type": "string",
|
313
|
+
"serialized_name": "IamInstanceProfile"
|
314
|
+
}
|
315
|
+
}
|
316
|
+
},
|
317
|
+
"log_uri": {
|
318
|
+
"type": "string",
|
319
|
+
"serialized_name": "LogUri"
|
320
|
+
},
|
321
|
+
"requested_ami_version": {
|
322
|
+
"type": "string",
|
323
|
+
"serialized_name": "RequestedAmiVersion"
|
324
|
+
},
|
325
|
+
"running_ami_version": {
|
326
|
+
"type": "string",
|
327
|
+
"serialized_name": "RunningAmiVersion"
|
328
|
+
},
|
329
|
+
"auto_terminate": {
|
330
|
+
"type": "boolean",
|
331
|
+
"serialized_name": "AutoTerminate"
|
332
|
+
},
|
333
|
+
"termination_protected": {
|
334
|
+
"type": "boolean",
|
335
|
+
"serialized_name": "TerminationProtected"
|
336
|
+
},
|
337
|
+
"visible_to_all_users": {
|
338
|
+
"type": "boolean",
|
339
|
+
"serialized_name": "VisibleToAllUsers"
|
340
|
+
},
|
341
|
+
"applications": {
|
342
|
+
"type": "list",
|
343
|
+
"serialized_name": "Applications",
|
344
|
+
"members": {
|
345
|
+
"type": "structure",
|
346
|
+
"members": {
|
347
|
+
"name": {
|
348
|
+
"type": "string",
|
349
|
+
"serialized_name": "Name"
|
350
|
+
},
|
351
|
+
"version": {
|
352
|
+
"type": "string",
|
353
|
+
"serialized_name": "Version"
|
354
|
+
},
|
355
|
+
"args": {
|
356
|
+
"type": "list",
|
357
|
+
"serialized_name": "Args",
|
358
|
+
"members": {
|
359
|
+
"type": "string"
|
360
|
+
}
|
361
|
+
},
|
362
|
+
"additional_info": {
|
363
|
+
"type": "map",
|
364
|
+
"serialized_name": "AdditionalInfo",
|
365
|
+
"keys": {
|
366
|
+
"type": "string"
|
367
|
+
},
|
368
|
+
"members": {
|
369
|
+
"type": "string"
|
370
|
+
}
|
371
|
+
}
|
372
|
+
}
|
373
|
+
}
|
374
|
+
}
|
375
|
+
}
|
376
|
+
}
|
377
|
+
}
|
190
378
|
}
|
191
379
|
},
|
192
380
|
"describe_job_flows": {
|
@@ -197,11 +385,11 @@
|
|
197
385
|
"type": "input",
|
198
386
|
"members": {
|
199
387
|
"created_after": {
|
200
|
-
"type": "
|
388
|
+
"type": "unix_timestamp",
|
201
389
|
"serialized_name": "CreatedAfter"
|
202
390
|
},
|
203
391
|
"created_before": {
|
204
|
-
"type": "
|
392
|
+
"type": "unix_timestamp",
|
205
393
|
"serialized_name": "CreatedBefore"
|
206
394
|
},
|
207
395
|
"job_flow_ids": {
|
@@ -217,14 +405,14 @@
|
|
217
405
|
"members": {
|
218
406
|
"type": "string",
|
219
407
|
"enum": [
|
220
|
-
"COMPLETED",
|
221
|
-
"FAILED",
|
222
|
-
"TERMINATED",
|
223
|
-
"RUNNING",
|
224
|
-
"SHUTTING_DOWN",
|
225
408
|
"STARTING",
|
409
|
+
"BOOTSTRAPPING",
|
410
|
+
"RUNNING",
|
226
411
|
"WAITING",
|
227
|
-
"
|
412
|
+
"SHUTTING_DOWN",
|
413
|
+
"TERMINATED",
|
414
|
+
"COMPLETED",
|
415
|
+
"FAILED"
|
228
416
|
]
|
229
417
|
}
|
230
418
|
}
|
@@ -263,30 +451,30 @@
|
|
263
451
|
"type": "string",
|
264
452
|
"serialized_name": "State",
|
265
453
|
"enum": [
|
266
|
-
"COMPLETED",
|
267
|
-
"FAILED",
|
268
|
-
"TERMINATED",
|
269
|
-
"RUNNING",
|
270
|
-
"SHUTTING_DOWN",
|
271
454
|
"STARTING",
|
455
|
+
"BOOTSTRAPPING",
|
456
|
+
"RUNNING",
|
272
457
|
"WAITING",
|
273
|
-
"
|
458
|
+
"SHUTTING_DOWN",
|
459
|
+
"TERMINATED",
|
460
|
+
"COMPLETED",
|
461
|
+
"FAILED"
|
274
462
|
]
|
275
463
|
},
|
276
464
|
"creation_date_time": {
|
277
|
-
"type": "
|
465
|
+
"type": "unix_timestamp",
|
278
466
|
"serialized_name": "CreationDateTime"
|
279
467
|
},
|
280
468
|
"start_date_time": {
|
281
|
-
"type": "
|
469
|
+
"type": "unix_timestamp",
|
282
470
|
"serialized_name": "StartDateTime"
|
283
471
|
},
|
284
472
|
"ready_date_time": {
|
285
|
-
"type": "
|
473
|
+
"type": "unix_timestamp",
|
286
474
|
"serialized_name": "ReadyDateTime"
|
287
475
|
},
|
288
476
|
"end_date_time": {
|
289
|
-
"type": "
|
477
|
+
"type": "unix_timestamp",
|
290
478
|
"serialized_name": "EndDateTime"
|
291
479
|
},
|
292
480
|
"last_state_change_reason": {
|
@@ -371,14 +559,14 @@
|
|
371
559
|
"serialized_name": "State",
|
372
560
|
"enum": [
|
373
561
|
"PROVISIONING",
|
374
|
-
"STARTING",
|
375
562
|
"BOOTSTRAPPING",
|
376
563
|
"RUNNING",
|
377
564
|
"RESIZING",
|
565
|
+
"SUSPENDED",
|
566
|
+
"TERMINATING",
|
567
|
+
"TERMINATED",
|
378
568
|
"ARRESTED",
|
379
569
|
"SHUTTING_DOWN",
|
380
|
-
"TERMINATED",
|
381
|
-
"FAILED",
|
382
570
|
"ENDED"
|
383
571
|
]
|
384
572
|
},
|
@@ -387,19 +575,19 @@
|
|
387
575
|
"serialized_name": "LastStateChangeReason"
|
388
576
|
},
|
389
577
|
"creation_date_time": {
|
390
|
-
"type": "
|
578
|
+
"type": "unix_timestamp",
|
391
579
|
"serialized_name": "CreationDateTime"
|
392
580
|
},
|
393
581
|
"start_date_time": {
|
394
|
-
"type": "
|
582
|
+
"type": "unix_timestamp",
|
395
583
|
"serialized_name": "StartDateTime"
|
396
584
|
},
|
397
585
|
"ready_date_time": {
|
398
|
-
"type": "
|
586
|
+
"type": "unix_timestamp",
|
399
587
|
"serialized_name": "ReadyDateTime"
|
400
588
|
},
|
401
589
|
"end_date_time": {
|
402
|
-
"type": "
|
590
|
+
"type": "unix_timestamp",
|
403
591
|
"serialized_name": "EndDateTime"
|
404
592
|
}
|
405
593
|
}
|
@@ -460,6 +648,7 @@
|
|
460
648
|
"serialized_name": "ActionOnFailure",
|
461
649
|
"enum": [
|
462
650
|
"TERMINATE_JOB_FLOW",
|
651
|
+
"TERMINATE_CLUSTER",
|
463
652
|
"CANCEL_AND_WAIT",
|
464
653
|
"CONTINUE"
|
465
654
|
]
|
@@ -522,15 +711,15 @@
|
|
522
711
|
]
|
523
712
|
},
|
524
713
|
"creation_date_time": {
|
525
|
-
"type": "
|
714
|
+
"type": "unix_timestamp",
|
526
715
|
"serialized_name": "CreationDateTime"
|
527
716
|
},
|
528
717
|
"start_date_time": {
|
529
|
-
"type": "
|
718
|
+
"type": "unix_timestamp",
|
530
719
|
"serialized_name": "StartDateTime"
|
531
720
|
},
|
532
721
|
"end_date_time": {
|
533
|
-
"type": "
|
722
|
+
"type": "unix_timestamp",
|
534
723
|
"serialized_name": "EndDateTime"
|
535
724
|
},
|
536
725
|
"last_state_change_reason": {
|
@@ -599,28 +788,756 @@
|
|
599
788
|
}
|
600
789
|
}
|
601
790
|
},
|
602
|
-
"
|
603
|
-
"name": "
|
791
|
+
"describe_step": {
|
792
|
+
"name": "DescribeStep",
|
604
793
|
"http_method": "POST",
|
605
794
|
"http_path": "/",
|
606
795
|
"input": {
|
607
796
|
"type": "input",
|
608
797
|
"members": {
|
609
|
-
"
|
798
|
+
"cluster_id": {
|
799
|
+
"type": "string",
|
800
|
+
"serialized_name": "ClusterId"
|
801
|
+
},
|
802
|
+
"step_id": {
|
803
|
+
"type": "string",
|
804
|
+
"serialized_name": "StepId"
|
805
|
+
}
|
806
|
+
}
|
807
|
+
},
|
808
|
+
"output": {
|
809
|
+
"type": "output",
|
810
|
+
"members": {
|
811
|
+
"step": {
|
812
|
+
"type": "structure",
|
813
|
+
"serialized_name": "Step",
|
814
|
+
"members": {
|
815
|
+
"id": {
|
816
|
+
"type": "string",
|
817
|
+
"serialized_name": "Id"
|
818
|
+
},
|
819
|
+
"name": {
|
820
|
+
"type": "string",
|
821
|
+
"serialized_name": "Name"
|
822
|
+
},
|
823
|
+
"config": {
|
824
|
+
"type": "structure",
|
825
|
+
"serialized_name": "Config",
|
826
|
+
"members": {
|
827
|
+
"jar": {
|
828
|
+
"type": "string",
|
829
|
+
"serialized_name": "Jar"
|
830
|
+
},
|
831
|
+
"properties": {
|
832
|
+
"type": "map",
|
833
|
+
"serialized_name": "Properties",
|
834
|
+
"keys": {
|
835
|
+
"type": "string"
|
836
|
+
},
|
837
|
+
"members": {
|
838
|
+
"type": "string"
|
839
|
+
}
|
840
|
+
},
|
841
|
+
"main_class": {
|
842
|
+
"type": "string",
|
843
|
+
"serialized_name": "MainClass"
|
844
|
+
},
|
845
|
+
"args": {
|
846
|
+
"type": "list",
|
847
|
+
"serialized_name": "Args",
|
848
|
+
"members": {
|
849
|
+
"type": "string"
|
850
|
+
}
|
851
|
+
}
|
852
|
+
}
|
853
|
+
},
|
854
|
+
"action_on_failure": {
|
855
|
+
"type": "string",
|
856
|
+
"serialized_name": "ActionOnFailure",
|
857
|
+
"enum": [
|
858
|
+
"TERMINATE_JOB_FLOW",
|
859
|
+
"TERMINATE_CLUSTER",
|
860
|
+
"CANCEL_AND_WAIT",
|
861
|
+
"CONTINUE"
|
862
|
+
]
|
863
|
+
},
|
864
|
+
"status": {
|
865
|
+
"type": "structure",
|
866
|
+
"serialized_name": "Status",
|
867
|
+
"members": {
|
868
|
+
"state": {
|
869
|
+
"type": "string",
|
870
|
+
"serialized_name": "State",
|
871
|
+
"enum": [
|
872
|
+
"PENDING",
|
873
|
+
"RUNNING",
|
874
|
+
"COMPLETED",
|
875
|
+
"CANCELLED",
|
876
|
+
"FAILED",
|
877
|
+
"INTERRUPTED"
|
878
|
+
]
|
879
|
+
},
|
880
|
+
"state_change_reason": {
|
881
|
+
"type": "structure",
|
882
|
+
"serialized_name": "StateChangeReason",
|
883
|
+
"members": {
|
884
|
+
"code": {
|
885
|
+
"type": "string",
|
886
|
+
"serialized_name": "Code",
|
887
|
+
"enum": [
|
888
|
+
"NONE"
|
889
|
+
]
|
890
|
+
},
|
891
|
+
"message": {
|
892
|
+
"type": "string",
|
893
|
+
"serialized_name": "Message"
|
894
|
+
}
|
895
|
+
}
|
896
|
+
},
|
897
|
+
"timeline": {
|
898
|
+
"type": "structure",
|
899
|
+
"serialized_name": "Timeline",
|
900
|
+
"members": {
|
901
|
+
"creation_date_time": {
|
902
|
+
"type": "unix_timestamp",
|
903
|
+
"serialized_name": "CreationDateTime"
|
904
|
+
},
|
905
|
+
"start_date_time": {
|
906
|
+
"type": "unix_timestamp",
|
907
|
+
"serialized_name": "StartDateTime"
|
908
|
+
},
|
909
|
+
"end_date_time": {
|
910
|
+
"type": "unix_timestamp",
|
911
|
+
"serialized_name": "EndDateTime"
|
912
|
+
}
|
913
|
+
}
|
914
|
+
}
|
915
|
+
}
|
916
|
+
}
|
917
|
+
}
|
918
|
+
}
|
919
|
+
}
|
920
|
+
}
|
921
|
+
},
|
922
|
+
"list_bootstrap_actions": {
|
923
|
+
"name": "ListBootstrapActions",
|
924
|
+
"http_method": "POST",
|
925
|
+
"http_path": "/",
|
926
|
+
"metadata": {
|
927
|
+
"paging": {
|
928
|
+
"tokens": {
|
929
|
+
"marker": "marker"
|
930
|
+
}
|
931
|
+
}
|
932
|
+
},
|
933
|
+
"input": {
|
934
|
+
"type": "input",
|
935
|
+
"members": {
|
936
|
+
"cluster_id": {
|
937
|
+
"type": "string",
|
938
|
+
"serialized_name": "ClusterId"
|
939
|
+
},
|
940
|
+
"marker": {
|
941
|
+
"type": "string",
|
942
|
+
"serialized_name": "Marker"
|
943
|
+
}
|
944
|
+
}
|
945
|
+
},
|
946
|
+
"output": {
|
947
|
+
"type": "output",
|
948
|
+
"members": {
|
949
|
+
"bootstrap_actions": {
|
610
950
|
"type": "list",
|
611
|
-
"serialized_name": "
|
951
|
+
"serialized_name": "BootstrapActions",
|
612
952
|
"members": {
|
613
953
|
"type": "structure",
|
614
954
|
"members": {
|
615
|
-
"
|
955
|
+
"name": {
|
616
956
|
"type": "string",
|
617
|
-
"
|
618
|
-
"serialized_name": "InstanceGroupId"
|
957
|
+
"serialized_name": "Name"
|
619
958
|
},
|
620
|
-
"
|
621
|
-
"type": "
|
622
|
-
"
|
623
|
-
|
959
|
+
"script_path": {
|
960
|
+
"type": "string",
|
961
|
+
"serialized_name": "ScriptPath"
|
962
|
+
},
|
963
|
+
"args": {
|
964
|
+
"type": "list",
|
965
|
+
"serialized_name": "Args",
|
966
|
+
"members": {
|
967
|
+
"type": "string"
|
968
|
+
}
|
969
|
+
}
|
970
|
+
}
|
971
|
+
}
|
972
|
+
},
|
973
|
+
"marker": {
|
974
|
+
"type": "string",
|
975
|
+
"serialized_name": "Marker"
|
976
|
+
}
|
977
|
+
}
|
978
|
+
}
|
979
|
+
},
|
980
|
+
"list_clusters": {
|
981
|
+
"name": "ListClusters",
|
982
|
+
"http_method": "POST",
|
983
|
+
"http_path": "/",
|
984
|
+
"metadata": {
|
985
|
+
"paging": {
|
986
|
+
"tokens": {
|
987
|
+
"marker": "marker"
|
988
|
+
}
|
989
|
+
}
|
990
|
+
},
|
991
|
+
"input": {
|
992
|
+
"type": "input",
|
993
|
+
"members": {
|
994
|
+
"created_after": {
|
995
|
+
"type": "unix_timestamp",
|
996
|
+
"serialized_name": "CreatedAfter"
|
997
|
+
},
|
998
|
+
"created_before": {
|
999
|
+
"type": "unix_timestamp",
|
1000
|
+
"serialized_name": "CreatedBefore"
|
1001
|
+
},
|
1002
|
+
"cluster_states": {
|
1003
|
+
"type": "list",
|
1004
|
+
"serialized_name": "ClusterStates",
|
1005
|
+
"members": {
|
1006
|
+
"type": "string",
|
1007
|
+
"enum": [
|
1008
|
+
"STARTING",
|
1009
|
+
"BOOTSTRAPPING",
|
1010
|
+
"RUNNING",
|
1011
|
+
"WAITING",
|
1012
|
+
"TERMINATING",
|
1013
|
+
"TERMINATED",
|
1014
|
+
"TERMINATED_WITH_ERRORS"
|
1015
|
+
]
|
1016
|
+
}
|
1017
|
+
},
|
1018
|
+
"marker": {
|
1019
|
+
"type": "string",
|
1020
|
+
"serialized_name": "Marker"
|
1021
|
+
}
|
1022
|
+
}
|
1023
|
+
},
|
1024
|
+
"output": {
|
1025
|
+
"type": "output",
|
1026
|
+
"members": {
|
1027
|
+
"clusters": {
|
1028
|
+
"type": "list",
|
1029
|
+
"serialized_name": "Clusters",
|
1030
|
+
"members": {
|
1031
|
+
"type": "structure",
|
1032
|
+
"members": {
|
1033
|
+
"id": {
|
1034
|
+
"type": "string",
|
1035
|
+
"serialized_name": "Id"
|
1036
|
+
},
|
1037
|
+
"name": {
|
1038
|
+
"type": "string",
|
1039
|
+
"serialized_name": "Name"
|
1040
|
+
},
|
1041
|
+
"status": {
|
1042
|
+
"type": "structure",
|
1043
|
+
"serialized_name": "Status",
|
1044
|
+
"members": {
|
1045
|
+
"state": {
|
1046
|
+
"type": "string",
|
1047
|
+
"serialized_name": "State",
|
1048
|
+
"enum": [
|
1049
|
+
"STARTING",
|
1050
|
+
"BOOTSTRAPPING",
|
1051
|
+
"RUNNING",
|
1052
|
+
"WAITING",
|
1053
|
+
"TERMINATING",
|
1054
|
+
"TERMINATED",
|
1055
|
+
"TERMINATED_WITH_ERRORS"
|
1056
|
+
]
|
1057
|
+
},
|
1058
|
+
"state_change_reason": {
|
1059
|
+
"type": "structure",
|
1060
|
+
"serialized_name": "StateChangeReason",
|
1061
|
+
"members": {
|
1062
|
+
"code": {
|
1063
|
+
"type": "string",
|
1064
|
+
"serialized_name": "Code",
|
1065
|
+
"enum": [
|
1066
|
+
"INTERNAL_ERROR",
|
1067
|
+
"VALIDATION_ERROR",
|
1068
|
+
"INSTANCE_FAILURE",
|
1069
|
+
"BOOTSTRAP_FAILURE",
|
1070
|
+
"USER_REQUEST",
|
1071
|
+
"STEP_FAILURE",
|
1072
|
+
"ALL_STEPS_COMPLETED"
|
1073
|
+
]
|
1074
|
+
},
|
1075
|
+
"message": {
|
1076
|
+
"type": "string",
|
1077
|
+
"serialized_name": "Message"
|
1078
|
+
}
|
1079
|
+
}
|
1080
|
+
},
|
1081
|
+
"timeline": {
|
1082
|
+
"type": "structure",
|
1083
|
+
"serialized_name": "Timeline",
|
1084
|
+
"members": {
|
1085
|
+
"creation_date_time": {
|
1086
|
+
"type": "unix_timestamp",
|
1087
|
+
"serialized_name": "CreationDateTime"
|
1088
|
+
},
|
1089
|
+
"ready_date_time": {
|
1090
|
+
"type": "unix_timestamp",
|
1091
|
+
"serialized_name": "ReadyDateTime"
|
1092
|
+
},
|
1093
|
+
"end_date_time": {
|
1094
|
+
"type": "unix_timestamp",
|
1095
|
+
"serialized_name": "EndDateTime"
|
1096
|
+
}
|
1097
|
+
}
|
1098
|
+
}
|
1099
|
+
}
|
1100
|
+
}
|
1101
|
+
}
|
1102
|
+
}
|
1103
|
+
},
|
1104
|
+
"marker": {
|
1105
|
+
"type": "string",
|
1106
|
+
"serialized_name": "Marker"
|
1107
|
+
}
|
1108
|
+
}
|
1109
|
+
}
|
1110
|
+
},
|
1111
|
+
"list_instance_groups": {
|
1112
|
+
"name": "ListInstanceGroups",
|
1113
|
+
"http_method": "POST",
|
1114
|
+
"http_path": "/",
|
1115
|
+
"metadata": {
|
1116
|
+
"paging": {
|
1117
|
+
"tokens": {
|
1118
|
+
"marker": "marker"
|
1119
|
+
}
|
1120
|
+
}
|
1121
|
+
},
|
1122
|
+
"input": {
|
1123
|
+
"type": "input",
|
1124
|
+
"members": {
|
1125
|
+
"cluster_id": {
|
1126
|
+
"type": "string",
|
1127
|
+
"serialized_name": "ClusterId"
|
1128
|
+
},
|
1129
|
+
"marker": {
|
1130
|
+
"type": "string",
|
1131
|
+
"serialized_name": "Marker"
|
1132
|
+
}
|
1133
|
+
}
|
1134
|
+
},
|
1135
|
+
"output": {
|
1136
|
+
"type": "output",
|
1137
|
+
"members": {
|
1138
|
+
"instance_groups": {
|
1139
|
+
"type": "list",
|
1140
|
+
"serialized_name": "InstanceGroups",
|
1141
|
+
"members": {
|
1142
|
+
"type": "structure",
|
1143
|
+
"members": {
|
1144
|
+
"id": {
|
1145
|
+
"type": "string",
|
1146
|
+
"serialized_name": "Id"
|
1147
|
+
},
|
1148
|
+
"name": {
|
1149
|
+
"type": "string",
|
1150
|
+
"serialized_name": "Name"
|
1151
|
+
},
|
1152
|
+
"market": {
|
1153
|
+
"type": "string",
|
1154
|
+
"serialized_name": "Market",
|
1155
|
+
"enum": [
|
1156
|
+
"ON_DEMAND",
|
1157
|
+
"SPOT"
|
1158
|
+
]
|
1159
|
+
},
|
1160
|
+
"instance_group_type": {
|
1161
|
+
"type": "string",
|
1162
|
+
"serialized_name": "InstanceGroupType",
|
1163
|
+
"enum": [
|
1164
|
+
"MASTER",
|
1165
|
+
"CORE",
|
1166
|
+
"TASK"
|
1167
|
+
]
|
1168
|
+
},
|
1169
|
+
"bid_price": {
|
1170
|
+
"type": "string",
|
1171
|
+
"serialized_name": "BidPrice"
|
1172
|
+
},
|
1173
|
+
"instance_type": {
|
1174
|
+
"type": "string",
|
1175
|
+
"serialized_name": "InstanceType"
|
1176
|
+
},
|
1177
|
+
"requested_instance_count": {
|
1178
|
+
"type": "integer",
|
1179
|
+
"serialized_name": "RequestedInstanceCount"
|
1180
|
+
},
|
1181
|
+
"running_instance_count": {
|
1182
|
+
"type": "integer",
|
1183
|
+
"serialized_name": "RunningInstanceCount"
|
1184
|
+
},
|
1185
|
+
"status": {
|
1186
|
+
"type": "structure",
|
1187
|
+
"serialized_name": "Status",
|
1188
|
+
"members": {
|
1189
|
+
"state": {
|
1190
|
+
"type": "string",
|
1191
|
+
"serialized_name": "State",
|
1192
|
+
"enum": [
|
1193
|
+
"PROVISIONING",
|
1194
|
+
"BOOTSTRAPPING",
|
1195
|
+
"RUNNING",
|
1196
|
+
"RESIZING",
|
1197
|
+
"SUSPENDED",
|
1198
|
+
"TERMINATING",
|
1199
|
+
"TERMINATED",
|
1200
|
+
"ARRESTED",
|
1201
|
+
"SHUTTING_DOWN",
|
1202
|
+
"ENDED"
|
1203
|
+
]
|
1204
|
+
},
|
1205
|
+
"state_change_reason": {
|
1206
|
+
"type": "structure",
|
1207
|
+
"serialized_name": "StateChangeReason",
|
1208
|
+
"members": {
|
1209
|
+
"code": {
|
1210
|
+
"type": "string",
|
1211
|
+
"serialized_name": "Code",
|
1212
|
+
"enum": [
|
1213
|
+
"INTERNAL_ERROR",
|
1214
|
+
"VALIDATION_ERROR",
|
1215
|
+
"INSTANCE_FAILURE",
|
1216
|
+
"CLUSTER_TERMINATED"
|
1217
|
+
]
|
1218
|
+
},
|
1219
|
+
"message": {
|
1220
|
+
"type": "string",
|
1221
|
+
"serialized_name": "Message"
|
1222
|
+
}
|
1223
|
+
}
|
1224
|
+
},
|
1225
|
+
"timeline": {
|
1226
|
+
"type": "structure",
|
1227
|
+
"serialized_name": "Timeline",
|
1228
|
+
"members": {
|
1229
|
+
"creation_date_time": {
|
1230
|
+
"type": "unix_timestamp",
|
1231
|
+
"serialized_name": "CreationDateTime"
|
1232
|
+
},
|
1233
|
+
"ready_date_time": {
|
1234
|
+
"type": "unix_timestamp",
|
1235
|
+
"serialized_name": "ReadyDateTime"
|
1236
|
+
},
|
1237
|
+
"end_date_time": {
|
1238
|
+
"type": "unix_timestamp",
|
1239
|
+
"serialized_name": "EndDateTime"
|
1240
|
+
}
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
}
|
1244
|
+
}
|
1245
|
+
}
|
1246
|
+
}
|
1247
|
+
},
|
1248
|
+
"marker": {
|
1249
|
+
"type": "string",
|
1250
|
+
"serialized_name": "Marker"
|
1251
|
+
}
|
1252
|
+
}
|
1253
|
+
}
|
1254
|
+
},
|
1255
|
+
"list_instances": {
|
1256
|
+
"name": "ListInstances",
|
1257
|
+
"http_method": "POST",
|
1258
|
+
"http_path": "/",
|
1259
|
+
"metadata": {
|
1260
|
+
"paging": {
|
1261
|
+
"tokens": {
|
1262
|
+
"marker": "marker"
|
1263
|
+
}
|
1264
|
+
}
|
1265
|
+
},
|
1266
|
+
"input": {
|
1267
|
+
"type": "input",
|
1268
|
+
"members": {
|
1269
|
+
"cluster_id": {
|
1270
|
+
"type": "string",
|
1271
|
+
"serialized_name": "ClusterId"
|
1272
|
+
},
|
1273
|
+
"instance_group_id": {
|
1274
|
+
"type": "string",
|
1275
|
+
"serialized_name": "InstanceGroupId"
|
1276
|
+
},
|
1277
|
+
"instance_group_types": {
|
1278
|
+
"type": "list",
|
1279
|
+
"serialized_name": "InstanceGroupTypes",
|
1280
|
+
"members": {
|
1281
|
+
"type": "string",
|
1282
|
+
"enum": [
|
1283
|
+
"MASTER",
|
1284
|
+
"CORE",
|
1285
|
+
"TASK"
|
1286
|
+
]
|
1287
|
+
}
|
1288
|
+
},
|
1289
|
+
"marker": {
|
1290
|
+
"type": "string",
|
1291
|
+
"serialized_name": "Marker"
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
},
|
1295
|
+
"output": {
|
1296
|
+
"type": "output",
|
1297
|
+
"members": {
|
1298
|
+
"instances": {
|
1299
|
+
"type": "list",
|
1300
|
+
"serialized_name": "Instances",
|
1301
|
+
"members": {
|
1302
|
+
"type": "structure",
|
1303
|
+
"members": {
|
1304
|
+
"id": {
|
1305
|
+
"type": "string",
|
1306
|
+
"serialized_name": "Id"
|
1307
|
+
},
|
1308
|
+
"ec2_instance_id": {
|
1309
|
+
"type": "string",
|
1310
|
+
"serialized_name": "Ec2InstanceId"
|
1311
|
+
},
|
1312
|
+
"public_dns_name": {
|
1313
|
+
"type": "string",
|
1314
|
+
"serialized_name": "PublicDnsName"
|
1315
|
+
},
|
1316
|
+
"public_ip_address": {
|
1317
|
+
"type": "string",
|
1318
|
+
"serialized_name": "PublicIpAddress"
|
1319
|
+
},
|
1320
|
+
"private_dns_name": {
|
1321
|
+
"type": "string",
|
1322
|
+
"serialized_name": "PrivateDnsName"
|
1323
|
+
},
|
1324
|
+
"private_ip_address": {
|
1325
|
+
"type": "string",
|
1326
|
+
"serialized_name": "PrivateIpAddress"
|
1327
|
+
},
|
1328
|
+
"status": {
|
1329
|
+
"type": "structure",
|
1330
|
+
"serialized_name": "Status",
|
1331
|
+
"members": {
|
1332
|
+
"state": {
|
1333
|
+
"type": "string",
|
1334
|
+
"serialized_name": "State",
|
1335
|
+
"enum": [
|
1336
|
+
"AWAITING_FULFILLMENT",
|
1337
|
+
"PROVISIONING",
|
1338
|
+
"BOOTSTRAPPING",
|
1339
|
+
"RUNNING",
|
1340
|
+
"TERMINATED"
|
1341
|
+
]
|
1342
|
+
},
|
1343
|
+
"state_change_reason": {
|
1344
|
+
"type": "structure",
|
1345
|
+
"serialized_name": "StateChangeReason",
|
1346
|
+
"members": {
|
1347
|
+
"code": {
|
1348
|
+
"type": "string",
|
1349
|
+
"serialized_name": "Code",
|
1350
|
+
"enum": [
|
1351
|
+
"INTERNAL_ERROR",
|
1352
|
+
"VALIDATION_ERROR",
|
1353
|
+
"INSTANCE_FAILURE",
|
1354
|
+
"BOOTSTRAP_FAILURE",
|
1355
|
+
"CLUSTER_TERMINATED"
|
1356
|
+
]
|
1357
|
+
},
|
1358
|
+
"message": {
|
1359
|
+
"type": "string",
|
1360
|
+
"serialized_name": "Message"
|
1361
|
+
}
|
1362
|
+
}
|
1363
|
+
},
|
1364
|
+
"timeline": {
|
1365
|
+
"type": "structure",
|
1366
|
+
"serialized_name": "Timeline",
|
1367
|
+
"members": {
|
1368
|
+
"creation_date_time": {
|
1369
|
+
"type": "unix_timestamp",
|
1370
|
+
"serialized_name": "CreationDateTime"
|
1371
|
+
},
|
1372
|
+
"ready_date_time": {
|
1373
|
+
"type": "unix_timestamp",
|
1374
|
+
"serialized_name": "ReadyDateTime"
|
1375
|
+
},
|
1376
|
+
"end_date_time": {
|
1377
|
+
"type": "unix_timestamp",
|
1378
|
+
"serialized_name": "EndDateTime"
|
1379
|
+
}
|
1380
|
+
}
|
1381
|
+
}
|
1382
|
+
}
|
1383
|
+
}
|
1384
|
+
}
|
1385
|
+
}
|
1386
|
+
},
|
1387
|
+
"marker": {
|
1388
|
+
"type": "string",
|
1389
|
+
"serialized_name": "Marker"
|
1390
|
+
}
|
1391
|
+
}
|
1392
|
+
}
|
1393
|
+
},
|
1394
|
+
"list_steps": {
|
1395
|
+
"name": "ListSteps",
|
1396
|
+
"http_method": "POST",
|
1397
|
+
"http_path": "/",
|
1398
|
+
"metadata": {
|
1399
|
+
"paging": {
|
1400
|
+
"tokens": {
|
1401
|
+
"marker": "marker"
|
1402
|
+
}
|
1403
|
+
}
|
1404
|
+
},
|
1405
|
+
"input": {
|
1406
|
+
"type": "input",
|
1407
|
+
"members": {
|
1408
|
+
"cluster_id": {
|
1409
|
+
"type": "string",
|
1410
|
+
"serialized_name": "ClusterId"
|
1411
|
+
},
|
1412
|
+
"step_states": {
|
1413
|
+
"type": "list",
|
1414
|
+
"serialized_name": "StepStates",
|
1415
|
+
"members": {
|
1416
|
+
"type": "string",
|
1417
|
+
"enum": [
|
1418
|
+
"PENDING",
|
1419
|
+
"RUNNING",
|
1420
|
+
"COMPLETED",
|
1421
|
+
"CANCELLED",
|
1422
|
+
"FAILED",
|
1423
|
+
"INTERRUPTED"
|
1424
|
+
]
|
1425
|
+
}
|
1426
|
+
},
|
1427
|
+
"marker": {
|
1428
|
+
"type": "string",
|
1429
|
+
"serialized_name": "Marker"
|
1430
|
+
}
|
1431
|
+
}
|
1432
|
+
},
|
1433
|
+
"output": {
|
1434
|
+
"type": "output",
|
1435
|
+
"members": {
|
1436
|
+
"steps": {
|
1437
|
+
"type": "list",
|
1438
|
+
"serialized_name": "Steps",
|
1439
|
+
"members": {
|
1440
|
+
"type": "structure",
|
1441
|
+
"members": {
|
1442
|
+
"id": {
|
1443
|
+
"type": "string",
|
1444
|
+
"serialized_name": "Id"
|
1445
|
+
},
|
1446
|
+
"name": {
|
1447
|
+
"type": "string",
|
1448
|
+
"serialized_name": "Name"
|
1449
|
+
},
|
1450
|
+
"status": {
|
1451
|
+
"type": "structure",
|
1452
|
+
"serialized_name": "Status",
|
1453
|
+
"members": {
|
1454
|
+
"state": {
|
1455
|
+
"type": "string",
|
1456
|
+
"serialized_name": "State",
|
1457
|
+
"enum": [
|
1458
|
+
"PENDING",
|
1459
|
+
"RUNNING",
|
1460
|
+
"COMPLETED",
|
1461
|
+
"CANCELLED",
|
1462
|
+
"FAILED",
|
1463
|
+
"INTERRUPTED"
|
1464
|
+
]
|
1465
|
+
},
|
1466
|
+
"state_change_reason": {
|
1467
|
+
"type": "structure",
|
1468
|
+
"serialized_name": "StateChangeReason",
|
1469
|
+
"members": {
|
1470
|
+
"code": {
|
1471
|
+
"type": "string",
|
1472
|
+
"serialized_name": "Code",
|
1473
|
+
"enum": [
|
1474
|
+
"NONE"
|
1475
|
+
]
|
1476
|
+
},
|
1477
|
+
"message": {
|
1478
|
+
"type": "string",
|
1479
|
+
"serialized_name": "Message"
|
1480
|
+
}
|
1481
|
+
}
|
1482
|
+
},
|
1483
|
+
"timeline": {
|
1484
|
+
"type": "structure",
|
1485
|
+
"serialized_name": "Timeline",
|
1486
|
+
"members": {
|
1487
|
+
"creation_date_time": {
|
1488
|
+
"type": "unix_timestamp",
|
1489
|
+
"serialized_name": "CreationDateTime"
|
1490
|
+
},
|
1491
|
+
"start_date_time": {
|
1492
|
+
"type": "unix_timestamp",
|
1493
|
+
"serialized_name": "StartDateTime"
|
1494
|
+
},
|
1495
|
+
"end_date_time": {
|
1496
|
+
"type": "unix_timestamp",
|
1497
|
+
"serialized_name": "EndDateTime"
|
1498
|
+
}
|
1499
|
+
}
|
1500
|
+
}
|
1501
|
+
}
|
1502
|
+
}
|
1503
|
+
}
|
1504
|
+
}
|
1505
|
+
},
|
1506
|
+
"marker": {
|
1507
|
+
"type": "string",
|
1508
|
+
"serialized_name": "Marker"
|
1509
|
+
}
|
1510
|
+
}
|
1511
|
+
}
|
1512
|
+
},
|
1513
|
+
"modify_instance_groups": {
|
1514
|
+
"name": "ModifyInstanceGroups",
|
1515
|
+
"http_method": "POST",
|
1516
|
+
"http_path": "/",
|
1517
|
+
"input": {
|
1518
|
+
"type": "input",
|
1519
|
+
"members": {
|
1520
|
+
"instance_groups": {
|
1521
|
+
"type": "list",
|
1522
|
+
"serialized_name": "InstanceGroups",
|
1523
|
+
"members": {
|
1524
|
+
"type": "structure",
|
1525
|
+
"members": {
|
1526
|
+
"instance_group_id": {
|
1527
|
+
"type": "string",
|
1528
|
+
"required": true,
|
1529
|
+
"serialized_name": "InstanceGroupId"
|
1530
|
+
},
|
1531
|
+
"instance_count": {
|
1532
|
+
"type": "integer",
|
1533
|
+
"serialized_name": "InstanceCount"
|
1534
|
+
},
|
1535
|
+
"ec2_instance_ids_to_terminate": {
|
1536
|
+
"type": "list",
|
1537
|
+
"serialized_name": "EC2InstanceIdsToTerminate",
|
1538
|
+
"members": {
|
1539
|
+
"type": "string"
|
1540
|
+
}
|
624
1541
|
}
|
625
1542
|
}
|
626
1543
|
}
|
@@ -763,6 +1680,7 @@
|
|
763
1680
|
"serialized_name": "ActionOnFailure",
|
764
1681
|
"enum": [
|
765
1682
|
"TERMINATE_JOB_FLOW",
|
1683
|
+
"TERMINATE_CLUSTER",
|
766
1684
|
"CANCEL_AND_WAIT",
|
767
1685
|
"CONTINUE"
|
768
1686
|
]
|