aws-sdk-cloudfront 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d0a8349e88adaa1ccfc9fff813ad99855ed75a3
4
- data.tar.gz: a42412c191872c2542f596a4b22ca8282c639380
3
+ metadata.gz: 5c445efade8d1b8c4b74e72dd45fbed5525a1d30
4
+ data.tar.gz: 705d34285d4683d60b5a9314e8593a7723e1776e
5
5
  SHA512:
6
- metadata.gz: d7d9e6f85a45f1f14d44173250fadd66df0a0c7352e1aafd3efe0d07d3f16f06ef4f317c077be8c0c92ce00b1d10ace1ac8c5a3328a6202be7fc03f607a1082b
7
- data.tar.gz: 99426485a34e97d64e22a762b8f9091b62d87b64712dc1eb5a3100bc16b0099808001bbdff2586df07a45ad9e8670914360cd67d593cdc66bde62de20dde7da9
6
+ metadata.gz: 6ab6afdf3b19afbce27dd4ca713f1b19c140c34be1daf91754cb336c5f8eac77f8c7253edbfaf5683ca27a1c9a4d9edb7bb13bbbd552a559aec43acc0e42430f
7
+ data.tar.gz: b78655791a2ddbbc618c3e40845fb8dcd0008452080b90c65b4ad60d9a5bbce7ddd7d81ef9bfb8da3018e57188ac2c02737baf6714105494766c6593bb63e763
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
43
43
  # @service
44
44
  module Aws::CloudFront
45
45
 
46
- GEM_VERSION = '1.0.0.rc1'
46
+ GEM_VERSION = '1.0.0.rc2'
47
47
 
48
48
  end
@@ -259,6 +259,15 @@ module Aws
259
259
  # default_ttl: 1,
260
260
  # max_ttl: 1,
261
261
  # compress: false,
262
+ # lambda_function_associations: {
263
+ # quantity: 1, # required
264
+ # items: [
265
+ # {
266
+ # lambda_function_arn: "string",
267
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
268
+ # },
269
+ # ],
270
+ # },
262
271
  # },
263
272
  # cache_behaviors: {
264
273
  # quantity: 1, # required
@@ -303,6 +312,15 @@ module Aws
303
312
  # default_ttl: 1,
304
313
  # max_ttl: 1,
305
314
  # compress: false,
315
+ # lambda_function_associations: {
316
+ # quantity: 1, # required
317
+ # items: [
318
+ # {
319
+ # lambda_function_arn: "string",
320
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
321
+ # },
322
+ # ],
323
+ # },
306
324
  # },
307
325
  # ],
308
326
  # },
@@ -411,6 +429,10 @@ module Aws
411
429
  # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
412
430
  # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
413
431
  # resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
432
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
433
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
434
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
435
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
414
436
  # resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
415
437
  # resp.distribution.distribution_config.cache_behaviors.items #=> Array
416
438
  # resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
@@ -442,6 +464,10 @@ module Aws
442
464
  # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
443
465
  # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
444
466
  # resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
467
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
468
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
469
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
470
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
445
471
  # resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
446
472
  # resp.distribution.distribution_config.custom_error_responses.items #=> Array
447
473
  # resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -567,6 +593,15 @@ module Aws
567
593
  # default_ttl: 1,
568
594
  # max_ttl: 1,
569
595
  # compress: false,
596
+ # lambda_function_associations: {
597
+ # quantity: 1, # required
598
+ # items: [
599
+ # {
600
+ # lambda_function_arn: "string",
601
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
602
+ # },
603
+ # ],
604
+ # },
570
605
  # },
571
606
  # cache_behaviors: {
572
607
  # quantity: 1, # required
@@ -611,6 +646,15 @@ module Aws
611
646
  # default_ttl: 1,
612
647
  # max_ttl: 1,
613
648
  # compress: false,
649
+ # lambda_function_associations: {
650
+ # quantity: 1, # required
651
+ # items: [
652
+ # {
653
+ # lambda_function_arn: "string",
654
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
655
+ # },
656
+ # ],
657
+ # },
614
658
  # },
615
659
  # ],
616
660
  # },
@@ -728,6 +772,10 @@ module Aws
728
772
  # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
729
773
  # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
730
774
  # resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
775
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
776
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
777
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
778
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
731
779
  # resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
732
780
  # resp.distribution.distribution_config.cache_behaviors.items #=> Array
733
781
  # resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
@@ -759,6 +807,10 @@ module Aws
759
807
  # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
760
808
  # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
761
809
  # resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
810
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
811
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
812
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
813
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
762
814
  # resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
763
815
  # resp.distribution.distribution_config.custom_error_responses.items #=> Array
764
816
  # resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -1255,6 +1307,10 @@ module Aws
1255
1307
  # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
1256
1308
  # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
1257
1309
  # resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
1310
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
1311
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
1312
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
1313
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1258
1314
  # resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
1259
1315
  # resp.distribution.distribution_config.cache_behaviors.items #=> Array
1260
1316
  # resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
@@ -1286,6 +1342,10 @@ module Aws
1286
1342
  # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
1287
1343
  # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
1288
1344
  # resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
1345
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
1346
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
1347
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
1348
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1289
1349
  # resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
1290
1350
  # resp.distribution.distribution_config.custom_error_responses.items #=> Array
1291
1351
  # resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -1384,6 +1444,10 @@ module Aws
1384
1444
  # resp.distribution_config.default_cache_behavior.default_ttl #=> Integer
1385
1445
  # resp.distribution_config.default_cache_behavior.max_ttl #=> Integer
1386
1446
  # resp.distribution_config.default_cache_behavior.compress #=> Boolean
1447
+ # resp.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
1448
+ # resp.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
1449
+ # resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
1450
+ # resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1387
1451
  # resp.distribution_config.cache_behaviors.quantity #=> Integer
1388
1452
  # resp.distribution_config.cache_behaviors.items #=> Array
1389
1453
  # resp.distribution_config.cache_behaviors.items[0].path_pattern #=> String
@@ -1415,6 +1479,10 @@ module Aws
1415
1479
  # resp.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
1416
1480
  # resp.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
1417
1481
  # resp.distribution_config.cache_behaviors.items[0].compress #=> Boolean
1482
+ # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
1483
+ # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
1484
+ # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
1485
+ # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1418
1486
  # resp.distribution_config.custom_error_responses.quantity #=> Integer
