aws-sdk-cloudfront 1.26.0 → 1.42.0

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
- SHA1:
3
- metadata.gz: b377334a0c36a314560f12962831526e96258b7d
4
- data.tar.gz: fcd47dd54ef0430f24492dcc724f05b31446c327
2
+ SHA256:
3
+ metadata.gz: 1f38fa18b9d8845e479c8882b2bc44b295eeb6d34bbb26d773462caf49c74ee3
4
+ data.tar.gz: d7c783e585883dcc2ff2ee32c52f38fdd8f7346ab3bc84abfe86ca38b24549f8
5
5
  SHA512:
6
- metadata.gz: 6d4e1ee11180bc758447383709255bb9cf25d73bd65e4332957d15084c9036f6f99f99137cf38ea4e778b13d071c259a742a850397e81c7102fa18b6f2a9b6a5
7
- data.tar.gz: ce5429ab6a0cd7b9b3d36e16a07191c794483a7fd2d0ae26d41a9ca93a70ae20d9a49edc42cf7288b56dfcb6d6067498f75ac6859225460d1137b80b0e0f588e
6
+ metadata.gz: 5542e62b2ffa403179d4d527dcbad239265a68f9d46401ba3504f5f9c13343451001eac050cd66f5cfcbfb0c6d339e3a221b099a67cde6884ee819699b915433
7
+ data.tar.gz: 78a7f8d89a945676e1e8049331e0686b05a8f51a321277c7ed7658a3db4d437b7aa8c9335c6ad1d3e745dcebee0f1c3d138ebd6bbf5b44737233a55208be32ed
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -26,7 +29,7 @@ require_relative 'aws-sdk-cloudfront/customizations'
26
29
  # structure.
27
30
  #
28
31
  # cloud_front = Aws::CloudFront::Client.new
29
- # resp = cloud_front.create_cloud_front_origin_access_identity(params)
32
+ # resp = cloud_front.create_cache_policy(params)
30
33
  #
31
34
  # See {Client} for more information.
32
35
  #
@@ -43,9 +46,9 @@ require_relative 'aws-sdk-cloudfront/customizations'
43
46
  #
44
47
  # See {Errors} for more information.
45
48
  #
46
- # @service
49
+ # @!group service
47
50
  module Aws::CloudFront
48
51
 
49
- GEM_VERSION = '1.26.0'
52
+ GEM_VERSION = '1.42.0'
50
53
 
51
54
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_xml.rb'
29
32
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:cloudfront)
32
35
  module Aws::CloudFront
33
36
  # An API client for CloudFront. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::CloudFront::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::CloudFront::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -69,6 +72,7 @@ module Aws::CloudFront
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestXml)
74
78
 
@@ -81,13 +85,28 @@ module Aws::CloudFront
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,15 +116,15 @@ module Aws::CloudFront
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
107
126
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
127
+ # a default `:region` is searched for in the following locations:
109
128
  #
110
129
  # * `Aws.config[:region]`
111
130
  # * `ENV['AWS_REGION']`
@@ -161,7 +180,7 @@ module Aws::CloudFront
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +195,7 @@ module Aws::CloudFront
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -229,15 +248,19 @@ module Aws::CloudFront
229
248
  #
230
249
  # @option options [String] :retry_mode ("legacy")
231
250
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
241
264
  #
242
265
  # @option options [String] :secret_access_key
243
266
  #
@@ -265,8 +288,7 @@ module Aws::CloudFront
265
288
  #
266
289
  # @option options [Integer] :http_read_timeout (60) The default
267
290
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
291
+ # safely be set per-request on the session.
270
292
  #
271
293
  # @option options [Float] :http_idle_timeout (5) The number of
272
294
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +300,7 @@ module Aws::CloudFront
278
300
  # request body. This option has no effect unless the request has
279
301
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
302
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
303
+ # request on the session.
282
304
  #
283
305
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
306
  # HTTP debug output will be sent to the `:logger`.
@@ -305,6 +327,115 @@ module Aws::CloudFront
305
327
 
306
328
  # @!group API Operations
307
329
 
330
+ # Creates a cache policy.
331
+ #
332
+ # After you create a cache policy, you can attach it to one or more
333
+ # cache behaviors. When it’s attached to a cache behavior, the cache
334
+ # policy determines the following:
335
+ #
336
+ # * The values that CloudFront includes in the *cache key*. These values
337
+ # can include HTTP headers, cookies, and URL query strings. CloudFront
338
+ # uses the cache key to find an object in its cache that it can return
339
+ # to the viewer.
340
+ #
341
+ # * The default, minimum, and maximum time to live (TTL) values that you
342
+ # want objects to stay in the CloudFront cache.
343
+ #
344
+ # The headers, cookies, and query strings that are included in the cache
345
+ # key are automatically included in requests that CloudFront sends to
346
+ # the origin. CloudFront sends a request when it can’t find an object in
347
+ # its cache that matches the request’s cache key. If you want to send
348
+ # values to the origin but *not* include them in the cache key, use
349
+ # `OriginRequestPolicy`.
350
+ #
351
+ # For more information about cache policies, see [Controlling the cache
352
+ # key][1] in the *Amazon CloudFront Developer Guide*.
353
+ #
354
+ #
355
+ #
356
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html
357
+ #
358
+ # @option params [required, Types::CachePolicyConfig] :cache_policy_config
359
+ # A cache policy configuration.
360
+ #
361
+ # @return [Types::CreateCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
362
+ #
363
+ # * {Types::CreateCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
364
+ # * {Types::CreateCachePolicyResult#location #location} => String
365
+ # * {Types::CreateCachePolicyResult#etag #etag} => String
366
+ #
367
+ # @example Request syntax with placeholder values
368
+ #
369
+ # resp = client.create_cache_policy({
370
+ # cache_policy_config: { # required
371
+ # comment: "string",
372
+ # name: "string", # required
373
+ # default_ttl: 1,
374
+ # max_ttl: 1,
375
+ # min_ttl: 1, # required
376
+ # parameters_in_cache_key_and_forwarded_to_origin: {
377
+ # enable_accept_encoding_gzip: false, # required
378
+ # enable_accept_encoding_brotli: false,
379
+ # headers_config: { # required
380
+ # header_behavior: "none", # required, accepts none, whitelist
381
+ # headers: {
382
+ # quantity: 1, # required
383
+ # items: ["string"],
384
+ # },
385
+ # },
386
+ # cookies_config: { # required
387
+ # cookie_behavior: "none", # required, accepts none, whitelist, allExcept, all
388
+ # cookies: {
389
+ # quantity: 1, # required
390
+ # items: ["string"],
391
+ # },
392
+ # },
393
+ # query_strings_config: { # required
394
+ # query_string_behavior: "none", # required, accepts none, whitelist, allExcept, all
395
+ # query_strings: {
396
+ # quantity: 1, # required
397
+ # items: ["string"],
398
+ # },
399
+ # },
400
+ # },
401
+ # },
402
+ # })
403
+ #
404
+ # @example Response structure
405
+ #
406
+ # resp.cache_policy.id #=> String
407
+ # resp.cache_policy.last_modified_time #=> Time
408
+ # resp.cache_policy.cache_policy_config.comment #=> String
409
+ # resp.cache_policy.cache_policy_config.name #=> String
410
+ # resp.cache_policy.cache_policy_config.default_ttl #=> Integer
411
+ # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
412
+ # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
413
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
414
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
415
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
416
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
417
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
418
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
419
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
420
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
421
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
422
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
423
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
424
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
425
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
426
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
427
+ # resp.location #=> String
428
+ # resp.etag #=> String
429
+ #
430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCachePolicy2020_05_31 AWS API Documentation
431
+ #
432
+ # @overload create_cache_policy(params = {})
433
+ # @param [Hash] params ({})
434
+ def create_cache_policy(params = {}, options = {})
435
+ req = build_request(:create_cache_policy, params)
436
+ req.send_request(options)
437
+ end
438
+
308
439
  # Creates a new origin access identity. If you're using Amazon S3 for
309
440
  # your origin, you can use an origin access identity to require users to
310
441
  # access your content using a CloudFront URL instead of the Amazon S3
@@ -343,7 +474,7 @@ module Aws::CloudFront
343
474
  # resp.location #=> String
344
475
  # resp.etag #=> String
345
476
  #
346
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateCloudFrontOriginAccessIdentity2019_03_26 AWS API Documentation
477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
347
478
  #
348
479
  # @overload create_cloud_front_origin_access_identity(params = {})
349
480
  # @param [Hash] params ({})
@@ -421,6 +552,8 @@ module Aws::CloudFront
421
552
  # origin_read_timeout: 1,
422
553
  # origin_keepalive_timeout: 1,
423
554
  # },
555
+ # connection_attempts: 1,
556
+ # connection_timeout: 1,
424
557
  # },
425
558
  # ],
426
559
  # },
@@ -448,31 +581,12 @@ module Aws::CloudFront
448
581
  # },
449
582
  # default_cache_behavior: { # required
450
583
  # target_origin_id: "string", # required
451
- # forwarded_values: { # required
452
- # query_string: false, # required
453
- # cookies: { # required
454
- # forward: "none", # required, accepts none, whitelist, all
455
- # whitelisted_names: {
456
- # quantity: 1, # required
457
- # items: ["string"],
458
- # },
459
- # },
460
- # headers: {
461
- # quantity: 1, # required
462
- # items: ["string"],
463
- # },
464
- # query_string_cache_keys: {
465
- # quantity: 1, # required
466
- # items: ["string"],
467
- # },
468
- # },
469
584
  # trusted_signers: { # required
470
585
  # enabled: false, # required
471
586
  # quantity: 1, # required
472
587
  # items: ["string"],
473
588
  # },
474
589
  # viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
475
- # min_ttl: 1, # required
476
590
  # allowed_methods: {
477
591
  # quantity: 1, # required
478
592
  # items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
@@ -482,8 +596,6 @@ module Aws::CloudFront
482
596
  # },
483
597
  # },
484
598
  # smooth_streaming: false,
485
- # default_ttl: 1,
486
- # max_ttl: 1,
487
599
  # compress: false,
488
600
  # lambda_function_associations: {
489
601
  # quantity: 1, # required
@@ -496,6 +608,30 @@ module Aws::CloudFront
496
608
  # ],
497
609
  # },
498
610
  # field_level_encryption_id: "string",
611
+ # realtime_log_config_arn: "string",
612
+ # cache_policy_id: "string",
613
+ # origin_request_policy_id: "string",
614
+ # forwarded_values: {
615
+ # query_string: false, # required
616
+ # cookies: { # required
617
+ # forward: "none", # required, accepts none, whitelist, all
618
+ # whitelisted_names: {
619
+ # quantity: 1, # required
620
+ # items: ["string"],
621
+ # },
622
+ # },
623
+ # headers: {
624
+ # quantity: 1, # required
625
+ # items: ["string"],
626
+ # },
627
+ # query_string_cache_keys: {
628
+ # quantity: 1, # required
629
+ # items: ["string"],
630
+ # },
631
+ # },
632
+ # min_ttl: 1,
633
+ # default_ttl: 1,
634
+ # max_ttl: 1,
499
635
  # },
500
636
  # cache_behaviors: {
501
637
  # quantity: 1, # required
@@ -503,31 +639,12 @@ module Aws::CloudFront
503
639
  # {
504
640
  # path_pattern: "string", # required
505
641
  # target_origin_id: "string", # required
506
- # forwarded_values: { # required
507
- # query_string: false, # required
508
- # cookies: { # required
509
- # forward: "none", # required, accepts none, whitelist, all
510
- # whitelisted_names: {
511
- # quantity: 1, # required
512
- # items: ["string"],
513
- # },
514
- # },
515
- # headers: {
516
- # quantity: 1, # required
517
- # items: ["string"],
518
- # },
519
- # query_string_cache_keys: {
520
- # quantity: 1, # required
521
- # items: ["string"],
522
- # },
523
- # },
524
642
  # trusted_signers: { # required
525
643
  # enabled: false, # required
526
644
  # quantity: 1, # required
527
645
  # items: ["string"],
528
646
  # },
529
647
  # viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
530
- # min_ttl: 1, # required
531
648
  # allowed_methods: {
532
649
  # quantity: 1, # required
533
650
  # items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
@@ -537,8 +654,6 @@ module Aws::CloudFront
537
654
  # },
538
655
  # },
539
656
  # smooth_streaming: false,
540
- # default_ttl: 1,
541
- # max_ttl: 1,
542
657
  # compress: false,
543
658
  # lambda_function_associations: {
544
659
  # quantity: 1, # required
@@ -551,6 +666,30 @@ module Aws::CloudFront
551
666
  # ],
552
667
  # },
553
668
  # field_level_encryption_id: "string",
669
+ # realtime_log_config_arn: "string",
670
+ # cache_policy_id: "string",
671
+ # origin_request_policy_id: "string",
672
+ # forwarded_values: {
673
+ # query_string: false, # required
674
+ # cookies: { # required
675
+ # forward: "none", # required, accepts none, whitelist, all
676
+ # whitelisted_names: {
677
+ # quantity: 1, # required
678
+ # items: ["string"],
679
+ # },
680
+ # },
681
+ # headers: {
682
+ # quantity: 1, # required
683
+ # items: ["string"],
684
+ # },
685
+ # query_string_cache_keys: {
686
+ # quantity: 1, # required
687
+ # items: ["string"],
688
+ # },
689
+ # },
690
+ # min_ttl: 1,
691
+ # default_ttl: 1,
692
+ # max_ttl: 1,
554
693
  # },
555
694
  # ],
556
695
  # },
@@ -578,8 +717,8 @@ module Aws::CloudFront
578
717
  # cloud_front_default_certificate: false,
579
718
  # iam_certificate_id: "string",
580
719
  # acm_certificate_arn: "string",
581
- # ssl_support_method: "sni-only", # accepts sni-only, vip
582
- # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018
720
+ # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
721
+ # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
583
722
  # certificate: "string",
584
723
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
585
724
  # },
@@ -634,6 +773,8 @@ module Aws::CloudFront
634
773
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
635
774
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
636
775
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
776
+ # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
777
+ # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
637
778
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
638
779
  # resp.distribution.distribution_config.origin_groups.items #=> Array
639
780
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -644,23 +785,11 @@ module Aws::CloudFront
644
785
  # resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
645
786
  # resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
646
787
  # resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
647
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
648
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
649
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
650
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
651
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
652
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
653
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
654
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
655
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
656
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
657
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
658
788
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
659
789
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
660
790
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
661
791
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
662
792
  # resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
663
- # resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
664
793
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
665
794
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
666
795
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -668,8 +797,6 @@ module Aws::CloudFront
668
797
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
669
798
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
670
799
  # resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
671
- # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
672
- # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
673
800
  # resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
674
801
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
675
802
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
@@ -677,27 +804,32 @@ module Aws::CloudFront
677
804
  # 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"
678
805
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
679
806
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
807
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
808
+ # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
809
+ # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
810
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
811
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
812
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
813
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
814
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
815
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
816
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
817
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
818
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
819
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
820
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
821
+ # resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
822
+ # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
823
+ # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
680
824
  # resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
681
825
  # resp.distribution.distribution_config.cache_behaviors.items #=> Array
682
826
  # resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
683
827
  # resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
684
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
685
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
686
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
687
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
688
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
689
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
690
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
691
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
692
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
693
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
694
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
695
828
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
696
829
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
697
830
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
698
831
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
699
832
  # resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
700
- # resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
701
833
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
702
834
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
703
835
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -705,8 +837,6 @@ module Aws::CloudFront
705
837
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
706
838
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
707
839
  # resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
708
- # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
709
- # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
710
840
  # resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
711
841
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
712
842
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
@@ -714,6 +844,23 @@ module Aws::CloudFront
714
844
  # 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"
715
845
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
716
846
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
847
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
848
+ # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
849
+ # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
850
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
851
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
852
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
853
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
854
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
855
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
856
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
857
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
858
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
859
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
860
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
861
+ # resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
862
+ # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
863
+ # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
717
864
  # resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
718
865
  # resp.distribution.distribution_config.custom_error_responses.items #=> Array
719
866
  # resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -730,8 +877,8 @@ module Aws::CloudFront
730
877
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
731
878
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
732
879
  # resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
733
- # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
734
- # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
880
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
881
+ # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
735
882
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
736
883
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
737
884
  # resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
@@ -747,7 +894,7 @@ module Aws::CloudFront
747
894
  # resp.location #=> String
748
895
  # resp.etag #=> String
749
896
  #
750
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateDistribution2019_03_26 AWS API Documentation
897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistribution2020_05_31 AWS API Documentation
751
898
  #
752
899
  # @overload create_distribution(params = {})
753
900
  # @param [Hash] params ({})
@@ -808,6 +955,8 @@ module Aws::CloudFront
808
955
  # origin_read_timeout: 1,
809
956
  # origin_keepalive_timeout: 1,
810
957
  # },
958
+ # connection_attempts: 1,
959
+ # connection_timeout: 1,
811
960
  # },
812
961
  # ],
813
962
  # },
@@ -835,31 +984,12 @@ module Aws::CloudFront
835
984
  # },
836
985
  # default_cache_behavior: { # required
