aws-sdk-cloudfront 1.30.1 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudfront.rb +4 -2
- data/lib/aws-sdk-cloudfront/client.rb +1417 -383
- data/lib/aws-sdk-cloudfront/client_api.rb +677 -118
- data/lib/aws-sdk-cloudfront/cookie_signer.rb +2 -0
- data/lib/aws-sdk-cloudfront/customizations.rb +2 -0
- data/lib/aws-sdk-cloudfront/errors.rb +290 -0
- data/lib/aws-sdk-cloudfront/resource.rb +2 -0
- data/lib/aws-sdk-cloudfront/signer.rb +2 -0
- data/lib/aws-sdk-cloudfront/types.rb +3098 -842
- data/lib/aws-sdk-cloudfront/url_signer.rb +2 -0
- data/lib/aws-sdk-cloudfront/waiters.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9227c424a2ad96173caee3989a47df53983502a402147a79ec9d7e2b2beddfc
|
4
|
+
data.tar.gz: 24c8a7ff58f586488200408c77e19360addf0c0148e02b0ed3dc578cc4b391b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e360c0a16fb8edad53a4adeb55ec2edf62afb84e0003b4c5798c2f0a6809b3419284b158f1fa6bed3c16a248494183a19c7bccec2d47a2893148d9136ec556de
|
7
|
+
data.tar.gz: d58a74a36eb62fc0ab186d3de1dbac71aeb4bf13ed3c45388ac555f928a164f93d52effb50bb5081295b01f82b31610d9b23578a950526279276e82e5e50068a
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -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:
|
@@ -26,7 +28,7 @@ require_relative 'aws-sdk-cloudfront/customizations'
|
|
26
28
|
# structure.
|
27
29
|
#
|
28
30
|
# cloud_front = Aws::CloudFront::Client.new
|
29
|
-
# resp = cloud_front.
|
31
|
+
# resp = cloud_front.create_cache_policy(params)
|
30
32
|
#
|
31
33
|
# See {Client} for more information.
|
32
34
|
#
|
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
|
|
46
48
|
# @service
|
47
49
|
module Aws::CloudFront
|
48
50
|
|
49
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.35.0'
|
50
52
|
|
51
53
|
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:
|
@@ -310,6 +312,113 @@ module Aws::CloudFront
|
|
310
312
|
|
311
313
|
# @!group API Operations
|
312
314
|
|
315
|
+
# Creates a cache policy.
|
316
|
+
#
|
317
|
+
# After you create a cache policy, you can attach it to one or more
|
318
|
+
# cache behaviors. When it’s attached to a cache behavior, the cache
|
319
|
+
# policy determines the following:
|
320
|
+
#
|
321
|
+
# * The values that CloudFront includes in the *cache key*. These values
|
322
|
+
# can include HTTP headers, cookies, and URL query strings. CloudFront
|
323
|
+
# uses the cache key to find an object in its cache that it can return
|
324
|
+
# to the viewer.
|
325
|
+
#
|
326
|
+
# * The default, minimum, and maximum time to live (TTL) values that you
|
327
|
+
# want objects to stay in the CloudFront cache.
|
328
|
+
#
|
329
|
+
# The headers, cookies, and query strings that are included in the cache
|
330
|
+
# key are automatically included in requests that CloudFront sends to
|
331
|
+
# the origin. CloudFront sends a request when it can’t find an object in
|
332
|
+
# its cache that matches the request’s cache key. If you want to send
|
333
|
+
# values to the origin but *not* include them in the cache key, use
|
334
|
+
# `CreateOriginRequestPolicy`.
|
335
|
+
#
|
336
|
+
# For more information about cache policies, see [Controlling the cache
|
337
|
+
# key][1] in the *Amazon CloudFront Developer Guide*.
|
338
|
+
#
|
339
|
+
#
|
340
|
+
#
|
341
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html
|
342
|
+
#
|
343
|
+
# @option params [required, Types::CachePolicyConfig] :cache_policy_config
|
344
|
+
# A cache policy configuration.
|
345
|
+
#
|
346
|
+
# @return [Types::CreateCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
347
|
+
#
|
348
|
+
# * {Types::CreateCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
|
349
|
+
# * {Types::CreateCachePolicyResult#location #location} => String
|
350
|
+
# * {Types::CreateCachePolicyResult#etag #etag} => String
|
351
|
+
#
|
352
|
+
# @example Request syntax with placeholder values
|
353
|
+
#
|
354
|
+
# resp = client.create_cache_policy({
|
355
|
+
# cache_policy_config: { # required
|
356
|
+
# comment: "string",
|
357
|
+
# name: "string", # required
|
358
|
+
# default_ttl: 1,
|
359
|
+
# max_ttl: 1,
|
360
|
+
# min_ttl: 1, # required
|
361
|
+
# parameters_in_cache_key_and_forwarded_to_origin: {
|
362
|
+
# enable_accept_encoding_gzip: false, # required
|
363
|
+
# headers_config: { # required
|
364
|
+
# header_behavior: "none", # required, accepts none, whitelist
|
365
|
+
# headers: {
|
366
|
+
# quantity: 1, # required
|
367
|
+
# items: ["string"],
|
368
|
+
# },
|
369
|
+
# },
|
370
|
+
# cookies_config: { # required
|
371
|
+
# cookie_behavior: "none", # required, accepts none, whitelist, allExcept, all
|
372
|
+
# cookies: {
|
373
|
+
# quantity: 1, # required
|
374
|
+
# items: ["string"],
|
375
|
+
# },
|
376
|
+
# },
|
377
|
+
# query_strings_config: { # required
|
378
|
+
# query_string_behavior: "none", # required, accepts none, whitelist, allExcept, all
|
379
|
+
# query_strings: {
|
380
|
+
# quantity: 1, # required
|
381
|
+
# items: ["string"],
|
382
|
+
# },
|
383
|
+
# },
|
384
|
+
# },
|
385
|
+
# },
|
386
|
+
# })
|
387
|
+
#
|
388
|
+
# @example Response structure
|
389
|
+
#
|
390
|
+
# resp.cache_policy.id #=> String
|
391
|
+
# resp.cache_policy.last_modified_time #=> Time
|
392
|
+
# resp.cache_policy.cache_policy_config.comment #=> String
|
393
|
+
# resp.cache_policy.cache_policy_config.name #=> String
|
394
|
+
# resp.cache_policy.cache_policy_config.default_ttl #=> Integer
|
395
|
+
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
|
396
|
+
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
|
397
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
398
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
399
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
400
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
401
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
|
402
|
+
# 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"
|
403
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
404
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
405
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
|
406
|
+
# 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"
|
407
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
|
408
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
|
409
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
410
|
+
# resp.location #=> String
|
411
|
+
# resp.etag #=> String
|
412
|
+
#
|
413
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCachePolicy2020_05_31 AWS API Documentation
|
414
|
+
#
|
415
|
+
# @overload create_cache_policy(params = {})
|
416
|
+
# @param [Hash] params ({})
|
417
|
+
def create_cache_policy(params = {}, options = {})
|
418
|
+
req = build_request(:create_cache_policy, params)
|
419
|
+
req.send_request(options)
|
420
|
+
end
|
421
|
+
|
313
422
|
# Creates a new origin access identity. If you're using Amazon S3 for
|
314
423
|
# your origin, you can use an origin access identity to require users to
|
315
424
|
# access your content using a CloudFront URL instead of the Amazon S3
|
@@ -348,7 +457,7 @@ module Aws::CloudFront
|
|
348
457
|
# resp.location #=> String
|
349
458
|
# resp.etag #=> String
|
350
459
|
#
|
351
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
|
352
461
|
#
|
353
462
|
# @overload create_cloud_front_origin_access_identity(params = {})
|
354
463
|
# @param [Hash] params ({})
|
@@ -455,31 +564,12 @@ module Aws::CloudFront
|
|
455
564
|
# },
|
456
565
|
# default_cache_behavior: { # required
|
457
566
|
# target_origin_id: "string", # required
|
458
|
-
# forwarded_values: { # required
|
459
|
-
# query_string: false, # required
|
460
|
-
# cookies: { # required
|
461
|
-
# forward: "none", # required, accepts none, whitelist, all
|
462
|
-
# whitelisted_names: {
|
463
|
-
# quantity: 1, # required
|
464
|
-
# items: ["string"],
|
465
|
-
# },
|
466
|
-
# },
|
467
|
-
# headers: {
|
468
|
-
# quantity: 1, # required
|
469
|
-
# items: ["string"],
|
470
|
-
# },
|
471
|
-
# query_string_cache_keys: {
|
472
|
-
# quantity: 1, # required
|
473
|
-
# items: ["string"],
|
474
|
-
# },
|
475
|
-
# },
|
476
567
|
# trusted_signers: { # required
|
477
568
|
# enabled: false, # required
|
478
569
|
# quantity: 1, # required
|
479
570
|
# items: ["string"],
|
480
571
|
# },
|
481
572
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
482
|
-
# min_ttl: 1, # required
|
483
573
|
# allowed_methods: {
|
484
574
|
# quantity: 1, # required
|
485
575
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -489,8 +579,6 @@ module Aws::CloudFront
|
|
489
579
|
# },
|
490
580
|
# },
|
491
581
|
# smooth_streaming: false,
|
492
|
-
# default_ttl: 1,
|
493
|
-
# max_ttl: 1,
|
494
582
|
# compress: false,
|
495
583
|
# lambda_function_associations: {
|
496
584
|
# quantity: 1, # required
|
@@ -503,6 +591,29 @@ module Aws::CloudFront
|
|
503
591
|
# ],
|
504
592
|
# },
|
505
593
|
# field_level_encryption_id: "string",
|
594
|
+
# cache_policy_id: "string",
|
595
|
+
# origin_request_policy_id: "string",
|
596
|
+
# forwarded_values: {
|
597
|
+
# query_string: false, # required
|
598
|
+
# cookies: { # required
|
599
|
+
# forward: "none", # required, accepts none, whitelist, all
|
600
|
+
# whitelisted_names: {
|
601
|
+
# quantity: 1, # required
|
602
|
+
# items: ["string"],
|
603
|
+
# },
|
604
|
+
# },
|
605
|
+
# headers: {
|
606
|
+
# quantity: 1, # required
|
607
|
+
# items: ["string"],
|
608
|
+
# },
|
609
|
+
# query_string_cache_keys: {
|
610
|
+
# quantity: 1, # required
|
611
|
+
# items: ["string"],
|
612
|
+
# },
|
613
|
+
# },
|
614
|
+
# min_ttl: 1,
|
615
|
+
# default_ttl: 1,
|
616
|
+
# max_ttl: 1,
|
506
617
|
# },
|
507
618
|
# cache_behaviors: {
|
508
619
|
# quantity: 1, # required
|
@@ -510,31 +621,12 @@ module Aws::CloudFront
|
|
510
621
|
# {
|
511
622
|
# path_pattern: "string", # required
|
512
623
|
# target_origin_id: "string", # required
|
513
|
-
# forwarded_values: { # required
|
514
|
-
# query_string: false, # required
|
515
|
-
# cookies: { # required
|
516
|
-
# forward: "none", # required, accepts none, whitelist, all
|
517
|
-
# whitelisted_names: {
|
518
|
-
# quantity: 1, # required
|
519
|
-
# items: ["string"],
|
520
|
-
# },
|
521
|
-
# },
|
522
|
-
# headers: {
|
523
|
-
# quantity: 1, # required
|
524
|
-
# items: ["string"],
|
525
|
-
# },
|
526
|
-
# query_string_cache_keys: {
|
527
|
-
# quantity: 1, # required
|
528
|
-
# items: ["string"],
|
529
|
-
# },
|
530
|
-
# },
|
531
624
|
# trusted_signers: { # required
|
532
625
|
# enabled: false, # required
|
533
626
|
# quantity: 1, # required
|
534
627
|
# items: ["string"],
|
535
628
|
# },
|
536
629
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
537
|
-
# min_ttl: 1, # required
|
538
630
|
# allowed_methods: {
|
539
631
|
# quantity: 1, # required
|
540
632
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -544,8 +636,6 @@ module Aws::CloudFront
|
|
544
636
|
# },
|
545
637
|
# },
|
546
638
|
# smooth_streaming: false,
|
547
|
-
# default_ttl: 1,
|
548
|
-
# max_ttl: 1,
|
549
639
|
# compress: false,
|
550
640
|
# lambda_function_associations: {
|
551
641
|
# quantity: 1, # required
|
@@ -558,6 +648,29 @@ module Aws::CloudFront
|
|
558
648
|
# ],
|
559
649
|
# },
|
560
650
|
# field_level_encryption_id: "string",
|
651
|
+
# cache_policy_id: "string",
|
652
|
+
# origin_request_policy_id: "string",
|
653
|
+
# forwarded_values: {
|
654
|
+
# query_string: false, # required
|
655
|
+
# cookies: { # required
|
656
|
+
# forward: "none", # required, accepts none, whitelist, all
|
657
|
+
# whitelisted_names: {
|
658
|
+
# quantity: 1, # required
|
659
|
+
# items: ["string"],
|
660
|
+
# },
|
661
|
+
# },
|
662
|
+
# headers: {
|
663
|
+
# quantity: 1, # required
|
664
|
+
# items: ["string"],
|
665
|
+
# },
|
666
|
+
# query_string_cache_keys: {
|
667
|
+
# quantity: 1, # required
|
668
|
+
# items: ["string"],
|
669
|
+
# },
|
670
|
+
# },
|
671
|
+
# min_ttl: 1,
|
672
|
+
# default_ttl: 1,
|
673
|
+
# max_ttl: 1,
|
561
674
|
# },
|
562
675
|
# ],
|
563
676
|
# },
|
@@ -586,7 +699,7 @@ module Aws::CloudFront
|
|
586
699
|
# iam_certificate_id: "string",
|
587
700
|
# acm_certificate_arn: "string",
|
588
701
|
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
589
|
-
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018
|
702
|
+
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
590
703
|
# certificate: "string",
|
591
704
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
592
705
|
# },
|
@@ -653,23 +766,11 @@ module Aws::CloudFront
|
|
653
766
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
|
654
767
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
655
768
|
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
|
656
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
657
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
658
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
659
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
660
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
661
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
662
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
663
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
664
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
665
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
666
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
667
769
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
668
770
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
669
771
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
670
772
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
671
773
|
# resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
672
|
-
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
673
774
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
674
775
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
675
776
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -677,8 +778,6 @@ module Aws::CloudFront
|
|
677
778
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
678
779
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
679
780
|
# resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
680
|
-
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
681
|
-
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
682
781
|
# resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
|
683
782
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
684
783
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -686,27 +785,31 @@ module Aws::CloudFront
|
|
686
785
|
# 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"
|
687
786
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
688
787
|
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
788
|
+
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
789
|
+
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
790
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
791
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
792
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
793
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
794
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
795
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
796
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
797
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
798
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
799
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
800
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
801
|
+
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
802
|
+
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
803
|
+
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
689
804
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
690
805
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
691
806
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
692
807
|
# resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
693
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
694
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
695
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
696
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
697
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
698
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
699
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
700
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
701
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
702
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
703
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
704
808
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
705
809
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
706
810
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
707
811
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
708
812
|
# resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
709
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
710
813
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
711
814
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
712
815
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -714,8 +817,6 @@ module Aws::CloudFront
|
|
714
817
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
715
818
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
716
819
|
# resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
717
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
718
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
719
820
|
# resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
720
821
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
721
822
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -723,6 +824,22 @@ module Aws::CloudFront
|
|
723
824
|
# 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"
|
724
825
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
725
826
|
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
827
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
828
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
829
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
830
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
831
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
832
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
833
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
834
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
835
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
836
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
837
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
838
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
839
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
840
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
841
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
842
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
726
843
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
727
844
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
728
845
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -740,7 +857,7 @@ module Aws::CloudFront
|
|
740
857
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
741
858
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
742
859
|
# resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
|
743
|
-
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
|
860
|
+
# 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"
|
744
861
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
745
862
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
746
863
|
# resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -756,7 +873,7 @@ module Aws::CloudFront
|
|
756
873
|
# resp.location #=> String
|
757
874
|
# resp.etag #=> String
|
758
875
|
#
|
759
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistribution2020_05_31 AWS API Documentation
|
760
877
|
#
|
761
878
|
# @overload create_distribution(params = {})
|
762
879
|
# @param [Hash] params ({})
|
@@ -846,31 +963,12 @@ module Aws::CloudFront
|
|
846
963
|
# },
|
847
964
|
# default_cache_behavior: { # required
|
848
965
|
# target_origin_id: "string", # required
|
849
|
-
# forwarded_values: { # required
|
850
|
-
# query_string: false, # required
|
851
|
-
# cookies: { # required
|
852
|
-
# forward: "none", # required, accepts none, whitelist, all
|
853
|
-
# whitelisted_names: {
|
854
|
-
# quantity: 1, # required
|
855
|
-
# items: ["string"],
|
856
|
-
# },
|
857
|
-
# },
|
858
|
-
# headers: {
|
859
|
-
# quantity: 1, # required
|
860
|
-
# items: ["string"],
|
861
|
-
# },
|
862
|
-
# query_string_cache_keys: {
|
863
|
-
# quantity: 1, # required
|
864
|
-
# items: ["string"],
|
865
|
-
# },
|
866
|
-
# },
|
867
966
|
# trusted_signers: { # required
|
868
967
|
# enabled: false, # required
|
869
968
|
# quantity: 1, # required
|
870
969
|
# items: ["string"],
|
871
970
|
# },
|
872
971
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
873
|
-
# min_ttl: 1, # required
|
874
972
|
# allowed_methods: {
|
875
973
|
# quantity: 1, # required
|
876
974
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -880,8 +978,6 @@ module Aws::CloudFront
|
|
880
978
|
# },
|
881
979
|
# },
|
882
980
|
# smooth_streaming: false,
|
883
|
-
# default_ttl: 1,
|
884
|
-
# max_ttl: 1,
|
885
981
|
# compress: false,
|
886
982
|
# lambda_function_associations: {
|
887
983
|
# quantity: 1, # required
|
@@ -894,6 +990,29 @@ module Aws::CloudFront
|
|
894
990
|
# ],
|
895
991
|
# },
|
896
992
|
# field_level_encryption_id: "string",
|
993
|
+
# cache_policy_id: "string",
|
994
|
+
# origin_request_policy_id: "string",
|
995
|
+
# forwarded_values: {
|
996
|
+
# query_string: false, # required
|
997
|
+
# cookies: { # required
|
998
|
+
# forward: "none", # required, accepts none, whitelist, all
|
999
|
+
# whitelisted_names: {
|
1000
|
+
# quantity: 1, # required
|
1001
|
+
# items: ["string"],
|
1002
|
+
# },
|
1003
|
+
# },
|
1004
|
+
# headers: {
|
1005
|
+
# quantity: 1, # required
|
1006
|
+
# items: ["string"],
|
1007
|
+
# },
|
1008
|
+
# query_string_cache_keys: {
|
1009
|
+
# quantity: 1, # required
|
1010
|
+
# items: ["string"],
|
1011
|
+
# },
|
1012
|
+
# },
|
1013
|
+
# min_ttl: 1,
|
1014
|
+
# default_ttl: 1,
|
1015
|
+
# max_ttl: 1,
|
897
1016
|
# },
|
898
1017
|
# cache_behaviors: {
|
899
1018
|
# quantity: 1, # required
|
@@ -901,31 +1020,12 @@ module Aws::CloudFront
|
|
901
1020
|
# {
|
902
1021
|
# path_pattern: "string", # required
|
903
1022
|
# target_origin_id: "string", # required
|
904
|
-
# forwarded_values: { # required
|
905
|
-
# query_string: false, # required
|
906
|
-
# cookies: { # required
|
907
|
-
# forward: "none", # required, accepts none, whitelist, all
|
908
|
-
# whitelisted_names: {
|
909
|
-
# quantity: 1, # required
|
910
|
-
# items: ["string"],
|
911
|
-
# },
|
912
|
-
# },
|
913
|
-
# headers: {
|
914
|
-
# quantity: 1, # required
|
915
|
-
# items: ["string"],
|
916
|
-
# },
|
917
|
-
# query_string_cache_keys: {
|
918
|
-
# quantity: 1, # required
|
919
|
-
# items: ["string"],
|
920
|
-
# },
|
921
|
-
# },
|
922
1023
|
# trusted_signers: { # required
|
923
1024
|
# enabled: false, # required
|
924
1025
|
# quantity: 1, # required
|
925
1026
|
# items: ["string"],
|
926
1027
|
# },
|
927
1028
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
928
|
-
# min_ttl: 1, # required
|
929
1029
|
# allowed_methods: {
|
930
1030
|
# quantity: 1, # required
|
931
1031
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -935,8 +1035,6 @@ module Aws::CloudFront
|
|
935
1035
|
# },
|
936
1036
|
# },
|
937
1037
|
# smooth_streaming: false,
|
938
|
-
# default_ttl: 1,
|
939
|
-
# max_ttl: 1,
|
940
1038
|
# compress: false,
|
941
1039
|
# lambda_function_associations: {
|
942
1040
|
# quantity: 1, # required
|
@@ -949,6 +1047,29 @@ module Aws::CloudFront
|
|
949
1047
|
# ],
|
950
1048
|
# },
|
951
1049
|
# field_level_encryption_id: "string",
|
1050
|
+
# cache_policy_id: "string",
|
1051
|
+
# origin_request_policy_id: "string",
|
1052
|
+
# forwarded_values: {
|
1053
|
+
# query_string: false, # required
|
1054
|
+
# cookies: { # required
|
1055
|
+
# forward: "none", # required, accepts none, whitelist, all
|
1056
|
+
# whitelisted_names: {
|
1057
|
+
# quantity: 1, # required
|
1058
|
+
# items: ["string"],
|
1059
|
+
# },
|
1060
|
+
# },
|
1061
|
+
# headers: {
|
1062
|
+
# quantity: 1, # required
|
1063
|
+
# items: ["string"],
|
1064
|
+
# },
|
1065
|
+
# query_string_cache_keys: {
|
1066
|
+
# quantity: 1, # required
|
1067
|
+
# items: ["string"],
|
1068
|
+
# },
|
1069
|
+
# },
|
1070
|
+
# min_ttl: 1,
|
1071
|
+
# default_ttl: 1,
|
1072
|
+
# max_ttl: 1,
|
952
1073
|
# },
|
953
1074
|
# ],
|
954
1075
|
# },
|
@@ -977,7 +1098,7 @@ module Aws::CloudFront
|
|
977
1098
|
# iam_certificate_id: "string",
|
978
1099
|
# acm_certificate_arn: "string",
|
979
1100
|
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
980
|
-
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018
|
1101
|
+
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
981
1102
|
# certificate: "string",
|
982
1103
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
983
1104
|
# },
|
@@ -1053,23 +1174,11 @@ module Aws::CloudFront
|
|
1053
1174
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
|
1054
1175
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
1055
1176
|
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
|
1056
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
1057
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1058
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1059
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
1060
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1061
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
1062
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
1063
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
1064
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1065
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
1066
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
1067
1177
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
1068
1178
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
1069
1179
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
1070
1180
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
1071
1181
|
# resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
1072
|
-
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
1073
1182
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
1074
1183
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
1075
1184
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -1077,8 +1186,6 @@ module Aws::CloudFront
|
|
1077
1186
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
1078
1187
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
1079
1188
|
# resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
1080
|
-
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
1081
|
-
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
1082
1189
|
# resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
|
1083
1190
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
1084
1191
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -1086,27 +1193,31 @@ module Aws::CloudFront
|
|
1086
1193
|
# 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"
|
1087
1194
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
1088
1195
|
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
1196
|
+
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
1197
|
+
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
1198
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
1199
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1200
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1201
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
1202
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1203
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
1204
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
1205
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
1206
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1207
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
1208
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
1209
|
+
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
1210
|
+
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
1211
|
+
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
1089
1212
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
1090
1213
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
1091
1214
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
1092
1215
|
# resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
1093
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
1094
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1095
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1096
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
1097
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1098
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
1099
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
1100
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
1101
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1102
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
1103
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
1104
1216
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
1105
1217
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
1106
1218
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
1107
1219
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
1108
1220
|
# resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
1109
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
1110
1221
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
1111
1222
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
1112
1223
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -1114,8 +1225,6 @@ module Aws::CloudFront
|
|
1114
1225
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
1115
1226
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
1116
1227
|
# resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
1117
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
1118
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
1119
1228
|
# resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
1120
1229
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
1121
1230
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -1123,6 +1232,22 @@ module Aws::CloudFront
|
|
1123
1232
|
# 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"
|
1124
1233
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
1125
1234
|
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
1235
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
1236
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
1237
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
1238
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1239
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1240
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
1241
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1242
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
1243
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
1244
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
1245
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1246
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
1247
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
1248
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
1249
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
1250
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
1126
1251
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
1127
1252
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
1128
1253
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -1140,7 +1265,7 @@ module Aws::CloudFront
|
|
1140
1265
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
1141
1266
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
1142
1267
|
# resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
|
1143
|
-
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
|
1268
|
+
# 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"
|
1144
1269
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
1145
1270
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
1146
1271
|
# resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -1156,7 +1281,7 @@ module Aws::CloudFront
|
|
1156
1281
|
# resp.location #=> String
|
1157
1282
|
# resp.etag #=> String
|
1158
1283
|
#
|
1159
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1284
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistributionWithTags2020_05_31 AWS API Documentation
|
1160
1285
|
#
|
1161
1286
|
# @overload create_distribution_with_tags(params = {})
|
1162
1287
|
# @param [Hash] params ({})
|
@@ -1230,7 +1355,7 @@ module Aws::CloudFront
|
|
1230
1355
|
# resp.location #=> String
|
1231
1356
|
# resp.etag #=> String
|
1232
1357
|
#
|
1233
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1358
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
|
1234
1359
|
#
|
1235
1360
|
# @overload create_field_level_encryption_config(params = {})
|
1236
1361
|
# @param [Hash] params ({})
|
@@ -1290,7 +1415,7 @@ module Aws::CloudFront
|
|
1290
1415
|
# resp.location #=> String
|
1291
1416
|
# resp.etag #=> String
|
1292
1417
|
#
|
1293
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1418
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
|
1294
1419
|
#
|
1295
1420
|
# @overload create_field_level_encryption_profile(params = {})
|
1296
1421
|
# @param [Hash] params ({})
|
@@ -1336,7 +1461,7 @@ module Aws::CloudFront
|
|
1336
1461
|
# resp.invalidation.invalidation_batch.paths.items[0] #=> String
|
1337
1462
|
# resp.invalidation.invalidation_batch.caller_reference #=> String
|
1338
1463
|
#
|
1339
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateInvalidation2020_05_31 AWS API Documentation
|
1340
1465
|
#
|
1341
1466
|
# @overload create_invalidation(params = {})
|
1342
1467
|
# @param [Hash] params ({})
|
@@ -1345,6 +1470,106 @@ module Aws::CloudFront
|
|
1345
1470
|
req.send_request(options)
|
1346
1471
|
end
|
1347
1472
|
|
1473
|
+
# Creates an origin request policy.
|
1474
|
+
#
|
1475
|
+
# After you create an origin request policy, you can attach it to one or
|
1476
|
+
# more cache behaviors. When it’s attached to a cache behavior, the
|
1477
|
+
# origin request policy determines the values that CloudFront includes
|
1478
|
+
# in requests that it sends to the origin. Each request that CloudFront
|
1479
|
+
# sends to the origin includes the following:
|
1480
|
+
#
|
1481
|
+
# * The request body and the URL path (without the domain name) from the
|
1482
|
+
# viewer request.
|
1483
|
+
#
|
1484
|
+
# * The headers that CloudFront automatically includes in every origin
|
1485
|
+
# request, including `Host`, `User-Agent`, and `X-Amz-Cf-Id`.
|
1486
|
+
#
|
1487
|
+
# * All HTTP headers, cookies, and URL query strings that are specified
|
1488
|
+
# in the cache policy or the origin request policy. These can include
|
1489
|
+
# items from the viewer request and, in the case of headers,
|
1490
|
+
# additional ones that are added by CloudFront.
|
1491
|
+
#
|
1492
|
+
# CloudFront sends a request when it can’t find a valid object in its
|
1493
|
+
# cache that matches the request. If you want to send values to the
|
1494
|
+
# origin and also include them in the cache key, use
|
1495
|
+
# `CreateCachePolicy`.
|
1496
|
+
#
|
1497
|
+
# For more information about origin request policies, see [Controlling
|
1498
|
+
# origin requests][1] in the *Amazon CloudFront Developer Guide*.
|
1499
|
+
#
|
1500
|
+
#
|
1501
|
+
#
|
1502
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html
|
1503
|
+
#
|
1504
|
+
# @option params [required, Types::OriginRequestPolicyConfig] :origin_request_policy_config
|
1505
|
+
# An origin request policy configuration.
|
1506
|
+
#
|
1507
|
+
# @return [Types::CreateOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1508
|
+
#
|
1509
|
+
# * {Types::CreateOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
|
1510
|
+
# * {Types::CreateOriginRequestPolicyResult#location #location} => String
|
1511
|
+
# * {Types::CreateOriginRequestPolicyResult#etag #etag} => String
|
1512
|
+
#
|
1513
|
+
# @example Request syntax with placeholder values
|
1514
|
+
#
|
1515
|
+
# resp = client.create_origin_request_policy({
|
1516
|
+
# origin_request_policy_config: { # required
|
1517
|
+
# comment: "string",
|
1518
|
+
# name: "string", # required
|
1519
|
+
# headers_config: { # required
|
1520
|
+
# header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront
|
1521
|
+
# headers: {
|
1522
|
+
# quantity: 1, # required
|
1523
|
+
# items: ["string"],
|
1524
|
+
# },
|
1525
|
+
# },
|
1526
|
+
# cookies_config: { # required
|
1527
|
+
# cookie_behavior: "none", # required, accepts none, whitelist, all
|
1528
|
+
# cookies: {
|
1529
|
+
# quantity: 1, # required
|
1530
|
+
# items: ["string"],
|
1531
|
+
# },
|
1532
|
+
# },
|
1533
|
+
# query_strings_config: { # required
|
1534
|
+
# query_string_behavior: "none", # required, accepts none, whitelist, all
|
1535
|
+
# query_strings: {
|
1536
|
+
# quantity: 1, # required
|
1537
|
+
# items: ["string"],
|
1538
|
+
# },
|
1539
|
+
# },
|
1540
|
+
# },
|
1541
|
+
# })
|
1542
|
+
#
|
1543
|
+
# @example Response structure
|
1544
|
+
#
|
1545
|
+
# resp.origin_request_policy.id #=> String
|
1546
|
+
# resp.origin_request_policy.last_modified_time #=> Time
|
1547
|
+
# resp.origin_request_policy.origin_request_policy_config.comment #=> String
|
1548
|
+
# resp.origin_request_policy.origin_request_policy_config.name #=> String
|
1549
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
|
1550
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
1551
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
|
1552
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
1553
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
1554
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
1555
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
1556
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
1557
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
|
1558
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
1559
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
1560
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
1561
|
+
# resp.location #=> String
|
1562
|
+
# resp.etag #=> String
|
1563
|
+
#
|
1564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateOriginRequestPolicy2020_05_31 AWS API Documentation
|
1565
|
+
#
|
1566
|
+
# @overload create_origin_request_policy(params = {})
|
1567
|
+
# @param [Hash] params ({})
|
1568
|
+
def create_origin_request_policy(params = {}, options = {})
|
1569
|
+
req = build_request(:create_origin_request_policy, params)
|
1570
|
+
req.send_request(options)
|
1571
|
+
end
|
1572
|
+
|
1348
1573
|
# Add a new public key to CloudFront to use, for example, for
|
1349
1574
|
# field-level encryption. You can add a maximum of 10 public keys with
|
1350
1575
|
# one AWS account.
|
@@ -1380,7 +1605,7 @@ module Aws::CloudFront
|
|
1380
1605
|
# resp.location #=> String
|
1381
1606
|
# resp.etag #=> String
|
1382
1607
|
#
|
1383
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreatePublicKey2020_05_31 AWS API Documentation
|
1384
1609
|
#
|
1385
1610
|
# @overload create_public_key(params = {})
|
1386
1611
|
# @param [Hash] params ({})
|
@@ -1495,7 +1720,7 @@ module Aws::CloudFront
|
|
1495
1720
|
# resp.location #=> String
|
1496
1721
|
# resp.etag #=> String
|
1497
1722
|
#
|
1498
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistribution2020_05_31 AWS API Documentation
|
1499
1724
|
#
|
1500
1725
|
# @overload create_streaming_distribution(params = {})
|
1501
1726
|
# @param [Hash] params ({})
|
@@ -1587,7 +1812,7 @@ module Aws::CloudFront
|
|
1587
1812
|
# resp.location #=> String
|
1588
1813
|
# resp.etag #=> String
|
1589
1814
|
#
|
1590
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistributionWithTags2020_05_31 AWS API Documentation
|
1591
1816
|
#
|
1592
1817
|
# @overload create_streaming_distribution_with_tags(params = {})
|
1593
1818
|
# @param [Hash] params ({})
|
@@ -1596,6 +1821,43 @@ module Aws::CloudFront
|
|
1596
1821
|
req.send_request(options)
|
1597
1822
|
end
|
1598
1823
|
|
1824
|
+
# Deletes a cache policy.
|
1825
|
+
#
|
1826
|
+
# You cannot delete a cache policy if it’s attached to a cache behavior.
|
1827
|
+
# First update your distributions to remove the cache policy from all
|
1828
|
+
# cache behaviors, then delete the cache policy.
|
1829
|
+
#
|
1830
|
+
# To delete a cache policy, you must provide the policy’s identifier and
|
1831
|
+
# version. To get these values, you can use `ListCachePolicies` or
|
1832
|
+
# `GetCachePolicy`.
|
1833
|
+
#
|
1834
|
+
# @option params [required, String] :id
|
1835
|
+
# The unique identifier for the cache policy that you are deleting. To
|
1836
|
+
# get the identifier, you can use `ListCachePolicies`.
|
1837
|
+
#
|
1838
|
+
# @option params [String] :if_match
|
1839
|
+
# The version of the cache policy that you are deleting. The version is
|
1840
|
+
# the cache policy’s `ETag` value, which you can get using
|
1841
|
+
# `ListCachePolicies`, `GetCachePolicy`, or `GetCachePolicyConfig`.
|
1842
|
+
#
|
1843
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1844
|
+
#
|
1845
|
+
# @example Request syntax with placeholder values
|
1846
|
+
#
|
1847
|
+
# resp = client.delete_cache_policy({
|
1848
|
+
# id: "string", # required
|
1849
|
+
# if_match: "string",
|
1850
|
+
# })
|
1851
|
+
#
|
1852
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCachePolicy2020_05_31 AWS API Documentation
|
1853
|
+
#
|
1854
|
+
# @overload delete_cache_policy(params = {})
|
1855
|
+
# @param [Hash] params ({})
|
1856
|
+
def delete_cache_policy(params = {}, options = {})
|
1857
|
+
req = build_request(:delete_cache_policy, params)
|
1858
|
+
req.send_request(options)
|
1859
|
+
end
|
1860
|
+
|
1599
1861
|
# Delete an origin access identity.
|
1600
1862
|
#
|
1601
1863
|
# @option params [required, String] :id
|
@@ -1614,7 +1876,7 @@ module Aws::CloudFront
|
|
1614
1876
|
# if_match: "string",
|
1615
1877
|
# })
|
1616
1878
|
#
|
1617
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
|
1618
1880
|
#
|
1619
1881
|
# @overload delete_cloud_front_origin_access_identity(params = {})
|
1620
1882
|
# @param [Hash] params ({})
|
@@ -1641,7 +1903,7 @@ module Aws::CloudFront
|
|
1641
1903
|
# if_match: "string",
|
1642
1904
|
# })
|
1643
1905
|
#
|
1644
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteDistribution2020_05_31 AWS API Documentation
|
1645
1907
|
#
|
1646
1908
|
# @overload delete_distribution(params = {})
|
1647
1909
|
# @param [Hash] params ({})
|
@@ -1668,7 +1930,7 @@ module Aws::CloudFront
|
|
1668
1930
|
# if_match: "string",
|
1669
1931
|
# })
|
1670
1932
|
#
|
1671
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
|
1672
1934
|
#
|
1673
1935
|
# @overload delete_field_level_encryption_config(params = {})
|
1674
1936
|
# @param [Hash] params ({})
|
@@ -1695,7 +1957,7 @@ module Aws::CloudFront
|
|
1695
1957
|
# if_match: "string",
|
1696
1958
|
# })
|
1697
1959
|
#
|
1698
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1960
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
|
1699
1961
|
#
|
1700
1962
|
# @overload delete_field_level_encryption_profile(params = {})
|
1701
1963
|
# @param [Hash] params ({})
|
@@ -1704,6 +1966,46 @@ module Aws::CloudFront
|
|
1704
1966
|
req.send_request(options)
|
1705
1967
|
end
|
1706
1968
|
|
1969
|
+
# Deletes an origin request policy.
|
1970
|
+
#
|
1971
|
+
# You cannot delete an origin request policy if it’s attached to any
|
1972
|
+
# cache behaviors. First update your distributions to remove the origin
|
1973
|
+
# request policy from all cache behaviors, then delete the origin
|
1974
|
+
# request policy.
|
1975
|
+
#
|
1976
|
+
# To delete an origin request policy, you must provide the policy’s
|
1977
|
+
# identifier and version. To get the identifier, you can use
|
1978
|
+
# `ListOriginRequestPolicies` or `GetOriginRequestPolicy`.
|
1979
|
+
#
|
1980
|
+
# @option params [required, String] :id
|
1981
|
+
# The unique identifier for the origin request policy that you are
|
1982
|
+
# deleting. To get the identifier, you can use
|
1983
|
+
# `ListOriginRequestPolicies`.
|
1984
|
+
#
|
1985
|
+
# @option params [String] :if_match
|
1986
|
+
# The version of the origin request policy that you are deleting. The
|
1987
|
+
# version is the origin request policy’s `ETag` value, which you can get
|
1988
|
+
# using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
|
1989
|
+
# `GetOriginRequestPolicyConfig`.
|
1990
|
+
#
|
1991
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1992
|
+
#
|
1993
|
+
# @example Request syntax with placeholder values
|
1994
|
+
#
|
1995
|
+
# resp = client.delete_origin_request_policy({
|
1996
|
+
# id: "string", # required
|
1997
|
+
# if_match: "string",
|
1998
|
+
# })
|
1999
|
+
#
|
2000
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteOriginRequestPolicy2020_05_31 AWS API Documentation
|
2001
|
+
#
|
2002
|
+
# @overload delete_origin_request_policy(params = {})
|
2003
|
+
# @param [Hash] params ({})
|
2004
|
+
def delete_origin_request_policy(params = {}, options = {})
|
2005
|
+
req = build_request(:delete_origin_request_policy, params)
|
2006
|
+
req.send_request(options)
|
2007
|
+
end
|
2008
|
+
|
1707
2009
|
# Remove a public key you previously added to CloudFront.
|
1708
2010
|
#
|
1709
2011
|
# @option params [required, String] :id
|
@@ -1722,7 +2024,7 @@ module Aws::CloudFront
|
|
1722
2024
|
# if_match: "string",
|
1723
2025
|
# })
|
1724
2026
|
#
|
1725
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeletePublicKey2020_05_31 AWS API Documentation
|
1726
2028
|
#
|
1727
2029
|
# @overload delete_public_key(params = {})
|
1728
2030
|
# @param [Hash] params ({})
|
@@ -1792,7 +2094,7 @@ module Aws::CloudFront
|
|
1792
2094
|
# if_match: "string",
|
1793
2095
|
# })
|
1794
2096
|
#
|
1795
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2097
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteStreamingDistribution2020_05_31 AWS API Documentation
|
1796
2098
|
#
|
1797
2099
|
# @overload delete_streaming_distribution(params = {})
|
1798
2100
|
# @param [Hash] params ({})
|
@@ -1801,6 +2103,127 @@ module Aws::CloudFront
|
|
1801
2103
|
req.send_request(options)
|
1802
2104
|
end
|
1803
2105
|
|
2106
|
+
# Gets a cache policy, including the following metadata:
|
2107
|
+
#
|
2108
|
+
# * The policy’s identifier.
|
2109
|
+
#
|
2110
|
+
# * The date and time when the policy was last modified.
|
2111
|
+
#
|
2112
|
+
# To get a cache policy, you must provide the policy’s identifier. If
|
2113
|
+
# the cache policy is attached to a distribution’s cache behavior, you
|
2114
|
+
# can get the policy’s identifier using `ListDistributions` or
|
2115
|
+
# `GetDistribution`. If the cache policy is not attached to a cache
|
2116
|
+
# behavior, you can get the identifier using `ListCachePolicies`.
|
2117
|
+
#
|
2118
|
+
# @option params [required, String] :id
|
2119
|
+
# The unique identifier for the cache policy. If the cache policy is
|
2120
|
+
# attached to a distribution’s cache behavior, you can get the policy’s
|
2121
|
+
# identifier using `ListDistributions` or `GetDistribution`. If the
|
2122
|
+
# cache policy is not attached to a cache behavior, you can get the
|
2123
|
+
# identifier using `ListCachePolicies`.
|
2124
|
+
#
|
2125
|
+
# @return [Types::GetCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2126
|
+
#
|
2127
|
+
# * {Types::GetCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
|
2128
|
+
# * {Types::GetCachePolicyResult#etag #etag} => String
|
2129
|
+
#
|
2130
|
+
# @example Request syntax with placeholder values
|
2131
|
+
#
|
2132
|
+
# resp = client.get_cache_policy({
|
2133
|
+
# id: "string", # required
|
2134
|
+
# })
|
2135
|
+
#
|
2136
|
+
# @example Response structure
|
2137
|
+
#
|
2138
|
+
# resp.cache_policy.id #=> String
|
2139
|
+
# resp.cache_policy.last_modified_time #=> Time
|
2140
|
+
# resp.cache_policy.cache_policy_config.comment #=> String
|
2141
|
+
# resp.cache_policy.cache_policy_config.name #=> String
|
2142
|
+
# resp.cache_policy.cache_policy_config.default_ttl #=> Integer
|
2143
|
+
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
|
2144
|
+
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
|
2145
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
2146
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
2147
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
2148
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
2149
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
|
2150
|
+
# 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"
|
2151
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
2152
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
2153
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
|
2154
|
+
# 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"
|
2155
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
|
2156
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
|
2157
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
2158
|
+
# resp.etag #=> String
|
2159
|
+
#
|
2160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicy2020_05_31 AWS API Documentation
|
2161
|
+
#
|
2162
|
+
# @overload get_cache_policy(params = {})
|
2163
|
+
# @param [Hash] params ({})
|
2164
|
+
def get_cache_policy(params = {}, options = {})
|
2165
|
+
req = build_request(:get_cache_policy, params)
|
2166
|
+
req.send_request(options)
|
2167
|
+
end
|
2168
|
+
|
2169
|
+
# Gets a cache policy configuration.
|
2170
|
+
#
|
2171
|
+
# To get a cache policy configuration, you must provide the policy’s
|
2172
|
+
# identifier. If the cache policy is attached to a distribution’s cache
|
2173
|
+
# behavior, you can get the policy’s identifier using
|
2174
|
+
# `ListDistributions` or `GetDistribution`. If the cache policy is not
|
2175
|
+
# attached to a cache behavior, you can get the identifier using
|
2176
|
+
# `ListCachePolicies`.
|
2177
|
+
#
|
2178
|
+
# @option params [required, String] :id
|
2179
|
+
# The unique identifier for the cache policy. If the cache policy is
|
2180
|
+
# attached to a distribution’s cache behavior, you can get the policy’s
|
2181
|
+
# identifier using `ListDistributions` or `GetDistribution`. If the
|
2182
|
+
# cache policy is not attached to a cache behavior, you can get the
|
2183
|
+
# identifier using `ListCachePolicies`.
|
2184
|
+
#
|
2185
|
+
# @return [Types::GetCachePolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2186
|
+
#
|
2187
|
+
# * {Types::GetCachePolicyConfigResult#cache_policy_config #cache_policy_config} => Types::CachePolicyConfig
|
2188
|
+
# * {Types::GetCachePolicyConfigResult#etag #etag} => String
|
2189
|
+
#
|
2190
|
+
# @example Request syntax with placeholder values
|
2191
|
+
#
|
2192
|
+
# resp = client.get_cache_policy_config({
|
2193
|
+
# id: "string", # required
|
2194
|
+
# })
|
2195
|
+
#
|
2196
|
+
# @example Response structure
|
2197
|
+
#
|
2198
|
+
# resp.cache_policy_config.comment #=> String
|
2199
|
+
# resp.cache_policy_config.name #=> String
|
2200
|
+
# resp.cache_policy_config.default_ttl #=> Integer
|
2201
|
+
# resp.cache_policy_config.max_ttl #=> Integer
|
2202
|
+
# resp.cache_policy_config.min_ttl #=> Integer
|
2203
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
2204
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
2205
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
2206
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
2207
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
|
2208
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
|
2209
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
2210
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
2211
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
|
2212
|
+
# 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"
|
2213
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
|
2214
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
|
2215
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
2216
|
+
# resp.etag #=> String
|
2217
|
+
#
|
2218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicyConfig2020_05_31 AWS API Documentation
|
2219
|
+
#
|
2220
|
+
# @overload get_cache_policy_config(params = {})
|
2221
|
+
# @param [Hash] params ({})
|
2222
|
+
def get_cache_policy_config(params = {}, options = {})
|
2223
|
+
req = build_request(:get_cache_policy_config, params)
|
2224
|
+
req.send_request(options)
|
2225
|
+
end
|
2226
|
+
|
1804
2227
|
# Get the information about an origin access identity.
|
1805
2228
|
#
|
1806
2229
|
# @option params [required, String] :id
|
@@ -1825,7 +2248,7 @@ module Aws::CloudFront
|
|
1825
2248
|
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
|
1826
2249
|
# resp.etag #=> String
|
1827
2250
|
#
|
1828
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
|
1829
2252
|
#
|
1830
2253
|
# @overload get_cloud_front_origin_access_identity(params = {})
|
1831
2254
|
# @param [Hash] params ({})
|
@@ -1856,7 +2279,7 @@ module Aws::CloudFront
|
|
1856
2279
|
# resp.cloud_front_origin_access_identity_config.comment #=> String
|
1857
2280
|
# resp.etag #=> String
|
1858
2281
|
#
|
1859
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig2020_05_31 AWS API Documentation
|
1860
2283
|
#
|
1861
2284
|
# @overload get_cloud_front_origin_access_identity_config(params = {})
|
1862
2285
|
# @param [Hash] params ({})
|
@@ -1932,23 +2355,11 @@ module Aws::CloudFront
|
|
1932
2355
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
|
1933
2356
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
1934
2357
|
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
|
1935
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
1936
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1937
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1938
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
1939
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1940
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
1941
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
1942
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
1943
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1944
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
1945
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
1946
2358
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
1947
2359
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
1948
2360
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
1949
2361
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
1950
2362
|
# resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
1951
|
-
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
1952
2363
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
1953
2364
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
1954
2365
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -1956,8 +2367,6 @@ module Aws::CloudFront
|
|
1956
2367
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
1957
2368
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
1958
2369
|
# resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
1959
|
-
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
1960
|
-
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
1961
2370
|
# resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
|
1962
2371
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
1963
2372
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -1965,27 +2374,31 @@ module Aws::CloudFront
|
|
1965
2374
|
# 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"
|
1966
2375
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
1967
2376
|
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
2377
|
+
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
2378
|
+
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
2379
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2380
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2381
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2382
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2383
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2384
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2385
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
2386
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2387
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2388
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2389
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2390
|
+
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
2391
|
+
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
2392
|
+
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
1968
2393
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
1969
2394
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
1970
2395
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
1971
2396
|
# resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
1972
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
1973
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1974
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1975
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
1976
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1977
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
1978
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
1979
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
1980
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1981
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
1982
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
1983
2397
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
1984
2398
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
1985
2399
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
1986
2400
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
1987
2401
|
# resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
1988
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
1989
2402
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
1990
2403
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
1991
2404
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -1993,8 +2406,6 @@ module Aws::CloudFront
|
|
1993
2406
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
1994
2407
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
1995
2408
|
# resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
1996
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
1997
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
1998
2409
|
# resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
1999
2410
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
2000
2411
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -2002,6 +2413,22 @@ module Aws::CloudFront
|
|
2002
2413
|
# 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"
|
2003
2414
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2004
2415
|
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
2416
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
2417
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
2418
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2419
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2420
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2421
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2422
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2423
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2424
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2425
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2426
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2427
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2428
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2429
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
2430
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
2431
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
2005
2432
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
2006
2433
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
2007
2434
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -2019,7 +2446,7 @@ module Aws::CloudFront
|
|
2019
2446
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
2020
2447
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
2021
2448
|
# resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
|
2022
|
-
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
|
2449
|
+
# 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"
|
2023
2450
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
2024
2451
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
2025
2452
|
# resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -2039,7 +2466,7 @@ module Aws::CloudFront
|
|
2039
2466
|
#
|
2040
2467
|
# * distribution_deployed
|
2041
2468
|
#
|
2042
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2469
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistribution2020_05_31 AWS API Documentation
|
2043
2470
|
#
|
2044
2471
|
# @overload get_distribution(params = {})
|
2045
2472
|
# @param [Hash] params ({})
|
@@ -2102,23 +2529,11 @@ module Aws::CloudFront
|
|
2102
2529
|
# resp.distribution_config.origin_groups.items[0].members.items #=> Array
|
2103
2530
|
# resp.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
2104
2531
|
# resp.distribution_config.default_cache_behavior.target_origin_id #=> String
|
2105
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2106
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2107
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2108
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2109
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2110
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2111
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
2112
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2113
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2114
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2115
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2116
2532
|
# resp.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
2117
2533
|
# resp.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
2118
2534
|
# resp.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
2119
2535
|
# resp.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
2120
2536
|
# resp.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2121
|
-
# resp.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
2122
2537
|
# resp.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
2123
2538
|
# resp.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
2124
2539
|
# resp.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2126,8 +2541,6 @@ module Aws::CloudFront
|
|
2126
2541
|
# resp.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
2127
2542
|
# resp.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
2128
2543
|
# resp.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
2129
|
-
# resp.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
2130
|
-
# resp.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
2131
2544
|
# resp.distribution_config.default_cache_behavior.compress #=> Boolean
|
2132
2545
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
2133
2546
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -2135,27 +2548,31 @@ module Aws::CloudFront
|
|
2135
2548
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
2136
2549
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
2137
2550
|
# resp.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
2551
|
+
# resp.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
2552
|
+
# resp.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
2553
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2554
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2555
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2556
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2557
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2558
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2559
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
2560
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2561
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2562
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2563
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2564
|
+
# resp.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
2565
|
+
# resp.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
2566
|
+
# resp.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
2138
2567
|
# resp.distribution_config.cache_behaviors.quantity #=> Integer
|
2139
2568
|
# resp.distribution_config.cache_behaviors.items #=> Array
|
2140
2569
|
# resp.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
2141
2570
|
# resp.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
2142
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2143
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2144
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2145
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2146
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2147
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2148
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2149
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2150
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2151
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2152
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2153
2571
|
# resp.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
2154
2572
|
# resp.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
2155
2573
|
# resp.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
2156
2574
|
# resp.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
2157
2575
|
# resp.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2158
|
-
# resp.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
2159
2576
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
2160
2577
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
2161
2578
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2163,8 +2580,6 @@ module Aws::CloudFront
|
|
2163
2580
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
2164
2581
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
2165
2582
|
# resp.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
2166
|
-
# resp.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
2167
|
-
# resp.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
2168
2583
|
# resp.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
2169
2584
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
2170
2585
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -2172,6 +2587,22 @@ module Aws::CloudFront
|
|
2172
2587
|
# 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"
|
2173
2588
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2174
2589
|
# resp.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
2590
|
+
# resp.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
2591
|
+
# resp.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
2592
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2593
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2594
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2595
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2596
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2597
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2598
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2599
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2600
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2601
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2602
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2603
|
+
# resp.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
2604
|
+
# resp.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
2605
|
+
# resp.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
2175
2606
|
# resp.distribution_config.custom_error_responses.quantity #=> Integer
|
2176
2607
|
# resp.distribution_config.custom_error_responses.items #=> Array
|
2177
2608
|
# resp.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -2189,7 +2620,7 @@ module Aws::CloudFront
|
|
2189
2620
|
# resp.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
2190
2621
|
# resp.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
2191
2622
|
# resp.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
|
2192
|
-
# resp.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
|
2623
|
+
# resp.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
|
2193
2624
|
# resp.distribution_config.viewer_certificate.certificate #=> String
|
2194
2625
|
# resp.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
2195
2626
|
# resp.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -2201,7 +2632,7 @@ module Aws::CloudFront
|
|
2201
2632
|
# resp.distribution_config.is_ipv6_enabled #=> Boolean
|
2202
2633
|
# resp.etag #=> String
|
2203
2634
|
#
|
2204
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig2020_05_31 AWS API Documentation
|
2205
2636
|
#
|
2206
2637
|
# @overload get_distribution_config(params = {})
|
2207
2638
|
# @param [Hash] params ({})
|
@@ -2246,7 +2677,7 @@ module Aws::CloudFront
|
|
2246
2677
|
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
2247
2678
|
# resp.etag #=> String
|
2248
2679
|
#
|
2249
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryption2020_05_31 AWS API Documentation
|
2250
2681
|
#
|
2251
2682
|
# @overload get_field_level_encryption(params = {})
|
2252
2683
|
# @param [Hash] params ({})
|
@@ -2289,7 +2720,7 @@ module Aws::CloudFront
|
|
2289
2720
|
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
2290
2721
|
# resp.etag #=> String
|
2291
2722
|
#
|
2292
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
|
2293
2724
|
#
|
2294
2725
|
# @overload get_field_level_encryption_config(params = {})
|
2295
2726
|
# @param [Hash] params ({})
|
@@ -2330,7 +2761,7 @@ module Aws::CloudFront
|
|
2330
2761
|
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
2331
2762
|
# resp.etag #=> String
|
2332
2763
|
#
|
2333
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
|
2334
2765
|
#
|
2335
2766
|
# @overload get_field_level_encryption_profile(params = {})
|
2336
2767
|
# @param [Hash] params ({})
|
@@ -2370,7 +2801,7 @@ module Aws::CloudFront
|
|
2370
2801
|
# resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
2371
2802
|
# resp.etag #=> String
|
2372
2803
|
#
|
2373
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig2020_05_31 AWS API Documentation
|
2374
2805
|
#
|
2375
2806
|
# @overload get_field_level_encryption_profile_config(params = {})
|
2376
2807
|
# @param [Hash] params ({})
|
@@ -2414,7 +2845,7 @@ module Aws::CloudFront
|
|
2414
2845
|
#
|
2415
2846
|
# * invalidation_completed
|
2416
2847
|
#
|
2417
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2848
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetInvalidation2020_05_31 AWS API Documentation
|
2418
2849
|
#
|
2419
2850
|
# @overload get_invalidation(params = {})
|
2420
2851
|
# @param [Hash] params ({})
|
@@ -2423,6 +2854,122 @@ module Aws::CloudFront
|
|
2423
2854
|
req.send_request(options)
|
2424
2855
|
end
|
2425
2856
|
|
2857
|
+
# Gets an origin request policy, including the following metadata:
|
2858
|
+
#
|
2859
|
+
# * The policy’s identifier.
|
2860
|
+
#
|
2861
|
+
# * The date and time when the policy was last modified.
|
2862
|
+
#
|
2863
|
+
# To get an origin request policy, you must provide the policy’s
|
2864
|
+
# identifier. If the origin request policy is attached to a
|
2865
|
+
# distribution’s cache behavior, you can get the policy’s identifier
|
2866
|
+
# using `ListDistributions` or `GetDistribution`. If the origin request
|
2867
|
+
# policy is not attached to a cache behavior, you can get the identifier
|
2868
|
+
# using `ListOriginRequestPolicies`.
|
2869
|
+
#
|
2870
|
+
# @option params [required, String] :id
|
2871
|
+
# The unique identifier for the origin request policy. If the origin
|
2872
|
+
# request policy is attached to a distribution’s cache behavior, you can
|
2873
|
+
# get the policy’s identifier using `ListDistributions` or
|
2874
|
+
# `GetDistribution`. If the origin request policy is not attached to a
|
2875
|
+
# cache behavior, you can get the identifier using
|
2876
|
+
# `ListOriginRequestPolicies`.
|
2877
|
+
#
|
2878
|
+
# @return [Types::GetOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2879
|
+
#
|
2880
|
+
# * {Types::GetOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
|
2881
|
+
# * {Types::GetOriginRequestPolicyResult#etag #etag} => String
|
2882
|
+
#
|
2883
|
+
# @example Request syntax with placeholder values
|
2884
|
+
#
|
2885
|
+
# resp = client.get_origin_request_policy({
|
2886
|
+
# id: "string", # required
|
2887
|
+
# })
|
2888
|
+
#
|
2889
|
+
# @example Response structure
|
2890
|
+
#
|
2891
|
+
# resp.origin_request_policy.id #=> String
|
2892
|
+
# resp.origin_request_policy.last_modified_time #=> Time
|
2893
|
+
# resp.origin_request_policy.origin_request_policy_config.comment #=> String
|
2894
|
+
# resp.origin_request_policy.origin_request_policy_config.name #=> String
|
2895
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
|
2896
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
2897
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
|
2898
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
2899
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
2900
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
2901
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
2902
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
2903
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
|
2904
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
2905
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
2906
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
2907
|
+
# resp.etag #=> String
|
2908
|
+
#
|
2909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicy2020_05_31 AWS API Documentation
|
2910
|
+
#
|
2911
|
+
# @overload get_origin_request_policy(params = {})
|
2912
|
+
# @param [Hash] params ({})
|
2913
|
+
def get_origin_request_policy(params = {}, options = {})
|
2914
|
+
req = build_request(:get_origin_request_policy, params)
|
2915
|
+
req.send_request(options)
|
2916
|
+
end
|
2917
|
+
|
2918
|
+
# Gets an origin request policy configuration.
|
2919
|
+
#
|
2920
|
+
# To get an origin request policy configuration, you must provide the
|
2921
|
+
# policy’s identifier. If the origin request policy is attached to a
|
2922
|
+
# distribution’s cache behavior, you can get the policy’s identifier
|
2923
|
+
# using `ListDistributions` or `GetDistribution`. If the origin request
|
2924
|
+
# policy is not attached to a cache behavior, you can get the identifier
|
2925
|
+
# using `ListOriginRequestPolicies`.
|
2926
|
+
#
|
2927
|
+
# @option params [required, String] :id
|
2928
|
+
# The unique identifier for the origin request policy. If the origin
|
2929
|
+
# request policy is attached to a distribution’s cache behavior, you can
|
2930
|
+
# get the policy’s identifier using `ListDistributions` or
|
2931
|
+
# `GetDistribution`. If the origin request policy is not attached to a
|
2932
|
+
# cache behavior, you can get the identifier using
|
2933
|
+
# `ListOriginRequestPolicies`.
|
2934
|
+
#
|
2935
|
+
# @return [Types::GetOriginRequestPolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2936
|
+
#
|
2937
|
+
# * {Types::GetOriginRequestPolicyConfigResult#origin_request_policy_config #origin_request_policy_config} => Types::OriginRequestPolicyConfig
|
2938
|
+
# * {Types::GetOriginRequestPolicyConfigResult#etag #etag} => String
|
2939
|
+
#
|
2940
|
+
# @example Request syntax with placeholder values
|
2941
|
+
#
|
2942
|
+
# resp = client.get_origin_request_policy_config({
|
2943
|
+
# id: "string", # required
|
2944
|
+
# })
|
2945
|
+
#
|
2946
|
+
# @example Response structure
|
2947
|
+
#
|
2948
|
+
# resp.origin_request_policy_config.comment #=> String
|
2949
|
+
# resp.origin_request_policy_config.name #=> String
|
2950
|
+
# resp.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
|
2951
|
+
# resp.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
2952
|
+
# resp.origin_request_policy_config.headers_config.headers.items #=> Array
|
2953
|
+
# resp.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
2954
|
+
# resp.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
2955
|
+
# resp.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
2956
|
+
# resp.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
2957
|
+
# resp.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
2958
|
+
# resp.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
|
2959
|
+
# resp.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
2960
|
+
# resp.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
2961
|
+
# resp.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
2962
|
+
# resp.etag #=> String
|
2963
|
+
#
|
2964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicyConfig2020_05_31 AWS API Documentation
|
2965
|
+
#
|
2966
|
+
# @overload get_origin_request_policy_config(params = {})
|
2967
|
+
# @param [Hash] params ({})
|
2968
|
+
def get_origin_request_policy_config(params = {}, options = {})
|
2969
|
+
req = build_request(:get_origin_request_policy_config, params)
|
2970
|
+
req.send_request(options)
|
2971
|
+
end
|
2972
|
+
|
2426
2973
|
# Get the public key information.
|
2427
2974
|
#
|
2428
2975
|
# @option params [required, String] :id
|
@@ -2449,7 +2996,7 @@ module Aws::CloudFront
|
|
2449
2996
|
# resp.public_key.public_key_config.comment #=> String
|
2450
2997
|
# resp.etag #=> String
|
2451
2998
|
#
|
2452
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKey2020_05_31 AWS API Documentation
|
2453
3000
|
#
|
2454
3001
|
# @overload get_public_key(params = {})
|
2455
3002
|
# @param [Hash] params ({})
|
@@ -2482,7 +3029,7 @@ module Aws::CloudFront
|
|
2482
3029
|
# resp.public_key_config.comment #=> String
|
2483
3030
|
# resp.etag #=> String
|
2484
3031
|
#
|
2485
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3032
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKeyConfig2020_05_31 AWS API Documentation
|
2486
3033
|
#
|
2487
3034
|
# @overload get_public_key_config(params = {})
|
2488
3035
|
# @param [Hash] params ({})
|
@@ -2545,7 +3092,7 @@ module Aws::CloudFront
|
|
2545
3092
|
#
|
2546
3093
|
# * streaming_distribution_deployed
|
2547
3094
|
#
|
2548
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistribution2020_05_31 AWS API Documentation
|
2549
3096
|
#
|
2550
3097
|
# @overload get_streaming_distribution(params = {})
|
2551
3098
|
# @param [Hash] params ({})
|
@@ -2590,7 +3137,7 @@ module Aws::CloudFront
|
|
2590
3137
|
# resp.streaming_distribution_config.enabled #=> Boolean
|
2591
3138
|
# resp.etag #=> String
|
2592
3139
|
#
|
2593
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistributionConfig2020_05_31 AWS API Documentation
|
2594
3141
|
#
|
2595
3142
|
# @overload get_streaming_distribution_config(params = {})
|
2596
3143
|
# @param [Hash] params ({})
|
@@ -2599,6 +3146,87 @@ module Aws::CloudFront
|
|
2599
3146
|
req.send_request(options)
|
2600
3147
|
end
|
2601
3148
|
|
3149
|
+
# Gets a list of cache policies.
|
3150
|
+
#
|
3151
|
+
# You can optionally apply a filter to return only the managed policies
|
3152
|
+
# created by AWS, or only the custom policies created in your AWS
|
3153
|
+
# account.
|
3154
|
+
#
|
3155
|
+
# You can optionally specify the maximum number of items to receive in
|
3156
|
+
# the response. If the total number of items in the list exceeds the
|
3157
|
+
# maximum that you specify, or the default maximum, the response is
|
3158
|
+
# paginated. To get the next page of items, send a subsequent request
|
3159
|
+
# that specifies the `NextMarker` value from the current response as the
|
3160
|
+
# `Marker` value in the subsequent request.
|
3161
|
+
#
|
3162
|
+
# @option params [String] :type
|
3163
|
+
# A filter to return only the specified kinds of cache policies. Valid
|
3164
|
+
# values are:
|
3165
|
+
#
|
3166
|
+
# * `managed` – Returns only the managed policies created by AWS.
|
3167
|
+
#
|
3168
|
+
# * `custom` – Returns only the custom policies created in your AWS
|
3169
|
+
# account.
|
3170
|
+
#
|
3171
|
+
# @option params [String] :marker
|
3172
|
+
# Use this field when paginating results to indicate where to begin in
|
3173
|
+
# your list of cache policies. The response includes cache policies in
|
3174
|
+
# the list that occur after the marker. To get the next page of the
|
3175
|
+
# list, set this field’s value to the value of `NextMarker` from the
|
3176
|
+
# current page’s response.
|
3177
|
+
#
|
3178
|
+
# @option params [Integer] :max_items
|
3179
|
+
# The maximum number of cache policies that you want in the response.
|
3180
|
+
#
|
3181
|
+
# @return [Types::ListCachePoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3182
|
+
#
|
3183
|
+
# * {Types::ListCachePoliciesResult#cache_policy_list #cache_policy_list} => Types::CachePolicyList
|
3184
|
+
#
|
3185
|
+
# @example Request syntax with placeholder values
|
3186
|
+
#
|
3187
|
+
# resp = client.list_cache_policies({
|
3188
|
+
# type: "managed", # accepts managed, custom
|
3189
|
+
# marker: "string",
|
3190
|
+
# max_items: 1,
|
3191
|
+
# })
|
3192
|
+
#
|
3193
|
+
# @example Response structure
|
3194
|
+
#
|
3195
|
+
# resp.cache_policy_list.next_marker #=> String
|
3196
|
+
# resp.cache_policy_list.max_items #=> Integer
|
3197
|
+
# resp.cache_policy_list.quantity #=> Integer
|
3198
|
+
# resp.cache_policy_list.items #=> Array
|
3199
|
+
# resp.cache_policy_list.items[0].type #=> String, one of "managed", "custom"
|
3200
|
+
# resp.cache_policy_list.items[0].cache_policy.id #=> String
|
3201
|
+
# resp.cache_policy_list.items[0].cache_policy.last_modified_time #=> Time
|
3202
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.comment #=> String
|
3203
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.name #=> String
|
3204
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.default_ttl #=> Integer
|
3205
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.max_ttl #=> Integer
|
3206
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.min_ttl #=> Integer
|
3207
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
3208
|
+
# 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"
|
3209
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
3210
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
3211
|
+
# 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
|
3212
|
+
# 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"
|
3213
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
3214
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
3215
|
+
# 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
|
3216
|
+
# 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"
|
3217
|
+
# 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
|
3218
|
+
# 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
|
3219
|
+
# 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
|
3220
|
+
#
|
3221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCachePolicies2020_05_31 AWS API Documentation
|
3222
|
+
#
|
3223
|
+
# @overload list_cache_policies(params = {})
|
3224
|
+
# @param [Hash] params ({})
|
3225
|
+
def list_cache_policies(params = {}, options = {})
|
3226
|
+
req = build_request(:list_cache_policies, params)
|
3227
|
+
req.send_request(options)
|
3228
|
+
end
|
3229
|
+
|
2602
3230
|
# Lists origin access identities.
|
2603
3231
|
#
|
2604
3232
|
# @option params [String] :marker
|
@@ -2638,7 +3266,7 @@ module Aws::CloudFront
|
|
2638
3266
|
# resp.cloud_front_origin_access_identity_list.items[0].s3_canonical_user_id #=> String
|
2639
3267
|
# resp.cloud_front_origin_access_identity_list.items[0].comment #=> String
|
2640
3268
|
#
|
2641
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities2020_05_31 AWS API Documentation
|
2642
3270
|
#
|
2643
3271
|
# @overload list_cloud_front_origin_access_identities(params = {})
|
2644
3272
|
# @param [Hash] params ({})
|
@@ -2718,23 +3346,11 @@ module Aws::CloudFront
|
|
2718
3346
|
# resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
|
2719
3347
|
# resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
|
2720
3348
|
# resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
|
2721
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2722
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2723
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2724
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2725
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2726
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2727
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
2728
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2729
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2730
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2731
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2732
3349
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
|
2733
3350
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
|
2734
3351
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
|
2735
3352
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
|
2736
3353
|
# resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2737
|
-
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
2738
3354
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
|
2739
3355
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
|
2740
3356
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2742,8 +3358,6 @@ module Aws::CloudFront
|
|
2742
3358
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
2743
3359
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
2744
3360
|
# resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
|
2745
|
-
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
2746
|
-
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
2747
3361
|
# resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
|
2748
3362
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
2749
3363
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -2751,27 +3365,31 @@ module Aws::CloudFront
|
|
2751
3365
|
# 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"
|
2752
3366
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
2753
3367
|
# resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
|
3368
|
+
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
3369
|
+
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
3370
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
3371
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3372
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3373
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
3374
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3375
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
3376
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
3377
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
3378
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3379
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
3380
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
3381
|
+
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
3382
|
+
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
3383
|
+
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
2754
3384
|
# resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
|
2755
3385
|
# resp.distribution_list.items[0].cache_behaviors.items #=> Array
|
2756
3386
|
# resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
|
2757
3387
|
# resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
|
2758
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2759
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2760
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2761
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2762
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2763
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2764
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2765
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2766
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2767
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2768
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2769
3388
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
2770
3389
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
2771
3390
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
|
2772
3391
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
2773
3392
|
# resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2774
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
2775
3393
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
2776
3394
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
|
2777
3395
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2779,8 +3397,6 @@ module Aws::CloudFront
|
|
2779
3397
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
2780
3398
|
# 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"
|
2781
3399
|
# resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
|
2782
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
|
2783
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
|
2784
3400
|
# resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
|
2785
3401
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
2786
3402
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -2788,6 +3404,22 @@ module Aws::CloudFront
|
|
2788
3404
|
# 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"
|
2789
3405
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2790
3406
|
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
3407
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
3408
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
3409
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
3410
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3411
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3412
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
3413
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3414
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
3415
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
3416
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
3417
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3418
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
3419
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
3420
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
3421
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
|
3422
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
|
2791
3423
|
# resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
|
2792
3424
|
# resp.distribution_list.items[0].custom_error_responses.items #=> Array
|
2793
3425
|
# resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
|
@@ -2801,7 +3433,7 @@ module Aws::CloudFront
|
|
2801
3433
|
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
2802
3434
|
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
2803
3435
|
# resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
|
2804
|
-
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
|
3436
|
+
# 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"
|
2805
3437
|
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
2806
3438
|
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
2807
3439
|
# resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -2815,7 +3447,7 @@ module Aws::CloudFront
|
|
2815
3447
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
2816
3448
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
2817
3449
|
#
|
2818
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions2020_05_31 AWS API Documentation
|
2819
3451
|
#
|
2820
3452
|
# @overload list_distributions(params = {})
|
2821
3453
|
# @param [Hash] params ({})
|
@@ -2824,6 +3456,116 @@ module Aws::CloudFront
|
|
2824
3456
|
req.send_request(options)
|
2825
3457
|
end
|
2826
3458
|
|
3459
|
+
# Gets a list of distribution IDs for distributions that have a cache
|
3460
|
+
# behavior that’s associated with the specified cache policy.
|
3461
|
+
#
|
3462
|
+
# You can optionally specify the maximum number of items to receive in
|
3463
|
+
# the response. If the total number of items in the list exceeds the
|
3464
|
+
# maximum that you specify, or the default maximum, the response is
|
3465
|
+
# paginated. To get the next page of items, send a subsequent request
|
3466
|
+
# that specifies the `NextMarker` value from the current response as the
|
3467
|
+
# `Marker` value in the subsequent request.
|
3468
|
+
#
|
3469
|
+
# @option params [String] :marker
|
3470
|
+
# Use this field when paginating results to indicate where to begin in
|
3471
|
+
# your list of distribution IDs. The response includes distribution IDs
|
3472
|
+
# in the list that occur after the marker. To get the next page of the
|
3473
|
+
# list, set this field’s value to the value of `NextMarker` from the
|
3474
|
+
# current page’s response.
|
3475
|
+
#
|
3476
|
+
# @option params [Integer] :max_items
|
3477
|
+
# The maximum number of distribution IDs that you want in the response.
|
3478
|
+
#
|
3479
|
+
# @option params [required, String] :cache_policy_id
|
3480
|
+
# The ID of the cache policy whose associated distribution IDs you want
|
3481
|
+
# to list.
|
3482
|
+
#
|
3483
|
+
# @return [Types::ListDistributionsByCachePolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3484
|
+
#
|
3485
|
+
# * {Types::ListDistributionsByCachePolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
|
3486
|
+
#
|
3487
|
+
# @example Request syntax with placeholder values
|
3488
|
+
#
|
3489
|
+
# resp = client.list_distributions_by_cache_policy_id({
|
3490
|
+
# marker: "string",
|
3491
|
+
# max_items: 1,
|
3492
|
+
# cache_policy_id: "string", # required
|
3493
|
+
# })
|
3494
|
+
#
|
3495
|
+
# @example Response structure
|
3496
|
+
#
|
3497
|
+
# resp.distribution_id_list.marker #=> String
|
3498
|
+
# resp.distribution_id_list.next_marker #=> String
|
3499
|
+
# resp.distribution_id_list.max_items #=> Integer
|
3500
|
+
# resp.distribution_id_list.is_truncated #=> Boolean
|
3501
|
+
# resp.distribution_id_list.quantity #=> Integer
|
3502
|
+
# resp.distribution_id_list.items #=> Array
|
3503
|
+
# resp.distribution_id_list.items[0] #=> String
|
3504
|
+
#
|
3505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByCachePolicyId2020_05_31 AWS API Documentation
|
3506
|
+
#
|
3507
|
+
# @overload list_distributions_by_cache_policy_id(params = {})
|
3508
|
+
# @param [Hash] params ({})
|
3509
|
+
def list_distributions_by_cache_policy_id(params = {}, options = {})
|
3510
|
+
req = build_request(:list_distributions_by_cache_policy_id, params)
|
3511
|
+
req.send_request(options)
|
3512
|
+
end
|
3513
|
+
|
3514
|
+
# Gets a list of distribution IDs for distributions that have a cache
|
3515
|
+
# behavior that’s associated with the specified origin request policy.
|
3516
|
+
#
|
3517
|
+
# You can optionally specify the maximum number of items to receive in
|
3518
|
+
# the response. If the total number of items in the list exceeds the
|
3519
|
+
# maximum that you specify, or the default maximum, the response is
|
3520
|
+
# paginated. To get the next page of items, send a subsequent request
|
3521
|
+
# that specifies the `NextMarker` value from the current response as the
|
3522
|
+
# `Marker` value in the subsequent request.
|
3523
|
+
#
|
3524
|
+
# @option params [String] :marker
|
3525
|
+
# Use this field when paginating results to indicate where to begin in
|
3526
|
+
# your list of distribution IDs. The response includes distribution IDs
|
3527
|
+
# in the list that occur after the marker. To get the next page of the
|
3528
|
+
# list, set this field’s value to the value of `NextMarker` from the
|
3529
|
+
# current page’s response.
|
3530
|
+
#
|
3531
|
+
# @option params [Integer] :max_items
|
3532
|
+
# The maximum number of distribution IDs that you want in the response.
|
3533
|
+
#
|
3534
|
+
# @option params [required, String] :origin_request_policy_id
|
3535
|
+
# The ID of the origin request policy whose associated distribution IDs
|
3536
|
+
# you want to list.
|
3537
|
+
#
|
3538
|
+
# @return [Types::ListDistributionsByOriginRequestPolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3539
|
+
#
|
3540
|
+
# * {Types::ListDistributionsByOriginRequestPolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
|
3541
|
+
#
|
3542
|
+
# @example Request syntax with placeholder values
|
3543
|
+
#
|
3544
|
+
# resp = client.list_distributions_by_origin_request_policy_id({
|
3545
|
+
# marker: "string",
|
3546
|
+
# max_items: 1,
|
3547
|
+
# origin_request_policy_id: "string", # required
|
3548
|
+
# })
|
3549
|
+
#
|
3550
|
+
# @example Response structure
|
3551
|
+
#
|
3552
|
+
# resp.distribution_id_list.marker #=> String
|
3553
|
+
# resp.distribution_id_list.next_marker #=> String
|
3554
|
+
# resp.distribution_id_list.max_items #=> Integer
|
3555
|
+
# resp.distribution_id_list.is_truncated #=> Boolean
|
3556
|
+
# resp.distribution_id_list.quantity #=> Integer
|
3557
|
+
# resp.distribution_id_list.items #=> Array
|
3558
|
+
# resp.distribution_id_list.items[0] #=> String
|
3559
|
+
#
|
3560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId2020_05_31 AWS API Documentation
|
3561
|
+
#
|
3562
|
+
# @overload list_distributions_by_origin_request_policy_id(params = {})
|
3563
|
+
# @param [Hash] params ({})
|
3564
|
+
def list_distributions_by_origin_request_policy_id(params = {}, options = {})
|
3565
|
+
req = build_request(:list_distributions_by_origin_request_policy_id, params)
|
3566
|
+
req.send_request(options)
|
3567
|
+
end
|
3568
|
+
|
2827
3569
|
# List the distributions that are associated with a specified AWS WAF
|
2828
3570
|
# web ACL.
|
2829
3571
|
#
|
@@ -2902,23 +3644,11 @@ module Aws::CloudFront
|
|
2902
3644
|
# resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
|
2903
3645
|
# resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
|
2904
3646
|
# resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
|
2905
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2906
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2907
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2908
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2909
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2910
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2911
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
2912
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2913
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2914
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2915
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2916
3647
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
|
2917
3648
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
|
2918
3649
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
|
2919
3650
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
|
2920
3651
|
# resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2921
|
-
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
2922
3652
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
|
2923
3653
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
|
2924
3654
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2926,8 +3656,6 @@ module Aws::CloudFront
|
|
2926
3656
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
2927
3657
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
2928
3658
|
# resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
|
2929
|
-
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
2930
|
-
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
2931
3659
|
# resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
|
2932
3660
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
2933
3661
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -2935,27 +3663,31 @@ module Aws::CloudFront
|
|
2935
3663
|
# 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"
|
2936
3664
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
2937
3665
|
# resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
|
3666
|
+
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
3667
|
+
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
3668
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
3669
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3670
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3671
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
3672
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3673
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
3674
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
3675
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
3676
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3677
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
3678
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
3679
|
+
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
3680
|
+
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
3681
|
+
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
2938
3682
|
# resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
|
2939
3683
|
# resp.distribution_list.items[0].cache_behaviors.items #=> Array
|
2940
3684
|
# resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
|
2941
3685
|
# resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
|
2942
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2943
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2944
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2945
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2946
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2947
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2948
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2949
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2950
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2951
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2952
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2953
3686
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
2954
3687
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
2955
3688
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
|
2956
3689
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
2957
3690
|
# resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2958
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
2959
3691
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
2960
3692
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
|
2961
3693
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2963,15 +3695,29 @@ module Aws::CloudFront
|
|
2963
3695
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
2964
3696
|
# 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"
|
2965
3697
|
# resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
|
3698
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
|
3699
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
3700
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
3701
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
3702
|
+
# 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"
|
3703
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
3704
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
3705
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
3706
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
3707
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
3708
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3709
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3710
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
3711
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3712
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
3713
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
3714
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
3715
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3716
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
3717
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
3718
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
2966
3719
|
# resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
|
2967
3720
|
# resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
|
2968
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
|
2969
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
2970
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
2971
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
2972
|
-
# 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"
|
2973
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2974
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
2975
3721
|
# resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
|
2976
3722
|
# resp.distribution_list.items[0].custom_error_responses.items #=> Array
|
2977
3723
|
# resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
|
@@ -2985,7 +3731,7 @@ module Aws::CloudFront
|
|
2985
3731
|
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
2986
3732
|
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
2987
3733
|
# resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
|
2988
|
-
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
|
3734
|
+
# 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"
|
2989
3735
|
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
2990
3736
|
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
2991
3737
|
# resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -2999,7 +3745,7 @@ module Aws::CloudFront
|
|
2999
3745
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
3000
3746
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
3001
3747
|
#
|
3002
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId2020_05_31 AWS API Documentation
|
3003
3749
|
#
|
3004
3750
|
# @overload list_distributions_by_web_acl_id(params = {})
|
3005
3751
|
# @param [Hash] params ({})
|
@@ -3055,7 +3801,7 @@ module Aws::CloudFront
|
|
3055
3801
|
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
|
3056
3802
|
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
3057
3803
|
#
|
3058
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs2020_05_31 AWS API Documentation
|
3059
3805
|
#
|
3060
3806
|
# @overload list_field_level_encryption_configs(params = {})
|
3061
3807
|
# @param [Hash] params ({})
|
@@ -3107,7 +3853,7 @@ module Aws::CloudFront
|
|
3107
3853
|
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.items[0] #=> String
|
3108
3854
|
# resp.field_level_encryption_profile_list.items[0].comment #=> String
|
3109
3855
|
#
|
3110
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles2020_05_31 AWS API Documentation
|
3111
3857
|
#
|
3112
3858
|
# @overload list_field_level_encryption_profiles(params = {})
|
3113
3859
|
# @param [Hash] params ({})
|
@@ -3161,7 +3907,7 @@ module Aws::CloudFront
|
|
3161
3907
|
# resp.invalidation_list.items[0].create_time #=> Time
|
3162
3908
|
# resp.invalidation_list.items[0].status #=> String
|
3163
3909
|
#
|
3164
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListInvalidations2020_05_31 AWS API Documentation
|
3165
3911
|
#
|
3166
3912
|
# @overload list_invalidations(params = {})
|
3167
3913
|
# @param [Hash] params ({})
|
@@ -3170,6 +3916,84 @@ module Aws::CloudFront
|
|
3170
3916
|
req.send_request(options)
|
3171
3917
|
end
|
3172
3918
|
|
3919
|
+
# Gets a list of origin request policies.
|
3920
|
+
#
|
3921
|
+
# You can optionally apply a filter to return only the managed policies
|
3922
|
+
# created by AWS, or only the custom policies created in your AWS
|
3923
|
+
# account.
|
3924
|
+
#
|
3925
|
+
# You can optionally specify the maximum number of items to receive in
|
3926
|
+
# the response. If the total number of items in the list exceeds the
|
3927
|
+
# maximum that you specify, or the default maximum, the response is
|
3928
|
+
# paginated. To get the next page of items, send a subsequent request
|
3929
|
+
# that specifies the `NextMarker` value from the current response as the
|
3930
|
+
# `Marker` value in the subsequent request.
|
3931
|
+
#
|
3932
|
+
# @option params [String] :type
|
3933
|
+
# A filter to return only the specified kinds of origin request
|
3934
|
+
# policies. Valid values are:
|
3935
|
+
#
|
3936
|
+
# * `managed` – Returns only the managed policies created by AWS.
|
3937
|
+
#
|
3938
|
+
# * `custom` – Returns only the custom policies created in your AWS
|
3939
|
+
# account.
|
3940
|
+
#
|
3941
|
+
# @option params [String] :marker
|
3942
|
+
# Use this field when paginating results to indicate where to begin in
|
3943
|
+
# your list of origin request policies. The response includes origin
|
3944
|
+
# request policies in the list that occur after the marker. To get the
|
3945
|
+
# next page of the list, set this field’s value to the value of
|
3946
|
+
# `NextMarker` from the current page’s response.
|
3947
|
+
#
|
3948
|
+
# @option params [Integer] :max_items
|
3949
|
+
# The maximum number of origin request policies that you want in the
|
3950
|
+
# response.
|
3951
|
+
#
|
3952
|
+
# @return [Types::ListOriginRequestPoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3953
|
+
#
|
3954
|
+
# * {Types::ListOriginRequestPoliciesResult#origin_request_policy_list #origin_request_policy_list} => Types::OriginRequestPolicyList
|
3955
|
+
#
|
3956
|
+
# @example Request syntax with placeholder values
|
3957
|
+
#
|
3958
|
+
# resp = client.list_origin_request_policies({
|
3959
|
+
# type: "managed", # accepts managed, custom
|
3960
|
+
# marker: "string",
|
3961
|
+
# max_items: 1,
|
3962
|
+
# })
|
3963
|
+
#
|
3964
|
+
# @example Response structure
|
3965
|
+
#
|
3966
|
+
# resp.origin_request_policy_list.next_marker #=> String
|
3967
|
+
# resp.origin_request_policy_list.max_items #=> Integer
|
3968
|
+
# resp.origin_request_policy_list.quantity #=> Integer
|
3969
|
+
# resp.origin_request_policy_list.items #=> Array
|
3970
|
+
# resp.origin_request_policy_list.items[0].type #=> String, one of "managed", "custom"
|
3971
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.id #=> String
|
3972
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.last_modified_time #=> Time
|
3973
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.comment #=> String
|
3974
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.name #=> String
|
3975
|
+
# 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"
|
3976
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
3977
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
|
3978
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
3979
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
3980
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
3981
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
3982
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
3983
|
+
# 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"
|
3984
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
3985
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
3986
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
3987
|
+
#
|
3988
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginRequestPolicies2020_05_31 AWS API Documentation
|
3989
|
+
#
|
3990
|
+
# @overload list_origin_request_policies(params = {})
|
3991
|
+
# @param [Hash] params ({})
|
3992
|
+
def list_origin_request_policies(params = {}, options = {})
|
3993
|
+
req = build_request(:list_origin_request_policies, params)
|
3994
|
+
req.send_request(options)
|
3995
|
+
end
|
3996
|
+
|
3173
3997
|
# List all public keys that have been added to CloudFront for this
|
3174
3998
|
# account.
|
3175
3999
|
#
|
@@ -3206,7 +4030,7 @@ module Aws::CloudFront
|
|
3206
4030
|
# resp.public_key_list.items[0].encoded_key #=> String
|
3207
4031
|
# resp.public_key_list.items[0].comment #=> String
|
3208
4032
|
#
|
3209
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListPublicKeys2020_05_31 AWS API Documentation
|
3210
4034
|
#
|
3211
4035
|
# @overload list_public_keys(params = {})
|
3212
4036
|
# @param [Hash] params ({})
|
@@ -3262,7 +4086,7 @@ module Aws::CloudFront
|
|
3262
4086
|
# resp.streaming_distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
|
3263
4087
|
# resp.streaming_distribution_list.items[0].enabled #=> Boolean
|
3264
4088
|
#
|
3265
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListStreamingDistributions2020_05_31 AWS API Documentation
|
3266
4090
|
#
|
3267
4091
|
# @overload list_streaming_distributions(params = {})
|
3268
4092
|
# @param [Hash] params ({})
|
@@ -3292,7 +4116,7 @@ module Aws::CloudFront
|
|
3292
4116
|
# resp.tags.items[0].key #=> String
|
3293
4117
|
# resp.tags.items[0].value #=> String
|
3294
4118
|
#
|
3295
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTagsForResource2020_05_31 AWS API Documentation
|
3296
4120
|
#
|
3297
4121
|
# @overload list_tags_for_resource(params = {})
|
3298
4122
|
# @param [Hash] params ({})
|
@@ -3325,7 +4149,7 @@ module Aws::CloudFront
|
|
3325
4149
|
# },
|
3326
4150
|
# })
|
3327
4151
|
#
|
3328
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TagResource2020_05_31 AWS API Documentation
|
3329
4153
|
#
|
3330
4154
|
# @overload tag_resource(params = {})
|
3331
4155
|
# @param [Hash] params ({})
|
@@ -3353,7 +4177,7 @@ module Aws::CloudFront
|
|
3353
4177
|
# },
|
3354
4178
|
# })
|
3355
4179
|
#
|
3356
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UntagResource2020_05_31 AWS API Documentation
|
3357
4181
|
#
|
3358
4182
|
# @overload untag_resource(params = {})
|
3359
4183
|
# @param [Hash] params ({})
|
@@ -3362,6 +4186,111 @@ module Aws::CloudFront
|
|
3362
4186
|
req.send_request(options)
|
3363
4187
|
end
|
3364
4188
|
|
4189
|
+
# Updates a cache policy configuration.
|
4190
|
+
#
|
4191
|
+
# When you update a cache policy configuration, all the fields are
|
4192
|
+
# updated with the values provided in the request. You cannot update
|
4193
|
+
# some fields independent of others. To update a cache policy
|
4194
|
+
# configuration:
|
4195
|
+
#
|
4196
|
+
# 1. Use `GetCachePolicyConfig` to get the current configuration.
|
4197
|
+
#
|
4198
|
+
# 2. Locally modify the fields in the cache policy configuration that
|
4199
|
+
# you want to update.
|
4200
|
+
#
|
4201
|
+
# 3. Call `UpdateCachePolicy` by providing the entire cache policy
|
4202
|
+
# configuration, including the fields that you modified and those
|
4203
|
+
# that you didn’t.
|
4204
|
+
#
|
4205
|
+
# @option params [required, Types::CachePolicyConfig] :cache_policy_config
|
4206
|
+
# A cache policy configuration.
|
4207
|
+
#
|
4208
|
+
# @option params [required, String] :id
|
4209
|
+
# The unique identifier for the cache policy that you are updating. The
|
4210
|
+
# identifier is returned in a cache behavior’s `CachePolicyId` field in
|
4211
|
+
# the response to `GetDistributionConfig`.
|
4212
|
+
#
|
4213
|
+
# @option params [String] :if_match
|
4214
|
+
# The version of the cache policy that you are updating. The version is
|
4215
|
+
# returned in the cache policy’s `ETag` field in the response to
|
4216
|
+
# `GetCachePolicyConfig`.
|
4217
|
+
#
|
4218
|
+
# @return [Types::UpdateCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4219
|
+
#
|
4220
|
+
# * {Types::UpdateCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
|
4221
|
+
# * {Types::UpdateCachePolicyResult#etag #etag} => String
|
4222
|
+
#
|
4223
|
+
# @example Request syntax with placeholder values
|
4224
|
+
#
|
4225
|
+
# resp = client.update_cache_policy({
|
4226
|
+
# cache_policy_config: { # required
|
4227
|
+
# comment: "string",
|
4228
|
+
# name: "string", # required
|
4229
|
+
# default_ttl: 1,
|
4230
|
+
# max_ttl: 1,
|
4231
|
+
# min_ttl: 1, # required
|
4232
|
+
# parameters_in_cache_key_and_forwarded_to_origin: {
|
4233
|
+
# enable_accept_encoding_gzip: false, # required
|
4234
|
+
# headers_config: { # required
|
4235
|
+
# header_behavior: "none", # required, accepts none, whitelist
|
4236
|
+
# headers: {
|
4237
|
+
# quantity: 1, # required
|
4238
|
+
# items: ["string"],
|
4239
|
+
# },
|
4240
|
+
# },
|
4241
|
+
# cookies_config: { # required
|
4242
|
+
# cookie_behavior: "none", # required, accepts none, whitelist, allExcept, all
|
4243
|
+
# cookies: {
|
4244
|
+
# quantity: 1, # required
|
4245
|
+
# items: ["string"],
|
4246
|
+
# },
|
4247
|
+
# },
|
4248
|
+
# query_strings_config: { # required
|
4249
|
+
# query_string_behavior: "none", # required, accepts none, whitelist, allExcept, all
|
4250
|
+
# query_strings: {
|
4251
|
+
# quantity: 1, # required
|
4252
|
+
# items: ["string"],
|
4253
|
+
# },
|
4254
|
+
# },
|
4255
|
+
# },
|
4256
|
+
# },
|
4257
|
+
# id: "string", # required
|
4258
|
+
# if_match: "string",
|
4259
|
+
# })
|
4260
|
+
#
|
4261
|
+
# @example Response structure
|
4262
|
+
#
|
4263
|
+
# resp.cache_policy.id #=> String
|
4264
|
+
# resp.cache_policy.last_modified_time #=> Time
|
4265
|
+
# resp.cache_policy.cache_policy_config.comment #=> String
|
4266
|
+
# resp.cache_policy.cache_policy_config.name #=> String
|
4267
|
+
# resp.cache_policy.cache_policy_config.default_ttl #=> Integer
|
4268
|
+
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
|
4269
|
+
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
|
4270
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
4271
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
4272
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
4273
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
4274
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
|
4275
|
+
# 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"
|
4276
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
4277
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
4278
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
|
4279
|
+
# 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"
|
4280
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
|
4281
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
|
4282
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
4283
|
+
# resp.etag #=> String
|
4284
|
+
#
|
4285
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCachePolicy2020_05_31 AWS API Documentation
|
4286
|
+
#
|
4287
|
+
# @overload update_cache_policy(params = {})
|
4288
|
+
# @param [Hash] params ({})
|
4289
|
+
def update_cache_policy(params = {}, options = {})
|
4290
|
+
req = build_request(:update_cache_policy, params)
|
4291
|
+
req.send_request(options)
|
4292
|
+
end
|
4293
|
+
|
3365
4294
|
# Update an origin access identity.
|
3366
4295
|
#
|
3367
4296
|
# @option params [required, Types::CloudFrontOriginAccessIdentityConfig] :cloud_front_origin_access_identity_config
|
@@ -3398,7 +4327,7 @@ module Aws::CloudFront
|
|
3398
4327
|
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
|
3399
4328
|
# resp.etag #=> String
|
3400
4329
|
#
|
3401
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
|
3402
4331
|
#
|
3403
4332
|
# @overload update_cloud_front_origin_access_identity(params = {})
|
3404
4333
|
# @param [Hash] params ({})
|
@@ -3568,31 +4497,12 @@ module Aws::CloudFront
|
|
3568
4497
|
# },
|
3569
4498
|
# default_cache_behavior: { # required
|
3570
4499
|
# target_origin_id: "string", # required
|
3571
|
-
# forwarded_values: { # required
|
3572
|
-
# query_string: false, # required
|
3573
|
-
# cookies: { # required
|
3574
|
-
# forward: "none", # required, accepts none, whitelist, all
|
3575
|
-
# whitelisted_names: {
|
3576
|
-
# quantity: 1, # required
|
3577
|
-
# items: ["string"],
|
3578
|
-
# },
|
3579
|
-
# },
|
3580
|
-
# headers: {
|
3581
|
-
# quantity: 1, # required
|
3582
|
-
# items: ["string"],
|
3583
|
-
# },
|
3584
|
-
# query_string_cache_keys: {
|
3585
|
-
# quantity: 1, # required
|
3586
|
-
# items: ["string"],
|
3587
|
-
# },
|
3588
|
-
# },
|
3589
4500
|
# trusted_signers: { # required
|
3590
4501
|
# enabled: false, # required
|
3591
4502
|
# quantity: 1, # required
|
3592
4503
|
# items: ["string"],
|
3593
4504
|
# },
|
3594
4505
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
3595
|
-
# min_ttl: 1, # required
|
3596
4506
|
# allowed_methods: {
|
3597
4507
|
# quantity: 1, # required
|
3598
4508
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -3602,8 +4512,6 @@ module Aws::CloudFront
|
|
3602
4512
|
# },
|
3603
4513
|
# },
|
3604
4514
|
# smooth_streaming: false,
|
3605
|
-
# default_ttl: 1,
|
3606
|
-
# max_ttl: 1,
|
3607
4515
|
# compress: false,
|
3608
4516
|
# lambda_function_associations: {
|
3609
4517
|
# quantity: 1, # required
|
@@ -3616,6 +4524,29 @@ module Aws::CloudFront
|
|
3616
4524
|
# ],
|
3617
4525
|
# },
|
3618
4526
|
# field_level_encryption_id: "string",
|
4527
|
+
# cache_policy_id: "string",
|
4528
|
+
# origin_request_policy_id: "string",
|
4529
|
+
# forwarded_values: {
|
4530
|
+
# query_string: false, # required
|
4531
|
+
# cookies: { # required
|
4532
|
+
# forward: "none", # required, accepts none, whitelist, all
|
4533
|
+
# whitelisted_names: {
|
4534
|
+
# quantity: 1, # required
|
4535
|
+
# items: ["string"],
|
4536
|
+
# },
|
4537
|
+
# },
|
4538
|
+
# headers: {
|
4539
|
+
# quantity: 1, # required
|
4540
|
+
# items: ["string"],
|
4541
|
+
# },
|
4542
|
+
# query_string_cache_keys: {
|
4543
|
+
# quantity: 1, # required
|
4544
|
+
# items: ["string"],
|
4545
|
+
# },
|
4546
|
+
# },
|
4547
|
+
# min_ttl: 1,
|
4548
|
+
# default_ttl: 1,
|
4549
|
+
# max_ttl: 1,
|
3619
4550
|
# },
|
3620
4551
|
# cache_behaviors: {
|
3621
4552
|
# quantity: 1, # required
|
@@ -3623,31 +4554,12 @@ module Aws::CloudFront
|
|
3623
4554
|
# {
|
3624
4555
|
# path_pattern: "string", # required
|
3625
4556
|
# target_origin_id: "string", # required
|
3626
|
-
# forwarded_values: { # required
|
3627
|
-
# query_string: false, # required
|
3628
|
-
# cookies: { # required
|
3629
|
-
# forward: "none", # required, accepts none, whitelist, all
|
3630
|
-
# whitelisted_names: {
|
3631
|
-
# quantity: 1, # required
|
3632
|
-
# items: ["string"],
|
3633
|
-
# },
|
3634
|
-
# },
|
3635
|
-
# headers: {
|
3636
|
-
# quantity: 1, # required
|
3637
|
-
# items: ["string"],
|
3638
|
-
# },
|
3639
|
-
# query_string_cache_keys: {
|
3640
|
-
# quantity: 1, # required
|
3641
|
-
# items: ["string"],
|
3642
|
-
# },
|
3643
|
-
# },
|
3644
4557
|
# trusted_signers: { # required
|
3645
4558
|
# enabled: false, # required
|
3646
4559
|
# quantity: 1, # required
|
3647
4560
|
# items: ["string"],
|
3648
4561
|
# },
|
3649
4562
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
3650
|
-
# min_ttl: 1, # required
|
3651
4563
|
# allowed_methods: {
|
3652
4564
|
# quantity: 1, # required
|
3653
4565
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -3657,8 +4569,6 @@ module Aws::CloudFront
|
|
3657
4569
|
# },
|
3658
4570
|
# },
|
3659
4571
|
# smooth_streaming: false,
|
3660
|
-
# default_ttl: 1,
|
3661
|
-
# max_ttl: 1,
|
3662
4572
|
# compress: false,
|
3663
4573
|
# lambda_function_associations: {
|
3664
4574
|
# quantity: 1, # required
|
@@ -3671,6 +4581,29 @@ module Aws::CloudFront
|
|
3671
4581
|
# ],
|
3672
4582
|
# },
|
3673
4583
|
# field_level_encryption_id: "string",
|
4584
|
+
# cache_policy_id: "string",
|
4585
|
+
# origin_request_policy_id: "string",
|
4586
|
+
# forwarded_values: {
|
4587
|
+
# query_string: false, # required
|
4588
|
+
# cookies: { # required
|
4589
|
+
# forward: "none", # required, accepts none, whitelist, all
|
4590
|
+
# whitelisted_names: {
|
4591
|
+
# quantity: 1, # required
|
4592
|
+
# items: ["string"],
|
4593
|
+
# },
|
4594
|
+
# },
|
4595
|
+
# headers: {
|
4596
|
+
# quantity: 1, # required
|
4597
|
+
# items: ["string"],
|
4598
|
+
# },
|
4599
|
+
# query_string_cache_keys: {
|
4600
|
+
# quantity: 1, # required
|
4601
|
+
# items: ["string"],
|
4602
|
+
# },
|
4603
|
+
# },
|
4604
|
+
# min_ttl: 1,
|
4605
|
+
# default_ttl: 1,
|
4606
|
+
# max_ttl: 1,
|
3674
4607
|
# },
|
3675
4608
|
# ],
|
3676
4609
|
# },
|
@@ -3699,7 +4632,7 @@ module Aws::CloudFront
|
|
3699
4632
|
# iam_certificate_id: "string",
|
3700
4633
|
# acm_certificate_arn: "string",
|
3701
4634
|
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
3702
|
-
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018
|
4635
|
+
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
3703
4636
|
# certificate: "string",
|
3704
4637
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
3705
4638
|
# },
|
@@ -3768,23 +4701,11 @@ module Aws::CloudFront
|
|
3768
4701
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
|
3769
4702
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
3770
4703
|
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
|
3771
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
3772
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3773
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3774
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
3775
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3776
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
3777
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
3778
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
3779
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3780
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
3781
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
3782
4704
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
3783
4705
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
3784
4706
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
3785
4707
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
3786
4708
|
# resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
3787
|
-
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
3788
4709
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
3789
4710
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
3790
4711
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -3792,8 +4713,6 @@ module Aws::CloudFront
|
|
3792
4713
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
3793
4714
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
3794
4715
|
# resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
3795
|
-
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
3796
|
-
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
3797
4716
|
# resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
|
3798
4717
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
3799
4718
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -3801,27 +4720,31 @@ module Aws::CloudFront
|
|
3801
4720
|
# 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"
|
3802
4721
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
3803
4722
|
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
4723
|
+
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
4724
|
+
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
4725
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
4726
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4727
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
4728
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
4729
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
4730
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
4731
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
4732
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
4733
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
4734
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
4735
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
4736
|
+
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
4737
|
+
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
4738
|
+
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
3804
4739
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
3805
4740
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
3806
4741
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
3807
4742
|
# resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
3808
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
3809
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3810
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3811
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
3812
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3813
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
3814
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
3815
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
3816
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3817
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
3818
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
3819
4743
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
3820
4744
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
3821
4745
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
3822
4746
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
3823
4747
|
# resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
3824
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
3825
4748
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
3826
4749
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
3827
4750
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -3829,8 +4752,6 @@ module Aws::CloudFront
|
|
3829
4752
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
3830
4753
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
3831
4754
|
# resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
3832
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
3833
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
3834
4755
|
# resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
3835
4756
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
3836
4757
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -3838,6 +4759,22 @@ module Aws::CloudFront
|
|
3838
4759
|
# 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"
|
3839
4760
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
3840
4761
|
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
4762
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
4763
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
4764
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
4765
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4766
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
4767
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
4768
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
4769
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
4770
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
4771
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
4772
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
4773
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
4774
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
4775
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
4776
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
4777
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
3841
4778
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
3842
4779
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
3843
4780
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -3855,7 +4792,7 @@ module Aws::CloudFront
|
|
3855
4792
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
3856
4793
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
3857
4794
|
# resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
|
3858
|
-
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018"
|
4795
|
+
# 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"
|
3859
4796
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
3860
4797
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
3861
4798
|
# resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -3870,7 +4807,7 @@ module Aws::CloudFront
|
|
3870
4807
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
3871
4808
|
# resp.etag #=> String
|
3872
4809
|
#
|
3873
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDistribution2020_05_31 AWS API Documentation
|
3874
4811
|
#
|
3875
4812
|
# @overload update_distribution(params = {})
|
3876
4813
|
# @param [Hash] params ({})
|
@@ -3951,7 +4888,7 @@ module Aws::CloudFront
|
|
3951
4888
|
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
3952
4889
|
# resp.etag #=> String
|
3953
4890
|
#
|
3954
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
|
3955
4892
|
#
|
3956
4893
|
# @overload update_field_level_encryption_config(params = {})
|
3957
4894
|
# @param [Hash] params ({})
|
@@ -4018,7 +4955,7 @@ module Aws::CloudFront
|
|
4018
4955
|
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
4019
4956
|
# resp.etag #=> String
|
4020
4957
|
#
|
4021
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
|
4022
4959
|
#
|
4023
4960
|
# @overload update_field_level_encryption_profile(params = {})
|
4024
4961
|
# @param [Hash] params ({})
|
@@ -4027,6 +4964,103 @@ module Aws::CloudFront
|
|
4027
4964
|
req.send_request(options)
|
4028
4965
|
end
|
4029
4966
|
|
4967
|
+
# Updates an origin request policy configuration.
|
4968
|
+
#
|
4969
|
+
# When you update an origin request policy configuration, all the fields
|
4970
|
+
# are updated with the values provided in the request. You cannot update
|
4971
|
+
# some fields independent of others. To update an origin request policy
|
4972
|
+
# configuration:
|
4973
|
+
#
|
4974
|
+
# 1. Use `GetOriginRequestPolicyConfig` to get the current
|
4975
|
+
# configuration.
|
4976
|
+
#
|
4977
|
+
# 2. Locally modify the fields in the origin request policy
|
4978
|
+
# configuration that you want to update.
|
4979
|
+
#
|
4980
|
+
# 3. Call `UpdateOriginRequestPolicy` by providing the entire origin
|
4981
|
+
# request policy configuration, including the fields that you
|
4982
|
+
# modified and those that you didn’t.
|
4983
|
+
#
|
4984
|
+
# @option params [required, Types::OriginRequestPolicyConfig] :origin_request_policy_config
|
4985
|
+
# An origin request policy configuration.
|
4986
|
+
#
|
4987
|
+
# @option params [required, String] :id
|
4988
|
+
# The unique identifier for the origin request policy that you are
|
4989
|
+
# updating. The identifier is returned in a cache behavior’s
|
4990
|
+
# `OriginRequestPolicyId` field in the response to
|
4991
|
+
# `GetDistributionConfig`.
|
4992
|
+
#
|
4993
|
+
# @option params [String] :if_match
|
4994
|
+
# The version of the origin request policy that you are updating. The
|
4995
|
+
# version is returned in the origin request policy’s `ETag` field in the
|
4996
|
+
# response to `GetOriginRequestPolicyConfig`.
|
4997
|
+
#
|
4998
|
+
# @return [Types::UpdateOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4999
|
+
#
|
5000
|
+
# * {Types::UpdateOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
|
5001
|
+
# * {Types::UpdateOriginRequestPolicyResult#etag #etag} => String
|
5002
|
+
#
|
5003
|
+
# @example Request syntax with placeholder values
|
5004
|
+
#
|
5005
|
+
# resp = client.update_origin_request_policy({
|
5006
|
+
# origin_request_policy_config: { # required
|
5007
|
+
# comment: "string",
|
5008
|
+
# name: "string", # required
|
5009
|
+
# headers_config: { # required
|
5010
|
+
# header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront
|
5011
|
+
# headers: {
|
5012
|
+
# quantity: 1, # required
|
5013
|
+
# items: ["string"],
|
5014
|
+
# },
|
5015
|
+
# },
|
5016
|
+
# cookies_config: { # required
|
5017
|
+
# cookie_behavior: "none", # required, accepts none, whitelist, all
|
5018
|
+
# cookies: {
|
5019
|
+
# quantity: 1, # required
|
5020
|
+
# items: ["string"],
|
5021
|
+
# },
|
5022
|
+
# },
|
5023
|
+
# query_strings_config: { # required
|
5024
|
+
# query_string_behavior: "none", # required, accepts none, whitelist, all
|
5025
|
+
# query_strings: {
|
5026
|
+
# quantity: 1, # required
|
5027
|
+
# items: ["string"],
|
5028
|
+
# },
|
5029
|
+
# },
|
5030
|
+
# },
|
5031
|
+
# id: "string", # required
|
5032
|
+
# if_match: "string",
|
5033
|
+
# })
|
5034
|
+
#
|
5035
|
+
# @example Response structure
|
5036
|
+
#
|
5037
|
+
# resp.origin_request_policy.id #=> String
|
5038
|
+
# resp.origin_request_policy.last_modified_time #=> Time
|
5039
|
+
# resp.origin_request_policy.origin_request_policy_config.comment #=> String
|
5040
|
+
# resp.origin_request_policy.origin_request_policy_config.name #=> String
|
5041
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
|
5042
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
5043
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
|
5044
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
5045
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
5046
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
5047
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
5048
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
5049
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
|
5050
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
5051
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
5052
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
5053
|
+
# resp.etag #=> String
|
5054
|
+
#
|
5055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginRequestPolicy2020_05_31 AWS API Documentation
|
5056
|
+
#
|
5057
|
+
# @overload update_origin_request_policy(params = {})
|
5058
|
+
# @param [Hash] params ({})
|
5059
|
+
def update_origin_request_policy(params = {}, options = {})
|
5060
|
+
req = build_request(:update_origin_request_policy, params)
|
5061
|
+
req.send_request(options)
|
5062
|
+
end
|
5063
|
+
|
4030
5064
|
# Update public key information. Note that the only value you can change
|
4031
5065
|
# is the comment.
|
4032
5066
|
#
|
@@ -4068,7 +5102,7 @@ module Aws::CloudFront
|
|
4068
5102
|
# resp.public_key.public_key_config.comment #=> String
|
4069
5103
|
# resp.etag #=> String
|
4070
5104
|
#
|
4071
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
5105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdatePublicKey2020_05_31 AWS API Documentation
|
4072
5106
|
#
|
4073
5107
|
# @overload update_public_key(params = {})
|
4074
5108
|
# @param [Hash] params ({})
|
@@ -4158,7 +5192,7 @@ module Aws::CloudFront
|
|
4158
5192
|
# resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
|
4159
5193
|
# resp.etag #=> String
|
4160
5194
|
#
|
4161
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
5195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateStreamingDistribution2020_05_31 AWS API Documentation
|
4162
5196
|
#
|
4163
5197
|
# @overload update_streaming_distribution(params = {})
|
4164
5198
|
# @param [Hash] params ({})
|
@@ -4180,7 +5214,7 @@ module Aws::CloudFront
|
|
4180
5214
|
params: params,
|
4181
5215
|
config: config)
|
4182
5216
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
4183
|
-
context[:gem_version] = '1.
|
5217
|
+
context[:gem_version] = '1.35.0'
|
4184
5218
|
Seahorse::Client::Request.new(handlers, context)
|
4185
5219
|
end
|
4186
5220
|
|