aws-sdk-core 2.11.26 → 2.11.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ }
5
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "pagination": {
3
+ "ListCloudFrontOriginAccessIdentities": {
4
+ "input_token": "Marker",
5
+ "limit_key": "MaxItems",
6
+ "more_results": "CloudFrontOriginAccessIdentityList.IsTruncated",
7
+ "output_token": "CloudFrontOriginAccessIdentityList.NextMarker",
8
+ "result_key": "CloudFrontOriginAccessIdentityList.Items"
9
+ },
10
+ "ListDistributions": {
11
+ "input_token": "Marker",
12
+ "limit_key": "MaxItems",
13
+ "more_results": "DistributionList.IsTruncated",
14
+ "output_token": "DistributionList.NextMarker",
15
+ "result_key": "DistributionList.Items"
16
+ },
17
+ "ListInvalidations": {
18
+ "input_token": "Marker",
19
+ "limit_key": "MaxItems",
20
+ "more_results": "InvalidationList.IsTruncated",
21
+ "output_token": "InvalidationList.NextMarker",
22
+ "result_key": "InvalidationList.Items"
23
+ },
24
+ "ListStreamingDistributions": {
25
+ "input_token": "Marker",
26
+ "limit_key": "MaxItems",
27
+ "more_results": "StreamingDistributionList.IsTruncated",
28
+ "output_token": "StreamingDistributionList.NextMarker",
29
+ "result_key": "StreamingDistributionList.Items"
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "version": 2,
3
+ "waiters": {
4
+ "DistributionDeployed": {
5
+ "delay": 60,
6
+ "operation": "GetDistribution",
7
+ "maxAttempts": 25,
8
+ "description": "Wait until a distribution is deployed.",
9
+ "acceptors": [
10
+ {
11
+ "expected": "Deployed",
12
+ "matcher": "path",
13
+ "state": "success",
14
+ "argument": "Distribution.Status"
15
+ }
16
+ ]
17
+ },
18
+ "InvalidationCompleted": {
19
+ "delay": 20,
20
+ "operation": "GetInvalidation",
21
+ "maxAttempts": 30,
22
+ "description": "Wait until an invalidation has completed.",
23
+ "acceptors": [
24
+ {
25
+ "expected": "Completed",
26
+ "matcher": "path",
27
+ "state": "success",
28
+ "argument": "Invalidation.Status"
29
+ }
30
+ ]
31
+ },
32
+ "StreamingDistributionDeployed": {
33
+ "delay": 60,
34
+ "operation": "GetStreamingDistribution",
35
+ "maxAttempts": 25,
36
+ "description": "Wait until a streaming distribution is deployed.",
37
+ "acceptors": [
38
+ {
39
+ "expected": "Deployed",
40
+ "matcher": "path",
41
+ "state": "success",
42
+ "argument": "StreamingDistribution.Status"
43
+ }
44
+ ]
45
+ }
46
+ }
47
+ }
@@ -5,6 +5,7 @@
5
5
  "endpointPrefix":"es",
6
6
  "protocol":"rest-json",
7
7
  "serviceFullName":"Amazon Elasticsearch Service",
8
+ "serviceId":"Elasticsearch Service",
8
9
  "signatureVersion":"v4",
9
10
  "uid":"es-2015-01-01"
10
11
  },
@@ -277,6 +278,26 @@
277
278
  },
278
279
  "Boolean":{"type":"boolean"},
279
280
  "CloudWatchLogsLogGroupArn":{"type":"string"},