837
986
  # target_origin_id: "string", # required
838
- # forwarded_values: { # required
839
- # query_string: false, # required
840
- # cookies: { # required
841
- # forward: "none", # required, accepts none, whitelist, all
842
- # whitelisted_names: {
843
- # quantity: 1, # required
844
- # items: ["string"],
845
- # },
846
- # },
847
- # headers: {
848
- # quantity: 1, # required
849
- # items: ["string"],
850
- # },
851
- # query_string_cache_keys: {
852
- # quantity: 1, # required
853
- # items: ["string"],
854
- # },
855
- # },
856
987
  # trusted_signers: { # required
857
988
  # enabled: false, # required
858
989
  # quantity: 1, # required
859
990
  # items: ["string"],
860
991
  # },
861
992
  # viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
862
- # min_ttl: 1, # required
863
993
  # allowed_methods: {
864
994
  # quantity: 1, # required
865
995
  # items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
@@ -869,8 +999,6 @@ module Aws::CloudFront
869
999
  # },
870
1000
  # },
871
1001
  # smooth_streaming: false,
872
- # default_ttl: 1,
873
- # max_ttl: 1,
874
1002
  # compress: false,
875
1003
  # lambda_function_associations: {
876
1004
  # quantity: 1, # required
@@ -883,6 +1011,30 @@ module Aws::CloudFront
883
1011
  # ],
884
1012
  # },
885
1013
  # field_level_encryption_id: "string",
1014
+ # realtime_log_config_arn: "string",
1015
+ # cache_policy_id: "string",
1016
+ # origin_request_policy_id: "string",
1017
+ # forwarded_values: {
1018
+ # query_string: false, # required
1019
+ # cookies: { # required
1020
+ # forward: "none", # required, accepts none, whitelist, all
1021
+ # whitelisted_names: {
1022
+ # quantity: 1, # required
1023
+ # items: ["string"],
1024
+ # },
1025
+ # },
1026
+ # headers: {
1027
+ # quantity: 1, # required
1028
+ # items: ["string"],
1029
+ # },
1030
+ # query_string_cache_keys: {
1031
+ # quantity: 1, # required
1032
+ # items: ["string"],
1033
+ # },
1034
+ # },
1035
+ # min_ttl: 1,
1036
+ # default_ttl: 1,
1037
+ # max_ttl: 1,
886
1038
  # },
887
1039
  # cache_behaviors: {
888
1040
  # quantity: 1, # required
@@ -890,31 +1042,12 @@ module Aws::CloudFront
890
1042
  # {
891
1043
  # path_pattern: "string", # required
892
1044
  # target_origin_id: "string", # required
893
- # forwarded_values: { # required
894
- # query_string: false, # required
895
- # cookies: { # required
896
- # forward: "none", # required, accepts none, whitelist, all
897
- # whitelisted_names: {
898
- # quantity: 1, # required
899
- # items: ["string"],
900
- # },
901
- # },
902
- # headers: {
903
- # quantity: 1, # required
904
- # items: ["string"],
905
- # },
906
- # query_string_cache_keys: {
907
- # quantity: 1, # required
908
- # items: ["string"],
909
- # },
910
- # },
911
1045
  # trusted_signers: { # required
912
1046
  # enabled: false, # required
913
1047
  # quantity: 1, # required
914
1048
  # items: ["string"],
915
1049
  # },
916
1050
  # viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
917
- # min_ttl: 1, # required
918
1051
  # allowed_methods: {
919
1052
  # quantity: 1, # required
920
1053
  # items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
@@ -924,8 +1057,6 @@ module Aws::CloudFront
924
1057
  # },
925
1058
  # },
926
1059
  # smooth_streaming: false,
927
- # default_ttl: 1,
928
- # max_ttl: 1,
929
1060
  # compress: false,
930
1061
  # lambda_function_associations: {
931
1062
  # quantity: 1, # required
@@ -938,16 +1069,40 @@ module Aws::CloudFront
938
1069
  # ],
939
1070
  # },
940
1071
  # field_level_encryption_id: "string",
941
- # },
942
- # ],
943
- # },
944
- # custom_error_responses: {
945
- # quantity: 1, # required
946
- # items: [
947
- # {
948
- # error_code: 1, # required
949
- # response_page_path: "string",
950
- # response_code: "string",
1072
+ # realtime_log_config_arn: "string",
1073
+ # cache_policy_id: "string",
1074
+ # origin_request_policy_id: "string",
1075
+ # forwarded_values: {
1076
+ # query_string: false, # required
1077
+ # cookies: { # required
1078
+ # forward: "none", # required, accepts none, whitelist, all
1079
+ # whitelisted_names: {
1080
+ # quantity: 1, # required
1081
+ # items: ["string"],
1082
+ # },
1083
+ # },
1084
+ # headers: {
1085
+ # quantity: 1, # required
1086
+ # items: ["string"],
1087
+ # },
1088
+ # query_string_cache_keys: {
1089
+ # quantity: 1, # required
1090
+ # items: ["string"],
1091
+ # },
1092
+ # },
1093
+ # min_ttl: 1,
1094
+ # default_ttl: 1,
1095
+ # max_ttl: 1,
1096
+ # },
1097
+ # ],
1098
+ # },
1099
+ # custom_error_responses: {
1100
+ # quantity: 1, # required
1101
+ # items: [
1102
+ # {
1103
+ # error_code: 1, # required
1104
+ # response_page_path: "string",
1105
+ # response_code: "string",
951
1106
  # error_caching_min_ttl: 1,
952
1107
  # },
953
1108
  # ],
@@ -965,8 +1120,8 @@ module Aws::CloudFront
965
1120
  # cloud_front_default_certificate: false,
966
1121
  # iam_certificate_id: "string",
967
1122
  # acm_certificate_arn: "string",
968
- # ssl_support_method: "sni-only", # accepts sni-only, vip
969
- # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018
1123
+ # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
1124
+ # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
970
1125
  # certificate: "string",
971
1126
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
972
1127
  # },
@@ -1030,6 +1185,8 @@ module Aws::CloudFront
1030
1185
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
1031
1186
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
1032
1187
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
1188
+ # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
1189
+ # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
1033
1190
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
1034
1191
  # resp.distribution.distribution_config.origin_groups.items #=> Array
1035
1192
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -1040,23 +1197,11 @@ module Aws::CloudFront
1040
1197
  # resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
1041
1198
  # resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
1042
1199
  # resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
1043
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
1044
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
1045
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
1046
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
1047
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
1048
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
1049
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
1050
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
1051
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
1052
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
1053
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
1054
1200
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
1055
1201
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
1056
1202
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
1057
1203
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
1058
1204
  # resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
1059
- # resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
1060
1205
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
1061
1206
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
1062
1207
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -1064,8 +1209,6 @@ module Aws::CloudFront
1064
1209
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
1065
1210
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
1066
1211
  # resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
1067
- # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
1068
- # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
1069
1212
  # resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
1070
1213
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
1071
1214
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
@@ -1073,27 +1216,32 @@ module Aws::CloudFront
1073
1216
  # 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"
1074
1217
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
1075
1218
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
1219
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
1220
+ # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
1221
+ # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
1222
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
1223
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
1224
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
1225
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
1226
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
1227
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
1228
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
1229
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
1230
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
1231
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
1232
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
1233
+ # resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
1234
+ # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
1235
+ # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
1076
1236
  # resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
1077
1237
  # resp.distribution.distribution_config.cache_behaviors.items #=> Array
1078
1238
  # resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
1079
1239
  # resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
1080
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
1081
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
1082
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
1083
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
1084
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
1085
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
1086
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
1087
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
1088
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
1089
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
1090
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
1091
1240
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
1092
1241
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
1093
1242
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
1094
1243
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
1095
1244
  # resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
1096
- # resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
1097
1245
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
1098
1246
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
1099
1247
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -1101,8 +1249,6 @@ module Aws::CloudFront
1101
1249
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
1102
1250
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
1103
1251
  # resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
1104
- # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
1105
- # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
1106
1252
  # resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
1107
1253
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
1108
1254
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
@@ -1110,6 +1256,23 @@ module Aws::CloudFront
1110
1256
  # 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"
1111
1257
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
1112
1258
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
1259
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
1260
+ # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
1261
+ # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
1262
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
1263
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
1264
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
1265
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
1266
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
1267
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
1268
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
1269
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
1270
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
1271
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
1272
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
1273
+ # resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
1274
+ # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
1275
+ # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
1113
1276
  # resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
1114
1277
  # resp.distribution.distribution_config.custom_error_responses.items #=> Array
1115
1278
  # resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -1126,8 +1289,8 @@ module Aws::CloudFront
1126
1289
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
1127
1290
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
1128
1291
  # resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
1129
- # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
1130
- # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
1292
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
1293
+ # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
1131
1294
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
1132
1295
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
1133
1296
  # resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
@@ -1143,7 +1306,7 @@ module Aws::CloudFront
1143
1306
  # resp.location #=> String
1144
1307
  # resp.etag #=> String
1145
1308
  #
1146
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateDistributionWithTags2019_03_26 AWS API Documentation
1309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistributionWithTags2020_05_31 AWS API Documentation
1147
1310
  #
1148
1311
  # @overload create_distribution_with_tags(params = {})
1149
1312
  # @param [Hash] params ({})
@@ -1217,7 +1380,7 @@ module Aws::CloudFront
1217
1380
  # resp.location #=> String
1218
1381
  # resp.etag #=> String
1219
1382
  #
1220
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateFieldLevelEncryptionConfig2019_03_26 AWS API Documentation
1383
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
1221
1384
  #
1222
1385
  # @overload create_field_level_encryption_config(params = {})
1223
1386
  # @param [Hash] params ({})
@@ -1277,7 +1440,7 @@ module Aws::CloudFront
1277
1440
  # resp.location #=> String
1278
1441
  # resp.etag #=> String
1279
1442
  #
1280
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateFieldLevelEncryptionProfile2019_03_26 AWS API Documentation
1443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
1281
1444
  #
1282
1445
  # @overload create_field_level_encryption_profile(params = {})
1283
1446
  # @param [Hash] params ({})
@@ -1323,7 +1486,7 @@ module Aws::CloudFront
1323
1486
  # resp.invalidation.invalidation_batch.paths.items[0] #=> String
1324
1487
  # resp.invalidation.invalidation_batch.caller_reference #=> String
1325
1488
  #
1326
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateInvalidation2019_03_26 AWS API Documentation
1489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateInvalidation2020_05_31 AWS API Documentation
1327
1490
  #
1328
1491
  # @overload create_invalidation(params = {})
1329
1492
  # @param [Hash] params ({})
@@ -1332,6 +1495,151 @@ module Aws::CloudFront
1332
1495
  req.send_request(options)
1333
1496
  end
1334
1497
 
1498
+ # Enables additional CloudWatch metrics for the specified CloudFront
1499
+ # distribution. The additional metrics incur an additional cost.
1500
+ #
1501
+ # For more information, see [Viewing additional CloudFront distribution
1502
+ # metrics][1] in the *Amazon CloudFront Developer Guide*.
1503
+ #
1504
+ #
1505
+ #
1506
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional
1507
+ #
1508
+ # @option params [required, String] :distribution_id
1509
+ # The ID of the distribution that you are enabling metrics for.
1510
+ #
1511
+ # @option params [required, Types::MonitoringSubscription] :monitoring_subscription
1512
+ # A monitoring subscription. This structure contains information about
1513
+ # whether additional CloudWatch metrics are enabled for a given
1514
+ # CloudFront distribution.
1515
+ #
1516
+ # @return [Types::CreateMonitoringSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1517
+ #
1518
+ # * {Types::CreateMonitoringSubscriptionResult#monitoring_subscription #monitoring_subscription} => Types::MonitoringSubscription
1519
+ #
1520
+ # @example Request syntax with placeholder values
1521
+ #
1522
+ # resp = client.create_monitoring_subscription({
1523
+ # distribution_id: "string", # required
1524
+ # monitoring_subscription: { # required
1525
+ # realtime_metrics_subscription_config: {
1526
+ # realtime_metrics_subscription_status: "Enabled", # required, accepts Enabled, Disabled
1527
+ # },
1528
+ # },
1529
+ # })
1530
+ #
1531
+ # @example Response structure
1532
+ #
1533
+ # resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
1534
+ #
1535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateMonitoringSubscription2020_05_31 AWS API Documentation
1536
+ #
1537
+ # @overload create_monitoring_subscription(params = {})
1538
+ # @param [Hash] params ({})
1539
+ def create_monitoring_subscription(params = {}, options = {})
1540
+ req = build_request(:create_monitoring_subscription, params)
1541
+ req.send_request(options)
1542
+ end
1543
+
1544
+ # Creates an origin request policy.
1545
+ #
1546
+ # After you create an origin request policy, you can attach it to one or
1547
+ # more cache behaviors. When it’s attached to a cache behavior, the
1548
+ # origin request policy determines the values that CloudFront includes
1549
+ # in requests that it sends to the origin. Each request that CloudFront
1550
+ # sends to the origin includes the following:
1551
+ #
1552
+ # * The request body and the URL path (without the domain name) from the
1553
+ # viewer request.
1554
+ #
1555
+ # * The headers that CloudFront automatically includes in every origin
1556
+ # request, including `Host`, `User-Agent`, and `X-Amz-Cf-Id`.
1557
+ #
1558
+ # * All HTTP headers, cookies, and URL query strings that are specified
1559
+ # in the cache policy or the origin request policy. These can include
1560
+ # items from the viewer request and, in the case of headers,
1561
+ # additional ones that are added by CloudFront.
1562
+ #
1563
+ # CloudFront sends a request when it can’t find a valid object in its
1564
+ # cache that matches the request. If you want to send values to the
1565
+ # origin and also include them in the cache key, use `CachePolicy`.
1566
+ #
1567
+ # For more information about origin request policies, see [Controlling
1568
+ # origin requests][1] in the *Amazon CloudFront Developer Guide*.
1569
+ #
1570
+ #
1571
+ #
1572
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html
1573
+ #
1574
+ # @option params [required, Types::OriginRequestPolicyConfig] :origin_request_policy_config
1575
+ # An origin request policy configuration.
1576
+ #
1577
+ # @return [Types::CreateOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1578
+ #
1579
+ # * {Types::CreateOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
1580
+ # * {Types::CreateOriginRequestPolicyResult#location #location} => String
1581
+ # * {Types::CreateOriginRequestPolicyResult#etag #etag} => String
1582
+ #
1583
+ # @example Request syntax with placeholder values
1584
+ #
1585
+ # resp = client.create_origin_request_policy({
1586
+ # origin_request_policy_config: { # required
1587
+ # comment: "string",
1588
+ # name: "string", # required
1589
+ # headers_config: { # required
1590
+ # header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront
1591
+ # headers: {
1592
+ # quantity: 1, # required
1593
+ # items: ["string"],
1594
+ # },
1595
+ # },
1596
+ # cookies_config: { # required
1597
+ # cookie_behavior: "none", # required, accepts none, whitelist, all
1598
+ # cookies: {
1599
+ # quantity: 1, # required
1600
+ # items: ["string"],
1601
+ # },
1602
+ # },
1603
+ # query_strings_config: { # required
1604
+ # query_string_behavior: "none", # required, accepts none, whitelist, all
1605
+ # query_strings: {
1606
+ # quantity: 1, # required
1607
+ # items: ["string"],
1608
+ # },
1609
+ # },
1610
+ # },
1611
+ # })
1612
+ #
1613
+ # @example Response structure
1614
+ #
1615
+ # resp.origin_request_policy.id #=> String
1616
+ # resp.origin_request_policy.last_modified_time #=> Time
1617
+ # resp.origin_request_policy.origin_request_policy_config.comment #=> String
1618
+ # resp.origin_request_policy.origin_request_policy_config.name #=> String
1619
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
1620
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
1621
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
1622
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
1623
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
1624
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
1625
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
1626
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
1627
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
1628
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
1629
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
1630
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
1631
+ # resp.location #=> String
1632
+ # resp.etag #=> String
1633
+ #
1634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateOriginRequestPolicy2020_05_31 AWS API Documentation
1635
+ #
1636
+ # @overload create_origin_request_policy(params = {})
1637
+ # @param [Hash] params ({})
1638
+ def create_origin_request_policy(params = {}, options = {})
1639
+ req = build_request(:create_origin_request_policy, params)
1640
+ req.send_request(options)
1641
+ end
1642
+
1335
1643
  # Add a new public key to CloudFront to use, for example, for
1336
1644
  # field-level encryption. You can add a maximum of 10 public keys with
1337
1645
  # one AWS account.
@@ -1367,7 +1675,7 @@ module Aws::CloudFront
1367
1675
  # resp.location #=> String
1368
1676
  # resp.etag #=> String
1369
1677
  #
1370
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreatePublicKey2019_03_26 AWS API Documentation
1678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreatePublicKey2020_05_31 AWS API Documentation
1371
1679
  #
1372
1680
  # @overload create_public_key(params = {})
1373
1681
  # @param [Hash] params ({})
@@ -1376,6 +1684,84 @@ module Aws::CloudFront
1376
1684
  req.send_request(options)
1377
1685
  end
