aws-sdk-core 2.11.58 → 2.11.59
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +143 -16
- data/apis/neptune/2014-10-31/api-2.json +3497 -0
- data/apis/neptune/2014-10-31/examples-1.json +5 -0
- data/apis/neptune/2014-10-31/paginators-1.json +61 -0
- data/apis/neptune/2014-10-31/waiters-2.json +90 -0
- data/endpoints.json +50 -3
- data/lib/aws-sdk-core.rb +1 -0
- data/lib/aws-sdk-core/api/customizations.rb +27 -27
- data/lib/aws-sdk-core/neptune.rb +7 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/service-models.json +4 -0
- metadata +7 -2
@@ -0,0 +1,61 @@
|
|
1
|
+
{
|
2
|
+
"pagination": {
|
3
|
+
"DescribeDBEngineVersions": {
|
4
|
+
"input_token": "Marker",
|
5
|
+
"limit_key": "MaxRecords",
|
6
|
+
"output_token": "Marker",
|
7
|
+
"result_key": "DBEngineVersions"
|
8
|
+
},
|
9
|
+
"DescribeDBInstances": {
|
10
|
+
"input_token": "Marker",
|
11
|
+
"limit_key": "MaxRecords",
|
12
|
+
"output_token": "Marker",
|
13
|
+
"result_key": "DBInstances"
|
14
|
+
},
|
15
|
+
"DescribeDBParameterGroups": {
|
16
|
+
"input_token": "Marker",
|
17
|
+
"limit_key": "MaxRecords",
|
18
|
+
"output_token": "Marker",
|
19
|
+
"result_key": "DBParameterGroups"
|
20
|
+
},
|
21
|
+
"DescribeDBParameters": {
|
22
|
+
"input_token": "Marker",
|
23
|
+
"limit_key": "MaxRecords",
|
24
|
+
"output_token": "Marker",
|
25
|
+
"result_key": "Parameters"
|
26
|
+
},
|
27
|
+
"DescribeDBSubnetGroups": {
|
28
|
+
"input_token": "Marker",
|
29
|
+
"limit_key": "MaxRecords",
|
30
|
+
"output_token": "Marker",
|
31
|
+
"result_key": "DBSubnetGroups"
|
32
|
+
},
|
33
|
+
"DescribeEngineDefaultParameters": {
|
34
|
+
"input_token": "Marker",
|
35
|
+
"limit_key": "MaxRecords",
|
36
|
+
"output_token": "EngineDefaults.Marker",
|
37
|
+
"result_key": "EngineDefaults.Parameters"
|
38
|
+
},
|
39
|
+
"DescribeEventSubscriptions": {
|
40
|
+
"input_token": "Marker",
|
41
|
+
"limit_key": "MaxRecords",
|
42
|
+
"output_token": "Marker",
|
43
|
+
"result_key": "EventSubscriptionsList"
|
44
|
+
},
|
45
|
+
"DescribeEvents": {
|
46
|
+
"input_token": "Marker",
|
47
|
+
"limit_key": "MaxRecords",
|
48
|
+
"output_token": "Marker",
|
49
|
+
"result_key": "Events"
|
50
|
+
},
|
51
|
+
"DescribeOrderableDBInstanceOptions": {
|
52
|
+
"input_token": "Marker",
|
53
|
+
"limit_key": "MaxRecords",
|
54
|
+
"output_token": "Marker",
|
55
|
+
"result_key": "OrderableDBInstanceOptions"
|
56
|
+
},
|
57
|
+
"ListTagsForResource": {
|
58
|
+
"result_key": "TagList"
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
{
|
2
|
+
"version": 2,
|
3
|
+
"waiters": {
|
4
|
+
"DBInstanceAvailable": {
|
5
|
+
"delay": 30,
|
6
|
+
"operation": "DescribeDBInstances",
|
7
|
+
"maxAttempts": 60,
|
8
|
+
"acceptors": [
|
9
|
+
{
|
10
|
+
"expected": "available",
|
11
|
+
"matcher": "pathAll",
|
12
|
+
"state": "success",
|
13
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"expected": "deleted",
|
17
|
+
"matcher": "pathAny",
|
18
|
+
"state": "failure",
|
19
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"expected": "deleting",
|
23
|
+
"matcher": "pathAny",
|
24
|
+
"state": "failure",
|
25
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"expected": "failed",
|
29
|
+
"matcher": "pathAny",
|
30
|
+
"state": "failure",
|
31
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"expected": "incompatible-restore",
|
35
|
+
"matcher": "pathAny",
|
36
|
+
"state": "failure",
|
37
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"expected": "incompatible-parameters",
|
41
|
+
"matcher": "pathAny",
|
42
|
+
"state": "failure",
|
43
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
44
|
+
}
|
45
|
+
]
|
46
|
+
},
|
47
|
+
"DBInstanceDeleted": {
|
48
|
+
"delay": 30,
|
49
|
+
"operation": "DescribeDBInstances",
|
50
|
+
"maxAttempts": 60,
|
51
|
+
"acceptors": [
|
52
|
+
{
|
53
|
+
"expected": "deleted",
|
54
|
+
"matcher": "pathAll",
|
55
|
+
"state": "success",
|
56
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"expected": "DBInstanceNotFound",
|
60
|
+
"matcher": "error",
|
61
|
+
"state": "success"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"expected": "creating",
|
65
|
+
"matcher": "pathAny",
|
66
|
+
"state": "failure",
|
67
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"expected": "modifying",
|
71
|
+
"matcher": "pathAny",
|
72
|
+
"state": "failure",
|
73
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"expected": "rebooting",
|
77
|
+
"matcher": "pathAny",
|
78
|
+
"state": "failure",
|
79
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"expected": "resetting-master-credentials",
|
83
|
+
"matcher": "pathAny",
|
84
|
+
"state": "failure",
|
85
|
+
"argument": "DBInstances[].DBInstanceStatus"
|
86
|
+
}
|
87
|
+
]
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
data/endpoints.json
CHANGED
@@ -1365,6 +1365,34 @@
|
|
1365
1365
|
},
|
1366
1366
|
"isRegionalized" : false
|
1367
1367
|
},
|
1368
|
+
"neptune" : {
|
1369
|
+
"endpoints" : {
|
1370
|
+
"eu-west-1" : {
|
1371
|
+
"credentialScope" : {
|
1372
|
+
"region" : "eu-west-1"
|
1373
|
+
},
|
1374
|
+
"hostname" : "rds.eu-west-1.amazonaws.com"
|
1375
|
+
},
|
1376
|
+
"us-east-1" : {
|
1377
|
+
"credentialScope" : {
|
1378
|
+
"region" : "us-east-1"
|
1379
|
+
},
|
1380
|
+
"hostname" : "rds.us-east-1.amazonaws.com"
|
1381
|
+
},
|
1382
|
+
"us-east-2" : {
|
1383
|
+
"credentialScope" : {
|
1384
|
+
"region" : "us-east-2"
|
1385
|
+
},
|
1386
|
+
"hostname" : "rds.us-east-2.amazonaws.com"
|
1387
|
+
},
|
1388
|
+
"us-west-2" : {
|
1389
|
+
"credentialScope" : {
|
1390
|
+
"region" : "us-west-2"
|
1391
|
+
},
|
1392
|
+
"hostname" : "rds.us-west-2.amazonaws.com"
|
1393
|
+
}
|
1394
|
+
}
|
1395
|
+
},
|
1368
1396
|
"opsworks" : {
|
1369
1397
|
"endpoints" : {
|
1370
1398
|
"ap-northeast-1" : { },
|
@@ -1571,6 +1599,22 @@
|
|
1571
1599
|
},
|
1572
1600
|
"eu-west-2" : { },
|
1573
1601
|
"eu-west-3" : { },
|
1602
|
+
"fips-us-east-1" : {
|
1603
|
+
"hostname" : "s3-fips.us-east-1.amazonaws.com",
|
1604
|
+
"signatureVersions" : [ "s3", "s3v4" ]
|
1605
|
+
},
|
1606
|
+
"fips-us-east-2" : {
|
1607
|
+
"hostname" : "s3-fips.us-east-2.amazonaws.com",
|
1608
|
+
"signatureVersions" : [ "s3", "s3v4" ]
|
1609
|
+
},
|
1610
|
+
"fips-us-west-1" : {
|
1611
|
+
"hostname" : "s3-fips.us-west-1.amazonaws.com",
|
1612
|
+
"signatureVersions" : [ "s3", "s3v4" ]
|
1613
|
+
},
|
1614
|
+
"fips-us-west-2" : {
|
1615
|
+
"hostname" : "s3-fips.us-west-2.amazonaws.com",
|
1616
|
+
"signatureVersions" : [ "s3", "s3v4" ]
|
1617
|
+
},
|
1574
1618
|
"s3-external-1" : {
|
1575
1619
|
"credentialScope" : {
|
1576
1620
|
"region" : "us-east-1"
|
@@ -2203,12 +2247,14 @@
|
|
2203
2247
|
},
|
2204
2248
|
"ecr" : {
|
2205
2249
|
"endpoints" : {
|
2206
|
-
"cn-north-1" : { }
|
2250
|
+
"cn-north-1" : { },
|
2251
|
+
"cn-northwest-1" : { }
|
2207
2252
|
}
|
2208
2253
|
},
|
2209
2254
|
"ecs" : {
|
2210
2255
|
"endpoints" : {
|
2211
|
-
"cn-north-1" : { }
|
2256
|
+
"cn-north-1" : { },
|
2257
|
+
"cn-northwest-1" : { }
|
2212
2258
|
}
|
2213
2259
|
},
|
2214
2260
|
"elasticache" : {
|
@@ -2624,7 +2670,8 @@
|
|
2624
2670
|
"credentialScope" : {
|
2625
2671
|
"region" : "us-gov-west-1"
|
2626
2672
|
},
|
2627
|
-
"hostname" : "s3-fips
|
2673
|
+
"hostname" : "s3-fips.us-gov-west-1.amazonaws.com",
|
2674
|
+
"signatureVersions" : [ "s3", "s3v4" ]
|
2628
2675
|
},
|
2629
2676
|
"us-gov-west-1" : {
|
2630
2677
|
"hostname" : "s3.us-gov-west-1.amazonaws.com",
|
data/lib/aws-sdk-core.rb
CHANGED
@@ -25,19 +25,19 @@ module Aws
|
|
25
25
|
|
26
26
|
def apply_api_customizations(api)
|
27
27
|
metadata = api['metadata'] || {}
|
28
|
-
prefix = metadata['
|
28
|
+
prefix = metadata['serviceFullName']
|
29
29
|
# event stream is not supported at V2
|
30
30
|
api = exclude_eventstream(api) if api['operations']
|
31
31
|
@apis[prefix].call(api) if @apis[prefix]
|
32
32
|
end
|
33
33
|
|
34
34
|
def apply_doc_customizations(api, docs)
|
35
|
-
prefix = api.metadata['
|
35
|
+
prefix = api.metadata['serviceFullName']
|
36
36
|
@docs[prefix].call(docs) if @docs[prefix]
|
37
37
|
end
|
38
38
|
|
39
39
|
def apply_plugins(client_class)
|
40
|
-
prefix = client_class.api.metadata['
|
40
|
+
prefix = client_class.api.metadata['serviceFullName']
|
41
41
|
if @plugins[prefix]
|
42
42
|
@plugins[prefix][:add].each { |p| client_class.add_plugin(p) }
|
43
43
|
@plugins[prefix][:remove].each { |p| client_class.remove_plugin(p) }
|
@@ -69,11 +69,11 @@ module Aws
|
|
69
69
|
|
70
70
|
end
|
71
71
|
|
72
|
-
plugins('
|
72
|
+
plugins('Amazon API Gateway',
|
73
73
|
add: %w(Aws::Plugins::APIGatewayHeader),
|
74
74
|
)
|
75
75
|
|
76
|
-
api('
|
76
|
+
api('Amazon CloudFront') do |api|
|
77
77
|
|
78
78
|
api['shapes'].each do |_, shape|
|
79
79
|
if shape['members'] && shape['members']['MaxItems']
|
@@ -88,19 +88,19 @@ module Aws
|
|
88
88
|
|
89
89
|
end
|
90
90
|
|
91
|
-
plugins('
|
91
|
+
plugins('Amazon CloudSearch Domain',
|
92
92
|
add: %w(Aws::Plugins::CSDConditionalSigning
|
93
93
|
Aws::Plugins::CSDSwitchToPost),
|
94
94
|
remove: %w(Aws::Plugins::RegionalEndpoint),
|
95
95
|
)
|
96
96
|
|
97
|
-
plugins('
|
97
|
+
plugins('Amazon DynamoDB', add: %w(
|
98
98
|
Aws::Plugins::DynamoDBExtendedRetries
|
99
99
|
Aws::Plugins::DynamoDBSimpleAttributes
|
100
100
|
Aws::Plugins::DynamoDBCRC32Validation
|
101
101
|
))
|
102
102
|
|
103
|
-
api('
|
103
|
+
api('Amazon Elastic Compute Cloud') do |api|
|
104
104
|
if ENV['DOCSTRINGS']
|
105
105
|
members = api['shapes']['CopySnapshotRequest']['members']
|
106
106
|
members.delete('DestinationRegion')
|
@@ -108,12 +108,12 @@ module Aws
|
|
108
108
|
end
|
109
109
|
end
|
110
110
|
|
111
|
-
plugins('
|
111
|
+
plugins('Amazon Elastic Compute Cloud', add: %w(
|
112
112
|
Aws::Plugins::EC2CopyEncryptedSnapshot
|
113
113
|
Aws::Plugins::EC2RegionValidation
|
114
114
|
))
|
115
115
|
|
116
|
-
api('
|
116
|
+
api('Amazon Glacier') do |api|
|
117
117
|
api['shapes']['Timestamp'] = {
|
118
118
|
'type' => 'timestamp',
|
119
119
|
'timestampFormat' => 'iso8601',
|
@@ -132,48 +132,48 @@ module Aws
|
|
132
132
|
end
|
133
133
|
end
|
134
134
|
|
135
|
-
plugins('
|
135
|
+
plugins('Amazon Glacier', add: %w(
|
136
136
|
Aws::Plugins::GlacierAccountId
|
137
137
|
Aws::Plugins::GlacierApiVersion
|
138
138
|
Aws::Plugins::GlacierChecksums
|
139
139
|
))
|
140
140
|
|
141
|
-
api('
|
141
|
+
api('AWS Import/Export') do |api|
|
142
142
|
api['operations'].each do |_, operation|
|
143
143
|
operation['http']['requestUri'] = '/'
|
144
144
|
end
|
145
145
|
end
|
146
146
|
|
147
|
-
api('
|
147
|
+
api('AWS IoT Data Plane') do |api|
|
148
148
|
api['metadata'].delete('endpointPrefix')
|
149
149
|
end
|
150
150
|
|
151
|
-
api('
|
151
|
+
api('AWS Lambda') do |api|
|
152
152
|
api['shapes']['Timestamp']['type'] = 'timestamp'
|
153
153
|
end
|
154
154
|
|
155
|
-
doc('
|
155
|
+
doc('AWS Lambda') do |docs|
|
156
156
|
docs['shapes']['Blob']['refs']['UpdateFunctionCodeRequest$ZipFile'] =
|
157
157
|
"<p>.zip file containing your packaged source code.</p>"
|
158
158
|
end
|
159
159
|
|
160
|
-
plugins('
|
160
|
+
plugins('Amazon Machine Learning', add: %w(
|
161
161
|
Aws::Plugins::MachineLearningPredictEndpoint
|
162
162
|
))
|
163
163
|
|
164
|
-
api('
|
164
|
+
api('Amazon Route 53') do |api|
|
165
165
|
api['shapes']['PageMaxItems']['type'] = 'integer'
|
166
166
|
end
|
167
167
|
|
168
|
-
plugins('
|
168
|
+
plugins('Amazon Route 53', add: %w(
|
169
169
|
Aws::Plugins::Route53IdFix
|
170
170
|
))
|
171
171
|
|
172
|
-
plugins('
|
172
|
+
plugins('Amazon Relational Database Service', add: %w(
|
173
173
|
Aws::Plugins::RDSCrossRegionCopying
|
174
174
|
))
|
175
175
|
|
176
|
-
api('
|
176
|
+
api('Amazon Relational Database Service') do |api|
|
177
177
|
api['shapes']['CopyDBSnapshotMessage']['members']['DestinationRegion'] =
|
178
178
|
{"shape" => "String"}
|
179
179
|
api['shapes']['CreateDBInstanceReadReplicaMessage']['members']['DestinationRegion'] =
|
@@ -192,7 +192,7 @@ module Aws
|
|
192
192
|
{"shape" => "String"}
|
193
193
|
end
|
194
194
|
|
195
|
-
doc('
|
195
|
+
doc('Amazon Relational Database Service') do |docs|
|
196
196
|
docs['shapes']['String']['refs']['CopyDBSnapshotMessage$SourceRegion'] =
|
197
197
|
"<p>The region which you are copying an encrypted snapshot from.</p>" +
|
198
198
|
"<p>This is a required paramter that allows SDK to compute a pre-signed Url and" +
|
@@ -211,7 +211,7 @@ module Aws
|
|
211
211
|
" populate <code>PreSignedURL</code> parameter on your behalf.</p>"
|
212
212
|
end
|
213
213
|
|
214
|
-
api('
|
214
|
+
api('Amazon Simple Storage Service') do |api|
|
215
215
|
api['metadata'].delete('signatureVersion')
|
216
216
|
if ENV['DOCSTRINGS']
|
217
217
|
api['shapes']['AccelerateBoolean'] = { 'type' => 'boolean' }
|
@@ -244,7 +244,7 @@ module Aws
|
|
244
244
|
end
|
245
245
|
end
|
246
246
|
|
247
|
-
doc('
|
247
|
+
doc('Amazon Simple Storage Service') do |docs|
|
248
248
|
if ENV['DOCSTRINGS']
|
249
249
|
docs['shapes']['AccelerateBoolean'] = {}
|
250
250
|
docs['shapes']['AccelerateBoolean']['refs'] = {}
|
@@ -252,7 +252,7 @@ module Aws
|
|
252
252
|
end
|
253
253
|
end
|
254
254
|
|
255
|
-
plugins('
|
255
|
+
plugins('Amazon Simple Storage Service', add: %w(
|
256
256
|
Aws::Plugins::S3Accelerate
|
257
257
|
Aws::Plugins::S3Dualstack
|
258
258
|
Aws::Plugins::S3BucketDns
|
@@ -269,16 +269,16 @@ module Aws
|
|
269
269
|
Aws::Plugins::S3RequestSigner
|
270
270
|
))
|
271
271
|
|
272
|
-
api('
|
272
|
+
api('Amazon Simple Queue Service') do |api|
|
273
273
|
api['metadata']['errorPrefix'] = 'AWS.SimpleQueueService.'
|
274
274
|
end
|
275
275
|
|
276
|
-
plugins('
|
276
|
+
plugins('Amazon Simple Queue Service', add: %w(
|
277
277
|
Aws::Plugins::SQSQueueUrls
|
278
278
|
Aws::Plugins::SQSMd5s
|
279
279
|
))
|
280
280
|
|
281
|
-
plugins('
|
281
|
+
plugins('Amazon Simple Workflow Service', add: %w(
|
282
282
|
Aws::Plugins::SWFReadTimeouts
|
283
283
|
))
|
284
284
|
|
@@ -0,0 +1,7 @@
|
|
1
|
+
Aws.add_service(:Neptune, {
|
2
|
+
api: "#{Aws::API_DIR}/neptune/2014-10-31/api-2.json",
|
3
|
+
docs: "#{Aws::API_DIR}/neptune/2014-10-31/docs-2.json",
|
4
|
+
examples: "#{Aws::API_DIR}/neptune/2014-10-31/examples-1.json",
|
5
|
+
paginators: "#{Aws::API_DIR}/neptune/2014-10-31/paginators-1.json",
|
6
|
+
waiters: "#{Aws::API_DIR}/neptune/2014-10-31/waiters-2.json",
|
7
|
+
})
|
data/lib/aws-sdk-core/version.rb
CHANGED