1419
1487
  # resp.distribution_config.custom_error_responses.items #=> Array
1420
1488
  # resp.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -1686,6 +1754,10 @@ module Aws
1686
1754
  # resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
1687
1755
  # resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
1688
1756
  # resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
1757
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
1758
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
1759
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
1760
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1689
1761
  # resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
1690
1762
  # resp.distribution_list.items[0].cache_behaviors.items #=> Array
1691
1763
  # resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
@@ -1717,6 +1789,10 @@ module Aws
1717
1789
  # resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
1718
1790
  # resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
1719
1791
  # resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
1792
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
1793
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
1794
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
1795
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1720
1796
  # resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
1721
1797
  # resp.distribution_list.items[0].custom_error_responses.items #=> Array
1722
1798
  # resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
@@ -1833,6 +1909,10 @@ module Aws
1833
1909
  # resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
1834
1910
  # resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
1835
1911
  # resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
1912
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
1913
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
1914
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
1915
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1836
1916
  # resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
1837
1917
  # resp.distribution_list.items[0].cache_behaviors.items #=> Array
1838
1918
  # resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
@@ -1864,6 +1944,10 @@ module Aws
1864
1944
  # resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
1865
1945
  # resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
1866
1946
  # resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
1947
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
1948
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
1949
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
1950
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1867
1951
  # resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
1868
1952
  # resp.distribution_list.items[0].custom_error_responses.items #=> Array
1869
1953
  # resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
@@ -2181,6 +2265,15 @@ module Aws
2181
2265
  # default_ttl: 1,
2182
2266
  # max_ttl: 1,
2183
2267
  # compress: false,
2268
+ # lambda_function_associations: {
2269
+ # quantity: 1, # required
2270
+ # items: [
2271
+ # {
2272
+ # lambda_function_arn: "string",
2273
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
2274
+ # },
2275
+ # ],
2276
+ # },
2184
2277
  # },
2185
2278
  # cache_behaviors: {
2186
2279
  # quantity: 1, # required
@@ -2225,6 +2318,15 @@ module Aws
2225
2318
  # default_ttl: 1,
2226
2319
  # max_ttl: 1,
2227
2320
  # compress: false,
2321
+ # lambda_function_associations: {
2322
+ # quantity: 1, # required
2323
+ # items: [
2324
+ # {
2325
+ # lambda_function_arn: "string",
2326
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
2327
+ # },
2328
+ # ],
2329
+ # },
2228
2330
  # },
2229
2331
  # ],
2230
2332
  # },
@@ -2335,6 +2437,10 @@ module Aws
2335
2437
  # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
2336
2438
  # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
2337
2439
  # resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
2440
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
2441
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
2442
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
2443
+ # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
2338
2444
  # resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
2339
2445
  # resp.distribution.distribution_config.cache_behaviors.items #=> Array
2340
2446
  # resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
@@ -2366,6 +2472,10 @@ module Aws
2366
2472
  # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
2367
2473
  # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
2368
2474
  # resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
2475
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
2476
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
2477
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
2478
+ # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
2369
2479
  # resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
2370
2480
  # resp.distribution.distribution_config.custom_error_responses.items #=> Array
2371
2481
  # resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -2495,7 +2605,7 @@ module Aws
2495
2605
  params: params,
2496
2606
  config: config)
2497
2607
  context[:gem_name] = 'aws-sdk-cloudfront'
2498
- context[:gem_version] = '1.0.0.rc1'
2608
+ context[:gem_version] = '1.0.0.rc2'
2499
2609
  Seahorse::Client::Request.new(handlers, context)
2500
2610
  end
2501
2611
 
@@ -64,6 +64,7 @@ module Aws
64
64
  DistributionNotDisabled = Shapes::StructureShape.new(name: 'DistributionNotDisabled')
65
65
  DistributionSummary = Shapes::StructureShape.new(name: 'DistributionSummary')
66
66
  DistributionSummaryList = Shapes::ListShape.new(name: 'DistributionSummaryList')
67
+ EventType = Shapes::StringShape.new(name: 'EventType')
67
68
  ForwardedValues = Shapes::StructureShape.new(name: 'ForwardedValues')
68
69
  GeoRestriction = Shapes::StructureShape.new(name: 'GeoRestriction')
69
70
  GeoRestrictionType = Shapes::StringShape.new(name: 'GeoRestrictionType')
@@ -93,6 +94,7 @@ module Aws
93
94
  InvalidGeoRestrictionParameter = Shapes::StructureShape.new(name: 'InvalidGeoRestrictionParameter')
94
95
  InvalidHeadersForS3Origin = Shapes::StructureShape.new(name: 'InvalidHeadersForS3Origin')
95
96
  InvalidIfMatchVersion = Shapes::StructureShape.new(name: 'InvalidIfMatchVersion')
97
+ InvalidLambdaFunctionAssociation = Shapes::StructureShape.new(name: 'InvalidLambdaFunctionAssociation')
96
98
  InvalidLocationCode = Shapes::StructureShape.new(name: 'InvalidLocationCode')
97
99
  InvalidMinimumProtocolVersion = Shapes::StructureShape.new(name: 'InvalidMinimumProtocolVersion')
98
100
  InvalidOrigin = Shapes::StructureShape.new(name: 'InvalidOrigin')
@@ -114,6 +116,9 @@ module Aws
114
116
  ItemSelection = Shapes::StringShape.new(name: 'ItemSelection')
115
117
  KeyPairIdList = Shapes::ListShape.new(name: 'KeyPairIdList')
116
118
  KeyPairIds = Shapes::StructureShape.new(name: 'KeyPairIds')
119
+ LambdaFunctionAssociation = Shapes::StructureShape.new(name: 'LambdaFunctionAssociation')
120
+ LambdaFunctionAssociationList = Shapes::ListShape.new(name: 'LambdaFunctionAssociationList')
121
+ LambdaFunctionAssociations = Shapes::StructureShape.new(name: 'LambdaFunctionAssociations')
117
122
  ListCloudFrontOriginAccessIdentitiesRequest = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesRequest')
118
123
  ListCloudFrontOriginAccessIdentitiesResult = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesResult')
119
124
  ListDistributionsByWebACLIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdRequest')