1378
1686
 
1687
+ # Creates a real-time log configuration.
1688
+ #
1689
+ # After you create a real-time log configuration, you can attach it to
1690
+ # one or more cache behaviors to send real-time log data to the
1691
+ # specified Amazon Kinesis data stream.
1692
+ #
1693
+ # For more information about real-time log configurations, see
1694
+ # [Real-time logs][1] in the *Amazon CloudFront Developer Guide*.
1695
+ #
1696
+ #
1697
+ #
1698
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html
1699
+ #
1700
+ # @option params [required, Array<Types::EndPoint>] :end_points
1701
+ # Contains information about the Amazon Kinesis data stream where you
1702
+ # are sending real-time log data.
1703
+ #
1704
+ # @option params [required, Array<String>] :fields
1705
+ # A list of fields to include in each real-time log record.
1706
+ #
1707
+ # For more information about fields, see [Real-time log configuration
1708
+ # fields][1] in the *Amazon CloudFront Developer Guide*.
1709
+ #
1710
+ #
1711
+ #
1712
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
1713
+ #
1714
+ # @option params [required, String] :name
1715
+ # A unique name to identify this real-time log configuration.
1716
+ #
1717
+ # @option params [required, Integer] :sampling_rate
1718
+ # The sampling rate for this real-time log configuration. The sampling
1719
+ # rate determines the percentage of viewer requests that are represented
1720
+ # in the real-time log data. You must provide an integer between 1 and
1721
+ # 100, inclusive.
1722
+ #
1723
+ # @return [Types::CreateRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1724
+ #
1725
+ # * {Types::CreateRealtimeLogConfigResult#realtime_log_config #realtime_log_config} => Types::RealtimeLogConfig
1726
+ #
1727
+ # @example Request syntax with placeholder values
1728
+ #
1729
+ # resp = client.create_realtime_log_config({
1730
+ # end_points: [ # required
1731
+ # {
1732
+ # stream_type: "string", # required
1733
+ # kinesis_stream_config: {
1734
+ # role_arn: "string", # required
1735
+ # stream_arn: "string", # required
1736
+ # },
1737
+ # },
1738
+ # ],
1739
+ # fields: ["string"], # required
1740
+ # name: "string", # required
1741
+ # sampling_rate: 1, # required
1742
+ # })
1743
+ #
1744
+ # @example Response structure
1745
+ #
1746
+ # resp.realtime_log_config.arn #=> String
1747
+ # resp.realtime_log_config.name #=> String
1748
+ # resp.realtime_log_config.sampling_rate #=> Integer
1749
+ # resp.realtime_log_config.end_points #=> Array
1750
+ # resp.realtime_log_config.end_points[0].stream_type #=> String
1751
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.role_arn #=> String
1752
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.stream_arn #=> String
1753
+ # resp.realtime_log_config.fields #=> Array
1754
+ # resp.realtime_log_config.fields[0] #=> String
1755
+ #
1756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfig2020_05_31 AWS API Documentation
1757
+ #
1758
+ # @overload create_realtime_log_config(params = {})
1759
+ # @param [Hash] params ({})
1760
+ def create_realtime_log_config(params = {}, options = {})
1761
+ req = build_request(:create_realtime_log_config, params)
1762
+ req.send_request(options)
1763
+ end
1764
+
1379
1765
  # Creates a new RTMP distribution. An RTMP distribution is similar to a
1380
1766
  # web distribution, but an RTMP distribution streams media files using
1381
1767
  # the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files
@@ -1482,7 +1868,7 @@ module Aws::CloudFront
1482
1868
  # resp.location #=> String
1483
1869
  # resp.etag #=> String
1484
1870
  #
1485
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateStreamingDistribution2019_03_26 AWS API Documentation
1871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistribution2020_05_31 AWS API Documentation
1486
1872
  #
1487
1873
  # @overload create_streaming_distribution(params = {})
1488
1874
  # @param [Hash] params ({})
@@ -1574,7 +1960,7 @@ module Aws::CloudFront
1574
1960
  # resp.location #=> String
1575
1961
  # resp.etag #=> String
1576
1962
  #
1577
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/CreateStreamingDistributionWithTags2019_03_26 AWS API Documentation
1963
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistributionWithTags2020_05_31 AWS API Documentation
1578
1964
  #
1579
1965
  # @overload create_streaming_distribution_with_tags(params = {})
1580
1966
  # @param [Hash] params ({})
@@ -1583,6 +1969,43 @@ module Aws::CloudFront
1583
1969
  req.send_request(options)
1584
1970
  end
1585
1971
 
1972
+ # Deletes a cache policy.
1973
+ #
1974
+ # You cannot delete a cache policy if it’s attached to a cache behavior.
1975
+ # First update your distributions to remove the cache policy from all
1976
+ # cache behaviors, then delete the cache policy.
1977
+ #
1978
+ # To delete a cache policy, you must provide the policy’s identifier and
1979
+ # version. To get these values, you can use `ListCachePolicies` or
1980
+ # `GetCachePolicy`.
1981
+ #
1982
+ # @option params [required, String] :id
1983
+ # The unique identifier for the cache policy that you are deleting. To
1984
+ # get the identifier, you can use `ListCachePolicies`.
1985
+ #
1986
+ # @option params [String] :if_match
1987
+ # The version of the cache policy that you are deleting. The version is
1988
+ # the cache policy’s `ETag` value, which you can get using
1989
+ # `ListCachePolicies`, `GetCachePolicy`, or `GetCachePolicyConfig`.
1990
+ #
1991
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1992
+ #
1993
+ # @example Request syntax with placeholder values
1994
+ #
1995
+ # resp = client.delete_cache_policy({
1996
+ # id: "string", # required
1997
+ # if_match: "string",
1998
+ # })
1999
+ #
2000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCachePolicy2020_05_31 AWS API Documentation
2001
+ #
2002
+ # @overload delete_cache_policy(params = {})
2003
+ # @param [Hash] params ({})
2004
+ def delete_cache_policy(params = {}, options = {})
2005
+ req = build_request(:delete_cache_policy, params)
2006
+ req.send_request(options)
2007
+ end
2008
+
1586
2009
  # Delete an origin access identity.
1587
2010
  #
1588
2011
  # @option params [required, String] :id
@@ -1601,7 +2024,7 @@ module Aws::CloudFront
1601
2024
  # if_match: "string",
1602
2025
  # })
1603
2026
  #
1604
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteCloudFrontOriginAccessIdentity2019_03_26 AWS API Documentation
2027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
1605
2028
  #
1606
2029
  # @overload delete_cloud_front_origin_access_identity(params = {})
1607
2030
  # @param [Hash] params ({})
@@ -1628,7 +2051,7 @@ module Aws::CloudFront
1628
2051
  # if_match: "string",
1629
2052
  # })
1630
2053
  #
1631
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteDistribution2019_03_26 AWS API Documentation
2054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteDistribution2020_05_31 AWS API Documentation
1632
2055
  #
1633
2056
  # @overload delete_distribution(params = {})
1634
2057
  # @param [Hash] params ({})
@@ -1655,7 +2078,7 @@ module Aws::CloudFront
1655
2078
  # if_match: "string",
1656
2079
  # })
1657
2080
  #
1658
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteFieldLevelEncryptionConfig2019_03_26 AWS API Documentation
2081
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
1659
2082
  #
1660
2083
  # @overload delete_field_level_encryption_config(params = {})
1661
2084
  # @param [Hash] params ({})
@@ -1682,7 +2105,7 @@ module Aws::CloudFront
1682
2105
  # if_match: "string",
1683
2106
  # })
1684
2107
  #
1685
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteFieldLevelEncryptionProfile2019_03_26 AWS API Documentation
2108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
1686
2109
  #
1687
2110
  # @overload delete_field_level_encryption_profile(params = {})
1688
2111
  # @param [Hash] params ({})
@@ -1691,6 +2114,69 @@ module Aws::CloudFront
1691
2114
  req.send_request(options)
1692
2115
  end
1693
2116
 
2117
+ # Disables additional CloudWatch metrics for the specified CloudFront
2118
+ # distribution.
2119
+ #
2120
+ # @option params [required, String] :distribution_id
2121
+ # The ID of the distribution that you are disabling metrics for.
2122
+ #
2123
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2124
+ #
2125
+ # @example Request syntax with placeholder values
2126
+ #
2127
+ # resp = client.delete_monitoring_subscription({
2128
+ # distribution_id: "string", # required
2129
+ # })
2130
+ #
2131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteMonitoringSubscription2020_05_31 AWS API Documentation
2132
+ #
2133
+ # @overload delete_monitoring_subscription(params = {})
2134
+ # @param [Hash] params ({})
2135
+ def delete_monitoring_subscription(params = {}, options = {})
2136
+ req = build_request(:delete_monitoring_subscription, params)
2137
+ req.send_request(options)
2138
+ end
2139
+
2140
+ # Deletes an origin request policy.
2141
+ #
2142
+ # You cannot delete an origin request policy if it’s attached to any
2143
+ # cache behaviors. First update your distributions to remove the origin
2144
+ # request policy from all cache behaviors, then delete the origin
2145
+ # request policy.
2146
+ #
2147
+ # To delete an origin request policy, you must provide the policy’s
2148
+ # identifier and version. To get the identifier, you can use
2149
+ # `ListOriginRequestPolicies` or `GetOriginRequestPolicy`.
2150
+ #
2151
+ # @option params [required, String] :id
2152
+ # The unique identifier for the origin request policy that you are
2153
+ # deleting. To get the identifier, you can use
2154
+ # `ListOriginRequestPolicies`.
2155
+ #
2156
+ # @option params [String] :if_match
2157
+ # The version of the origin request policy that you are deleting. The
2158
+ # version is the origin request policy’s `ETag` value, which you can get
2159
+ # using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
2160
+ # `GetOriginRequestPolicyConfig`.
2161
+ #
2162
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2163
+ #
2164
+ # @example Request syntax with placeholder values
2165
+ #
2166
+ # resp = client.delete_origin_request_policy({
2167
+ # id: "string", # required
2168
+ # if_match: "string",
2169
+ # })
2170
+ #
2171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteOriginRequestPolicy2020_05_31 AWS API Documentation
2172
+ #
2173
+ # @overload delete_origin_request_policy(params = {})
2174
+ # @param [Hash] params ({})
2175
+ def delete_origin_request_policy(params = {}, options = {})
2176
+ req = build_request(:delete_origin_request_policy, params)
2177
+ req.send_request(options)
2178
+ end
2179
+
1694
2180
  # Remove a public key you previously added to CloudFront.
1695
2181
  #
1696
2182
  # @option params [required, String] :id
@@ -1709,7 +2195,7 @@ module Aws::CloudFront
1709
2195
  # if_match: "string",
1710
2196
  # })
1711
2197
  #
1712
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeletePublicKey2019_03_26 AWS API Documentation
2198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeletePublicKey2020_05_31 AWS API Documentation
1713
2199
  #
1714
2200
  # @overload delete_public_key(params = {})
1715
2201
  # @param [Hash] params ({})
@@ -1718,6 +2204,43 @@ module Aws::CloudFront
1718
2204
  req.send_request(options)
1719
2205
  end
1720
2206
 
2207
+ # Deletes a real-time log configuration.
2208
+ #
2209
+ # You cannot delete a real-time log configuration if it’s attached to a
2210
+ # cache behavior. First update your distributions to remove the
2211
+ # real-time log configuration from all cache behaviors, then delete the
2212
+ # real-time log configuration.
2213
+ #
2214
+ # To delete a real-time log configuration, you can provide the
2215
+ # configuration’s name or its Amazon Resource Name (ARN). You must
2216
+ # provide at least one. If you provide both, CloudFront uses the name to
2217
+ # identify the real-time log configuration to delete.
2218
+ #
2219
+ # @option params [String] :name
2220
+ # The name of the real-time log configuration to delete.
2221
+ #
2222
+ # @option params [String] :arn
2223
+ # The Amazon Resource Name (ARN) of the real-time log configuration to
2224
+ # delete.
2225
+ #
2226
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2227
+ #
2228
+ # @example Request syntax with placeholder values
2229
+ #
2230
+ # resp = client.delete_realtime_log_config({
2231
+ # name: "string",
2232
+ # arn: "string",
2233
+ # })
2234
+ #
2235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteRealtimeLogConfig2020_05_31 AWS API Documentation
2236
+ #
2237
+ # @overload delete_realtime_log_config(params = {})
2238
+ # @param [Hash] params ({})
2239
+ def delete_realtime_log_config(params = {}, options = {})
2240
+ req = build_request(:delete_realtime_log_config, params)
2241
+ req.send_request(options)
2242
+ end
2243
+
1721
2244
  # Delete a streaming distribution. To delete an RTMP distribution using
1722
2245
  # the CloudFront API, perform the following steps.
1723
2246
  #
@@ -1779,7 +2302,7 @@ module Aws::CloudFront
1779
2302
  # if_match: "string",
1780
2303
  # })
1781
2304
  #
1782
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/DeleteStreamingDistribution2019_03_26 AWS API Documentation
2305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteStreamingDistribution2020_05_31 AWS API Documentation
1783
2306
  #
1784
2307
  # @overload delete_streaming_distribution(params = {})
1785
2308
  # @param [Hash] params ({})
@@ -1788,10 +2311,133 @@ module Aws::CloudFront
1788
2311
  req.send_request(options)
1789
2312
  end
1790
2313
 
1791
- # Get the information about an origin access identity.
2314
+ # Gets a cache policy, including the following metadata:
1792
2315
  #
1793
- # @option params [required, String] :id
1794
- # The identity's ID.
2316
+ # * The policy’s identifier.
2317
+ #
2318
+ # * The date and time when the policy was last modified.
2319
+ #
2320
+ # To get a cache policy, you must provide the policy’s identifier. If
2321
+ # the cache policy is attached to a distribution’s cache behavior, you
2322
+ # can get the policy’s identifier using `ListDistributions` or
2323
+ # `GetDistribution`. If the cache policy is not attached to a cache
2324
+ # behavior, you can get the identifier using `ListCachePolicies`.
2325
+ #
2326
+ # @option params [required, String] :id
2327
+ # The unique identifier for the cache policy. If the cache policy is
2328
+ # attached to a distribution’s cache behavior, you can get the policy’s
2329
+ # identifier using `ListDistributions` or `GetDistribution`. If the
2330
+ # cache policy is not attached to a cache behavior, you can get the
2331
+ # identifier using `ListCachePolicies`.
2332
+ #
2333
+ # @return [Types::GetCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2334
+ #
2335
+ # * {Types::GetCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
2336
+ # * {Types::GetCachePolicyResult#etag #etag} => String
2337
+ #
2338
+ # @example Request syntax with placeholder values
2339
+ #
2340
+ # resp = client.get_cache_policy({
2341
+ # id: "string", # required
2342
+ # })
2343
+ #
2344
+ # @example Response structure
2345
+ #
2346
+ # resp.cache_policy.id #=> String
2347
+ # resp.cache_policy.last_modified_time #=> Time
2348
+ # resp.cache_policy.cache_policy_config.comment #=> String
2349
+ # resp.cache_policy.cache_policy_config.name #=> String
2350
+ # resp.cache_policy.cache_policy_config.default_ttl #=> Integer
2351
+ # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
2352
+ # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
2353
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
2354
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
2355
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
2356
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
2357
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
2358
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
2359
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
2360
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
2361
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
2362
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
2363
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
2364
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
2365
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
2366
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
2367
+ # resp.etag #=> String
2368
+ #
2369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicy2020_05_31 AWS API Documentation
2370
+ #
2371
+ # @overload get_cache_policy(params = {})
2372
+ # @param [Hash] params ({})
2373
+ def get_cache_policy(params = {}, options = {})
2374
+ req = build_request(:get_cache_policy, params)
2375
+ req.send_request(options)
2376
+ end
2377
+
2378
+ # Gets a cache policy configuration.
2379
+ #
2380
+ # To get a cache policy configuration, you must provide the policy’s
2381
+ # identifier. If the cache policy is attached to a distribution’s cache
2382
+ # behavior, you can get the policy’s identifier using
2383
+ # `ListDistributions` or `GetDistribution`. If the cache policy is not
2384
+ # attached to a cache behavior, you can get the identifier using
2385
+ # `ListCachePolicies`.
2386
+ #
2387
+ # @option params [required, String] :id
2388
+ # The unique identifier for the cache policy. If the cache policy is
2389
+ # attached to a distribution’s cache behavior, you can get the policy’s
2390
+ # identifier using `ListDistributions` or `GetDistribution`. If the
2391
+ # cache policy is not attached to a cache behavior, you can get the
2392
+ # identifier using `ListCachePolicies`.
2393
+ #
2394
+ # @return [Types::GetCachePolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2395
+ #
2396
+ # * {Types::GetCachePolicyConfigResult#cache_policy_config #cache_policy_config} => Types::CachePolicyConfig
2397
+ # * {Types::GetCachePolicyConfigResult#etag #etag} => String
2398
+ #
2399
+ # @example Request syntax with placeholder values
2400
+ #
2401
+ # resp = client.get_cache_policy_config({
2402
+ # id: "string", # required
2403
+ # })
2404
+ #
2405
+ # @example Response structure
2406
+ #
2407
+ # resp.cache_policy_config.comment #=> String
2408
+ # resp.cache_policy_config.name #=> String
2409
+ # resp.cache_policy_config.default_ttl #=> Integer
2410
+ # resp.cache_policy_config.max_ttl #=> Integer
2411
+ # resp.cache_policy_config.min_ttl #=> Integer
2412
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
2413
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
2414
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
2415
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
2416
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
2417
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
2418
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
2419
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
2420
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
2421
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
2422
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
2423
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
2424
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
2425
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
2426
+ # resp.etag #=> String
2427
+ #
2428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicyConfig2020_05_31 AWS API Documentation
2429
+ #
2430
+ # @overload get_cache_policy_config(params = {})
2431
+ # @param [Hash] params ({})
2432
+ def get_cache_policy_config(params = {}, options = {})
2433
+ req = build_request(:get_cache_policy_config, params)
2434
+ req.send_request(options)
2435
+ end
2436
+
2437
+ # Get the information about an origin access identity.
2438
+ #
2439
+ # @option params [required, String] :id
2440
+ # The identity's ID.
1795
2441
  #