281
+ "CognitoOptions":{
282
+ "type":"structure",
283
+ "members":{
284
+ "Enabled":{"shape":"Boolean"},
285
+ "UserPoolId":{"shape":"UserPoolId"},
286
+ "IdentityPoolId":{"shape":"IdentityPoolId"},
287
+ "RoleArn":{"shape":"RoleArn"}
288
+ }
289
+ },
290
+ "CognitoOptionsStatus":{
291
+ "type":"structure",
292
+ "required":[
293
+ "Options",
294
+ "Status"
295
+ ],
296
+ "members":{
297
+ "Options":{"shape":"CognitoOptions"},
298
+ "Status":{"shape":"OptionStatus"}
299
+ }
300
+ },
280
301
  "CreateElasticsearchDomainRequest":{
281
302
  "type":"structure",
282
303
  "required":["DomainName"],
@@ -288,6 +309,7 @@
288
309
  "AccessPolicies":{"shape":"PolicyDocument"},
289
310
  "SnapshotOptions":{"shape":"SnapshotOptions"},
290
311
  "VPCOptions":{"shape":"VPCOptions"},
312
+ "CognitoOptions":{"shape":"CognitoOptions"},
291
313
  "EncryptionAtRestOptions":{"shape":"EncryptionAtRestOptions"},
292
314
  "AdvancedOptions":{"shape":"AdvancedOptions"},
293
315
  "LogPublishingOptions":{"shape":"LogPublishingOptions"}
@@ -524,6 +546,7 @@
524
546
  "AccessPolicies":{"shape":"AccessPoliciesStatus"},
525
547
  "SnapshotOptions":{"shape":"SnapshotOptionsStatus"},
526
548
  "VPCOptions":{"shape":"VPCDerivedInfoStatus"},
549
+ "CognitoOptions":{"shape":"CognitoOptionsStatus"},
527
550
  "EncryptionAtRestOptions":{"shape":"EncryptionAtRestOptionsStatus"},
528
551
  "AdvancedOptions":{"shape":"AdvancedOptionsStatus"},
529
552
  "LogPublishingOptions":{"shape":"LogPublishingOptionsStatus"}
@@ -552,6 +575,7 @@
552
575
  "AccessPolicies":{"shape":"PolicyDocument"},
553
576
  "SnapshotOptions":{"shape":"SnapshotOptions"},
554
577
  "VPCOptions":{"shape":"VPCDerivedInfo"},
578
+ "CognitoOptions":{"shape":"CognitoOptions"},
555
579
  "EncryptionAtRestOptions":{"shape":"EncryptionAtRestOptions"},
556
580
  "AdvancedOptions":{"shape":"AdvancedOptions"},
557
581
  "LogPublishingOptions":{"shape":"LogPublishingOptions"}
@@ -605,6 +629,12 @@
605
629
  "value":{"shape":"ServiceUrl"}
606
630
  },
607
631
  "ErrorMessage":{"type":"string"},
632
+ "IdentityPoolId":{
633
+ "type":"string",
634
+ "max":55,
635
+ "min":1,
636
+ "pattern":"[\\w-]+:[0-9a-f-]+"
637
+ },
608
638
  "InstanceCountLimits":{
609
639
  "type":"structure",
610
640
  "members":{
@@ -825,6 +855,11 @@
825
855
  "error":{"httpStatusCode":409},
826
856
  "exception":true
827
857
  },
858
+ "RoleArn":{
859
+ "type":"string",
860
+ "max":2048,
861
+ "min":20
862
+ },
828
863
  "ServiceUrl":{"type":"string"},
829
864
  "SnapshotOptions":{
830
865
  "type":"structure",
@@ -915,6 +950,7 @@
915
950
  "EBSOptions":{"shape":"EBSOptions"},
916
951
  "SnapshotOptions":{"shape":"SnapshotOptions"},
917
952
  "VPCOptions":{"shape":"VPCOptions"},
953
+ "CognitoOptions":{"shape":"CognitoOptions"},
918
954
  "AdvancedOptions":{"shape":"AdvancedOptions"},
919
955
  "AccessPolicies":{"shape":"PolicyDocument"},
920
956
  "LogPublishingOptions":{"shape":"LogPublishingOptions"}
@@ -928,6 +964,12 @@
928
964
  }
929
965
  },
930
966
  "UpdateTimestamp":{"type":"timestamp"},