@@ -183,8 +188,10 @@ module Aws
183
188
  TooManyCookieNamesInWhiteList = Shapes::StructureShape.new(name: 'TooManyCookieNamesInWhiteList')
184
189
  TooManyDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyDistributionCNAMEs')
185
190
  TooManyDistributions = Shapes::StructureShape.new(name: 'TooManyDistributions')
191
+ TooManyDistributionsWithLambdaAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithLambdaAssociations')
186
192
  TooManyHeadersInForwardedValues = Shapes::StructureShape.new(name: 'TooManyHeadersInForwardedValues')
187
193
  TooManyInvalidationsInProgress = Shapes::StructureShape.new(name: 'TooManyInvalidationsInProgress')
194
+ TooManyLambdaFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyLambdaFunctionAssociations')
188
195
  TooManyOriginCustomHeaders = Shapes::StructureShape.new(name: 'TooManyOriginCustomHeaders')
189
196
  TooManyOrigins = Shapes::StructureShape.new(name: 'TooManyOrigins')
190
197
  TooManyQueryStringParameters = Shapes::StructureShape.new(name: 'TooManyQueryStringParameters')
@@ -237,6 +244,7 @@ module Aws
237
244
  CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
238
245
  CacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
239
246
  CacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
247
+ CacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
240
248
  CacheBehavior.struct_class = Types::CacheBehavior
241
249
 
242
250
  CacheBehaviorList.member = Shapes::ShapeRef.new(shape: CacheBehavior, location_name: "CacheBehavior")
@@ -283,7 +291,7 @@ module Aws
283
291
  CookiePreference.add_member(:whitelisted_names, Shapes::ShapeRef.new(shape: CookieNames, location_name: "WhitelistedNames"))
284
292
  CookiePreference.struct_class = Types::CookiePreference
285
293
 
286
- CreateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
294
+ CreateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
287
295
  CreateCloudFrontOriginAccessIdentityRequest.struct_class = Types::CreateCloudFrontOriginAccessIdentityRequest
288
296
  CreateCloudFrontOriginAccessIdentityRequest[:payload] = :cloud_front_origin_access_identity_config
289
297
  CreateCloudFrontOriginAccessIdentityRequest[:payload_member] = CreateCloudFrontOriginAccessIdentityRequest.member(:cloud_front_origin_access_identity_config)
@@ -295,7 +303,7 @@ module Aws
295
303
  CreateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
296
304
  CreateCloudFrontOriginAccessIdentityResult[:payload_member] = CreateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
297
305
 
298
- CreateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
306
+ CreateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
299
307
  CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
300
308
  CreateDistributionRequest[:payload] = :distribution_config
301
309
  CreateDistributionRequest[:payload_member] = CreateDistributionRequest.member(:distribution_config)
@@ -307,7 +315,7 @@ module Aws
307
315
  CreateDistributionResult[:payload] = :distribution
308
316
  CreateDistributionResult[:payload_member] = CreateDistributionResult.member(:distribution)
309
317
 