1796
2442
  # @return [Types::GetCloudFrontOriginAccessIdentityResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1797
2443
  #
@@ -1812,7 +2458,7 @@ module Aws::CloudFront
1812
2458
  # resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
1813
2459
  # resp.etag #=> String
1814
2460
  #
1815
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetCloudFrontOriginAccessIdentity2019_03_26 AWS API Documentation
2461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
1816
2462
  #
1817
2463
  # @overload get_cloud_front_origin_access_identity(params = {})
1818
2464
  # @param [Hash] params ({})
@@ -1843,7 +2489,7 @@ module Aws::CloudFront
1843
2489
  # resp.cloud_front_origin_access_identity_config.comment #=> String
1844
2490
  # resp.etag #=> String
1845
2491
  #
1846
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetCloudFrontOriginAccessIdentityConfig2019_03_26 AWS API Documentation
2492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig2020_05_31 AWS API Documentation
1847
2493
  #
1848
2494
  # @overload get_cloud_front_origin_access_identity_config(params = {})
1849
2495
  # @param [Hash] params ({})
@@ -1907,6 +2553,8 @@ module Aws::CloudFront
1907
2553
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
1908
2554
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
1909
2555
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
2556
+ # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
2557
+ # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
1910
2558
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
1911
2559
  # resp.distribution.distribution_config.origin_groups.items #=> Array
1912
2560
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -1917,23 +2565,11 @@ module Aws::CloudFront
1917
2565
  # resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
1918
2566
  # resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
1919
2567
  # resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
1920
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
1921
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
1922
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
1923
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
1924
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
1925
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
1926
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
1927
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
1928
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
1929
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
1930
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
1931
2568
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
1932
2569
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
1933
2570
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
1934
2571
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
1935
2572
  # resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
1936
- # resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
1937
2573
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
1938
2574
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
1939
2575
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -1941,8 +2577,6 @@ module Aws::CloudFront
1941
2577
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
1942
2578
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
1943
2579
  # resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
1944
- # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
1945
- # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
1946
2580
  # resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
1947
2581
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
1948
2582
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
@@ -1950,27 +2584,32 @@ module Aws::CloudFront
1950
2584
  # 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"
1951
2585
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
1952
2586
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
2587
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
2588
+ # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
2589
+ # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
2590
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
2591
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2592
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
2593
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
2594
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
2595
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
2596
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
2597
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
2598
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
2599
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
2600
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
2601
+ # resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
2602
+ # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
2603
+ # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
1953
2604
  # resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
1954
2605
  # resp.distribution.distribution_config.cache_behaviors.items #=> Array
1955
2606
  # resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
1956
2607
  # resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
1957
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
1958
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
1959
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
1960
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
1961
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
1962
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
1963
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
1964
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
1965
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
1966
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
1967
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
1968
2608
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
1969
2609
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
1970
2610
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
1971
2611
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
1972
2612
  # resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
1973
- # resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
1974
2613
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
1975
2614
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
1976
2615
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -1978,8 +2617,6 @@ module Aws::CloudFront
1978
2617
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
1979
2618
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
1980
2619
  # resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
1981
- # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
1982
- # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
1983
2620
  # resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
1984
2621
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
1985
2622
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
@@ -1987,6 +2624,23 @@ module Aws::CloudFront
1987
2624
  # 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"
1988
2625
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
1989
2626
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
2627
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
2628
+ # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
2629
+ # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
2630
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
2631
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2632
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
2633
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
2634
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
2635
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
2636
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
2637
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
2638
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
2639
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
2640
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
2641
+ # resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
2642
+ # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
2643
+ # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
1990
2644
  # resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
1991
2645
  # resp.distribution.distribution_config.custom_error_responses.items #=> Array
1992
2646
  # resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -2003,8 +2657,8 @@ module Aws::CloudFront
2003
2657
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
2004
2658
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
2005
2659
  # resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
2006
- # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
2007
- # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
2660
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
2661
+ # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
2008
2662
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
2009
2663
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
2010
2664
  # resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
@@ -2019,7 +2673,12 @@ module Aws::CloudFront
2019
2673
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
2020
2674
  # resp.etag #=> String
2021
2675
  #
2022
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetDistribution2019_03_26 AWS API Documentation
2676
+ #
2677
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2678
+ #
2679
+ # * distribution_deployed
2680
+ #
2681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistribution2020_05_31 AWS API Documentation
2023
2682
  #
2024
2683
  # @overload get_distribution(params = {})
2025
2684
  # @param [Hash] params ({})
@@ -2070,6 +2729,8 @@ module Aws::CloudFront
2070
2729
  # resp.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
2071
2730
  # resp.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
2072
2731
  # resp.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
2732
+ # resp.distribution_config.origins.items[0].connection_attempts #=> Integer
2733
+ # resp.distribution_config.origins.items[0].connection_timeout #=> Integer
2073
2734
  # resp.distribution_config.origin_groups.quantity #=> Integer
2074
2735
  # resp.distribution_config.origin_groups.items #=> Array
2075
2736
  # resp.distribution_config.origin_groups.items[0].id #=> String
@@ -2080,23 +2741,11 @@ module Aws::CloudFront
2080
2741
  # resp.distribution_config.origin_groups.items[0].members.items #=> Array
2081
2742
  # resp.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
2082
2743
  # resp.distribution_config.default_cache_behavior.target_origin_id #=> String
2083
- # resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
2084
- # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2085
- # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
2086
- # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
2087
- # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
2088
- # resp.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
2089
- # resp.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
2090
- # resp.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
2091
- # resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
2092
- # resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
2093
- # resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
2094
2744
  # resp.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
2095
2745
  # resp.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
2096
2746
  # resp.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
2097
2747
  # resp.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
2098
2748
  # resp.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
2099
- # resp.distribution_config.default_cache_behavior.min_ttl #=> Integer
2100
2749
  # resp.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
2101
2750
  # resp.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
2102
2751
  # resp.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -2104,8 +2753,6 @@ module Aws::CloudFront
2104
2753
  # resp.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
2105
2754
  # resp.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
2106
2755
  # resp.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
2107
- # resp.distribution_config.default_cache_behavior.default_ttl #=> Integer
2108
- # resp.distribution_config.default_cache_behavior.max_ttl #=> Integer
2109
2756
  # resp.distribution_config.default_cache_behavior.compress #=> Boolean
2110
2757
  # resp.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
2111
2758
  # resp.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
@@ -2113,27 +2760,32 @@ module Aws::CloudFront
2113
2760
  # resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
2114
2761
  # resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
2115
2762
  # resp.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
2763
+ # resp.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
2764
+ # resp.distribution_config.default_cache_behavior.cache_policy_id #=> String
2765
+ # resp.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
2766
+ # resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
2767
+ # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2768
+ # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
2769
+ # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
2770
+ # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
2771
+ # resp.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
2772
+ # resp.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
2773
+ # resp.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
2774
+ # resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
2775
+ # resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
2776
+ # resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
2777
+ # resp.distribution_config.default_cache_behavior.min_ttl #=> Integer
2778
+ # resp.distribution_config.default_cache_behavior.default_ttl #=> Integer
2779
+ # resp.distribution_config.default_cache_behavior.max_ttl #=> Integer
2116
2780
  # resp.distribution_config.cache_behaviors.quantity #=> Integer
2117
2781
  # resp.distribution_config.cache_behaviors.items #=> Array
2118
2782
  # resp.distribution_config.cache_behaviors.items[0].path_pattern #=> String
2119
2783
  # resp.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
2120
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
2121
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2122
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
2123
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
2124
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
2125
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
2126
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
2127
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
2128
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
2129
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
2130
- # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
2131
2784
  # resp.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
2132
2785
  # resp.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
2133
2786
  # resp.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
2134
2787
  # resp.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
2135
2788
  # resp.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
2136
- # resp.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
2137
2789
  # resp.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
2138
2790
  # resp.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
2139
2791
  # resp.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -2141,8 +2793,6 @@ module Aws::CloudFront
2141
2793
  # resp.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
2142
2794
  # resp.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
2143
2795
  # resp.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
2144
- # resp.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
2145
- # resp.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
2146
2796
  # resp.distribution_config.cache_behaviors.items[0].compress #=> Boolean
2147
2797
  # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
2148
2798
  # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
@@ -2150,6 +2800,23 @@ module Aws::CloudFront
2150
2800
  # 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"
2151
2801
  # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
2152
2802
  # resp.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
2803
+ # resp.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
2804
+ # resp.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
2805
+ # resp.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
2806
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
2807
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2808
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
2809
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
2810
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
2811
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
2812
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
2813
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
2814
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
2815
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
2816
+ # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
2817
+ # resp.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
2818
+ # resp.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
2819
+ # resp.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
2153
2820
  # resp.distribution_config.custom_error_responses.quantity #=> Integer
2154
2821
  # resp.distribution_config.custom_error_responses.items #=> Array
2155
2822
  # resp.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -2166,8 +2833,8 @@ module Aws::CloudFront
2166
2833
  # resp.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
2167
2834
  # resp.distribution_config.viewer_certificate.iam_certificate_id #=> String
2168
2835
  # resp.distribution_config.viewer_certificate.acm_certificate_arn #=> String
2169
- # resp.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
2170
- # resp.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
2836
+ # resp.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
2837
+ # resp.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
2171
2838
  # resp.distribution_config.viewer_certificate.certificate #=> String
2172
2839
  # resp.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
2173
2840
  # resp.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
@@ -2179,7 +2846,7 @@ module Aws::CloudFront
2179
2846
  # resp.distribution_config.is_ipv6_enabled #=> Boolean
2180
2847
  # resp.etag #=> String
2181
2848
  #
2182
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetDistributionConfig2019_03_26 AWS API Documentation
2849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig2020_05_31 AWS API Documentation
2183
2850
  #
2184
2851
  # @overload get_distribution_config(params = {})
2185
2852
  # @param [Hash] params ({})
@@ -2224,7 +2891,7 @@ module Aws::CloudFront
2224
2891
  # resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
2225
2892
  # resp.etag #=> String
2226
2893
  #
2227
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetFieldLevelEncryption2019_03_26 AWS API Documentation
2894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryption2020_05_31 AWS API Documentation
2228
2895
  #
2229
2896
  # @overload get_field_level_encryption(params = {})
2230
2897
  # @param [Hash] params ({})
@@ -2267,7 +2934,7 @@ module Aws::CloudFront
2267
2934
  # resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
2268
2935
  # resp.etag #=> String
2269
2936
  #
2270
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetFieldLevelEncryptionConfig2019_03_26 AWS API Documentation
2937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
2271
2938
  #
2272
2939
  # @overload get_field_level_encryption_config(params = {})
2273
2940
  # @param [Hash] params ({})
@@ -2308,7 +2975,7 @@ module Aws::CloudFront
2308
2975
  # resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
2309
2976
  # resp.etag #=> String
2310
2977
  #
2311
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetFieldLevelEncryptionProfile2019_03_26 AWS API Documentation
2978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
2312
2979
  #
2313
2980
  # @overload get_field_level_encryption_profile(params = {})
2314
2981
  # @param [Hash] params ({})
@@ -2348,7 +3015,7 @@ module Aws::CloudFront
2348
3015
  # resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
2349
3016
  # resp.etag #=> String
2350
3017
  #
2351
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetFieldLevelEncryptionProfileConfig2019_03_26 AWS API Documentation
3018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig2020_05_31 AWS API Documentation
2352
3019
  #
2353
3020
  # @overload get_field_level_encryption_profile_config(params = {})
2354
3021
  # @param [Hash] params ({})
@@ -2387,7 +3054,12 @@ module Aws::CloudFront
2387
3054
  # resp.invalidation.invalidation_batch.paths.items[0] #=> String
2388
3055
  # resp.invalidation.invalidation_batch.caller_reference #=> String
2389
3056
  #
2390
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetInvalidation2019_03_26 AWS API Documentation
3057
+ #
3058
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
3059
+ #
3060
+ # * invalidation_completed
3061
+ #
3062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetInvalidation2020_05_31 AWS API Documentation
2391
3063
  #
2392
3064
  # @overload get_invalidation(params = {})
2393
3065
  # @param [Hash] params ({})
@@ -2396,6 +3068,152 @@ module Aws::CloudFront
2396
3068
  req.send_request(options)
2397
3069
  end
2398
3070
 
3071
+ # Gets information about whether additional CloudWatch metrics are
3072
+ # enabled for the specified CloudFront distribution.
3073
+ #
3074
+ # @option params [required, String] :distribution_id
3075
+ # The ID of the distribution that you are getting metrics information
3076
+ # for.
3077
+ #
3078
+ # @return [Types::GetMonitoringSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3079
+ #
3080
+ # * {Types::GetMonitoringSubscriptionResult#monitoring_subscription #monitoring_subscription} => Types::MonitoringSubscription
3081
+ #
3082
+ # @example Request syntax with placeholder values
3083
+ #
3084
+ # resp = client.get_monitoring_subscription({
3085
+ # distribution_id: "string", # required
3086
+ # })
3087
+ #
3088
+ # @example Response structure
3089
+ #
3090
+ # resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
3091
+ #
3092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetMonitoringSubscription2020_05_31 AWS API Documentation
3093
+ #
3094
+ # @overload get_monitoring_subscription(params = {})
3095
+ # @param [Hash] params ({})
3096
+ def get_monitoring_subscription(params = {}, options = {})
3097
+ req = build_request(:get_monitoring_subscription, params)
3098
+ req.send_request(options)
3099
+ end
3100
+
3101
+ # Gets an origin request policy, including the following metadata:
3102
+ #
3103
+ # * The policy’s identifier.
3104
+ #
3105
+ # * The date and time when the policy was last modified.
3106
+ #
3107
+ # To get an origin request policy, you must provide the policy’s
3108
+ # identifier. If the origin request policy is attached to a
3109
+ # distribution’s cache behavior, you can get the policy’s identifier
3110
+ # using `ListDistributions` or `GetDistribution`. If the origin request
3111
+ # policy is not attached to a cache behavior, you can get the identifier
3112
+ # using `ListOriginRequestPolicies`.
3113
+ #
3114
+ # @option params [required, String] :id
3115
+ # The unique identifier for the origin request policy. If the origin
3116
+ # request policy is attached to a distribution’s cache behavior, you can
3117
+ # get the policy’s identifier using `ListDistributions` or
3118
+ # `GetDistribution`. If the origin request policy is not attached to a
3119
+ # cache behavior, you can get the identifier using
3120
+ # `ListOriginRequestPolicies`.
3121
+ #
3122
+ # @return [Types::GetOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3123
+ #
3124
+ # * {Types::GetOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
3125
+ # * {Types::GetOriginRequestPolicyResult#etag #etag} => String
3126
+ #
3127
+ # @example Request syntax with placeholder values
3128
+ #
3129
+ # resp = client.get_origin_request_policy({
3130
+ # id: "string", # required
3131
+ # })
3132
+ #
3133
+ # @example Response structure
3134
+ #
3135
+ # resp.origin_request_policy.id #=> String
3136
+ # resp.origin_request_policy.last_modified_time #=> Time
3137
+ # resp.origin_request_policy.origin_request_policy_config.comment #=> String
3138
+ # resp.origin_request_policy.origin_request_policy_config.name #=> String
3139
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
3140
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
3141
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
3142
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
3143
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
3144
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
3145
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
3146
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
3147
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
3148
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
3149
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
3150
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
3151
+ # resp.etag #=> String
3152
+ #
3153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicy2020_05_31 AWS API Documentation
3154
+ #
3155
+ # @overload get_origin_request_policy(params = {})
3156
+ # @param [Hash] params ({})
3157
+ def get_origin_request_policy(params = {}, options = {})
3158
+ req = build_request(:get_origin_request_policy, params)
3159
+ req.send_request(options)
3160
+ end
3161
+
3162
+ # Gets an origin request policy configuration.
3163
+ #
3164
+ # To get an origin request policy configuration, you must provide the
3165
+ # policy’s identifier. If the origin request policy is attached to a
3166
+ # distribution’s cache behavior, you can get the policy’s identifier
3167
+ # using `ListDistributions` or `GetDistribution`. If the origin request
3168
+ # policy is not attached to a cache behavior, you can get the identifier
3169
+ # using `ListOriginRequestPolicies`.
3170
+ #
3171
+ # @option params [required, String] :id
3172
+ # The unique identifier for the origin request policy. If the origin
3173
+ # request policy is attached to a distribution’s cache behavior, you can
3174
+ # get the policy’s identifier using `ListDistributions` or
3175
+ # `GetDistribution`. If the origin request policy is not attached to a
3176
+ # cache behavior, you can get the identifier using
3177
+ # `ListOriginRequestPolicies`.
3178
+ #
3179
+ # @return [Types::GetOriginRequestPolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3180
+ #
3181
+ # * {Types::GetOriginRequestPolicyConfigResult#origin_request_policy_config #origin_request_policy_config} => Types::OriginRequestPolicyConfig
3182
+ # * {Types::GetOriginRequestPolicyConfigResult#etag #etag} => String
3183
+ #
3184
+ # @example Request syntax with placeholder values
3185
+ #
3186
+ # resp = client.get_origin_request_policy_config({
3187
+ # id: "string", # required
3188
+ # })
3189
+ #
3190
+ # @example Response structure
3191
+ #
3192
+ # resp.origin_request_policy_config.comment #=> String
3193
+ # resp.origin_request_policy_config.name #=> String
3194
+ # resp.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
3195
+ # resp.origin_request_policy_config.headers_config.headers.quantity #=> Integer
3196
+ # resp.origin_request_policy_config.headers_config.headers.items #=> Array
3197
+ # resp.origin_request_policy_config.headers_config.headers.items[0] #=> String
3198
+ # resp.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
3199
+ # resp.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
3200
+ # resp.origin_request_policy_config.cookies_config.cookies.items #=> Array
3201
+ # resp.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
3202
+ # resp.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
3203
+ # resp.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
3204
+ # resp.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
3205
+ # resp.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
3206
+ # resp.etag #=> String
3207
+ #
3208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicyConfig2020_05_31 AWS API Documentation
3209
+ #
3210
+ # @overload get_origin_request_policy_config(params = {})
3211
+ # @param [Hash] params ({})
3212
+ def get_origin_request_policy_config(params = {}, options = {})
3213
+ req = build_request(:get_origin_request_policy_config, params)
3214
+ req.send_request(options)
3215
+ end
3216
+
2399
3217
  # Get the public key information.
