aws-sdk-core 2.11.284 → 2.11.285
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/codecommit/2015-04-13/api-2.json +171 -2
- data/apis/iotanalytics/2017-11-27/api-2.json +103 -1
- data/apis/iotevents-data/2018-10-23/api-2.json +454 -0
- data/apis/iotevents-data/2018-10-23/examples-1.json +5 -0
- data/apis/iotevents-data/2018-10-23/paginators-1.json +4 -0
- data/apis/iotevents/2018-07-27/api-2.json +1092 -0
- data/apis/iotevents/2018-07-27/examples-1.json +5 -0
- data/apis/iotevents/2018-07-27/paginators-1.json +4 -0
- data/apis/kafka/2018-11-14/api-2.json +476 -19
- data/apis/kafka/2018-11-14/paginators-1.json +13 -1
- data/apis/pinpoint-email/2018-07-26/api-2.json +9 -1
- data/apis/rds-data/2018-08-01/api-2.json +540 -82
- data/apis/rds-data/2018-08-01/examples-1.json +2 -2
- data/apis/rds/2014-10-31/api-2.json +99 -0
- data/apis/servicecatalog/2015-12-10/api-2.json +50 -0
- data/endpoints.json +17 -0
- data/lib/aws-sdk-core.rb +2 -0
- data/lib/aws-sdk-core/ecs_credentials.rb +14 -10
- data/lib/aws-sdk-core/errors.rb +9 -0
- data/lib/aws-sdk-core/instance_profile_credentials.rb +13 -9
- data/lib/aws-sdk-core/iotevents.rb +6 -0
- data/lib/aws-sdk-core/ioteventsdata.rb +6 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/service-models.json +8 -0
- metadata +10 -2
@@ -1824,6 +1824,26 @@
|
|
1824
1824
|
{"shape":"InvalidDBSecurityGroupStateFault"}
|
1825
1825
|
]
|
1826
1826
|
},
|
1827
|
+
"StartActivityStream":{
|
1828
|
+
"name":"StartActivityStream",
|
1829
|
+
"http":{
|
1830
|
+
"method":"POST",
|
1831
|
+
"requestUri":"/"
|
1832
|
+
},
|
1833
|
+
"input":{"shape":"StartActivityStreamRequest"},
|
1834
|
+
"output":{
|
1835
|
+
"shape":"StartActivityStreamResponse",
|
1836
|
+
"resultWrapper":"StartActivityStreamResult"
|
1837
|
+
},
|
1838
|
+
"errors":[
|
1839
|
+
{"shape":"InvalidDBInstanceStateFault"},
|
1840
|
+
{"shape":"InvalidDBClusterStateFault"},
|
1841
|
+
{"shape":"ResourceNotFoundFault"},
|
1842
|
+
{"shape":"DBClusterNotFoundFault"},
|
1843
|
+
{"shape":"DBInstanceNotFoundFault"},
|
1844
|
+
{"shape":"KMSKeyNotAccessibleFault"}
|
1845
|
+
]
|
1846
|
+
},
|
1827
1847
|
"StartDBCluster":{
|
1828
1848
|
"name":"StartDBCluster",
|
1829
1849
|
"http":{
|
@@ -1866,6 +1886,25 @@
|
|
1866
1886
|
{"shape":"KMSKeyNotAccessibleFault"}
|
1867
1887
|
]
|
1868
1888
|
},
|
1889
|
+
"StopActivityStream":{
|
1890
|
+
"name":"StopActivityStream",
|
1891
|
+
"http":{
|
1892
|
+
"method":"POST",
|
1893
|
+
"requestUri":"/"
|
1894
|
+
},
|
1895
|
+
"input":{"shape":"StopActivityStreamRequest"},
|
1896
|
+
"output":{
|
1897
|
+
"shape":"StopActivityStreamResponse",
|
1898
|
+
"resultWrapper":"StopActivityStreamResult"
|
1899
|
+
},
|
1900
|
+
"errors":[
|
1901
|
+
{"shape":"InvalidDBInstanceStateFault"},
|
1902
|
+
{"shape":"InvalidDBClusterStateFault"},
|
1903
|
+
{"shape":"ResourceNotFoundFault"},
|
1904
|
+
{"shape":"DBClusterNotFoundFault"},
|
1905
|
+
{"shape":"DBInstanceNotFoundFault"}
|
1906
|
+
]
|
1907
|
+
},
|
1869
1908
|
"StopDBCluster":{
|
1870
1909
|
"name":"StopDBCluster",
|
1871
1910
|
"http":{
|
@@ -1926,6 +1965,22 @@
|
|
1926
1965
|
"locationName":"AccountQuota"
|
1927
1966
|
}
|
1928
1967
|
},
|
1968
|
+
"ActivityStreamMode":{
|
1969
|
+
"type":"string",
|
1970
|
+
"enum":[
|
1971
|
+
"sync",
|
1972
|
+
"async"
|
1973
|
+
]
|
1974
|
+
},
|
1975
|
+
"ActivityStreamStatus":{
|
1976
|
+
"type":"string",
|
1977
|
+
"enum":[
|
1978
|
+
"stopped",
|
1979
|
+
"starting",
|
1980
|
+
"started",
|
1981
|
+
"stopping"
|
1982
|
+
]
|
1983
|
+
},
|
1929
1984
|
"AddRoleToDBClusterMessage":{
|
1930
1985
|
"type":"structure",
|
1931
1986
|
"required":[
|
@@ -2666,6 +2721,10 @@
|
|
2666
2721
|
"ScalingConfigurationInfo":{"shape":"ScalingConfigurationInfo"},
|
2667
2722
|
"DeletionProtection":{"shape":"Boolean"},
|
2668
2723
|
"HttpEndpointEnabled":{"shape":"Boolean"},
|
2724
|
+
"ActivityStreamMode":{"shape":"ActivityStreamMode"},
|
2725
|
+
"ActivityStreamStatus":{"shape":"ActivityStreamStatus"},
|
2726
|
+
"ActivityStreamKmsKeyId":{"shape":"String"},
|
2727
|
+
"ActivityStreamKinesisStreamName":{"shape":"String"},
|
2669
2728
|
"CopyTagsToSnapshot":{"shape":"Boolean"}
|
2670
2729
|
},
|
2671
2730
|
"wrapper":true
|
@@ -6214,6 +6273,30 @@
|
|
6214
6273
|
"db-cluster-snapshot"
|
6215
6274
|
]
|
6216
6275
|
},
|
6276
|
+
"StartActivityStreamRequest":{
|
6277
|
+
"type":"structure",
|
6278
|
+
"required":[
|
6279
|
+
"ResourceArn",
|
6280
|
+
"Mode",
|
6281
|
+
"KmsKeyId"
|
6282
|
+
],
|
6283
|
+
"members":{
|
6284
|
+
"ResourceArn":{"shape":"String"},
|
6285
|
+
"Mode":{"shape":"ActivityStreamMode"},
|
6286
|
+
"KmsKeyId":{"shape":"String"},
|
6287
|
+
"ApplyImmediately":{"shape":"BooleanOptional"}
|
6288
|
+
}
|
6289
|
+
},
|
6290
|
+
"StartActivityStreamResponse":{
|
6291
|
+
"type":"structure",
|
6292
|
+
"members":{
|
6293
|
+
"KmsKeyId":{"shape":"String"},
|
6294
|
+
"KinesisStreamName":{"shape":"String"},
|
6295
|
+
"Status":{"shape":"ActivityStreamStatus"},
|
6296
|
+
"Mode":{"shape":"ActivityStreamMode"},
|
6297
|
+
"ApplyImmediately":{"shape":"Boolean"}
|
6298
|
+
}
|
6299
|
+
},
|
6217
6300
|
"StartDBClusterMessage":{
|
6218
6301
|
"type":"structure",
|
6219
6302
|
"required":["DBClusterIdentifier"],
|
@@ -6240,6 +6323,22 @@
|
|
6240
6323
|
"DBInstance":{"shape":"DBInstance"}
|
6241
6324
|
}
|
6242
6325
|
},
|
6326
|
+
"StopActivityStreamRequest":{
|
6327
|
+
"type":"structure",
|
6328
|
+
"required":["ResourceArn"],
|
6329
|
+
"members":{
|
6330
|
+
"ResourceArn":{"shape":"String"},
|
6331
|
+
"ApplyImmediately":{"shape":"BooleanOptional"}
|
6332
|
+
}
|
6333
|
+
},
|
6334
|
+
"StopActivityStreamResponse":{
|
6335
|
+
"type":"structure",
|
6336
|
+
"members":{
|
6337
|
+
"KmsKeyId":{"shape":"String"},
|
6338
|
+
"KinesisStreamName":{"shape":"String"},
|
6339
|
+
"Status":{"shape":"ActivityStreamStatus"}
|
6340
|
+
}
|
6341
|
+
},
|
6243
6342
|
"StopDBClusterMessage":{
|
6244
6343
|
"type":"structure",
|
6245
6344
|
"required":["DBClusterIdentifier"],
|
@@ -875,6 +875,19 @@
|
|
875
875
|
{"shape":"InvalidParametersException"}
|
876
876
|
]
|
877
877
|
},
|
878
|
+
"ListStackInstancesForProvisionedProduct":{
|
879
|
+
"name":"ListStackInstancesForProvisionedProduct",
|
880
|
+
"http":{
|
881
|
+
"method":"POST",
|
882
|
+
"requestUri":"/"
|
883
|
+
},
|
884
|
+
"input":{"shape":"ListStackInstancesForProvisionedProductInput"},
|
885
|
+
"output":{"shape":"ListStackInstancesForProvisionedProductOutput"},
|
886
|
+
"errors":[
|
887
|
+
{"shape":"InvalidParametersException"},
|
888
|
+
{"shape":"ResourceNotFoundException"}
|
889
|
+
]
|
890
|
+
},
|
878
891
|
"ListTagOptions":{
|
879
892
|
"name":"ListTagOptions",
|
880
893
|
"http":{
|
@@ -2458,6 +2471,23 @@
|
|
2458
2471
|
"NextPageToken":{"shape":"PageToken"}
|
2459
2472
|
}
|
2460
2473
|
},
|
2474
|
+
"ListStackInstancesForProvisionedProductInput":{
|
2475
|
+
"type":"structure",
|
2476
|
+
"required":["ProvisionedProductId"],
|
2477
|
+
"members":{
|
2478
|
+
"AcceptLanguage":{"shape":"AcceptLanguage"},
|
2479
|
+
"ProvisionedProductId":{"shape":"Id"},
|
2480
|
+
"PageToken":{"shape":"PageToken"},
|
2481
|
+
"PageSize":{"shape":"PageSize"}
|
2482
|
+
}
|
2483
|
+
},
|
2484
|
+
"ListStackInstancesForProvisionedProductOutput":{
|
2485
|
+
"type":"structure",
|
2486
|
+
"members":{
|
2487
|
+
"StackInstances":{"shape":"StackInstances"},
|
2488
|
+
"NextPageToken":{"shape":"PageToken"}
|
2489
|
+
}
|
2490
|
+
},
|
2461
2491
|
"ListTagOptionsFilters":{
|
2462
2492
|
"type":"structure",
|
2463
2493
|
"members":{
|
@@ -3463,6 +3493,26 @@
|
|
3463
3493
|
"key":{"shape":"ProvisioningArtifactPropertyName"},
|
3464
3494
|
"value":{"shape":"ProvisioningArtifactPropertyValue"}
|
3465
3495
|
},
|
3496
|
+
"StackInstance":{
|
3497
|
+
"type":"structure",
|
3498
|
+
"members":{
|
3499
|
+
"Account":{"shape":"AccountId"},
|
3500
|
+
"Region":{"shape":"Region"},
|
3501
|
+
"StackInstanceStatus":{"shape":"StackInstanceStatus"}
|
3502
|
+
}
|
3503
|
+
},
|
3504
|
+
"StackInstanceStatus":{
|
3505
|
+
"type":"string",
|
3506
|
+
"enum":[
|
3507
|
+
"CURRENT",
|
3508
|
+
"OUTDATED",
|
3509
|
+
"INOPERABLE"
|
3510
|
+
]
|
3511
|
+
},
|
3512
|
+
"StackInstances":{
|
3513
|
+
"type":"list",
|
3514
|
+
"member":{"shape":"StackInstance"}
|
3515
|
+
},
|
3466
3516
|
"StackSetAccounts":{
|
3467
3517
|
"type":"list",
|
3468
3518
|
"member":{"shape":"AccountId"}
|
data/endpoints.json
CHANGED
@@ -849,7 +849,10 @@
|
|
849
849
|
},
|
850
850
|
"comprehendmedical" : {
|
851
851
|
"endpoints" : {
|
852
|
+
"ap-southeast-2" : { },
|
853
|
+
"ca-central-1" : { },
|
852
854
|
"eu-west-1" : { },
|
855
|
+
"eu-west-2" : { },
|
853
856
|
"us-east-1" : { },
|
854
857
|
"us-east-2" : { },
|
855
858
|
"us-west-2" : { }
|
@@ -1567,6 +1570,20 @@
|
|
1567
1570
|
"us-west-2" : { }
|
1568
1571
|
}
|
1569
1572
|
},
|
1573
|
+
"iotthingsgraph" : {
|
1574
|
+
"defaults" : {
|
1575
|
+
"credentialScope" : {
|
1576
|
+
"service" : "iotthingsgraph"
|
1577
|
+
}
|
1578
|
+
},
|
1579
|
+
"endpoints" : {
|
1580
|
+
"ap-northeast-1" : { },
|
1581
|
+
"ap-southeast-2" : { },
|
1582
|
+
"eu-west-1" : { },
|
1583
|
+
"us-east-1" : { },
|
1584
|
+
"us-west-2" : { }
|
1585
|
+
}
|
1586
|
+
},
|
1570
1587
|
"kafka" : {
|
1571
1588
|
"endpoints" : {
|
1572
1589
|
"ap-northeast-1" : { },
|
data/lib/aws-sdk-core.rb
CHANGED
@@ -60,7 +60,7 @@ module Aws
|
|
60
60
|
super
|
61
61
|
end
|
62
62
|
|
63
|
-
# @return [Integer] The number of times to retry failed
|
63
|
+
# @return [Integer] The number of times to retry failed attempts to
|
64
64
|
# fetch credentials from the instance metadata service. Defaults to 0.
|
65
65
|
attr_reader :retries
|
66
66
|
|
@@ -78,14 +78,18 @@ module Aws
|
|
78
78
|
# Retry loading credentials up to 3 times is the instance metadata
|
79
79
|
# service is responding but is returning invalid JSON documents
|
80
80
|
# in response to the GET profile credentials call.
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
81
|
+
begin
|
82
|
+
retry_errors([JSON::ParserError, StandardError], max_retries: 3) do
|
83
|
+
c = JSON.parse(get_credentials.to_s)
|
84
|
+
@credentials = Credentials.new(
|
85
|
+
c['AccessKeyId'],
|
86
|
+
c['SecretAccessKey'],
|
87
|
+
c['Token']
|
88
|
+
)
|
89
|
+
@expiration = c['Expiration'] ? Time.iso8601(c['Expiration']) : nil
|
90
|
+
end
|
91
|
+
rescue JSON::ParserError
|
92
|
+
raise Aws::Errors::MetadataParserError.new
|
89
93
|
end
|
90
94
|
end
|
91
95
|
|
@@ -126,7 +130,7 @@ module Aws
|
|
126
130
|
retries = 0
|
127
131
|
begin
|
128
132
|
yield
|
129
|
-
rescue *error_classes =>
|
133
|
+
rescue *error_classes => _error
|
130
134
|
if retries < max_retries
|
131
135
|
@backoff.call(retries)
|
132
136
|
retries += 1
|
data/lib/aws-sdk-core/errors.rb
CHANGED
@@ -34,6 +34,15 @@ module Aws
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
+
# Raised when InstanceProfileCredentialsProvider or
|
38
|
+
# EcsCredentialsProvider fails to parse the metadata response after retries
|
39
|
+
class MetadataParserError < RuntimeError
|
40
|
+
def initialize(*args)
|
41
|
+
msg = "Failed to parse metadata service response."
|
42
|
+
super(msg)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
37
46
|
# Various plugins perform client-side checksums of responses.
|
38
47
|
# This error indicates a checksum failed.
|
39
48
|
class ChecksumError < RuntimeError; end
|
@@ -51,7 +51,7 @@ module Aws
|
|
51
51
|
super
|
52
52
|
end
|
53
53
|
|
54
|
-
# @return [Integer] The number of times to retry failed
|
54
|
+
# @return [Integer] The number of times to retry failed attempts to
|
55
55
|
# fetch credentials from the instance metadata service. Defaults to 0.
|
56
56
|
attr_reader :retries
|
57
57
|
|
@@ -69,14 +69,18 @@ module Aws
|
|
69
69
|
# Retry loading credentials up to 3 times is the instance metadata
|
70
70
|
# service is responding but is returning invalid JSON documents
|
71
71
|
# in response to the GET profile credentials call.
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
72
|
+
begin
|
73
|
+
retry_errors([JSON::ParserError, StandardError], max_retries: 3) do
|
74
|
+
c = JSON.parse(get_credentials.to_s)
|
75
|
+
@credentials = Credentials.new(
|
76
|
+
c['AccessKeyId'],
|
77
|
+
c['SecretAccessKey'],
|
78
|
+
c['Token']
|
79
|
+
)
|
80
|
+
@expiration = c['Expiration'] ? Time.iso8601(c['Expiration']) : nil
|
81
|
+
end
|
82
|
+
rescue JSON::ParserError
|
83
|
+
raise Aws::Errors::MetadataParserError.new
|
80
84
|
end
|
81
85
|
end
|
82
86
|
|
@@ -0,0 +1,6 @@
|
|
1
|
+
Aws.add_service(:IoTEvents, {
|
2
|
+
api: "#{Aws::API_DIR}/iotevents/2018-07-27/api-2.json",
|
3
|
+
docs: "#{Aws::API_DIR}/iotevents/2018-07-27/docs-2.json",
|
4
|
+
examples: "#{Aws::API_DIR}/iotevents/2018-07-27/examples-1.json",
|
5
|
+
paginators: "#{Aws::API_DIR}/iotevents/2018-07-27/paginators-1.json",
|
6
|
+
})
|
@@ -0,0 +1,6 @@
|
|
1
|
+
Aws.add_service(:IoTEventsData, {
|
2
|
+
api: "#{Aws::API_DIR}/iotevents-data/2018-10-23/api-2.json",
|
3
|
+
docs: "#{Aws::API_DIR}/iotevents-data/2018-10-23/docs-2.json",
|
4
|
+
examples: "#{Aws::API_DIR}/iotevents-data/2018-10-23/examples-1.json",
|
5
|
+
paginators: "#{Aws::API_DIR}/iotevents-data/2018-10-23/paginators-1.json",
|
6
|
+
})
|
data/lib/aws-sdk-core/version.rb
CHANGED
data/service-models.json
CHANGED
@@ -346,6 +346,14 @@
|
|
346
346
|
"models": "iot-data/2015-05-28",
|
347
347
|
"endpoint": "data.iot"
|
348
348
|
},
|
349
|
+
"IoTEvents": {
|
350
|
+
"models": "iotevents/2018-07-27",
|
351
|
+
"endpoint": "iotevents"
|
352
|
+
},
|
353
|
+
"IoTEventsData": {
|
354
|
+
"models": "iotevents-data/2018-10-23",
|
355
|
+
"endpoint": "data.iotevents"
|
356
|
+
},
|
349
357
|
"IoTJobsDataPlane": {
|
350
358
|
"models": "iot-jobs-data/2017-09-29",
|
351
359
|
"endpoint": "data.jobs.iot"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.285
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -432,6 +432,12 @@ files:
|
|
432
432
|
- apis/iotanalytics/2017-11-27/api-2.json
|
433
433
|
- apis/iotanalytics/2017-11-27/examples-1.json
|
434
434
|
- apis/iotanalytics/2017-11-27/paginators-1.json
|
435
|
+
- apis/iotevents-data/2018-10-23/api-2.json
|
436
|
+
- apis/iotevents-data/2018-10-23/examples-1.json
|
437
|
+
- apis/iotevents-data/2018-10-23/paginators-1.json
|
438
|
+
- apis/iotevents/2018-07-27/api-2.json
|
439
|
+
- apis/iotevents/2018-07-27/examples-1.json
|
440
|
+
- apis/iotevents/2018-07-27/paginators-1.json
|
435
441
|
- apis/iotthingsgraph/2018-09-06/api-2.json
|
436
442
|
- apis/iotthingsgraph/2018-09-06/examples-1.json
|
437
443
|
- apis/iotthingsgraph/2018-09-06/paginators-1.json
|
@@ -880,6 +886,8 @@ files:
|
|
880
886
|
- lib/aws-sdk-core/iot1clickprojects.rb
|
881
887
|
- lib/aws-sdk-core/iotanalytics.rb
|
882
888
|
- lib/aws-sdk-core/iotdataplane.rb
|
889
|
+
- lib/aws-sdk-core/iotevents.rb
|
890
|
+
- lib/aws-sdk-core/ioteventsdata.rb
|
883
891
|
- lib/aws-sdk-core/iotjobsdataplane.rb
|
884
892
|
- lib/aws-sdk-core/iotthingsgraph.rb
|
885
893
|
- lib/aws-sdk-core/json.rb
|