310
- CreateDistributionWithTagsRequest.add_member(:distribution_config_with_tags, Shapes::ShapeRef.new(shape: DistributionConfigWithTags, required: true, location_name: "DistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
318
+ CreateDistributionWithTagsRequest.add_member(:distribution_config_with_tags, Shapes::ShapeRef.new(shape: DistributionConfigWithTags, required: true, location_name: "DistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
311
319
  CreateDistributionWithTagsRequest.struct_class = Types::CreateDistributionWithTagsRequest
312
320
  CreateDistributionWithTagsRequest[:payload] = :distribution_config_with_tags
313
321
  CreateDistributionWithTagsRequest[:payload_member] = CreateDistributionWithTagsRequest.member(:distribution_config_with_tags)
@@ -320,7 +328,7 @@ module Aws
320
328
  CreateDistributionWithTagsResult[:payload_member] = CreateDistributionWithTagsResult.member(:distribution)
321
329
 
322
330
  CreateInvalidationRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
323
- CreateInvalidationRequest.add_member(:invalidation_batch, Shapes::ShapeRef.new(shape: InvalidationBatch, required: true, location_name: "InvalidationBatch", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
331
+ CreateInvalidationRequest.add_member(:invalidation_batch, Shapes::ShapeRef.new(shape: InvalidationBatch, required: true, location_name: "InvalidationBatch", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
324
332
  CreateInvalidationRequest.struct_class = Types::CreateInvalidationRequest
325
333
  CreateInvalidationRequest[:payload] = :invalidation_batch
326
334
  CreateInvalidationRequest[:payload_member] = CreateInvalidationRequest.member(:invalidation_batch)
@@ -331,7 +339,7 @@ module Aws
331
339
  CreateInvalidationResult[:payload] = :invalidation
332
340
  CreateInvalidationResult[:payload_member] = CreateInvalidationResult.member(:invalidation)
333
341
 
334
- CreateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
342
+ CreateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
335
343
  CreateStreamingDistributionRequest.struct_class = Types::CreateStreamingDistributionRequest
336
344
  CreateStreamingDistributionRequest[:payload] = :streaming_distribution_config
337
345
  CreateStreamingDistributionRequest[:payload_member] = CreateStreamingDistributionRequest.member(:streaming_distribution_config)
@@ -343,7 +351,7 @@ module Aws
343
351
  CreateStreamingDistributionResult[:payload] = :streaming_distribution
344
352
  CreateStreamingDistributionResult[:payload_member] = CreateStreamingDistributionResult.member(:streaming_distribution)
345
353
 
346
- CreateStreamingDistributionWithTagsRequest.add_member(:streaming_distribution_config_with_tags, Shapes::ShapeRef.new(shape: StreamingDistributionConfigWithTags, required: true, location_name: "StreamingDistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
354
+ CreateStreamingDistributionWithTagsRequest.add_member(:streaming_distribution_config_with_tags, Shapes::ShapeRef.new(shape: StreamingDistributionConfigWithTags, required: true, location_name: "StreamingDistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
347
355
  CreateStreamingDistributionWithTagsRequest.struct_class = Types::CreateStreamingDistributionWithTagsRequest
348
356
  CreateStreamingDistributionWithTagsRequest[:payload] = :streaming_distribution_config_with_tags
349
357
  CreateStreamingDistributionWithTagsRequest[:payload_member] = CreateStreamingDistributionWithTagsRequest.member(:streaming_distribution_config_with_tags)
@@ -387,6 +395,7 @@ module Aws
387
395
  DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
388
396
  DefaultCacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
389
397
  DefaultCacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
398
+ DefaultCacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
390
399
  DefaultCacheBehavior.struct_class = Types::DefaultCacheBehavior
391
400
 
392
401
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
@@ -574,6 +583,16 @@ module Aws
574
583
  KeyPairIds.add_member(:items, Shapes::ShapeRef.new(shape: KeyPairIdList, location_name: "Items"))
575
584
  KeyPairIds.struct_class = Types::KeyPairIds
576
585
 
586
+ LambdaFunctionAssociation.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: string, location_name: "LambdaFunctionARN"))
587
+ LambdaFunctionAssociation.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "EventType"))
588
+ LambdaFunctionAssociation.struct_class = Types::LambdaFunctionAssociation
589
+
590
+ LambdaFunctionAssociationList.member = Shapes::ShapeRef.new(shape: LambdaFunctionAssociation, location_name: "LambdaFunctionAssociation")
591
+
592
+ LambdaFunctionAssociations.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
593
+ LambdaFunctionAssociations.add_member(:items, Shapes::ShapeRef.new(shape: LambdaFunctionAssociationList, location_name: "Items"))
594
+ LambdaFunctionAssociations.struct_class = Types::LambdaFunctionAssociations
595
+
577
596
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
578
597
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
579
598
  ListCloudFrontOriginAccessIdentitiesRequest.struct_class = Types::ListCloudFrontOriginAccessIdentitiesRequest
@@ -756,7 +775,7 @@ module Aws
756
775
  TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
757
776
 
758
777
  TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "Resource"))
759
- TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
778
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
760
779
  TagResourceRequest.struct_class = Types::TagResourceRequest
761
780
  TagResourceRequest[:payload] = :tags
762
781
  TagResourceRequest[:payload_member] = TagResourceRequest.member(:tags)
@@ -770,12 +789,12 @@ module Aws
770
789
  TrustedSigners.struct_class = Types::TrustedSigners
771
790
 
772
791
  UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "Resource"))
773
- UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
792
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
774
793
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
775
794
  UntagResourceRequest[:payload] = :tag_keys
776
795
  UntagResourceRequest[:payload_member] = UntagResourceRequest.member(:tag_keys)
777
796
 
778
- UpdateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
797
+ UpdateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
779
798
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
780
799
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
781
800
  UpdateCloudFrontOriginAccessIdentityRequest.struct_class = Types::UpdateCloudFrontOriginAccessIdentityRequest
@@ -788,7 +807,7 @@ module Aws
788
807
  UpdateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
789
808
  UpdateCloudFrontOriginAccessIdentityResult[:payload_member] = UpdateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
790
809
 
791
- UpdateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
810
+ UpdateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
792
811
  UpdateDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
793
812
  UpdateDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
794
813
  UpdateDistributionRequest.struct_class = Types::UpdateDistributionRequest
@@ -801,7 +820,7 @@ module Aws
801
820
  UpdateDistributionResult[:payload] = :distribution
802
821
  UpdateDistributionResult[:payload_member] = UpdateDistributionResult.member(:distribution)
803
822
 
804
- UpdateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-09-29/"}}))
823
+ UpdateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}))
805
824
  UpdateStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
806
825
  UpdateStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
807
826
  UpdateStreamingDistributionRequest.struct_class = Types::UpdateStreamingDistributionRequest
@@ -827,7 +846,7 @@ module Aws
827
846
  # @api private
828
847
  API = Seahorse::Model::Api.new.tap do |api|
829
848
 
830
- api.version = "2016-09-29"
849
+ api.version = "2016-11-25"
831
850
 
832
851
  api.metadata = {
833
852
  "endpointPrefix" => "cloudfront",
@@ -839,7 +858,7 @@ module Aws
839
858
  api.add_operation(:create_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
840
859
  o.name = "CreateCloudFrontOriginAccessIdentity"
841
860
  o.http_method = "POST"
842
- o.http_request_uri = "/2016-09-29/origin-access-identity/cloudfront"
861
+ o.http_request_uri = "/2016-11-25/origin-access-identity/cloudfront"
843
862
  o.input = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityRequest)
844
863
  o.output = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityResult)
845
864
  o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityAlreadyExists)
@@ -852,7 +871,7 @@ module Aws
852
871
  api.add_operation(:create_distribution, Seahorse::Model::Operation.new.tap do |o|
853
872
  o.name = "CreateDistribution"
854
873
  o.http_method = "POST"
855
- o.http_request_uri = "/2016-09-29/distribution"
874
+ o.http_request_uri = "/2016-11-25/distribution"
856
875
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionRequest)
857
876
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionResult)
858
877
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -890,12 +909,15 @@ module Aws
890
909
  o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
891
910
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
892
911
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
912
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
913
+ o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
914
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
893
915
  end)
894
916
 
895
917
  api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
896
918
  o.name = "CreateDistributionWithTags"
897
919
  o.http_method = "POST"
898
- o.http_request_uri = "/2016-09-29/distribution?WithTags"
920
+ o.http_request_uri = "/2016-11-25/distribution?WithTags"
899
921
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsRequest)
900
922
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsResult)
901
923
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -934,12 +956,15 @@ module Aws
934
956
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
935
957
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
936
958
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
959
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
960
+ o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
961
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
937
962
  end)
938
963
 