2400
3218
  #
2401
3219
  # @option params [required, String] :id
@@ -2422,7 +3240,7 @@ module Aws::CloudFront
2422
3240
  # resp.public_key.public_key_config.comment #=> String
2423
3241
  # resp.etag #=> String
2424
3242
  #
2425
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetPublicKey2019_03_26 AWS API Documentation
3243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKey2020_05_31 AWS API Documentation
2426
3244
  #
2427
3245
  # @overload get_public_key(params = {})
2428
3246
  # @param [Hash] params ({})
@@ -2455,7 +3273,7 @@ module Aws::CloudFront
2455
3273
  # resp.public_key_config.comment #=> String
2456
3274
  # resp.etag #=> String
2457
3275
  #
2458
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetPublicKeyConfig2019_03_26 AWS API Documentation
3276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKeyConfig2020_05_31 AWS API Documentation
2459
3277
  #
2460
3278
  # @overload get_public_key_config(params = {})
2461
3279
  # @param [Hash] params ({})
@@ -2464,6 +3282,52 @@ module Aws::CloudFront
2464
3282
  req.send_request(options)
2465
3283
  end
2466
3284
 
3285
+ # Gets a real-time log configuration.
3286
+ #
3287
+ # To get a real-time log configuration, you can provide the
3288
+ # configuration’s name or its Amazon Resource Name (ARN). You must
3289
+ # provide at least one. If you provide both, CloudFront uses the name to
3290
+ # identify the real-time log configuration to get.
3291
+ #
3292
+ # @option params [String] :name
3293
+ # The name of the real-time log configuration to get.
3294
+ #
3295
+ # @option params [String] :arn
3296
+ # The Amazon Resource Name (ARN) of the real-time log configuration to
3297
+ # get.
3298
+ #
3299
+ # @return [Types::GetRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3300
+ #
3301
+ # * {Types::GetRealtimeLogConfigResult#realtime_log_config #realtime_log_config} => Types::RealtimeLogConfig
3302
+ #
3303
+ # @example Request syntax with placeholder values
3304
+ #
3305
+ # resp = client.get_realtime_log_config({
3306
+ # name: "string",
3307
+ # arn: "string",
3308
+ # })
3309
+ #
3310
+ # @example Response structure
3311
+ #
3312
+ # resp.realtime_log_config.arn #=> String
3313
+ # resp.realtime_log_config.name #=> String
3314
+ # resp.realtime_log_config.sampling_rate #=> Integer
3315
+ # resp.realtime_log_config.end_points #=> Array
3316
+ # resp.realtime_log_config.end_points[0].stream_type #=> String
3317
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.role_arn #=> String
3318
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.stream_arn #=> String
3319
+ # resp.realtime_log_config.fields #=> Array
3320
+ # resp.realtime_log_config.fields[0] #=> String
3321
+ #
3322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfig2020_05_31 AWS API Documentation
3323
+ #
3324
+ # @overload get_realtime_log_config(params = {})
3325
+ # @param [Hash] params ({})
3326
+ def get_realtime_log_config(params = {}, options = {})
3327
+ req = build_request(:get_realtime_log_config, params)
3328
+ req.send_request(options)
3329
+ end
3330
+
2467
3331
  # Gets information about a specified RTMP distribution, including the
2468
3332
  # distribution configuration.
2469
3333
  #
@@ -2513,7 +3377,12 @@ module Aws::CloudFront
2513
3377
  # resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
2514
3378
  # resp.etag #=> String
2515
3379
  #
2516
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetStreamingDistribution2019_03_26 AWS API Documentation
3380
+ #
3381
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
3382
+ #
3383
+ # * streaming_distribution_deployed
3384
+ #
3385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistribution2020_05_31 AWS API Documentation
2517
3386
  #
2518
3387
  # @overload get_streaming_distribution(params = {})
2519
3388
  # @param [Hash] params ({})
@@ -2558,7 +3427,7 @@ module Aws::CloudFront
2558
3427
  # resp.streaming_distribution_config.enabled #=> Boolean
2559
3428
  # resp.etag #=> String
2560
3429
  #
2561
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetStreamingDistributionConfig2019_03_26 AWS API Documentation
3430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistributionConfig2020_05_31 AWS API Documentation
2562
3431
  #
2563
3432
  # @overload get_streaming_distribution_config(params = {})
2564
3433
  # @param [Hash] params ({})
@@ -2567,24 +3436,108 @@ module Aws::CloudFront
2567
3436
  req.send_request(options)
2568
3437
  end
2569
3438
 
2570
- # Lists origin access identities.
3439
+ # Gets a list of cache policies.
2571
3440
  #
2572
- # @option params [String] :marker
2573
- # Use this when paginating results to indicate where to begin in your
2574
- # list of origin access identities. The results include identities in
2575
- # the list that occur after the marker. To get the next page of results,
2576
- # set the `Marker` to the value of the `NextMarker` from the current
2577
- # page's response (which is also the ID of the last identity on that
2578
- # page).
3441
+ # You can optionally apply a filter to return only the managed policies
3442
+ # created by AWS, or only the custom policies created in your AWS
3443
+ # account.
2579
3444
  #
2580
- # @option params [Integer] :max_items
2581
- # The maximum number of origin access identities you want in the
2582
- # response body.
3445
+ # You can optionally specify the maximum number of items to receive in
3446
+ # the response. If the total number of items in the list exceeds the
3447
+ # maximum that you specify, or the default maximum, the response is
3448
+ # paginated. To get the next page of items, send a subsequent request
3449
+ # that specifies the `NextMarker` value from the current response as the
3450
+ # `Marker` value in the subsequent request.
3451
+ #
3452
+ # @option params [String] :type
3453
+ # A filter to return only the specified kinds of cache policies. Valid
3454
+ # values are:
3455
+ #
3456
+ # * `managed` – Returns only the managed policies created by AWS.
3457
+ #
3458
+ # * `custom` – Returns only the custom policies created in your AWS
3459
+ # account.
3460
+ #
3461
+ # @option params [String] :marker
3462
+ # Use this field when paginating results to indicate where to begin in
3463
+ # your list of cache policies. The response includes cache policies in
3464
+ # the list that occur after the marker. To get the next page of the
3465
+ # list, set this field’s value to the value of `NextMarker` from the
3466
+ # current page’s response.
3467
+ #
3468
+ # @option params [Integer] :max_items
3469
+ # The maximum number of cache policies that you want in the response.
3470
+ #
3471
+ # @return [Types::ListCachePoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3472
+ #
3473
+ # * {Types::ListCachePoliciesResult#cache_policy_list #cache_policy_list} => Types::CachePolicyList
3474
+ #
3475
+ # @example Request syntax with placeholder values
3476
+ #
3477
+ # resp = client.list_cache_policies({
3478
+ # type: "managed", # accepts managed, custom
3479
+ # marker: "string",
3480
+ # max_items: 1,
3481
+ # })
3482
+ #
3483
+ # @example Response structure
3484
+ #
3485
+ # resp.cache_policy_list.next_marker #=> String
3486
+ # resp.cache_policy_list.max_items #=> Integer
3487
+ # resp.cache_policy_list.quantity #=> Integer
3488
+ # resp.cache_policy_list.items #=> Array
3489
+ # resp.cache_policy_list.items[0].type #=> String, one of "managed", "custom"
3490
+ # resp.cache_policy_list.items[0].cache_policy.id #=> String
3491
+ # resp.cache_policy_list.items[0].cache_policy.last_modified_time #=> Time
3492
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.comment #=> String
3493
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.name #=> String
3494
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.default_ttl #=> Integer
3495
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.max_ttl #=> Integer
3496
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.min_ttl #=> Integer
3497
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
3498
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
3499
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
3500
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
3501
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
3502
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
3503
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
3504
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
3505
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
3506
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
3507
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
3508
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
3509
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
3510
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
3511
+ #
3512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCachePolicies2020_05_31 AWS API Documentation
3513
+ #
3514
+ # @overload list_cache_policies(params = {})
3515
+ # @param [Hash] params ({})
3516
+ def list_cache_policies(params = {}, options = {})
3517
+ req = build_request(:list_cache_policies, params)
3518
+ req.send_request(options)
3519
+ end
3520
+
3521
+ # Lists origin access identities.
3522
+ #
3523
+ # @option params [String] :marker
3524
+ # Use this when paginating results to indicate where to begin in your
3525
+ # list of origin access identities. The results include identities in
3526
+ # the list that occur after the marker. To get the next page of results,
3527
+ # set the `Marker` to the value of the `NextMarker` from the current
3528
+ # page's response (which is also the ID of the last identity on that
3529
+ # page).
3530
+ #
3531
+ # @option params [Integer] :max_items
3532
+ # The maximum number of origin access identities you want in the
3533
+ # response body.
2583
3534
  #
2584
3535
  # @return [Types::ListCloudFrontOriginAccessIdentitiesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2585
3536
  #
2586
3537
  # * {Types::ListCloudFrontOriginAccessIdentitiesResult#cloud_front_origin_access_identity_list #cloud_front_origin_access_identity_list} => Types::CloudFrontOriginAccessIdentityList
2587
3538
  #
3539
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3540
+ #
2588
3541
  # @example Request syntax with placeholder values
2589
3542
  #
2590
3543
  # resp = client.list_cloud_front_origin_access_identities({
@@ -2604,7 +3557,7 @@ module Aws::CloudFront
2604
3557
  # resp.cloud_front_origin_access_identity_list.items[0].s3_canonical_user_id #=> String
2605
3558
  # resp.cloud_front_origin_access_identity_list.items[0].comment #=> String
2606
3559
  #
2607
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListCloudFrontOriginAccessIdentities2019_03_26 AWS API Documentation
3560
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities2020_05_31 AWS API Documentation
2608
3561
  #
2609
3562
  # @overload list_cloud_front_origin_access_identities(params = {})
2610
3563
  # @param [Hash] params ({})
@@ -2629,6 +3582,8 @@ module Aws::CloudFront
2629
3582
  #
2630
3583
  # * {Types::ListDistributionsResult#distribution_list #distribution_list} => Types::DistributionList
2631
3584
  #
3585
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3586
+ #
2632
3587
  # @example Request syntax with placeholder values
2633
3588
  #
2634
3589
  # resp = client.list_distributions({
@@ -2670,6 +3625,8 @@ module Aws::CloudFront
2670
3625
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
2671
3626
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
2672
3627
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
3628
+ # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
3629
+ # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
2673
3630
  # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
2674
3631
  # resp.distribution_list.items[0].origin_groups.items #=> Array
2675
3632
  # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
@@ -2680,23 +3637,11 @@ module Aws::CloudFront
2680
3637
  # resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
2681
3638
  # resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
2682
3639
  # resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
2683
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
2684
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2685
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
2686
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
2687
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
2688
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
2689
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
2690
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
2691
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
2692
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
2693
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
2694
3640
  # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
2695
3641
  # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
2696
3642
  # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
2697
3643
  # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
2698
3644
  # resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
2699
- # resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
2700
3645
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
2701
3646
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
2702
3647
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -2704,8 +3649,6 @@ module Aws::CloudFront
2704
3649
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
2705
3650
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
2706
3651
  # resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
2707
- # resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
2708
- # resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
2709
3652
  # resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
2710
3653
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
2711
3654
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
@@ -2713,10 +3656,49 @@ module Aws::CloudFront
2713
3656
  # 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"
2714
3657
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
2715
3658
  # resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
3659
+ # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
3660
+ # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
3661
+ # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
3662
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
3663
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
3664
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
3665
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
3666
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
3667
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
3668
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
3669
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
3670
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
3671
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
3672
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
3673
+ # resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
3674
+ # resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
3675
+ # resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
2716
3676
  # resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
2717
3677
  # resp.distribution_list.items[0].cache_behaviors.items #=> Array
2718
3678
  # resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
2719
3679
  # resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
