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
data/apis/IAM-2010-05-08.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::SignatureV4"
|
@@ -888,6 +889,14 @@
|
|
888
889
|
"name": "GetGroup",
|
889
890
|
"http_method": "POST",
|
890
891
|
"http_path": "/",
|
892
|
+
"metadata": {
|
893
|
+
"paging": {
|
894
|
+
"tokens": {
|
895
|
+
"marker": "marker"
|
896
|
+
},
|
897
|
+
"truncated_if": "is_truncated"
|
898
|
+
}
|
899
|
+
},
|
891
900
|
"input": {
|
892
901
|
"type": "input",
|
893
902
|
"members": {
|
@@ -1385,6 +1394,14 @@
|
|
1385
1394
|
"name": "ListAccessKeys",
|
1386
1395
|
"http_method": "POST",
|
1387
1396
|
"http_path": "/",
|
1397
|
+
"metadata": {
|
1398
|
+
"paging": {
|
1399
|
+
"tokens": {
|
1400
|
+
"marker": "marker"
|
1401
|
+
},
|
1402
|
+
"truncated_if": "is_truncated"
|
1403
|
+
}
|
1404
|
+
},
|
1388
1405
|
"input": {
|
1389
1406
|
"type": "input",
|
1390
1407
|
"members": {
|
@@ -1452,6 +1469,14 @@
|
|
1452
1469
|
"name": "ListAccountAliases",
|
1453
1470
|
"http_method": "POST",
|
1454
1471
|
"http_path": "/",
|
1472
|
+
"metadata": {
|
1473
|
+
"paging": {
|
1474
|
+
"tokens": {
|
1475
|
+
"marker": "marker"
|
1476
|
+
},
|
1477
|
+
"truncated_if": "is_truncated"
|
1478
|
+
}
|
1479
|
+
},
|
1455
1480
|
"input": {
|
1456
1481
|
"type": "input",
|
1457
1482
|
"members": {
|
@@ -1493,6 +1518,14 @@
|
|
1493
1518
|
"name": "ListGroupPolicies",
|
1494
1519
|
"http_method": "POST",
|
1495
1520
|
"http_path": "/",
|
1521
|
+
"metadata": {
|
1522
|
+
"paging": {
|
1523
|
+
"tokens": {
|
1524
|
+
"marker": "marker"
|
1525
|
+
},
|
1526
|
+
"truncated_if": "is_truncated"
|
1527
|
+
}
|
1528
|
+
},
|
1496
1529
|
"input": {
|
1497
1530
|
"type": "input",
|
1498
1531
|
"members": {
|
@@ -1539,6 +1572,14 @@
|
|
1539
1572
|
"name": "ListGroups",
|
1540
1573
|
"http_method": "POST",
|
1541
1574
|
"http_path": "/",
|
1575
|
+
"metadata": {
|
1576
|
+
"paging": {
|
1577
|
+
"tokens": {
|
1578
|
+
"marker": "marker"
|
1579
|
+
},
|
1580
|
+
"truncated_if": "is_truncated"
|
1581
|
+
}
|
1582
|
+
},
|
1542
1583
|
"input": {
|
1543
1584
|
"type": "input",
|
1544
1585
|
"members": {
|
@@ -1606,6 +1647,14 @@
|
|
1606
1647
|
"name": "ListGroupsForUser",
|
1607
1648
|
"http_method": "POST",
|
1608
1649
|
"http_path": "/",
|
1650
|
+
"metadata": {
|
1651
|
+
"paging": {
|
1652
|
+
"tokens": {
|
1653
|
+
"marker": "marker"
|
1654
|
+
},
|
1655
|
+
"truncated_if": "is_truncated"
|
1656
|
+
}
|
1657
|
+
},
|
1609
1658
|
"input": {
|
1610
1659
|
"type": "input",
|
1611
1660
|
"members": {
|
@@ -1674,6 +1723,14 @@
|
|
1674
1723
|
"name": "ListInstanceProfiles",
|
1675
1724
|
"http_method": "POST",
|
1676
1725
|
"http_path": "/",
|
1726
|
+
"metadata": {
|
1727
|
+
"paging": {
|
1728
|
+
"tokens": {
|
1729
|
+
"marker": "marker"
|
1730
|
+
},
|
1731
|
+
"truncated_if": "is_truncated"
|
1732
|
+
}
|
1733
|
+
},
|
1677
1734
|
"input": {
|
1678
1735
|
"type": "input",
|
1679
1736
|
"members": {
|
@@ -1774,6 +1831,14 @@
|
|
1774
1831
|
"name": "ListInstanceProfilesForRole",
|
1775
1832
|
"http_method": "POST",
|
1776
1833
|
"http_path": "/",
|
1834
|
+
"metadata": {
|
1835
|
+
"paging": {
|
1836
|
+
"tokens": {
|
1837
|
+
"marker": "marker"
|
1838
|
+
},
|
1839
|
+
"truncated_if": "is_truncated"
|
1840
|
+
}
|
1841
|
+
},
|
1777
1842
|
"input": {
|
1778
1843
|
"type": "input",
|
1779
1844
|
"members": {
|
@@ -1875,6 +1940,14 @@
|
|
1875
1940
|
"name": "ListMFADevices",
|
1876
1941
|
"http_method": "POST",
|
1877
1942
|
"http_path": "/",
|
1943
|
+
"metadata": {
|
1944
|
+
"paging": {
|
1945
|
+
"tokens": {
|
1946
|
+
"marker": "marker"
|
1947
|
+
},
|
1948
|
+
"truncated_if": "is_truncated"
|
1949
|
+
}
|
1950
|
+
},
|
1878
1951
|
"input": {
|
1879
1952
|
"type": "input",
|
1880
1953
|
"members": {
|
@@ -1934,6 +2007,14 @@
|
|
1934
2007
|
"name": "ListRolePolicies",
|
1935
2008
|
"http_method": "POST",
|
1936
2009
|
"http_path": "/",
|
2010
|
+
"metadata": {
|
2011
|
+
"paging": {
|
2012
|
+
"tokens": {
|
2013
|
+
"marker": "marker"
|
2014
|
+
},
|
2015
|
+
"truncated_if": "is_truncated"
|
2016
|
+
}
|
2017
|
+
},
|
1937
2018
|
"input": {
|
1938
2019
|
"type": "input",
|
1939
2020
|
"members": {
|
@@ -1980,6 +2061,14 @@
|
|
1980
2061
|
"name": "ListRoles",
|
1981
2062
|
"http_method": "POST",
|
1982
2063
|
"http_path": "/",
|
2064
|
+
"metadata": {
|
2065
|
+
"paging": {
|
2066
|
+
"tokens": {
|
2067
|
+
"marker": "marker"
|
2068
|
+
},
|
2069
|
+
"truncated_if": "is_truncated"
|
2070
|
+
}
|
2071
|
+
},
|
1983
2072
|
"input": {
|
1984
2073
|
"type": "input",
|
1985
2074
|
"members": {
|
@@ -2051,6 +2140,14 @@
|
|
2051
2140
|
"name": "ListServerCertificates",
|
2052
2141
|
"http_method": "POST",
|
2053
2142
|
"http_path": "/",
|
2143
|
+
"metadata": {
|
2144
|
+
"paging": {
|
2145
|
+
"tokens": {
|
2146
|
+
"marker": "marker"
|
2147
|
+
},
|
2148
|
+
"truncated_if": "is_truncated"
|
2149
|
+
}
|
2150
|
+
},
|
2054
2151
|
"input": {
|
2055
2152
|
"type": "input",
|
2056
2153
|
"members": {
|
@@ -2118,6 +2215,14 @@
|
|
2118
2215
|
"name": "ListSigningCertificates",
|
2119
2216
|
"http_method": "POST",
|
2120
2217
|
"http_path": "/",
|
2218
|
+
"metadata": {
|
2219
|
+
"paging": {
|
2220
|
+
"tokens": {
|
2221
|
+
"marker": "marker"
|
2222
|
+
},
|
2223
|
+
"truncated_if": "is_truncated"
|
2224
|
+
}
|
2225
|
+
},
|
2121
2226
|
"input": {
|
2122
2227
|
"type": "input",
|
2123
2228
|
"members": {
|
@@ -2189,6 +2294,14 @@
|
|
2189
2294
|
"name": "ListUserPolicies",
|
2190
2295
|
"http_method": "POST",
|
2191
2296
|
"http_path": "/",
|
2297
|
+
"metadata": {
|
2298
|
+
"paging": {
|
2299
|
+
"tokens": {
|
2300
|
+
"marker": "marker"
|
2301
|
+
},
|
2302
|
+
"truncated_if": "is_truncated"
|
2303
|
+
}
|
2304
|
+
},
|
2192
2305
|
"input": {
|
2193
2306
|
"type": "input",
|
2194
2307
|
"members": {
|
@@ -2235,6 +2348,14 @@
|
|
2235
2348
|
"name": "ListUsers",
|
2236
2349
|
"http_method": "POST",
|
2237
2350
|
"http_path": "/",
|
2351
|
+
"metadata": {
|
2352
|
+
"paging": {
|
2353
|
+
"tokens": {
|
2354
|
+
"marker": "marker"
|
2355
|
+
},
|
2356
|
+
"truncated_if": "is_truncated"
|
2357
|
+
}
|
2358
|
+
},
|
2238
2359
|
"input": {
|
2239
2360
|
"type": "input",
|
2240
2361
|
"members": {
|
@@ -2302,6 +2423,14 @@
|
|
2302
2423
|
"name": "ListVirtualMFADevices",
|
2303
2424
|
"http_method": "POST",
|
2304
2425
|
"http_path": "/",
|
2426
|
+
"metadata": {
|
2427
|
+
"paging": {
|
2428
|
+
"tokens": {
|
2429
|
+
"marker": "marker"
|
2430
|
+
},
|
2431
|
+
"truncated_if": "is_truncated"
|
2432
|
+
}
|
2433
|
+
},
|
2305
2434
|
"input": {
|
2306
2435
|
"type": "input",
|
2307
2436
|
"members": {
|
@@ -24,6 +24,7 @@
|
|
24
24
|
"Aws::Plugins::GlobalConfiguration",
|
25
25
|
"Aws::Plugins::RegionalEndpoint",
|
26
26
|
"Aws::Plugins::InstanceProfileCredentials",
|
27
|
+
"Aws::Plugins::ResponsePaging",
|
27
28
|
"Aws::Plugins::Credentials",
|
28
29
|
"Aws::Plugins::QueryProtocol",
|
29
30
|
"Aws::Plugins::SignatureV2"
|
@@ -220,6 +221,14 @@
|
|
220
221
|
"name": "ListJobs",
|
221
222
|
"http_method": "POST",
|
222
223
|
"http_path": "/",
|
224
|
+
"metadata": {
|
225
|
+
"paging": {
|
226
|
+
"tokens": {
|
227
|
+
"marker": "jobs[-1].job_id"
|
228
|
+
},
|
229
|
+
"truncated_if": "is_truncated"
|
230
|
+
}
|
231
|
+
},
|
223
232
|
"input": {
|
224
233
|
"type": "input",
|
225
234
|
"members": {
|
@@ -0,0 +1,409 @@
|
|
1
|
+
{
|
2
|
+
"version": "2013-12-02",
|
3
|
+
"metadata": {
|
4
|
+
"endpoint_prefix": "kinesis",
|
5
|
+
"json_target_prefix": "Kinesis_20131202",
|
6
|
+
"json_version": 1.1,
|
7
|
+
"regional_endpoints": {
|
8
|
+
"us-east-1": "kinesis.us-east-1.amazonaws.com"
|
9
|
+
},
|
10
|
+
"service_abbreviation": "Kinesis",
|
11
|
+
"service_class_name": "Kinesis",
|
12
|
+
"service_full_name": "Amazon Kinesis"
|
13
|
+
},
|
14
|
+
"plugins": [
|
15
|
+
"Seahorse::Client::Plugins::Logging",
|
16
|
+
"Seahorse::Client::Plugins::RestfulBindings",
|
17
|
+
"Seahorse::Client::Plugins::ContentLength",
|
18
|
+
"Aws::Plugins::UserAgent",
|
19
|
+
"Aws::Plugins::RetryErrors",
|
20
|
+
"Aws::Plugins::GlobalConfiguration",
|
21
|
+
"Aws::Plugins::RegionalEndpoint",
|
22
|
+
"Aws::Plugins::InstanceProfileCredentials",
|
23
|
+
"Aws::Plugins::ResponsePaging",
|
24
|
+
"Aws::Plugins::Credentials",
|
25
|
+
"Aws::Plugins::JsonProtocol",
|
26
|
+
"Aws::Plugins::JsonRpcHeaders",
|
27
|
+
"Aws::Plugins::SignatureV4"
|
28
|
+
],
|
29
|
+
"operations": {
|
30
|
+
"create_stream": {
|
31
|
+
"name": "CreateStream",
|
32
|
+
"http_method": "POST",
|
33
|
+
"http_path": "/",
|
34
|
+
"input": {
|
35
|
+
"type": "input",
|
36
|
+
"members": {
|
37
|
+
"stream_name": {
|
38
|
+
"type": "string",
|
39
|
+
"required": true,
|
40
|
+
"serialized_name": "StreamName"
|
41
|
+
},
|
42
|
+
"shard_count": {
|
43
|
+
"type": "integer",
|
44
|
+
"required": true,
|
45
|
+
"serialized_name": "ShardCount"
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
},
|
50
|
+
"delete_stream": {
|
51
|
+
"name": "DeleteStream",
|
52
|
+
"http_method": "POST",
|
53
|
+
"http_path": "/",
|
54
|
+
"input": {
|
55
|
+
"type": "input",
|
56
|
+
"members": {
|
57
|
+
"stream_name": {
|
58
|
+
"type": "string",
|
59
|
+
"required": true,
|
60
|
+
"serialized_name": "StreamName"
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"describe_stream": {
|
66
|
+
"name": "DescribeStream",
|
67
|
+
"http_method": "POST",
|
68
|
+
"http_path": "/",
|
69
|
+
"input": {
|
70
|
+
"type": "input",
|
71
|
+
"members": {
|
72
|
+
"stream_name": {
|
73
|
+
"type": "string",
|
74
|
+
"required": true,
|
75
|
+
"serialized_name": "StreamName"
|
76
|
+
},
|
77
|
+
"limit": {
|
78
|
+
"type": "integer",
|
79
|
+
"serialized_name": "Limit"
|
80
|
+
},
|
81
|
+
"exclusive_start_shard_id": {
|
82
|
+
"type": "string",
|
83
|
+
"serialized_name": "ExclusiveStartShardId"
|
84
|
+
}
|
85
|
+
}
|
86
|
+
},
|
87
|
+
"output": {
|
88
|
+
"type": "output",
|
89
|
+
"members": {
|
90
|
+
"stream_description": {
|
91
|
+
"type": "structure",
|
92
|
+
"serialized_name": "StreamDescription",
|
93
|
+
"members": {
|
94
|
+
"stream_name": {
|
95
|
+
"type": "string",
|
96
|
+
"serialized_name": "StreamName"
|
97
|
+
},
|
98
|
+
"stream_arn": {
|
99
|
+
"type": "string",
|
100
|
+
"serialized_name": "StreamARN"
|
101
|
+
},
|
102
|
+
"stream_status": {
|
103
|
+
"type": "string",
|
104
|
+
"serialized_name": "StreamStatus",
|
105
|
+
"enum": [
|
106
|
+
"CREATING",
|
107
|
+
"DELETING",
|
108
|
+
"ACTIVE",
|
109
|
+
"UPDATING"
|
110
|
+
]
|
111
|
+
},
|
112
|
+
"shards": {
|
113
|
+
"type": "list",
|
114
|
+
"serialized_name": "Shards",
|
115
|
+
"members": {
|
116
|
+
"type": "structure",
|
117
|
+
"members": {
|
118
|
+
"shard_id": {
|
119
|
+
"type": "string",
|
120
|
+
"serialized_name": "ShardId"
|
121
|
+
},
|
122
|
+
"parent_shard_id": {
|
123
|
+
"type": "string",
|
124
|
+
"serialized_name": "ParentShardId"
|
125
|
+
},
|
126
|
+
"adjacent_parent_shard_id": {
|
127
|
+
"type": "string",
|
128
|
+
"serialized_name": "AdjacentParentShardId"
|
129
|
+
},
|
130
|
+
"hash_key_range": {
|
131
|
+
"type": "structure",
|
132
|
+
"serialized_name": "HashKeyRange",
|
133
|
+
"members": {
|
134
|
+
"starting_hash_key": {
|
135
|
+
"type": "string",
|
136
|
+
"serialized_name": "StartingHashKey"
|
137
|
+
},
|
138
|
+
"ending_hash_key": {
|
139
|
+
"type": "string",
|
140
|
+
"serialized_name": "EndingHashKey"
|
141
|
+
}
|
142
|
+
}
|
143
|
+
},
|
144
|
+
"sequence_number_range": {
|
145
|
+
"type": "structure",
|
146
|
+
"serialized_name": "SequenceNumberRange",
|
147
|
+
"members": {
|
148
|
+
"starting_sequence_number": {
|
149
|
+
"type": "string",
|
150
|
+
"serialized_name": "StartingSequenceNumber"
|
151
|
+
},
|
152
|
+
"ending_sequence_number": {
|
153
|
+
"type": "string",
|
154
|
+
"serialized_name": "EndingSequenceNumber"
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
},
|
161
|
+
"has_more_shards": {
|
162
|
+
"type": "boolean",
|
163
|
+
"serialized_name": "HasMoreShards"
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
},
|
170
|
+
"get_records": {
|
171
|
+
"name": "GetRecords",
|
172
|
+
"http_method": "POST",
|
173
|
+
"http_path": "/",
|
174
|
+
"metadata": {
|
175
|
+
"paging": {
|
176
|
+
"tokens": {
|
177
|
+
"shard_iterator": "next_shard_iterat||"
|
178
|
+
}
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"input": {
|
182
|
+
"type": "input",
|
183
|
+
"members": {
|
184
|
+
"shard_iterator": {
|
185
|
+
"type": "string",
|
186
|
+
"required": true,
|
187
|
+
"serialized_name": "ShardIterator"
|
188
|
+
},
|
189
|
+
"limit": {
|
190
|
+
"type": "integer",
|
191
|
+
"serialized_name": "Limit"
|
192
|
+
}
|
193
|
+
}
|
194
|
+
},
|
195
|
+
"output": {
|
196
|
+
"type": "output",
|
197
|
+
"members": {
|
198
|
+
"records": {
|
199
|
+
"type": "list",
|
200
|
+
"serialized_name": "Records",
|
201
|
+
"members": {
|
202
|
+
"type": "structure",
|
203
|
+
"members": {
|
204
|
+
"sequence_number": {
|
205
|
+
"type": "string",
|
206
|
+
"serialized_name": "SequenceNumber"
|
207
|
+
},
|
208
|
+
"data": {
|
209
|
+
"type": "blob",
|
210
|
+
"serialized_name": "Data"
|
211
|
+
},
|
212
|
+
"partition_key": {
|
213
|
+
"type": "string",
|
214
|
+
"serialized_name": "PartitionKey"
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}
|
218
|
+
},
|
219
|
+
"next_shard_iterator": {
|
220
|
+
"type": "string",
|
221
|
+
"serialized_name": "NextShardIterator"
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
},
|
226
|
+
"get_shard_iterator": {
|
227
|
+
"name": "GetShardIterator",
|
228
|
+
"http_method": "POST",
|
229
|
+
"http_path": "/",
|
230
|
+
"input": {
|
231
|
+
"type": "input",
|
232
|
+
"members": {
|
233
|
+
"stream_name": {
|
234
|
+
"type": "string",
|
235
|
+
"required": true,
|
236
|
+
"serialized_name": "StreamName"
|
237
|
+
},
|
238
|
+
"shard_id": {
|
239
|
+
"type": "string",
|
240
|
+
"required": true,
|
241
|
+
"serialized_name": "ShardId"
|
242
|
+
},
|
243
|
+
"shard_iterator_type": {
|
244
|
+
"type": "string",
|
245
|
+
"required": true,
|
246
|
+
"serialized_name": "ShardIteratorType",
|
247
|
+
"enum": [
|
248
|
+
"AT_SEQUENCE_NUMBER",
|
249
|
+
"AFTER_SEQUENCE_NUMBER",
|
250
|
+
"TRIM_HORIZON",
|
251
|
+
"LATEST"
|
252
|
+
]
|
253
|
+
},
|
254
|
+
"starting_sequence_number": {
|
255
|
+
"type": "string",
|
256
|
+
"serialized_name": "StartingSequenceNumber"
|
257
|
+
}
|
258
|
+
}
|
259
|
+
},
|
260
|
+
"output": {
|
261
|
+
"type": "output",
|
262
|
+
"members": {
|
263
|
+
"shard_iterator": {
|
264
|
+
"type": "string",
|
265
|
+
"serialized_name": "ShardIterator"
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
},
|
270
|
+
"list_streams": {
|
271
|
+
"name": "ListStreams",
|
272
|
+
"http_method": "POST",
|
273
|
+
"http_path": "/",
|
274
|
+
"metadata": {
|
275
|
+
"paging": {
|
276
|
+
"tokens": {
|
277
|
+
"exclusive_start_stream_name": "stream_names[-1].key"
|
278
|
+
},
|
279
|
+
"truncated_if": "has_more_streams"
|
280
|
+
}
|
281
|
+
},
|
282
|
+
"input": {
|
283
|
+
"type": "input",
|
284
|
+
"members": {
|
285
|
+
"limit": {
|
286
|
+
"type": "integer",
|
287
|
+
"serialized_name": "Limit"
|
288
|
+
},
|
289
|
+
"exclusive_start_stream_name": {
|
290
|
+
"type": "string",
|
291
|
+
"serialized_name": "ExclusiveStartStreamName"
|
292
|
+
}
|
293
|
+
}
|
294
|
+
},
|
295
|
+
"output": {
|
296
|
+
"type": "output",
|
297
|
+
"members": {
|
298
|
+
"stream_names": {
|
299
|
+
"type": "list",
|
300
|
+
"serialized_name": "StreamNames",
|
301
|
+
"members": {
|
302
|
+
"type": "string"
|
303
|
+
}
|
304
|
+
},
|
305
|
+
"has_more_streams": {
|
306
|
+
"type": "boolean",
|
307
|
+
"serialized_name": "HasMoreStreams"
|
308
|
+
}
|
309
|
+
}
|
310
|
+
}
|
311
|
+
},
|
312
|
+
"merge_shards": {
|
313
|
+
"name": "MergeShards",
|
314
|
+
"http_method": "POST",
|
315
|
+
"http_path": "/",
|
316
|
+
"input": {
|
317
|
+
"type": "input",
|
318
|
+
"members": {
|
319
|
+
"stream_name": {
|
320
|
+
"type": "string",
|
321
|
+
"required": true,
|
322
|
+
"serialized_name": "StreamName"
|
323
|
+
},
|
324
|
+
"shard_to_merge": {
|
325
|
+
"type": "string",
|
326
|
+
"required": true,
|
327
|
+
"serialized_name": "ShardToMerge"
|
328
|
+
},
|
329
|
+
"adjacent_shard_to_merge": {
|
330
|
+
"type": "string",
|
331
|
+
"required": true,
|
332
|
+
"serialized_name": "AdjacentShardToMerge"
|
333
|
+
}
|
334
|
+
}
|
335
|
+
}
|
336
|
+
},
|
337
|
+
"put_record": {
|
338
|
+
"name": "PutRecord",
|
339
|
+
"http_method": "POST",
|
340
|
+
"http_path": "/",
|
341
|
+
"input": {
|
342
|
+
"type": "input",
|
343
|
+
"members": {
|
344
|
+
"stream_name": {
|
345
|
+
"type": "string",
|
346
|
+
"required": true,
|
347
|
+
"serialized_name": "StreamName"
|
348
|
+
},
|
349
|
+
"data": {
|
350
|
+
"type": "blob",
|
351
|
+
"required": true,
|
352
|
+
"serialized_name": "Data"
|
353
|
+
},
|
354
|
+
"partition_key": {
|
355
|
+
"type": "string",
|
356
|
+
"required": true,
|
357
|
+
"serialized_name": "PartitionKey"
|
358
|
+
},
|
359
|
+
"explicit_hash_key": {
|
360
|
+
"type": "string",
|
361
|
+
"serialized_name": "ExplicitHashKey"
|
362
|
+
},
|
363
|
+
"sequence_number_for_ordering": {
|
364
|
+
"type": "string",
|
365
|
+
"serialized_name": "SequenceNumberForOrdering"
|
366
|
+
}
|
367
|
+
}
|
368
|
+
},
|
369
|
+
"output": {
|
370
|
+
"type": "output",
|
371
|
+
"members": {
|
372
|
+
"shard_id": {
|
373
|
+
"type": "string",
|
374
|
+
"serialized_name": "ShardId"
|
375
|
+
},
|
376
|
+
"sequence_number": {
|
377
|
+
"type": "string",
|
378
|
+
"serialized_name": "SequenceNumber"
|
379
|
+
}
|
380
|
+
}
|
381
|
+
}
|
382
|
+
},
|
383
|
+
"split_shard": {
|
384
|
+
"name": "SplitShard",
|
385
|
+
"http_method": "POST",
|
386
|
+
"http_path": "/",
|
387
|
+
"input": {
|
388
|
+
"type": "input",
|
389
|
+
"members": {
|
390
|
+
"stream_name": {
|
391
|
+
"type": "string",
|
392
|
+
"required": true,
|
393
|
+
"serialized_name": "StreamName"
|
394
|
+
},
|
395
|
+
"shard_to_split": {
|
396
|
+
"type": "string",
|
397
|
+
"required": true,
|
398
|
+
"serialized_name": "ShardToSplit"
|
399
|
+
},
|
400
|
+
"new_starting_hash_key": {
|
401
|
+
"type": "string",
|
402
|
+
"required": true,
|
403
|
+
"serialized_name": "NewStartingHashKey"
|
404
|
+
}
|
405
|
+
}
|
406
|
+
}
|
407
|
+
}
|
408
|
+
}
|
409
|
+
}
|