939
964
  api.add_operation(:create_invalidation, Seahorse::Model::Operation.new.tap do |o|
940
965
  o.name = "CreateInvalidation"
941
966
  o.http_method = "POST"
942
- o.http_request_uri = "/2016-09-29/distribution/{DistributionId}/invalidation"
967
+ o.http_request_uri = "/2016-11-25/distribution/{DistributionId}/invalidation"
943
968
  o.input = Shapes::ShapeRef.new(shape: CreateInvalidationRequest)
944
969
  o.output = Shapes::ShapeRef.new(shape: CreateInvalidationResult)
945
970
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -954,7 +979,7 @@ module Aws
954
979
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
955
980
  o.name = "CreateStreamingDistribution"
956
981
  o.http_method = "POST"
957
- o.http_request_uri = "/2016-09-29/streaming-distribution"
982
+ o.http_request_uri = "/2016-11-25/streaming-distribution"
958
983
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionRequest)
959
984
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionResult)
960
985
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -974,7 +999,7 @@ module Aws
974
999
  api.add_operation(:create_streaming_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
975
1000
  o.name = "CreateStreamingDistributionWithTags"
976
1001
  o.http_method = "POST"
977
- o.http_request_uri = "/2016-09-29/streaming-distribution?WithTags"
1002
+ o.http_request_uri = "/2016-11-25/streaming-distribution?WithTags"
978
1003
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsRequest)
979
1004
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsResult)
980
1005
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -995,7 +1020,7 @@ module Aws
995
1020
  api.add_operation(:delete_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
996
1021
  o.name = "DeleteCloudFrontOriginAccessIdentity"
997
1022
  o.http_method = "DELETE"
998
- o.http_request_uri = "/2016-09-29/origin-access-identity/cloudfront/{Id}"
1023
+ o.http_request_uri = "/2016-11-25/origin-access-identity/cloudfront/{Id}"
999
1024
  o.input = Shapes::ShapeRef.new(shape: DeleteCloudFrontOriginAccessIdentityRequest)
1000
1025
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1001
1026
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1008,7 +1033,7 @@ module Aws
1008
1033
  api.add_operation(:delete_distribution, Seahorse::Model::Operation.new.tap do |o|
1009
1034
  o.name = "DeleteDistribution"
1010
1035
  o.http_method = "DELETE"
1011
- o.http_request_uri = "/2016-09-29/distribution/{Id}"
1036
+ o.http_request_uri = "/2016-11-25/distribution/{Id}"
1012
1037
  o.input = Shapes::ShapeRef.new(shape: DeleteDistributionRequest)
1013
1038
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1014
1039
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1021,7 +1046,7 @@ module Aws
1021
1046
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1022
1047
  o.name = "DeleteStreamingDistribution"
1023
1048
  o.http_method = "DELETE"
1024
- o.http_request_uri = "/2016-09-29/streaming-distribution/{Id}"
1049
+ o.http_request_uri = "/2016-11-25/streaming-distribution/{Id}"
1025
1050
  o.input = Shapes::ShapeRef.new(shape: DeleteStreamingDistributionRequest)
1026
1051
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1027
1052
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1034,7 +1059,7 @@ module Aws
1034
1059
  api.add_operation(:get_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1035
1060
  o.name = "GetCloudFrontOriginAccessIdentity"
1036
1061
  o.http_method = "GET"
1037
- o.http_request_uri = "/2016-09-29/origin-access-identity/cloudfront/{Id}"
1062
+ o.http_request_uri = "/2016-11-25/origin-access-identity/cloudfront/{Id}"
1038
1063
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityRequest)
1039
1064
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityResult)
1040
1065
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1044,7 +1069,7 @@ module Aws
1044
1069
  api.add_operation(:get_cloud_front_origin_access_identity_config, Seahorse::Model::Operation.new.tap do |o|
1045
1070
  o.name = "GetCloudFrontOriginAccessIdentityConfig"
1046
1071
  o.http_method = "GET"
1047
- o.http_request_uri = "/2016-09-29/origin-access-identity/cloudfront/{Id}/config"
1072
+ o.http_request_uri = "/2016-11-25/origin-access-identity/cloudfront/{Id}/config"
1048
1073
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigRequest)
1049
1074
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigResult)
1050
1075
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1054,7 +1079,7 @@ module Aws
1054
1079
  api.add_operation(:get_distribution, Seahorse::Model::Operation.new.tap do |o|
1055
1080
  o.name = "GetDistribution"
1056
1081
  o.http_method = "GET"
1057
- o.http_request_uri = "/2016-09-29/distribution/{Id}"
1082
+ o.http_request_uri = "/2016-11-25/distribution/{Id}"
1058
1083
  o.input = Shapes::ShapeRef.new(shape: GetDistributionRequest)
1059
1084
  o.output = Shapes::ShapeRef.new(shape: GetDistributionResult)
1060
1085
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1064,7 +1089,7 @@ module Aws
1064
1089
  api.add_operation(:get_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1065
1090
  o.name = "GetDistributionConfig"
1066
1091
  o.http_method = "GET"
1067
- o.http_request_uri = "/2016-09-29/distribution/{Id}/config"
1092
+ o.http_request_uri = "/2016-11-25/distribution/{Id}/config"
1068
1093
  o.input = Shapes::ShapeRef.new(shape: GetDistributionConfigRequest)
1069
1094
  o.output = Shapes::ShapeRef.new(shape: GetDistributionConfigResult)
1070
1095
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1074,7 +1099,7 @@ module Aws
1074
1099
  api.add_operation(:get_invalidation, Seahorse::Model::Operation.new.tap do |o|
1075
1100
  o.name = "GetInvalidation"
1076
1101
  o.http_method = "GET"
1077
- o.http_request_uri = "/2016-09-29/distribution/{DistributionId}/invalidation/{Id}"
1102
+ o.http_request_uri = "/2016-11-25/distribution/{DistributionId}/invalidation/{Id}"
1078
1103
  o.input = Shapes::ShapeRef.new(shape: GetInvalidationRequest)
1079
1104
  o.output = Shapes::ShapeRef.new(shape: GetInvalidationResult)
1080
1105
  o.errors << Shapes::ShapeRef.new(shape: NoSuchInvalidation)
@@ -1085,7 +1110,7 @@ module Aws
1085
1110
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1086
1111
  o.name = "GetStreamingDistribution"
1087
1112
  o.http_method = "GET"
1088
- o.http_request_uri = "/2016-09-29/streaming-distribution/{Id}"
1113
+ o.http_request_uri = "/2016-11-25/streaming-distribution/{Id}"
1089
1114
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionRequest)
1090
1115
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionResult)
1091
1116
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
@@ -1095,7 +1120,7 @@ module Aws
1095
1120
  api.add_operation(:get_streaming_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1096
1121
  o.name = "GetStreamingDistributionConfig"
1097
1122
  o.http_method = "GET"
1098
- o.http_request_uri = "/2016-09-29/streaming-distribution/{Id}/config"
1123
+ o.http_request_uri = "/2016-11-25/streaming-distribution/{Id}/config"
1099
1124
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigRequest)
1100
1125
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigResult)
1101
1126
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
@@ -1105,7 +1130,7 @@ module Aws
1105
1130
  api.add_operation(:list_cloud_front_origin_access_identities, Seahorse::Model::Operation.new.tap do |o|
1106
1131
  o.name = "ListCloudFrontOriginAccessIdentities"
1107
1132
  o.http_method = "GET"
1108
- o.http_request_uri = "/2016-09-29/origin-access-identity/cloudfront"
1133
+ o.http_request_uri = "/2016-11-25/origin-access-identity/cloudfront"
1109
1134
  o.input = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesRequest)