967
+ "UserPoolId":{
968
+ "type":"string",
969
+ "max":55,
970
+ "min":1,
971
+ "pattern":"[\\w-]+_[0-9a-zA-Z]+"
972
+ },
931
973
  "VPCDerivedInfo":{
932
974
  "type":"structure",
933
975
  "members":{
@@ -26,6 +26,8 @@ module Aws
26
26
  def apply_api_customizations(api)
27
27
  metadata = api['metadata'] || {}
28
28
  prefix = metadata['endpointPrefix']
29
+ # event stream is not supported at V2
30
+ api = exclude_eventstream(api) if api['operations']
29
31
  @apis[prefix].call(api) if @apis[prefix]
30
32
  end
31
33
 
@@ -42,6 +44,29 @@ module Aws
42
44
  end
43
45
  end
44
46
 
47
+ private
48
+
49
+ def exclude_eventstream(api)
50
+ api['operations'].each do |name, ref|
51
+ inbound = ref['input'] && is_eventstream?(api, ref['input']['shape'])
52
+ outbound = ref['output'] && is_eventstream?(api, ref['output']['shape'])
53
+ api['operations'].delete(name) if !!inbound || !!outbound
54
+ end
55
+ api
56
+ end
57
+
58
+ def is_eventstream?(api, shape_name)
59
+ shape = api['shapes'][shape_name]
60
+ if shape['type'] == 'structure' && shape['payload']
61
+ payload_ref = shape['members'][shape['payload']]
62
+ api['shapes'][payload_ref['shape']]['eventstream']
63
+ else
64
+ # non structure request/response shape
65
+ # check if it's eventstream itself
66
+ shape['eventstream']
67
+ end
68
+ end
69
+
45
70
  end
46
71
 
47
72
  plugins('apigateway',
@@ -1,9 +1,9 @@
1
1
  Aws.add_service(:CloudFront, {
2
- api: "#{Aws::API_DIR}/cloudfront/2017-03-25/api-2.json",
3
- docs: "#{Aws::API_DIR}/cloudfront/2017-03-25/docs-2.json",
4
- examples: "#{Aws::API_DIR}/cloudfront/2017-03-25/examples-1.json",
5
- paginators: "#{Aws::API_DIR}/cloudfront/2017-03-25/paginators-1.json",
6
- waiters: "#{Aws::API_DIR}/cloudfront/2017-03-25/waiters-2.json",
2
+ api: "#{Aws::API_DIR}/cloudfront/2017-10-30/api-2.json",
3
+ docs: "#{Aws::API_DIR}/cloudfront/2017-10-30/docs-2.json",
4
+ examples: "#{Aws::API_DIR}/cloudfront/2017-10-30/examples-1.json",
5
+ paginators: "#{Aws::API_DIR}/cloudfront/2017-10-30/paginators-1.json",
6
+ waiters: "#{Aws::API_DIR}/cloudfront/2017-10-30/waiters-2.json",
7
7
  })
8
8
 
9
9
  module Aws
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.11.26'
2
+ VERSION = '2.11.27'
3
3
  end
data/service-models.json CHANGED
@@ -60,7 +60,7 @@
60
60
  "endpoint": "cloudformation"
61
61
  },
62
62
  "CloudFront": {
63
- "models": "cloudfront/2017-03-25",
63
+ "models": "cloudfront/2017-10-30",
64
64
  "endpoint": "cloudfront"
65
65
  },
66
66
  "CloudHSM": {
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.26
4
+ version: 2.11.27
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: 2018-03-30 00:00:00.000000000 Z
11
+ date: 2018-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath
@@ -127,6 +127,10 @@ files:
127
127
  - apis/cloudfront/2017-03-25/examples-1.json
128
128
  - apis/cloudfront/2017-03-25/paginators-1.json
129
129
  - apis/cloudfront/2017-03-25/waiters-2.json
130
+ - apis/cloudfront/2017-10-30/api-2.json
131
+ - apis/cloudfront/2017-10-30/examples-1.json
132
+ - apis/cloudfront/2017-10-30/paginators-1.json
133
+ - apis/cloudfront/2017-10-30/waiters-2.json
130
134
  - apis/cloudhsm/2014-05-30/api-2.json
131
135
  - apis/cloudhsm/2014-05-30/examples-1.json
132
136
  - apis/cloudhsm/2014-05-30/paginators-1.json