3680
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
3681
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
3682
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
3683
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
3684
+ # resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
3685
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
3686
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
3687
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3688
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.quantity #=> Integer
3689
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
3690
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3691
+ # resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
3692
+ # resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
3693
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
3694
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
3695
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
3696
+ # 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"
3697
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
3698
+ # resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
3699
+ # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
3700
+ # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
3701
+ # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
2720
3702
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
2721
3703
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2722
3704
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -2728,12 +3710,292 @@ module Aws::CloudFront
2728
3710
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
2729
3711
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
2730
3712
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
3713
+ # resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
3714
+ # resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
3715
+ # resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
3716
+ # resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
3717
+ # resp.distribution_list.items[0].custom_error_responses.items #=> Array
3718
+ # resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
3719
+ # resp.distribution_list.items[0].custom_error_responses.items[0].response_page_path #=> String
3720
+ # resp.distribution_list.items[0].custom_error_responses.items[0].response_code #=> String
3721
+ # resp.distribution_list.items[0].custom_error_responses.items[0].error_caching_min_ttl #=> Integer
3722
+ # resp.distribution_list.items[0].comment #=> String
3723
+ # resp.distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
3724
+ # resp.distribution_list.items[0].enabled #=> Boolean
3725
+ # resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
3726
+ # resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
3727
+ # resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
3728
+ # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
3729
+ # resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
3730
+ # resp.distribution_list.items[0].viewer_certificate.certificate #=> String
3731
+ # resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
3732
+ # resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
3733
+ # resp.distribution_list.items[0].restrictions.geo_restriction.quantity #=> Integer
3734
+ # resp.distribution_list.items[0].restrictions.geo_restriction.items #=> Array
3735
+ # resp.distribution_list.items[0].restrictions.geo_restriction.items[0] #=> String
3736
+ # resp.distribution_list.items[0].web_acl_id #=> String
3737
+ # resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2"
3738
+ # resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
3739
+ # resp.distribution_list.items[0].alias_icp_recordals #=> Array
3740
+ # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
3741
+ # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
3742
+ #
3743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions2020_05_31 AWS API Documentation
3744
+ #
3745
+ # @overload list_distributions(params = {})
3746
+ # @param [Hash] params ({})
3747
+ def list_distributions(params = {}, options = {})
3748
+ req = build_request(:list_distributions, params)
3749
+ req.send_request(options)
3750
+ end
3751
+
3752
+ # Gets a list of distribution IDs for distributions that have a cache
3753
+ # behavior that’s associated with the specified cache policy.
3754
+ #
3755
+ # You can optionally specify the maximum number of items to receive in
3756
+ # the response. If the total number of items in the list exceeds the
3757
+ # maximum that you specify, or the default maximum, the response is
3758
+ # paginated. To get the next page of items, send a subsequent request
3759
+ # that specifies the `NextMarker` value from the current response as the
3760
+ # `Marker` value in the subsequent request.
3761
+ #
3762
+ # @option params [String] :marker
3763
+ # Use this field when paginating results to indicate where to begin in
3764
+ # your list of distribution IDs. The response includes distribution IDs
3765
+ # in the list that occur after the marker. To get the next page of the
3766
+ # list, set this field’s value to the value of `NextMarker` from the
3767
+ # current page’s response.
3768
+ #
3769
+ # @option params [Integer] :max_items
3770
+ # The maximum number of distribution IDs that you want in the response.
3771
+ #
3772
+ # @option params [required, String] :cache_policy_id
3773
+ # The ID of the cache policy whose associated distribution IDs you want
3774
+ # to list.
3775
+ #
3776
+ # @return [Types::ListDistributionsByCachePolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3777
+ #
3778
+ # * {Types::ListDistributionsByCachePolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
3779
+ #
3780
+ # @example Request syntax with placeholder values
3781
+ #
3782
+ # resp = client.list_distributions_by_cache_policy_id({
3783
+ # marker: "string",
3784
+ # max_items: 1,
3785
+ # cache_policy_id: "string", # required
3786
+ # })
3787
+ #
3788
+ # @example Response structure
3789
+ #
3790
+ # resp.distribution_id_list.marker #=> String
3791
+ # resp.distribution_id_list.next_marker #=> String
3792
+ # resp.distribution_id_list.max_items #=> Integer
3793
+ # resp.distribution_id_list.is_truncated #=> Boolean
3794
+ # resp.distribution_id_list.quantity #=> Integer
3795
+ # resp.distribution_id_list.items #=> Array
3796
+ # resp.distribution_id_list.items[0] #=> String
3797
+ #
3798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByCachePolicyId2020_05_31 AWS API Documentation
3799
+ #
3800
+ # @overload list_distributions_by_cache_policy_id(params = {})
3801
+ # @param [Hash] params ({})
3802
+ def list_distributions_by_cache_policy_id(params = {}, options = {})
3803
+ req = build_request(:list_distributions_by_cache_policy_id, params)
3804
+ req.send_request(options)
3805
+ end
3806
+
3807
+ # Gets a list of distribution IDs for distributions that have a cache
3808
+ # behavior that’s associated with the specified origin request policy.
3809
+ #
3810
+ # You can optionally specify the maximum number of items to receive in
3811
+ # the response. If the total number of items in the list exceeds the
3812
+ # maximum that you specify, or the default maximum, the response is
3813
+ # paginated. To get the next page of items, send a subsequent request
3814
+ # that specifies the `NextMarker` value from the current response as the
3815
+ # `Marker` value in the subsequent request.
3816
+ #
3817
+ # @option params [String] :marker
3818
+ # Use this field when paginating results to indicate where to begin in
3819
+ # your list of distribution IDs. The response includes distribution IDs
3820
+ # in the list that occur after the marker. To get the next page of the
3821
+ # list, set this field’s value to the value of `NextMarker` from the
3822
+ # current page’s response.
3823
+ #
3824
+ # @option params [Integer] :max_items
3825
+ # The maximum number of distribution IDs that you want in the response.
3826
+ #
3827
+ # @option params [required, String] :origin_request_policy_id
3828
+ # The ID of the origin request policy whose associated distribution IDs
3829
+ # you want to list.
3830
+ #
3831
+ # @return [Types::ListDistributionsByOriginRequestPolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3832
+ #
3833
+ # * {Types::ListDistributionsByOriginRequestPolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
3834
+ #
3835
+ # @example Request syntax with placeholder values
3836
+ #
3837
+ # resp = client.list_distributions_by_origin_request_policy_id({
3838
+ # marker: "string",
3839
+ # max_items: 1,
3840
+ # origin_request_policy_id: "string", # required
3841
+ # })
3842
+ #
3843
+ # @example Response structure
3844
+ #
3845
+ # resp.distribution_id_list.marker #=> String
3846
+ # resp.distribution_id_list.next_marker #=> String
3847
+ # resp.distribution_id_list.max_items #=> Integer
3848
+ # resp.distribution_id_list.is_truncated #=> Boolean
3849
+ # resp.distribution_id_list.quantity #=> Integer
3850
+ # resp.distribution_id_list.items #=> Array
3851
+ # resp.distribution_id_list.items[0] #=> String
3852
+ #
3853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId2020_05_31 AWS API Documentation
3854
+ #
3855
+ # @overload list_distributions_by_origin_request_policy_id(params = {})
3856
+ # @param [Hash] params ({})
3857
+ def list_distributions_by_origin_request_policy_id(params = {}, options = {})
3858
+ req = build_request(:list_distributions_by_origin_request_policy_id, params)
3859
+ req.send_request(options)
3860
+ end
3861
+
3862
+ # Gets a list of distributions that have a cache behavior that’s
3863
+ # associated with the specified real-time log configuration.
3864
+ #
3865
+ # You can specify the real-time log configuration by its name or its
3866
+ # Amazon Resource Name (ARN). You must provide at least one. If you
3867
+ # provide both, CloudFront uses the name to identify the real-time log
3868
+ # configuration to list distributions for.
3869
+ #
3870
+ # You can optionally specify the maximum number of items to receive in
3871
+ # the response. If the total number of items in the list exceeds the
3872
+ # maximum that you specify, or the default maximum, the response is
3873
+ # paginated. To get the next page of items, send a subsequent request
3874
+ # that specifies the `NextMarker` value from the current response as the
3875
+ # `Marker` value in the subsequent request.
3876
+ #
3877
+ # @option params [String] :marker
3878
+ # Use this field when paginating results to indicate where to begin in
3879
+ # your list of distributions. The response includes distributions in the
3880
+ # list that occur after the marker. To get the next page of the list,
3881
+ # set this field’s value to the value of `NextMarker` from the current
3882
+ # page’s response.
3883
+ #
3884
+ # @option params [Integer] :max_items
3885
+ # The maximum number of distributions that you want in the response.
3886
+ #
3887
+ # @option params [String] :realtime_log_config_name
3888
+ # The name of the real-time log configuration whose associated
3889
+ # distributions you want to list.
3890
+ #
3891
+ # @option params [String] :realtime_log_config_arn
3892
+ # The Amazon Resource Name (ARN) of the real-time log configuration
3893
+ # whose associated distributions you want to list.
3894
+ #
3895
+ # @return [Types::ListDistributionsByRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3896
+ #
3897
+ # * {Types::ListDistributionsByRealtimeLogConfigResult#distribution_list #distribution_list} => Types::DistributionList
3898
+ #
3899
+ # @example Request syntax with placeholder values
3900
+ #
3901
+ # resp = client.list_distributions_by_realtime_log_config({
3902
+ # marker: "string",
3903
+ # max_items: 1,
3904
+ # realtime_log_config_name: "string",
3905
+ # realtime_log_config_arn: "string",
3906
+ # })
3907
+ #
3908
+ # @example Response structure
3909
+ #
3910
+ # resp.distribution_list.marker #=> String
3911
+ # resp.distribution_list.next_marker #=> String
3912
+ # resp.distribution_list.max_items #=> Integer
3913
+ # resp.distribution_list.is_truncated #=> Boolean
3914
+ # resp.distribution_list.quantity #=> Integer
3915
+ # resp.distribution_list.items #=> Array
3916
+ # resp.distribution_list.items[0].id #=> String
3917
+ # resp.distribution_list.items[0].arn #=> String
3918
+ # resp.distribution_list.items[0].status #=> String
3919
+ # resp.distribution_list.items[0].last_modified_time #=> Time
3920
+ # resp.distribution_list.items[0].domain_name #=> String
3921
+ # resp.distribution_list.items[0].aliases.quantity #=> Integer
3922
+ # resp.distribution_list.items[0].aliases.items #=> Array
3923
+ # resp.distribution_list.items[0].aliases.items[0] #=> String
3924
+ # resp.distribution_list.items[0].origins.quantity #=> Integer
3925
+ # resp.distribution_list.items[0].origins.items #=> Array
3926
+ # resp.distribution_list.items[0].origins.items[0].id #=> String
3927
+ # resp.distribution_list.items[0].origins.items[0].domain_name #=> String
3928
+ # resp.distribution_list.items[0].origins.items[0].origin_path #=> String
3929
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.quantity #=> Integer
3930
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.items #=> Array
3931
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
3932
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
3933
+ # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
3934
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
3935
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
3936
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
3937
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
3938
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
3939
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
3940
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
3941
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
3942
+ # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
3943
+ # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
3944
+ # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
3945
+ # resp.distribution_list.items[0].origin_groups.items #=> Array
3946
+ # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
3947
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
3948
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items #=> Array
3949
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
3950
+ # resp.distribution_list.items[0].origin_groups.items[0].members.quantity #=> Integer
3951
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
3952
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
3953
+ # resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
3954
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
3955
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
3956
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
3957
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
3958
+ # resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
3959
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
3960
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
3961
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3962
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.quantity #=> Integer
3963
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
3964
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3965
+ # resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
3966
+ # resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
3967
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
3968
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
3969
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
3970
+ # 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"
3971
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
3972
+ # resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
3973
+ # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
3974
+ # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
3975
+ # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
3976
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
3977
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
3978
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
3979
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
3980
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
3981
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
3982
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
3983
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
3984
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
3985
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
3986
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
3987
+ # resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
3988
+ # resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
3989
+ # resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
3990
+ # resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
3991
+ # resp.distribution_list.items[0].cache_behaviors.items #=> Array
3992
+ # resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
3993
+ # resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
2731
3994
  # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
2732
3995
  # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
2733
3996
  # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
2734
3997
  # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
2735
3998
  # resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
2736
- # resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
2737
3999
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
2738
4000
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
2739
4001
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -2741,8 +4003,6 @@ module Aws::CloudFront
2741
4003
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
2742
4004
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
2743
4005
  # resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
2744
- # resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
2745
- # resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
2746
4006
  # resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
2747
4007
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
2748
4008
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
@@ -2750,6 +4010,23 @@ module Aws::CloudFront
2750
4010
  # 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"
2751
4011
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
2752
4012
  # resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
4013
+ # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
4014
+ # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
4015
+ # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
4016
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
4017
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4018
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
4019
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
4020
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
4021
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
4022
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
4023
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
4024
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
4025
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
4026
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
4027
+ # resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
4028
+ # resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
4029
+ # resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
2753
4030
  # resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
2754
4031
  # resp.distribution_list.items[0].custom_error_responses.items #=> Array
2755
4032
  # resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
@@ -2762,8 +4039,8 @@ module Aws::CloudFront
2762
4039
  # resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
2763
4040
  # resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
2764
4041
  # resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
2765
- # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
2766
- # resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
4042
+ # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
4043
+ # resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
2767
4044
  # resp.distribution_list.items[0].viewer_certificate.certificate #=> String
2768
4045
  # resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
2769
4046
  # resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
@@ -2777,12 +4054,12 @@ module Aws::CloudFront
2777
4054
  # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
2778
4055
  # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
2779
4056
  #
2780
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListDistributions2019_03_26 AWS API Documentation
4057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig2020_05_31 AWS API Documentation
2781
4058
  #
2782
- # @overload list_distributions(params = {})
4059
+ # @overload list_distributions_by_realtime_log_config(params = {})
2783
4060
  # @param [Hash] params ({})
2784
- def list_distributions(params = {}, options = {})
2785
- req = build_request(:list_distributions, params)
4061
+ def list_distributions_by_realtime_log_config(params = {}, options = {})
4062
+ req = build_request(:list_distributions_by_realtime_log_config, params)
2786
4063
  req.send_request(options)
2787
4064
  end
2788
4065
 
@@ -2852,6 +4129,8 @@ module Aws::CloudFront
2852
4129
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
2853
4130
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
2854
4131
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
4132
+ # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
4133
+ # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
2855
4134
  # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
2856
4135
  # resp.distribution_list.items[0].origin_groups.items #=> Array
2857
4136
  # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
@@ -2862,23 +4141,11 @@ module Aws::CloudFront
2862
4141
  # resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
2863
4142
  # resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
2864
4143
  # resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
2865
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
2866
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2867
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
2868
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
2869
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
2870
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
2871
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
2872
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
2873
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
2874
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
2875
- # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
2876
4144
  # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
2877
4145
  # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
2878
4146
  # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
2879
4147
  # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
2880
4148
  # resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
2881
- # resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
2882
4149
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
2883
4150
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
2884
4151
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -2886,8 +4153,6 @@ module Aws::CloudFront
2886
4153
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
2887
4154
  # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
2888
4155
  # resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
2889
- # resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
2890
- # resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
2891
4156
  # resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
2892
4157
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
2893
4158
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
@@ -2895,27 +4160,32 @@ module Aws::CloudFront
2895
4160
  # 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"
2896
4161
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
2897
4162
  # resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
4163
+ # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
4164
+ # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
4165
+ # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
4166
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
4167
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4168
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
4169
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
4170
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
4171
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
4172
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
4173
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
4174
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
4175
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
4176
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
4177
+ # resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
4178
+ # resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
4179
+ # resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
2898
4180
  # resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
2899
4181
  # resp.distribution_list.items[0].cache_behaviors.items #=> Array
2900
4182
  # resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
2901
4183
  # resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
2902
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
2903
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2904
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
2905
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
2906
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
2907
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
2908
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
2909
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
2910
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
2911
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
2912
- # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
2913
4184
  # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
2914
4185
  # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
2915
4186
  # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
2916
4187
  # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
2917
4188
  # resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
2918
- # resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
2919
4189
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
2920
4190
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
2921
4191
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -2923,8 +4193,6 @@ module Aws::CloudFront
2923
4193
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
2924
4194
  # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
2925
4195
  # resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
2926
- # resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
2927
- # resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
2928
4196
  # resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
2929
4197
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
2930
4198
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
@@ -2932,6 +4200,23 @@ module Aws::CloudFront
2932
4200
  # 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"
2933
4201
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
2934
4202
  # resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
4203
+ # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
4204
+ # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
4205
+ # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
4206
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
4207
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4208
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
4209
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
4210
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
4211
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
4212
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
4213
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
4214
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
4215
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
4216
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
4217
+ # resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
4218
+ # resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
4219
+ # resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
2935
4220
  # resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
2936
4221
  # resp.distribution_list.items[0].custom_error_responses.items #=> Array
2937
4222
  # resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
@@ -2944,8 +4229,8 @@ module Aws::CloudFront
2944
4229
  # resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
2945
4230
  # resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
2946
4231
  # resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
2947
- # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
2948
- # resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
4232
+ # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
4233
+ # resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
2949
4234
  # resp.distribution_list.items[0].viewer_certificate.certificate #=> String
2950
4235
  # resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
2951
4236
  # resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
@@ -2959,7 +4244,7 @@ module Aws::CloudFront
2959
4244
  # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
2960
4245
  # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
2961
4246
  #
2962
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListDistributionsByWebACLId2019_03_26 AWS API Documentation
4247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId2020_05_31 AWS API Documentation
2963
4248
  #
2964
4249
  # @overload list_distributions_by_web_acl_id(params = {})
2965
4250
  # @param [Hash] params ({})
@@ -3015,7 +4300,7 @@ module Aws::CloudFront
3015
4300
  # resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
3016
4301
  # resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].content_type #=> String
3017
4302
  #
3018
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListFieldLevelEncryptionConfigs2019_03_26 AWS API Documentation
4303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs2020_05_31 AWS API Documentation
3019
4304
  #
3020
4305
  # @overload list_field_level_encryption_configs(params = {})
3021
4306
  # @param [Hash] params ({})
@@ -3067,7 +4352,7 @@ module Aws::CloudFront
3067
4352
  # resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.items[0] #=> String
3068
4353
  # resp.field_level_encryption_profile_list.items[0].comment #=> String
3069
4354
  #
3070
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListFieldLevelEncryptionProfiles2019_03_26 AWS API Documentation
4355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles2020_05_31 AWS API Documentation
3071
4356
  #
3072
4357
  # @overload list_field_level_encryption_profiles(params = {})
3073
4358
  # @param [Hash] params ({})
@@ -3099,6 +4384,8 @@ module Aws::CloudFront
3099
4384
  #
3100
4385
  # * {Types::ListInvalidationsResult#invalidation_list #invalidation_list} => Types::InvalidationList
3101
4386
  #
4387
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4388
+ #
3102
4389
  # @example Request syntax with placeholder values
3103
4390
  #
3104
4391
  # resp = client.list_invalidations({
@@ -3119,7 +4406,7 @@ module Aws::CloudFront
3119
4406
  # resp.invalidation_list.items[0].create_time #=> Time
3120
4407
  # resp.invalidation_list.items[0].status #=> String
3121
4408
  #
3122
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListInvalidations2019_03_26 AWS API Documentation
4409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListInvalidations2020_05_31 AWS API Documentation
3123
4410
  #
3124
4411
  # @overload list_invalidations(params = {})
3125
4412
  # @param [Hash] params ({})
@@ -3128,6 +4415,84 @@ module Aws::CloudFront
3128
4415
  req.send_request(options)
3129
4416
  end
3130
4417
 