1110
1135
  o.output = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesResult)
1111
1136
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1121,7 +1146,7 @@ module Aws
1121
1146
  api.add_operation(:list_distributions, Seahorse::Model::Operation.new.tap do |o|
1122
1147
  o.name = "ListDistributions"
1123
1148
  o.http_method = "GET"
1124
- o.http_request_uri = "/2016-09-29/distribution"
1149
+ o.http_request_uri = "/2016-11-25/distribution"
1125
1150
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsRequest)
1126
1151
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsResult)
1127
1152
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1137,7 +1162,7 @@ module Aws
1137
1162
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
1138
1163
  o.name = "ListDistributionsByWebACLId"
1139
1164
  o.http_method = "GET"
1140
- o.http_request_uri = "/2016-09-29/distributionsByWebACLId/{WebACLId}"
1165
+ o.http_request_uri = "/2016-11-25/distributionsByWebACLId/{WebACLId}"
1141
1166
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdRequest)
1142
1167
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdResult)
1143
1168
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1147,7 +1172,7 @@ module Aws
1147
1172
  api.add_operation(:list_invalidations, Seahorse::Model::Operation.new.tap do |o|
1148
1173
  o.name = "ListInvalidations"
1149
1174
  o.http_method = "GET"
1150
- o.http_request_uri = "/2016-09-29/distribution/{DistributionId}/invalidation"
1175
+ o.http_request_uri = "/2016-11-25/distribution/{DistributionId}/invalidation"
1151
1176
  o.input = Shapes::ShapeRef.new(shape: ListInvalidationsRequest)
1152
1177
  o.output = Shapes::ShapeRef.new(shape: ListInvalidationsResult)
1153
1178
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1165,7 +1190,7 @@ module Aws
1165
1190
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
1166
1191
  o.name = "ListStreamingDistributions"
1167
1192
  o.http_method = "GET"
1168
- o.http_request_uri = "/2016-09-29/streaming-distribution"
1193
+ o.http_request_uri = "/2016-11-25/streaming-distribution"
1169
1194
  o.input = Shapes::ShapeRef.new(shape: ListStreamingDistributionsRequest)
1170
1195
  o.output = Shapes::ShapeRef.new(shape: ListStreamingDistributionsResult)
1171
1196
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1181,7 +1206,7 @@ module Aws
1181
1206
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1182
1207
  o.name = "ListTagsForResource"
1183
1208
  o.http_method = "GET"
1184
- o.http_request_uri = "/2016-09-29/tagging"
1209
+ o.http_request_uri = "/2016-11-25/tagging"
1185
1210
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1186
1211
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
1187
1212
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1193,7 +1218,7 @@ module Aws
1193
1218
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1194
1219
  o.name = "TagResource"
1195
1220
  o.http_method = "POST"
1196
- o.http_request_uri = "/2016-09-29/tagging?Operation=Tag"
1221
+ o.http_request_uri = "/2016-11-25/tagging?Operation=Tag"
1197
1222
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1198
1223
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1199
1224
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1205,7 +1230,7 @@ module Aws
1205
1230
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1206
1231
  o.name = "UntagResource"
1207
1232
  o.http_method = "POST"
1208
- o.http_request_uri = "/2016-09-29/tagging?Operation=Untag"
1233
+ o.http_request_uri = "/2016-11-25/tagging?Operation=Untag"
1209
1234
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1210
1235
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1211
1236
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1217,7 +1242,7 @@ module Aws
1217
1242
  api.add_operation(:update_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1218
1243
  o.name = "UpdateCloudFrontOriginAccessIdentity"
1219
1244
  o.http_method = "PUT"
1220
- o.http_request_uri = "/2016-09-29/origin-access-identity/cloudfront/{Id}/config"
1245
+ o.http_request_uri = "/2016-11-25/origin-access-identity/cloudfront/{Id}/config"
1221
1246
  o.input = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityRequest)
1222
1247
  o.output = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityResult)
1223
1248
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1233,7 +1258,7 @@ module Aws
1233
1258
  api.add_operation(:update_distribution, Seahorse::Model::Operation.new.tap do |o|
1234
1259
  o.name = "UpdateDistribution"
1235
1260
  o.http_method = "PUT"
1236
- o.http_request_uri = "/2016-09-29/distribution/{Id}/config"
1261
+ o.http_request_uri = "/2016-11-25/distribution/{Id}/config"
1237
1262
  o.input = Shapes::ShapeRef.new(shape: UpdateDistributionRequest)
1238
1263
  o.output = Shapes::ShapeRef.new(shape: UpdateDistributionResult)
1239
1264
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1271,12 +1296,15 @@ module Aws
1271
1296
  o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
1272
1297
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
1273
1298
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
1299
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
1300
+ o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
1301
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
1274
1302
  end)
1275
1303
 
1276
1304
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1277
1305
  o.name = "UpdateStreamingDistribution"
1278
1306
  o.http_method = "PUT"
1279
- o.http_request_uri = "/2016-09-29/streaming-distribution/{Id}/config"
1307
+ o.http_request_uri = "/2016-11-25/streaming-distribution/{Id}/config"
1280
1308
  o.input = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionRequest)
1281
1309
  o.output = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionResult)
1282
1310
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -215,6 +215,15 @@ module Aws
215
215
  # default_ttl: 1,
216
216
  # max_ttl: 1,
217
217
  # compress: false,
218
+ # lambda_function_associations: {
219
+ # quantity: 1, # required
220
+ # items: [
221
+ # {
222
+ # lambda_function_arn: "string",
223
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
224
+ # },
225
+ # ],
226
+ # },
218
227
  # }
219
228
  # @!attribute [rw] path_pattern
220
229
  # The pattern (for example, `images/*.jpg`) that specifies which
@@ -400,6 +409,11 @@ module Aws
400
409
  #
401
410
  # [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html
402
411
  # @return [Boolean]
412
+ #
413
+ # @!attribute [rw] lambda_function_associations
414
+ # A complex type that contains zero or more Lambda function
415
+ # associations for a cache behavior.
416
+ # @return [Types::LambdaFunctionAssociations]
403
417
  class CacheBehavior < Struct.new(
404
418
  :path_pattern,
405
419
  :target_origin_id,
@@ -411,7 +425,8 @@ module Aws
411
425
  :smooth_streaming,
412
426
  :default_ttl,
413
427
  :max_ttl,
414
- :compress)
428
+ :compress,
429
+ :lambda_function_associations)
415
430
  include Aws::Structure
416
431
  end
417
432
 
@@ -462,6 +477,15 @@ module Aws
462
477
  # default_ttl: 1,
463
478
  # max_ttl: 1,
464
479
  # compress: false,
480
+ # lambda_function_associations: {
481
+ # quantity: 1, # required
482
+ # items: [
483
+ # {
484
+ # lambda_function_arn: "string",
485
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
486
+ # },
487
+ # ],
488
+ # },
465
489
  # },
466
490
  # ],
467
491
  # }
@@ -860,6 +884,15 @@ module Aws
860
884
  # default_ttl: 1,
861
885
  # max_ttl: 1,
862
886
  # compress: false,
887
+ # lambda_function_associations: {
888
+ # quantity: 1, # required
889
+ # items: [
890
+ # {
891
+ # lambda_function_arn: "string",
892
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
893
+ # },
894
+ # ],
895
+ # },
863
896
  # },
864
897
  # cache_behaviors: {
865
898
  # quantity: 1, # required
@@ -904,6 +937,15 @@ module Aws
904
937
  # default_ttl: 1,
905
938
  # max_ttl: 1,
906
939
  # compress: false,
940
+ # lambda_function_associations: {
941
+ # quantity: 1, # required
942
+ # items: [
943
+ # {
944
+ # lambda_function_arn: "string",
945
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
946
+ # },
947
+ # ],
948
+ # },
907
949
  # },
908
950
  # ],
909
951
  # },
@@ -1060,6 +1102,15 @@ module Aws
1060
1102
  # default_ttl: 1,
1061
1103
  # max_ttl: 1,
1062
1104
  # compress: false,
1105
+ # lambda_function_associations: {
1106
+ # quantity: 1, # required
1107
+ # items: [
1108
+ # {
1109
+ # lambda_function_arn: "string",
1110
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
1111
+ # },
1112
+ # ],
1113
+ # },
1063
1114
  # },
1064
1115
  # cache_behaviors: {
1065
1116
  # quantity: 1, # required
@@ -1104,6 +1155,15 @@ module Aws
1104
1155
  # default_ttl: 1,
1105
1156
  # max_ttl: 1,
1106
1157
  # compress: false,
1158
+ # lambda_function_associations: {
1159
+ # quantity: 1, # required
1160
+ # items: [
1161
+ # {
1162
+ # lambda_function_arn: "string",
1163
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
1164
+ # },
1165
+ # ],
1166
+ # },
1107
1167
  # },
1108
1168
  # ],
1109
1169
  # },
@@ -1620,6 +1680,15 @@ module Aws
1620
1680
  # default_ttl: 1,
1621
1681
  # max_ttl: 1,
1622
1682
  # compress: false,
1683
+ # lambda_function_associations: {
1684
+ # quantity: 1, # required
1685
+ # items: [
1686
+ # {
1687
+ # lambda_function_arn: "string",
1688
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
1689
+ # },
1690
+ # ],
1691
+ # },
1623
1692
  # }
1624
1693
  # @!attribute [rw] target_origin_id
1625
1694
  # The value of `ID` for the origin that you want CloudFront to route
@@ -1768,6 +1837,11 @@ module Aws
1768
1837
  #
1769
1838
  # [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html
1770
1839
  # @return [Boolean]
1840
+ #
1841
+ # @!attribute [rw] lambda_function_associations
1842
+ # A complex type that contains zero or more Lambda function
1843
+ # associations for a cache behavior.
1844
+ # @return [Types::LambdaFunctionAssociations]
1771
1845
  class DefaultCacheBehavior < Struct.new(
1772
1846
  :target_origin_id,
1773
1847
  :forwarded_values,
@@ -1778,7 +1852,8 @@ module Aws
1778
1852
  :smooth_streaming,
1779
1853
  :default_ttl,
1780
1854
  :max_ttl,
1781
- :compress)
1855
+ :compress,
1856
+ :lambda_function_associations)
1782
1857
  include Aws::Structure
1783
1858
  end
1784
1859
 
@@ -2030,6 +2105,15 @@ module Aws
2030
2105
  # default_ttl: 1,
2031
2106
  # max_ttl: 1,
2032
2107
  # compress: false,
2108
+ # lambda_function_associations: {
2109
+ # quantity: 1, # required
2110
+ # items: [
2111
+ # {
2112
+ # lambda_function_arn: "string",
2113
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
2114
+ # },
2115
+ # ],
2116
+ # },
2033
2117
  # },
2034
2118
  # cache_behaviors: {
2035
2119
  # quantity: 1, # required
@@ -2074,6 +2158,15 @@ module Aws
2074
2158
  # default_ttl: 1,
2075
2159
  # max_ttl: 1,
2076
2160
  # compress: false,
2161
+ # lambda_function_associations: {
2162
+ # quantity: 1, # required
2163
+ # items: [
2164
+ # {
2165
+ # lambda_function_arn: "string",
2166
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
2167
+ # },
2168
+ # ],
2169
+ # },
2077
2170
  # },
2078
2171
  # ],
2079
2172
  # },
@@ -2471,6 +2564,15 @@ module Aws
2471
2564
  # default_ttl: 1,
2472
2565
  # max_ttl: 1,
2473
2566
  # compress: false,
2567
+ # lambda_function_associations: {
2568
+ # quantity: 1, # required
2569
+ # items: [
2570
+ # {
2571
+ # lambda_function_arn: "string",
2572
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
2573
+ # },
2574
+ # ],
2575
+ # },
2474
2576
  # },
2475
2577
  # cache_behaviors: {
2476
2578
  # quantity: 1, # required
@@ -2515,6 +2617,15 @@ module Aws
2515
2617
  # default_ttl: 1,