4418
+ # Gets a list of origin request policies.
4419
+ #
4420
+ # You can optionally apply a filter to return only the managed policies
4421
+ # created by AWS, or only the custom policies created in your AWS
4422
+ # account.
4423
+ #
4424
+ # You can optionally specify the maximum number of items to receive in
4425
+ # the response. If the total number of items in the list exceeds the
4426
+ # maximum that you specify, or the default maximum, the response is
4427
+ # paginated. To get the next page of items, send a subsequent request
4428
+ # that specifies the `NextMarker` value from the current response as the
4429
+ # `Marker` value in the subsequent request.
4430
+ #
4431
+ # @option params [String] :type
4432
+ # A filter to return only the specified kinds of origin request
4433
+ # policies. Valid values are:
4434
+ #
4435
+ # * `managed` – Returns only the managed policies created by AWS.
4436
+ #
4437
+ # * `custom` – Returns only the custom policies created in your AWS
4438
+ # account.
4439
+ #
4440
+ # @option params [String] :marker
4441
+ # Use this field when paginating results to indicate where to begin in
4442
+ # your list of origin request policies. The response includes origin
4443
+ # request policies in the list that occur after the marker. To get the
4444
+ # next page of the list, set this field’s value to the value of
4445
+ # `NextMarker` from the current page’s response.
4446
+ #
4447
+ # @option params [Integer] :max_items
4448
+ # The maximum number of origin request policies that you want in the
4449
+ # response.
4450
+ #
4451
+ # @return [Types::ListOriginRequestPoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4452
+ #
4453
+ # * {Types::ListOriginRequestPoliciesResult#origin_request_policy_list #origin_request_policy_list} => Types::OriginRequestPolicyList
4454
+ #
4455
+ # @example Request syntax with placeholder values
4456
+ #
4457
+ # resp = client.list_origin_request_policies({
4458
+ # type: "managed", # accepts managed, custom
4459
+ # marker: "string",
4460
+ # max_items: 1,
4461
+ # })
4462
+ #
4463
+ # @example Response structure
4464
+ #
4465
+ # resp.origin_request_policy_list.next_marker #=> String
4466
+ # resp.origin_request_policy_list.max_items #=> Integer
4467
+ # resp.origin_request_policy_list.quantity #=> Integer
4468
+ # resp.origin_request_policy_list.items #=> Array
4469
+ # resp.origin_request_policy_list.items[0].type #=> String, one of "managed", "custom"
4470
+ # resp.origin_request_policy_list.items[0].origin_request_policy.id #=> String
4471
+ # resp.origin_request_policy_list.items[0].origin_request_policy.last_modified_time #=> Time
4472
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.comment #=> String
4473
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.name #=> String
4474
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
4475
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
4476
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
4477
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
4478
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
4479
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
4480
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
4481
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
4482
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
4483
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
4484
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
4485
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
4486
+ #
4487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginRequestPolicies2020_05_31 AWS API Documentation
4488
+ #
4489
+ # @overload list_origin_request_policies(params = {})
4490
+ # @param [Hash] params ({})
4491
+ def list_origin_request_policies(params = {}, options = {})
4492
+ req = build_request(:list_origin_request_policies, params)
4493
+ req.send_request(options)
4494
+ end
4495
+
3131
4496
  # List all public keys that have been added to CloudFront for this
3132
4497
  # account.
3133
4498
  #
@@ -3164,12 +4529,69 @@ module Aws::CloudFront
3164
4529
  # resp.public_key_list.items[0].encoded_key #=> String
3165
4530
  # resp.public_key_list.items[0].comment #=> String
3166
4531
  #
3167
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListPublicKeys2019_03_26 AWS API Documentation
4532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListPublicKeys2020_05_31 AWS API Documentation
4533
+ #
4534
+ # @overload list_public_keys(params = {})
4535
+ # @param [Hash] params ({})
4536
+ def list_public_keys(params = {}, options = {})
4537
+ req = build_request(:list_public_keys, params)
4538
+ req.send_request(options)
4539
+ end
4540
+
4541
+ # Gets a list of real-time log configurations.
4542
+ #
4543
+ # You can optionally specify the maximum number of items to receive in
4544
+ # the response. If the total number of items in the list exceeds the
4545
+ # maximum that you specify, or the default maximum, the response is
4546
+ # paginated. To get the next page of items, send a subsequent request
4547
+ # that specifies the `NextMarker` value from the current response as the
4548
+ # `Marker` value in the subsequent request.
4549
+ #
4550
+ # @option params [Integer] :max_items
4551
+ # The maximum number of real-time log configurations that you want in
4552
+ # the response.
4553
+ #
4554
+ # @option params [String] :marker
4555
+ # Use this field when paginating results to indicate where to begin in
4556
+ # your list of real-time log configurations. The response includes
4557
+ # real-time log configurations in the list that occur after the marker.
4558
+ # To get the next page of the list, set this field’s value to the value
4559
+ # of `NextMarker` from the current page’s response.
4560
+ #
4561
+ # @return [Types::ListRealtimeLogConfigsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4562
+ #
4563
+ # * {Types::ListRealtimeLogConfigsResult#realtime_log_configs #realtime_log_configs} => Types::RealtimeLogConfigs
4564
+ #
4565
+ # @example Request syntax with placeholder values
4566
+ #
4567
+ # resp = client.list_realtime_log_configs({
4568
+ # max_items: 1,
4569
+ # marker: "string",
4570
+ # })
4571
+ #
4572
+ # @example Response structure
3168
4573
  #
3169
- # @overload list_public_keys(params = {})
4574
+ # resp.realtime_log_configs.max_items #=> Integer
4575
+ # resp.realtime_log_configs.items #=> Array
4576
+ # resp.realtime_log_configs.items[0].arn #=> String
4577
+ # resp.realtime_log_configs.items[0].name #=> String
4578
+ # resp.realtime_log_configs.items[0].sampling_rate #=> Integer
4579
+ # resp.realtime_log_configs.items[0].end_points #=> Array
4580
+ # resp.realtime_log_configs.items[0].end_points[0].stream_type #=> String
4581
+ # resp.realtime_log_configs.items[0].end_points[0].kinesis_stream_config.role_arn #=> String
4582
+ # resp.realtime_log_configs.items[0].end_points[0].kinesis_stream_config.stream_arn #=> String
4583
+ # resp.realtime_log_configs.items[0].fields #=> Array
4584
+ # resp.realtime_log_configs.items[0].fields[0] #=> String
4585
+ # resp.realtime_log_configs.is_truncated #=> Boolean
4586
+ # resp.realtime_log_configs.marker #=> String
4587
+ # resp.realtime_log_configs.next_marker #=> String
4588
+ #
4589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigs2020_05_31 AWS API Documentation
4590
+ #
4591
+ # @overload list_realtime_log_configs(params = {})
3170
4592
  # @param [Hash] params ({})
3171
- def list_public_keys(params = {}, options = {})
3172
- req = build_request(:list_public_keys, params)
4593
+ def list_realtime_log_configs(params = {}, options = {})
4594
+ req = build_request(:list_realtime_log_configs, params)
3173
4595
  req.send_request(options)
3174
4596
  end
3175
4597
 
@@ -3185,6 +4607,8 @@ module Aws::CloudFront
3185
4607
  #
3186
4608
  # * {Types::ListStreamingDistributionsResult#streaming_distribution_list #streaming_distribution_list} => Types::StreamingDistributionList
3187
4609
  #
4610
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4611
+ #
3188
4612
  # @example Request syntax with placeholder values
3189
4613
  #
3190
4614
  # resp = client.list_streaming_distributions({
@@ -3218,7 +4642,7 @@ module Aws::CloudFront
3218
4642
  # resp.streaming_distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
3219
4643
  # resp.streaming_distribution_list.items[0].enabled #=> Boolean
3220
4644
  #
3221
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListStreamingDistributions2019_03_26 AWS API Documentation
4645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListStreamingDistributions2020_05_31 AWS API Documentation
3222
4646
  #
3223
4647
  # @overload list_streaming_distributions(params = {})
3224
4648
  # @param [Hash] params ({})
@@ -3248,7 +4672,7 @@ module Aws::CloudFront
3248
4672
  # resp.tags.items[0].key #=> String
3249
4673
  # resp.tags.items[0].value #=> String
3250
4674
  #
3251
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/ListTagsForResource2019_03_26 AWS API Documentation
4675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTagsForResource2020_05_31 AWS API Documentation
3252
4676
  #
3253
4677
  # @overload list_tags_for_resource(params = {})
3254
4678
  # @param [Hash] params ({})
@@ -3281,7 +4705,7 @@ module Aws::CloudFront
3281
4705
  # },
3282
4706
  # })
3283
4707
  #
3284
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/TagResource2019_03_26 AWS API Documentation
4708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TagResource2020_05_31 AWS API Documentation
3285
4709
  #
3286
4710
  # @overload tag_resource(params = {})
3287
4711
  # @param [Hash] params ({})
@@ -3309,7 +4733,7 @@ module Aws::CloudFront
3309
4733
  # },
3310
4734
  # })
3311
4735
  #
3312
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UntagResource2019_03_26 AWS API Documentation
4736
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UntagResource2020_05_31 AWS API Documentation
3313
4737
  #
3314
4738
  # @overload untag_resource(params = {})
3315
4739
  # @param [Hash] params ({})
@@ -3318,6 +4742,113 @@ module Aws::CloudFront
3318
4742
  req.send_request(options)
3319
4743
  end
3320
4744
 
4745
+ # Updates a cache policy configuration.
4746
+ #
4747
+ # When you update a cache policy configuration, all the fields are
4748
+ # updated with the values provided in the request. You cannot update
4749
+ # some fields independent of others. To update a cache policy
4750
+ # configuration:
4751
+ #
4752
+ # 1. Use `GetCachePolicyConfig` to get the current configuration.
4753
+ #
4754
+ # 2. Locally modify the fields in the cache policy configuration that
4755
+ # you want to update.
4756
+ #
4757
+ # 3. Call `UpdateCachePolicy` by providing the entire cache policy
4758
+ # configuration, including the fields that you modified and those
4759
+ # that you didn’t.
4760
+ #
4761
+ # @option params [required, Types::CachePolicyConfig] :cache_policy_config
4762
+ # A cache policy configuration.
4763
+ #
4764
+ # @option params [required, String] :id
4765
+ # The unique identifier for the cache policy that you are updating. The
4766
+ # identifier is returned in a cache behavior’s `CachePolicyId` field in
4767
+ # the response to `GetDistributionConfig`.
4768
+ #
4769
+ # @option params [String] :if_match
4770
+ # The version of the cache policy that you are updating. The version is
4771
+ # returned in the cache policy’s `ETag` field in the response to
4772
+ # `GetCachePolicyConfig`.
4773
+ #
4774
+ # @return [Types::UpdateCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4775
+ #
4776
+ # * {Types::UpdateCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
4777
+ # * {Types::UpdateCachePolicyResult#etag #etag} => String
4778
+ #
4779
+ # @example Request syntax with placeholder values
4780
+ #
4781
+ # resp = client.update_cache_policy({
4782
+ # cache_policy_config: { # required
4783
+ # comment: "string",
4784
+ # name: "string", # required
4785
+ # default_ttl: 1,
4786
+ # max_ttl: 1,
4787
+ # min_ttl: 1, # required
4788
+ # parameters_in_cache_key_and_forwarded_to_origin: {
4789
+ # enable_accept_encoding_gzip: false, # required
4790
+ # enable_accept_encoding_brotli: false,
4791
+ # headers_config: { # required
4792
+ # header_behavior: "none", # required, accepts none, whitelist
4793
+ # headers: {
4794
+ # quantity: 1, # required
4795
+ # items: ["string"],
4796
+ # },
4797
+ # },
4798
+ # cookies_config: { # required
4799
+ # cookie_behavior: "none", # required, accepts none, whitelist, allExcept, all
4800
+ # cookies: {
4801
+ # quantity: 1, # required
4802
+ # items: ["string"],
4803
+ # },
4804
+ # },
4805
+ # query_strings_config: { # required
4806
+ # query_string_behavior: "none", # required, accepts none, whitelist, allExcept, all
4807
+ # query_strings: {
4808
+ # quantity: 1, # required
4809
+ # items: ["string"],
4810
+ # },
4811
+ # },
4812
+ # },
4813
+ # },
4814
+ # id: "string", # required
4815
+ # if_match: "string",
4816
+ # })
4817
+ #
4818
+ # @example Response structure
4819
+ #
4820
+ # resp.cache_policy.id #=> String
4821
+ # resp.cache_policy.last_modified_time #=> Time
4822
+ # resp.cache_policy.cache_policy_config.comment #=> String
4823
+ # resp.cache_policy.cache_policy_config.name #=> String
4824
+ # resp.cache_policy.cache_policy_config.default_ttl #=> Integer
4825
+ # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
4826
+ # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
4827
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
4828
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
4829
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
4830
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
4831
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
4832
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
4833
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
4834
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
4835
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
4836
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
4837
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
4838
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
4839
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
4840
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
4841
+ # resp.etag #=> String
4842
+ #
4843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCachePolicy2020_05_31 AWS API Documentation
4844
+ #
4845
+ # @overload update_cache_policy(params = {})
4846
+ # @param [Hash] params ({})
4847
+ def update_cache_policy(params = {}, options = {})
4848
+ req = build_request(:update_cache_policy, params)
4849
+ req.send_request(options)
4850
+ end
4851
+
3321
4852
  # Update an origin access identity.
3322
4853
  #
3323
4854
  # @option params [required, Types::CloudFrontOriginAccessIdentityConfig] :cloud_front_origin_access_identity_config
@@ -3354,7 +4885,7 @@ module Aws::CloudFront
3354
4885
  # resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
3355
4886
  # resp.etag #=> String
3356
4887
  #
3357
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateCloudFrontOriginAccessIdentity2019_03_26 AWS API Documentation
4888
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
3358
4889
  #
3359
4890
  # @overload update_cloud_front_origin_access_identity(params = {})
3360
4891
  # @param [Hash] params ({})
@@ -3495,6 +5026,8 @@ module Aws::CloudFront
3495
5026
  # origin_read_timeout: 1,
3496
5027
  # origin_keepalive_timeout: 1,
3497
5028
  # },
5029
+ # connection_attempts: 1,
5030
+ # connection_timeout: 1,
3498
5031
  # },
3499
5032
  # ],
3500
5033
  # },
@@ -3522,31 +5055,12 @@ module Aws::CloudFront
3522
5055
  # },
3523
5056
  # default_cache_behavior: { # required
3524
5057
  # target_origin_id: "string", # required
3525
- # forwarded_values: { # required
3526
- # query_string: false, # required
3527
- # cookies: { # required
3528
- # forward: "none", # required, accepts none, whitelist, all
3529
- # whitelisted_names: {
3530
- # quantity: 1, # required
3531
- # items: ["string"],
3532
- # },
3533
- # },
3534
- # headers: {
3535
- # quantity: 1, # required
3536
- # items: ["string"],
3537
- # },
3538
- # query_string_cache_keys: {
3539
- # quantity: 1, # required
3540
- # items: ["string"],
3541
- # },
3542
- # },
3543
5058
  # trusted_signers: { # required
3544
5059
  # enabled: false, # required
3545
5060
  # quantity: 1, # required
3546
5061
  # items: ["string"],
3547
5062
  # },
3548
5063
  # viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
3549
- # min_ttl: 1, # required
3550
5064
  # allowed_methods: {
3551
5065
  # quantity: 1, # required
3552
5066
  # items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
@@ -3556,8 +5070,6 @@ module Aws::CloudFront
3556
5070
  # },
3557
5071
  # },
3558
5072
  # smooth_streaming: false,
3559
- # default_ttl: 1,
3560
- # max_ttl: 1,
3561
5073
  # compress: false,
3562
5074
  # lambda_function_associations: {
3563
5075
  # quantity: 1, # required
@@ -3570,6 +5082,30 @@ module Aws::CloudFront
3570
5082
  # ],
3571
5083
  # },
3572
5084
  # field_level_encryption_id: "string",
5085
+ # realtime_log_config_arn: "string",
5086
+ # cache_policy_id: "string",
5087
+ # origin_request_policy_id: "string",
5088
+ # forwarded_values: {
5089
+ # query_string: false, # required
5090
+ # cookies: { # required
5091
+ # forward: "none", # required, accepts none, whitelist, all
5092
+ # whitelisted_names: {
5093
+ # quantity: 1, # required
5094
+ # items: ["string"],
5095
+ # },
5096
+ # },
5097
+ # headers: {
5098
+ # quantity: 1, # required
5099
+ # items: ["string"],
5100
+ # },
5101
+ # query_string_cache_keys: {
5102
+ # quantity: 1, # required
5103
+ # items: ["string"],
5104
+ # },
5105
+ # },
5106
+ # min_ttl: 1,
5107
+ # default_ttl: 1,
5108
+ # max_ttl: 1,
3573
5109
  # },
3574
5110
  # cache_behaviors: {
3575
5111
  # quantity: 1, # required
@@ -3577,31 +5113,12 @@ module Aws::CloudFront
3577
5113
  # {
3578
5114
  # path_pattern: "string", # required
3579
5115
  # target_origin_id: "string", # required