2516
2618
  # max_ttl: 1,
2517
2619
  # compress: false,
2620
+ # lambda_function_associations: {
2621
+ # quantity: 1, # required
2622
+ # items: [
2623
+ # {
2624
+ # lambda_function_arn: "string",
2625
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
2626
+ # },
2627
+ # ],
2628
+ # },
2518
2629
  # },
2519
2630
  # ],
2520
2631
  # },
@@ -3323,6 +3434,75 @@ module Aws
3323
3434
  include Aws::Structure
3324
3435
  end
3325
3436
 
3437
+ # A complex type that contains a Lambda function association.
3438
+ # @note When making an API call, pass LambdaFunctionAssociation
3439
+ # data as a hash:
3440
+ #
3441
+ # {
3442
+ # lambda_function_arn: "string",
3443
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
3444
+ # }
3445
+ # @!attribute [rw] lambda_function_arn
3446
+ # The ARN of the Lambda function.
3447
+ # @return [String]
3448
+ #
3449
+ # @!attribute [rw] event_type
3450
+ # Specifies the event type that triggers a Lambda function invocation.
3451
+ # Valid values are:
3452
+ #
3453
+ # * `viewer-request`
3454
+ #
3455
+ # * `origin-request`
3456
+ #
3457
+ # * `viewer-response`
3458
+ #
3459
+ # * `origin-response`
3460
+ # @return [String]
3461
+ class LambdaFunctionAssociation < Struct.new(
3462
+ :lambda_function_arn,
3463
+ :event_type)
3464
+ include Aws::Structure
3465
+ end
3466
+
3467
+ # A complex type that specifies a list of Lambda functions associations
3468
+ # for a cache behavior.
3469
+ #
3470
+ # If you want to invoke one or more Lambda functions triggered by
3471
+ # requests that match the `PathPattern` of the cache behavior, specify
3472
+ # the applicable values for `Quantity` and `Items`. Note that there can
3473
+ # be up to 4 `LambdaFunctionAssociation` items in this list (one for
3474
+ # each possible value of `EventType`) and each `EventType` can be
3475
+ # associated with the Lambda function only once.
3476
+ #
3477
+ # If you don't want to invoke any Lambda functions for the requests
3478
+ # that match `PathPattern`, specify `0` for `Quantity` and omit `Items`.
3479
+ # @note When making an API call, pass LambdaFunctionAssociations
3480
+ # data as a hash:
3481
+ #
3482
+ # {
3483
+ # quantity: 1, # required
3484
+ # items: [
3485
+ # {
3486
+ # lambda_function_arn: "string",
3487
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
3488
+ # },
3489
+ # ],
3490
+ # }
3491
+ # @!attribute [rw] quantity
3492
+ # The number of Lambda function associations for this cache behavior.
3493
+ # @return [Integer]
3494
+ #
3495
+ # @!attribute [rw] items
3496
+ # **Optional**\: A complex type that contains
3497
+ # `LambdaFunctionAssociation` items for this cache behavior. If
3498
+ # `Quantity` is `0`, you can omit `Items`.
3499
+ # @return [Array<Types::LambdaFunctionAssociation>]
3500
+ class LambdaFunctionAssociations < Struct.new(
3501
+ :quantity,
3502
+ :items)
3503
+ include Aws::Structure
3504
+ end
3505
+
3326
3506
  # The request to list origin access identities.
3327
3507
  # @note When making an API call, pass ListCloudFrontOriginAccessIdentitiesRequest
3328
3508
  # data as a hash:
@@ -4685,6 +4865,15 @@ module Aws
4685
4865
  # default_ttl: 1,
4686
4866
  # max_ttl: 1,
4687
4867
  # compress: false,
4868
+ # lambda_function_associations: {
4869
+ # quantity: 1, # required
4870
+ # items: [
4871
+ # {
4872
+ # lambda_function_arn: "string",
4873
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
4874
+ # },
4875
+ # ],
4876
+ # },
4688
4877
  # },
4689
4878
  # cache_behaviors: {
4690
4879
  # quantity: 1, # required
@@ -4729,6 +4918,15 @@ module Aws
4729
4918
  # default_ttl: 1,
4730
4919
  # max_ttl: 1,
4731
4920
  # compress: false,
4921
+ # lambda_function_associations: {
4922
+ # quantity: 1, # required
4923
+ # items: [
4924
+ # {
4925
+ # lambda_function_arn: "string",
4926
+ # event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
4927
+ # },
4928
+ # ],
4929
+ # },
4732
4930
  # },
4733
4931
  # ],
4734
4932
  # },
@@ -4906,29 +5104,12 @@ module Aws
4906
5104
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
4907
5105
  # }
4908
5106
  # @!attribute [rw] cloud_front_default_certificate
4909
- # If you want viewers to use HTTPS to request your objects and you're
4910
- # using the CloudFront domain name of your distribution in your object
4911
- # URLs (for example,
4912
- # `https://d111111abcdef8.cloudfront.net/logo.jpg`), set to `true`.
4913
- # Omit this value if you are setting an `ACMCertificateArn` or
4914
- # `IAMCertificateId`.
4915
5107
  # @return [Boolean]
4916
5108
  #
4917
5109
  # @!attribute [rw] iam_certificate_id
4918
- # If you want viewers to use HTTPS to request your objects and you're
4919
- # using an alternate domain name in your object URLs (for example,
4920
- # `https://example.com/logo.jpg)`, specify the IAM certificate
4921
- # identifier of the custom viewer certificate for this distribution.
4922
- # Specify either this value, `ACMCertificateArn`, or
4923
- # `CloudFrontDefaultCertificate`.
4924
5110
  # @return [String]
4925
5111
  #
4926
5112
  # @!attribute [rw] acm_certificate_arn
4927
- # If you want viewers to use HTTPS to request your objects and you're
4928
- # using an alternate domain name in your object URLs (for example,
4929
- # `https://example.com/logo.jpg)`, specify the ACM certificate ARN of
4930
- # the custom viewer certificate for this distribution. Specify either
4931
- # this value, `IAMCertificateId`, or `CloudFrontDefaultCertificate`.
4932
5113
  # @return [String]
4933
5114
  #
4934
5115
  # @!attribute [rw] ssl_support_method
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudfront
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
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: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2016-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core