3580
- # forwarded_values: { # required
3581
- # query_string: false, # required
3582
- # cookies: { # required
3583
- # forward: "none", # required, accepts none, whitelist, all
3584
- # whitelisted_names: {
3585
- # quantity: 1, # required
3586
- # items: ["string"],
3587
- # },
3588
- # },
3589
- # headers: {
3590
- # quantity: 1, # required
3591
- # items: ["string"],
3592
- # },
3593
- # query_string_cache_keys: {
3594
- # quantity: 1, # required
3595
- # items: ["string"],
3596
- # },
3597
- # },
3598
5116
  # trusted_signers: { # required
3599
5117
  # enabled: false, # required
3600
5118
  # quantity: 1, # required
3601
5119
  # items: ["string"],
3602
5120
  # },
3603
5121
  # viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
3604
- # min_ttl: 1, # required
3605
5122
  # allowed_methods: {
3606
5123
  # quantity: 1, # required
3607
5124
  # items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
@@ -3611,8 +5128,6 @@ module Aws::CloudFront
3611
5128
  # },
3612
5129
  # },
3613
5130
  # smooth_streaming: false,
3614
- # default_ttl: 1,
3615
- # max_ttl: 1,
3616
5131
  # compress: false,
3617
5132
  # lambda_function_associations: {
3618
5133
  # quantity: 1, # required
@@ -3625,6 +5140,30 @@ module Aws::CloudFront
3625
5140
  # ],
3626
5141
  # },
3627
5142
  # field_level_encryption_id: "string",
5143
+ # realtime_log_config_arn: "string",
5144
+ # cache_policy_id: "string",
5145
+ # origin_request_policy_id: "string",
5146
+ # forwarded_values: {
5147
+ # query_string: false, # required
5148
+ # cookies: { # required
5149
+ # forward: "none", # required, accepts none, whitelist, all
5150
+ # whitelisted_names: {
5151
+ # quantity: 1, # required
5152
+ # items: ["string"],
5153
+ # },
5154
+ # },
5155
+ # headers: {
5156
+ # quantity: 1, # required
5157
+ # items: ["string"],
5158
+ # },
5159
+ # query_string_cache_keys: {
5160
+ # quantity: 1, # required
5161
+ # items: ["string"],
5162
+ # },
5163
+ # },
5164
+ # min_ttl: 1,
5165
+ # default_ttl: 1,
5166
+ # max_ttl: 1,
3628
5167
  # },
3629
5168
  # ],
3630
5169
  # },
@@ -3652,8 +5191,8 @@ module Aws::CloudFront
3652
5191
  # cloud_front_default_certificate: false,
3653
5192
  # iam_certificate_id: "string",
3654
5193
  # acm_certificate_arn: "string",
3655
- # ssl_support_method: "sni-only", # accepts sni-only, vip
3656
- # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018
5194
+ # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
5195
+ # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
3657
5196
  # certificate: "string",
3658
5197
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
3659
5198
  # },
@@ -3710,6 +5249,8 @@ module Aws::CloudFront
3710
5249
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
3711
5250
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
3712
5251
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
5252
+ # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
5253
+ # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
3713
5254
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
3714
5255
  # resp.distribution.distribution_config.origin_groups.items #=> Array
3715
5256
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -3720,23 +5261,11 @@ module Aws::CloudFront
3720
5261
  # resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
3721
5262
  # resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
3722
5263
  # resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
3723
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
3724
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
3725
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
3726
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
3727
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
3728
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
3729
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
3730
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
3731
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
3732
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
3733
- # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
3734
5264
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
3735
5265
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
3736
5266
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
3737
5267
  # resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
3738
5268
  # resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
3739
- # resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
3740
5269
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
3741
5270
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
3742
5271
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -3744,8 +5273,6 @@ module Aws::CloudFront
3744
5273
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
3745
5274
  # resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3746
5275
  # resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
3747
- # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
3748
- # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
3749
5276
  # resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
3750
5277
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
3751
5278
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
@@ -3753,27 +5280,32 @@ module Aws::CloudFront
3753
5280
  # 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"
3754
5281
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
3755
5282
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
5283
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
5284
+ # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
5285
+ # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
5286
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
5287
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
5288
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
5289
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
5290
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
5291
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
5292
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
5293
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
5294
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
5295
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
5296
+ # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
5297
+ # resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
5298
+ # resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
5299
+ # resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
3756
5300
  # resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
3757
5301
  # resp.distribution.distribution_config.cache_behaviors.items #=> Array
3758
5302
  # resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
3759
5303
  # resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
3760
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
3761
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
3762
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
3763
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
3764
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
3765
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
3766
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
3767
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
3768
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
3769
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
3770
- # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
3771
5304
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
3772
5305
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
3773
5306
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
3774
5307
  # resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
3775
5308
  # resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
3776
- # resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
3777
5309
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
3778
5310
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
3779
5311
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
@@ -3781,8 +5313,6 @@ module Aws::CloudFront
3781
5313
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
3782
5314
  # resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3783
5315
  # resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
3784
- # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
3785
- # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
3786
5316
  # resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
3787
5317
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
3788
5318
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
@@ -3790,6 +5320,23 @@ module Aws::CloudFront
3790
5320
  # 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"
3791
5321
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
3792
5322
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
5323
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
5324
+ # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
5325
+ # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
5326
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
5327
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
5328
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
5329
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
5330
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
5331
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
5332
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
5333
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
5334
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
5335
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
5336
+ # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
5337
+ # resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
5338
+ # resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
5339
+ # resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
3793
5340
  # resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
3794
5341
  # resp.distribution.distribution_config.custom_error_responses.items #=> Array
3795
5342
  # resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
@@ -3806,8 +5353,8 @@ module Aws::CloudFront
3806
5353
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
3807
5354
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
3808
5355
  # resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
3809
- # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
3810
- # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
5356
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
5357
+ # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
3811
5358
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
3812
5359
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
3813
5360
  # resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
@@ -3822,7 +5369,7 @@ module Aws::CloudFront
3822
5369
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
3823
5370
  # resp.etag #=> String
3824
5371
  #
3825
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateDistribution2019_03_26 AWS API Documentation
5372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDistribution2020_05_31 AWS API Documentation
3826
5373
  #
3827
5374
  # @overload update_distribution(params = {})
3828
5375
  # @param [Hash] params ({})
@@ -3903,7 +5450,7 @@ module Aws::CloudFront
3903
5450
  # resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
3904
5451
  # resp.etag #=> String
3905
5452
  #
3906
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateFieldLevelEncryptionConfig2019_03_26 AWS API Documentation
5453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
3907
5454
  #
3908
5455
  # @overload update_field_level_encryption_config(params = {})
3909
5456
  # @param [Hash] params ({})
@@ -3970,7 +5517,7 @@ module Aws::CloudFront
3970
5517
  # resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
3971
5518
  # resp.etag #=> String
3972
5519
  #
3973
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateFieldLevelEncryptionProfile2019_03_26 AWS API Documentation
5520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
3974
5521
  #
3975
5522
  # @overload update_field_level_encryption_profile(params = {})
3976
5523
  # @param [Hash] params ({})
@@ -3979,6 +5526,103 @@ module Aws::CloudFront
3979
5526
  req.send_request(options)
3980
5527
  end
3981
5528
 
5529
+ # Updates an origin request policy configuration.
5530
+ #
5531
+ # When you update an origin request policy configuration, all the fields
5532
+ # are updated with the values provided in the request. You cannot update
5533
+ # some fields independent of others. To update an origin request policy
5534
+ # configuration:
5535
+ #
5536
+ # 1. Use `GetOriginRequestPolicyConfig` to get the current
5537
+ # configuration.
5538
+ #
5539
+ # 2. Locally modify the fields in the origin request policy
5540
+ # configuration that you want to update.
5541
+ #
5542
+ # 3. Call `UpdateOriginRequestPolicy` by providing the entire origin
5543
+ # request policy configuration, including the fields that you
5544
+ # modified and those that you didn’t.
5545
+ #
5546
+ # @option params [required, Types::OriginRequestPolicyConfig] :origin_request_policy_config
5547
+ # An origin request policy configuration.
5548
+ #
5549
+ # @option params [required, String] :id
5550
+ # The unique identifier for the origin request policy that you are
5551
+ # updating. The identifier is returned in a cache behavior’s
5552
+ # `OriginRequestPolicyId` field in the response to
5553
+ # `GetDistributionConfig`.
5554
+ #
5555
+ # @option params [String] :if_match
5556
+ # The version of the origin request policy that you are updating. The
5557
+ # version is returned in the origin request policy’s `ETag` field in the
5558
+ # response to `GetOriginRequestPolicyConfig`.
5559
+ #
5560
+ # @return [Types::UpdateOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5561
+ #
5562
+ # * {Types::UpdateOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
5563
+ # * {Types::UpdateOriginRequestPolicyResult#etag #etag} => String
5564
+ #
5565
+ # @example Request syntax with placeholder values
5566
+ #
5567
+ # resp = client.update_origin_request_policy({
5568
+ # origin_request_policy_config: { # required
5569
+ # comment: "string",
5570
+ # name: "string", # required
5571
+ # headers_config: { # required
5572
+ # header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront
5573
+ # headers: {
5574
+ # quantity: 1, # required
5575
+ # items: ["string"],
5576
+ # },
5577
+ # },
5578
+ # cookies_config: { # required
5579
+ # cookie_behavior: "none", # required, accepts none, whitelist, all
5580
+ # cookies: {
5581
+ # quantity: 1, # required
5582
+ # items: ["string"],
5583
+ # },
5584
+ # },
5585
+ # query_strings_config: { # required
5586
+ # query_string_behavior: "none", # required, accepts none, whitelist, all
5587
+ # query_strings: {
5588
+ # quantity: 1, # required
5589
+ # items: ["string"],
5590
+ # },
5591
+ # },
5592
+ # },
5593
+ # id: "string", # required
5594
+ # if_match: "string",
5595
+ # })
5596
+ #
5597
+ # @example Response structure
5598
+ #
5599
+ # resp.origin_request_policy.id #=> String
5600
+ # resp.origin_request_policy.last_modified_time #=> Time
5601
+ # resp.origin_request_policy.origin_request_policy_config.comment #=> String
5602
+ # resp.origin_request_policy.origin_request_policy_config.name #=> String
5603
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
5604
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
5605
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
5606
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
5607
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
5608
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
5609
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
5610
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
5611
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
5612
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
5613
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
5614
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
5615
+ # resp.etag #=> String
5616
+ #
5617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginRequestPolicy2020_05_31 AWS API Documentation
5618
+ #
5619
+ # @overload update_origin_request_policy(params = {})
5620
+ # @param [Hash] params ({})
5621
+ def update_origin_request_policy(params = {}, options = {})
5622
+ req = build_request(:update_origin_request_policy, params)
5623
+ req.send_request(options)
5624
+ end
5625
+
3982
5626
  # Update public key information. Note that the only value you can change
3983
5627
  # is the comment.
3984
5628
  #
@@ -4020,7 +5664,7 @@ module Aws::CloudFront
4020
5664
  # resp.public_key.public_key_config.comment #=> String
4021
5665
  # resp.etag #=> String
4022
5666
  #
4023
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdatePublicKey2019_03_26 AWS API Documentation
5667
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdatePublicKey2020_05_31 AWS API Documentation
4024
5668
  #
4025
5669
  # @overload update_public_key(params = {})
4026
5670
  # @param [Hash] params ({})
@@ -4029,6 +5673,94 @@ module Aws::CloudFront
4029
5673
  req.send_request(options)
4030
5674
  end
4031
5675
 
5676
+ # Updates a real-time log configuration.
5677
+ #
5678
+ # When you update a real-time log configuration, all the parameters are
5679
+ # updated with the values provided in the request. You cannot update
5680
+ # some parameters independent of others. To update a real-time log
5681
+ # configuration:
5682
+ #
5683
+ # 1. Call `GetRealtimeLogConfig` to get the current real-time log
5684
+ # configuration.
5685
+ #
5686
+ # 2. Locally modify the parameters in the real-time log configuration
5687
+ # that you want to update.
5688
+ #
5689
+ # 3. Call this API (`UpdateRealtimeLogConfig`) by providing the entire
5690
+ # real-time log configuration, including the parameters that you
5691
+ # modified and those that you didn’t.
5692
+ #
5693
+ # You cannot update a real-time log configuration’s `Name` or `ARN`.
5694
+ #
5695
+ # @option params [Array<Types::EndPoint>] :end_points
5696
+ # Contains information about the Amazon Kinesis data stream where you
5697
+ # are sending real-time log data.
5698
+ #
5699
+ # @option params [Array<String>] :fields
5700
+ # A list of fields to include in each real-time log record.
5701
+ #
5702
+ # For more information about fields, see [Real-time log configuration
5703
+ # fields][1] in the *Amazon CloudFront Developer Guide*.
5704
+ #
5705
+ #
5706
+ #
5707
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
5708
+ #
5709
+ # @option params [String] :name
5710
+ # The name for this real-time log configuration.
5711
+ #
5712
+ # @option params [String] :arn
5713
+ # The Amazon Resource Name (ARN) for this real-time log configuration.
5714
+ #
5715
+ # @option params [Integer] :sampling_rate
5716
+ # The sampling rate for this real-time log configuration. The sampling
5717
+ # rate determines the percentage of viewer requests that are represented
5718
+ # in the real-time log data. You must provide an integer between 1 and
5719
+ # 100, inclusive.
5720
+ #
5721
+ # @return [Types::UpdateRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5722
+ #
5723
+ # * {Types::UpdateRealtimeLogConfigResult#realtime_log_config #realtime_log_config} => Types::RealtimeLogConfig
5724
+ #
5725
+ # @example Request syntax with placeholder values
5726
+ #
5727
+ # resp = client.update_realtime_log_config({
5728
+ # end_points: [
5729
+ # {
5730
+ # stream_type: "string", # required
5731
+ # kinesis_stream_config: {
5732
+ # role_arn: "string", # required
5733
+ # stream_arn: "string", # required
5734
+ # },
5735
+ # },
5736
+ # ],
5737
+ # fields: ["string"],
5738
+ # name: "string",
5739
+ # arn: "string",
5740
+ # sampling_rate: 1,
5741
+ # })
5742
+ #
5743
+ # @example Response structure
5744
+ #
5745
+ # resp.realtime_log_config.arn #=> String
5746
+ # resp.realtime_log_config.name #=> String
5747
+ # resp.realtime_log_config.sampling_rate #=> Integer
5748
+ # resp.realtime_log_config.end_points #=> Array
5749
+ # resp.realtime_log_config.end_points[0].stream_type #=> String
5750
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.role_arn #=> String
5751
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.stream_arn #=> String
5752
+ # resp.realtime_log_config.fields #=> Array
5753
+ # resp.realtime_log_config.fields[0] #=> String
5754
+ #
5755
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfig2020_05_31 AWS API Documentation
5756
+ #
5757
+ # @overload update_realtime_log_config(params = {})
5758
+ # @param [Hash] params ({})
5759
+ def update_realtime_log_config(params = {}, options = {})
5760
+ req = build_request(:update_realtime_log_config, params)
5761
+ req.send_request(options)
5762
+ end
5763
+
4032
5764
  # Update a streaming distribution.
4033
5765
  #
4034
5766
  # @option params [required, Types::StreamingDistributionConfig] :streaming_distribution_config
@@ -4110,7 +5842,7 @@ module Aws::CloudFront
4110
5842
  # resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
4111
5843
  # resp.etag #=> String
4112
5844
  #
4113
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/UpdateStreamingDistribution2019_03_26 AWS API Documentation
5845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateStreamingDistribution2020_05_31 AWS API Documentation
4114
5846
  #
4115
5847
  # @overload update_streaming_distribution(params = {})
4116
5848
  # @param [Hash] params ({})
@@ -4132,7 +5864,7 @@ module Aws::CloudFront
4132
5864
  params: params,
4133
5865
  config: config)
4134
5866
  context[:gem_name] = 'aws-sdk-cloudfront'
4135
- context[:gem_version] = '1.26.0'
5867
+ context[:gem_version] = '1.42.0'
4136
5868
  Seahorse::Client::Request.new(handlers, context)
4137
5869
  end
4138
5870
 
@@ -4198,11 +5930,11 @@ module Aws::CloudFront
4198
5930
  # The following table lists the valid waiter names, the operations they call,
4199
5931
  # and the default `:delay` and `:max_attempts` values.
4200
5932
  #
4201
- # | waiter_name | params | :delay | :max_attempts |
4202
- # | ------------------------------- | ----------------------------- | -------- | ------------- |
4203
- # | distribution_deployed | {#get_distribution} | 60 | 35 |
4204
- # | invalidation_completed | {#get_invalidation} | 20 | 30 |
4205
- # | streaming_distribution_deployed | {#get_streaming_distribution} | 60 | 25 |
5933
+ # | waiter_name | params | :delay | :max_attempts |
5934
+ # | ------------------------------- | ----------------------------------- | -------- | ------------- |
5935
+ # | distribution_deployed | {Client#get_distribution} | 60 | 35 |
5936
+ # | invalidation_completed | {Client#get_invalidation} | 20 | 30 |
5937
+ # | streaming_distribution_deployed | {Client#get_streaming_distribution} | 60 | 25 |
4206
5938
  #
4207
5939
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
4208
5940
  # because the waiter has entered a state that it will not transition