aws-sdk-cloudfront 1.34.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudfront.rb +3 -3
- data/lib/aws-sdk-cloudfront/client.rb +1541 -395
- data/lib/aws-sdk-cloudfront/client_api.rb +744 -118
- data/lib/aws-sdk-cloudfront/cookie_signer.rb +0 -1
- data/lib/aws-sdk-cloudfront/errors.rb +288 -0
- data/lib/aws-sdk-cloudfront/signer.rb +1 -2
- data/lib/aws-sdk-cloudfront/types.rb +3133 -854
- data/lib/aws-sdk-cloudfront/url_signer.rb +0 -1
- 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: 80f91c775fc7695451e46b1afd60d6a3d9a21274478e34cdf73702dadc861a9e
|
4
|
+
data.tar.gz: 5aba3807cab92b727132024c6f92341ade514707049be67ed775904652127145
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a0ac288aa8b402ddb79a5b2418d5c0d773df25d47100e87895ef36b781870f782325fe11c4604f2692f4fe746dd30c1162ce1749cdb76c70434348e64362627
|
7
|
+
data.tar.gz: 1dec6fc46bf4803791f888f6516cc9cb0e01b317a29e05e69edc011c8200a265f26f2900ff6e95fa9047de9aa8ab9f246c65dffa8a8a3bf15e060af8dcb42983
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-cloudfront/customizations'
|
|
28
28
|
# structure.
|
29
29
|
#
|
30
30
|
# cloud_front = Aws::CloudFront::Client.new
|
31
|
-
# resp = cloud_front.
|
31
|
+
# resp = cloud_front.create_cache_policy(params)
|
32
32
|
#
|
33
33
|
# See {Client} for more information.
|
34
34
|
#
|
@@ -45,9 +45,9 @@ require_relative 'aws-sdk-cloudfront/customizations'
|
|
45
45
|
#
|
46
46
|
# See {Errors} for more information.
|
47
47
|
#
|
48
|
-
#
|
48
|
+
# @!group service
|
49
49
|
module Aws::CloudFront
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.38.0'
|
52
52
|
|
53
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::CloudFront
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::CloudFront
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -312,6 +327,113 @@ module Aws::CloudFront
|
|
312
327
|
|
313
328
|
# @!group API Operations
|
314
329
|
|
330
|
+
# Creates a cache policy.
|
331
|
+
#
|
332
|
+
# After you create a cache policy, you can attach it to one or more
|
333
|
+
# cache behaviors. When it’s attached to a cache behavior, the cache
|
334
|
+
# policy determines the following:
|
335
|
+
#
|
336
|
+
# * The values that CloudFront includes in the *cache key*. These values
|
337
|
+
# can include HTTP headers, cookies, and URL query strings. CloudFront
|
338
|
+
# uses the cache key to find an object in its cache that it can return
|
339
|
+
# to the viewer.
|
340
|
+
#
|
341
|
+
# * The default, minimum, and maximum time to live (TTL) values that you
|
342
|
+
# want objects to stay in the CloudFront cache.
|
343
|
+
#
|
344
|
+
# The headers, cookies, and query strings that are included in the cache
|
345
|
+
# key are automatically included in requests that CloudFront sends to
|
346
|
+
# the origin. CloudFront sends a request when it can’t find an object in
|
347
|
+
# its cache that matches the request’s cache key. If you want to send
|
348
|
+
# values to the origin but *not* include them in the cache key, use
|
349
|
+
# `CreateOriginRequestPolicy`.
|
350
|
+
#
|
351
|
+
# For more information about cache policies, see [Controlling the cache
|
352
|
+
# key][1] in the *Amazon CloudFront Developer Guide*.
|
353
|
+
#
|
354
|
+
#
|
355
|
+
#
|
356
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html
|
357
|
+
#
|
358
|
+
# @option params [required, Types::CachePolicyConfig] :cache_policy_config
|
359
|
+
# A cache policy configuration.
|
360
|
+
#
|
361
|
+
# @return [Types::CreateCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
362
|
+
#
|
363
|
+
# * {Types::CreateCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
|
364
|
+
# * {Types::CreateCachePolicyResult#location #location} => String
|
365
|
+
# * {Types::CreateCachePolicyResult#etag #etag} => String
|
366
|
+
#
|
367
|
+
# @example Request syntax with placeholder values
|
368
|
+
#
|
369
|
+
# resp = client.create_cache_policy({
|
370
|
+
# cache_policy_config: { # required
|
371
|
+
# comment: "string",
|
372
|
+
# name: "string", # required
|
373
|
+
# default_ttl: 1,
|
374
|
+
# max_ttl: 1,
|
375
|
+
# min_ttl: 1, # required
|
376
|
+
# parameters_in_cache_key_and_forwarded_to_origin: {
|
377
|
+
# enable_accept_encoding_gzip: false, # required
|
378
|
+
# headers_config: { # required
|
379
|
+
# header_behavior: "none", # required, accepts none, whitelist
|
380
|
+
# headers: {
|
381
|
+
# quantity: 1, # required
|
382
|
+
# items: ["string"],
|
383
|
+
# },
|
384
|
+
# },
|
385
|
+
# cookies_config: { # required
|
386
|
+
# cookie_behavior: "none", # required, accepts none, whitelist, allExcept, all
|
387
|
+
# cookies: {
|
388
|
+
# quantity: 1, # required
|
389
|
+
# items: ["string"],
|
390
|
+
# },
|
391
|
+
# },
|
392
|
+
# query_strings_config: { # required
|
393
|
+
# query_string_behavior: "none", # required, accepts none, whitelist, allExcept, all
|
394
|
+
# query_strings: {
|
395
|
+
# quantity: 1, # required
|
396
|
+
# items: ["string"],
|
397
|
+
# },
|
398
|
+
# },
|
399
|
+
# },
|
400
|
+
# },
|
401
|
+
# })
|
402
|
+
#
|
403
|
+
# @example Response structure
|
404
|
+
#
|
405
|
+
# resp.cache_policy.id #=> String
|
406
|
+
# resp.cache_policy.last_modified_time #=> Time
|
407
|
+
# resp.cache_policy.cache_policy_config.comment #=> String
|
408
|
+
# resp.cache_policy.cache_policy_config.name #=> String
|
409
|
+
# resp.cache_policy.cache_policy_config.default_ttl #=> Integer
|
410
|
+
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
|
411
|
+
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
|
412
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
413
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
414
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
415
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
416
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
|
417
|
+
# 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"
|
418
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
419
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
420
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
|
421
|
+
# 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"
|
422
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
|
423
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
|
424
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
425
|
+
# resp.location #=> String
|
426
|
+
# resp.etag #=> String
|
427
|
+
#
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCachePolicy2020_05_31 AWS API Documentation
|
429
|
+
#
|
430
|
+
# @overload create_cache_policy(params = {})
|
431
|
+
# @param [Hash] params ({})
|
432
|
+
def create_cache_policy(params = {}, options = {})
|
433
|
+
req = build_request(:create_cache_policy, params)
|
434
|
+
req.send_request(options)
|
435
|
+
end
|
436
|
+
|
315
437
|
# Creates a new origin access identity. If you're using Amazon S3 for
|
316
438
|
# your origin, you can use an origin access identity to require users to
|
317
439
|
# access your content using a CloudFront URL instead of the Amazon S3
|
@@ -350,7 +472,7 @@ module Aws::CloudFront
|
|
350
472
|
# resp.location #=> String
|
351
473
|
# resp.etag #=> String
|
352
474
|
#
|
353
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
|
354
476
|
#
|
355
477
|
# @overload create_cloud_front_origin_access_identity(params = {})
|
356
478
|
# @param [Hash] params ({})
|
@@ -457,31 +579,12 @@ module Aws::CloudFront
|
|
457
579
|
# },
|
458
580
|
# default_cache_behavior: { # required
|
459
581
|
# target_origin_id: "string", # required
|
460
|
-
# forwarded_values: { # required
|
461
|
-
# query_string: false, # required
|
462
|
-
# cookies: { # required
|
463
|
-
# forward: "none", # required, accepts none, whitelist, all
|
464
|
-
# whitelisted_names: {
|
465
|
-
# quantity: 1, # required
|
466
|
-
# items: ["string"],
|
467
|
-
# },
|
468
|
-
# },
|
469
|
-
# headers: {
|
470
|
-
# quantity: 1, # required
|
471
|
-
# items: ["string"],
|
472
|
-
# },
|
473
|
-
# query_string_cache_keys: {
|
474
|
-
# quantity: 1, # required
|
475
|
-
# items: ["string"],
|
476
|
-
# },
|
477
|
-
# },
|
478
582
|
# trusted_signers: { # required
|
479
583
|
# enabled: false, # required
|
480
584
|
# quantity: 1, # required
|
481
585
|
# items: ["string"],
|
482
586
|
# },
|
483
587
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
484
|
-
# min_ttl: 1, # required
|
485
588
|
# allowed_methods: {
|
486
589
|
# quantity: 1, # required
|
487
590
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -491,8 +594,6 @@ module Aws::CloudFront
|
|
491
594
|
# },
|
492
595
|
# },
|
493
596
|
# smooth_streaming: false,
|
494
|
-
# default_ttl: 1,
|
495
|
-
# max_ttl: 1,
|
496
597
|
# compress: false,
|
497
598
|
# lambda_function_associations: {
|
498
599
|
# quantity: 1, # required
|
@@ -505,6 +606,29 @@ module Aws::CloudFront
|
|
505
606
|
# ],
|
506
607
|
# },
|
507
608
|
# field_level_encryption_id: "string",
|
609
|
+
# cache_policy_id: "string",
|
610
|
+
# origin_request_policy_id: "string",
|
611
|
+
# forwarded_values: {
|
612
|
+
# query_string: false, # required
|
613
|
+
# cookies: { # required
|
614
|
+
# forward: "none", # required, accepts none, whitelist, all
|
615
|
+
# whitelisted_names: {
|
616
|
+
# quantity: 1, # required
|
617
|
+
# items: ["string"],
|
618
|
+
# },
|
619
|
+
# },
|
620
|
+
# headers: {
|
621
|
+
# quantity: 1, # required
|
622
|
+
# items: ["string"],
|
623
|
+
# },
|
624
|
+
# query_string_cache_keys: {
|
625
|
+
# quantity: 1, # required
|
626
|
+
# items: ["string"],
|
627
|
+
# },
|
628
|
+
# },
|
629
|
+
# min_ttl: 1,
|
630
|
+
# default_ttl: 1,
|
631
|
+
# max_ttl: 1,
|
508
632
|
# },
|
509
633
|
# cache_behaviors: {
|
510
634
|
# quantity: 1, # required
|
@@ -512,31 +636,12 @@ module Aws::CloudFront
|
|
512
636
|
# {
|
513
637
|
# path_pattern: "string", # required
|
514
638
|
# target_origin_id: "string", # required
|
515
|
-
# forwarded_values: { # required
|
516
|
-
# query_string: false, # required
|
517
|
-
# cookies: { # required
|
518
|
-
# forward: "none", # required, accepts none, whitelist, all
|
519
|
-
# whitelisted_names: {
|
520
|
-
# quantity: 1, # required
|
521
|
-
# items: ["string"],
|
522
|
-
# },
|
523
|
-
# },
|
524
|
-
# headers: {
|
525
|
-
# quantity: 1, # required
|
526
|
-
# items: ["string"],
|
527
|
-
# },
|
528
|
-
# query_string_cache_keys: {
|
529
|
-
# quantity: 1, # required
|
530
|
-
# items: ["string"],
|
531
|
-
# },
|
532
|
-
# },
|
533
639
|
# trusted_signers: { # required
|
534
640
|
# enabled: false, # required
|
535
641
|
# quantity: 1, # required
|
536
642
|
# items: ["string"],
|
537
643
|
# },
|
538
644
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
539
|
-
# min_ttl: 1, # required
|
540
645
|
# allowed_methods: {
|
541
646
|
# quantity: 1, # required
|
542
647
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -546,8 +651,6 @@ module Aws::CloudFront
|
|
546
651
|
# },
|
547
652
|
# },
|
548
653
|
# smooth_streaming: false,
|
549
|
-
# default_ttl: 1,
|
550
|
-
# max_ttl: 1,
|
551
654
|
# compress: false,
|
552
655
|
# lambda_function_associations: {
|
553
656
|
# quantity: 1, # required
|
@@ -560,6 +663,29 @@ module Aws::CloudFront
|
|
560
663
|
# ],
|
561
664
|
# },
|
562
665
|
# field_level_encryption_id: "string",
|
666
|
+
# cache_policy_id: "string",
|
667
|
+
# origin_request_policy_id: "string",
|
668
|
+
# forwarded_values: {
|
669
|
+
# query_string: false, # required
|
670
|
+
# cookies: { # required
|
671
|
+
# forward: "none", # required, accepts none, whitelist, all
|
672
|
+
# whitelisted_names: {
|
673
|
+
# quantity: 1, # required
|
674
|
+
# items: ["string"],
|
675
|
+
# },
|
676
|
+
# },
|
677
|
+
# headers: {
|
678
|
+
# quantity: 1, # required
|
679
|
+
# items: ["string"],
|
680
|
+
# },
|
681
|
+
# query_string_cache_keys: {
|
682
|
+
# quantity: 1, # required
|
683
|
+
# items: ["string"],
|
684
|
+
# },
|
685
|
+
# },
|
686
|
+
# min_ttl: 1,
|
687
|
+
# default_ttl: 1,
|
688
|
+
# max_ttl: 1,
|
563
689
|
# },
|
564
690
|
# ],
|
565
691
|
# },
|
@@ -655,23 +781,11 @@ module Aws::CloudFront
|
|
655
781
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
|
656
782
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
657
783
|
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
|
658
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
659
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
660
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
661
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
662
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
663
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
664
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
665
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
666
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
667
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
668
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
669
784
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
670
785
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
671
786
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
672
787
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
673
788
|
# resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
674
|
-
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
675
789
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
676
790
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
677
791
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -679,8 +793,6 @@ module Aws::CloudFront
|
|
679
793
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
680
794
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
681
795
|
# resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
682
|
-
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
683
|
-
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
684
796
|
# resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
|
685
797
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
686
798
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -688,27 +800,31 @@ module Aws::CloudFront
|
|
688
800
|
# 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"
|
689
801
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
690
802
|
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
803
|
+
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
804
|
+
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
805
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
806
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
807
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
808
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
809
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
810
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
811
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
812
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
813
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
814
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
815
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
816
|
+
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
817
|
+
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
818
|
+
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
691
819
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
692
820
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
693
821
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
694
822
|
# resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
695
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
696
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
697
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
698
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
699
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
700
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
701
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
702
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
703
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
704
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
705
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
706
823
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
707
824
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
708
825
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
709
826
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
710
827
|
# resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
711
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
712
828
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
713
829
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
714
830
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -716,8 +832,6 @@ module Aws::CloudFront
|
|
716
832
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
717
833
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
718
834
|
# resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
719
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
720
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
721
835
|
# resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
722
836
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
723
837
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -725,6 +839,22 @@ module Aws::CloudFront
|
|
725
839
|
# 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"
|
726
840
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
727
841
|
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
842
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
843
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
844
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
845
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
846
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
847
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
848
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
849
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
850
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
851
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
852
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
853
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
854
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
855
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
856
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
857
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
728
858
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
729
859
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
730
860
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -758,7 +888,7 @@ module Aws::CloudFront
|
|
758
888
|
# resp.location #=> String
|
759
889
|
# resp.etag #=> String
|
760
890
|
#
|
761
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistribution2020_05_31 AWS API Documentation
|
762
892
|
#
|
763
893
|
# @overload create_distribution(params = {})
|
764
894
|
# @param [Hash] params ({})
|
@@ -848,31 +978,12 @@ module Aws::CloudFront
|
|
848
978
|
# },
|
849
979
|
# default_cache_behavior: { # required
|
850
980
|
# target_origin_id: "string", # required
|
851
|
-
# forwarded_values: { # required
|
852
|
-
# query_string: false, # required
|
853
|
-
# cookies: { # required
|
854
|
-
# forward: "none", # required, accepts none, whitelist, all
|
855
|
-
# whitelisted_names: {
|
856
|
-
# quantity: 1, # required
|
857
|
-
# items: ["string"],
|
858
|
-
# },
|
859
|
-
# },
|
860
|
-
# headers: {
|
861
|
-
# quantity: 1, # required
|
862
|
-
# items: ["string"],
|
863
|
-
# },
|
864
|
-
# query_string_cache_keys: {
|
865
|
-
# quantity: 1, # required
|
866
|
-
# items: ["string"],
|
867
|
-
# },
|
868
|
-
# },
|
869
981
|
# trusted_signers: { # required
|
870
982
|
# enabled: false, # required
|
871
983
|
# quantity: 1, # required
|
872
984
|
# items: ["string"],
|
873
985
|
# },
|
874
986
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
875
|
-
# min_ttl: 1, # required
|
876
987
|
# allowed_methods: {
|
877
988
|
# quantity: 1, # required
|
878
989
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -882,8 +993,6 @@ module Aws::CloudFront
|
|
882
993
|
# },
|
883
994
|
# },
|
884
995
|
# smooth_streaming: false,
|
885
|
-
# default_ttl: 1,
|
886
|
-
# max_ttl: 1,
|
887
996
|
# compress: false,
|
888
997
|
# lambda_function_associations: {
|
889
998
|
# quantity: 1, # required
|
@@ -896,6 +1005,29 @@ module Aws::CloudFront
|
|
896
1005
|
# ],
|
897
1006
|
# },
|
898
1007
|
# field_level_encryption_id: "string",
|
1008
|
+
# cache_policy_id: "string",
|
1009
|
+
# origin_request_policy_id: "string",
|
1010
|
+
# forwarded_values: {
|
1011
|
+
# query_string: false, # required
|
1012
|
+
# cookies: { # required
|
1013
|
+
# forward: "none", # required, accepts none, whitelist, all
|
1014
|
+
# whitelisted_names: {
|
1015
|
+
# quantity: 1, # required
|
1016
|
+
# items: ["string"],
|
1017
|
+
# },
|
1018
|
+
# },
|
1019
|
+
# headers: {
|
1020
|
+
# quantity: 1, # required
|
1021
|
+
# items: ["string"],
|
1022
|
+
# },
|
1023
|
+
# query_string_cache_keys: {
|
1024
|
+
# quantity: 1, # required
|
1025
|
+
# items: ["string"],
|
1026
|
+
# },
|
1027
|
+
# },
|
1028
|
+
# min_ttl: 1,
|
1029
|
+
# default_ttl: 1,
|
1030
|
+
# max_ttl: 1,
|
899
1031
|
# },
|
900
1032
|
# cache_behaviors: {
|
901
1033
|
# quantity: 1, # required
|
@@ -903,31 +1035,12 @@ module Aws::CloudFront
|
|
903
1035
|
# {
|
904
1036
|
# path_pattern: "string", # required
|
905
1037
|
# target_origin_id: "string", # required
|
906
|
-
# forwarded_values: { # required
|
907
|
-
# query_string: false, # required
|
908
|
-
# cookies: { # required
|
909
|
-
# forward: "none", # required, accepts none, whitelist, all
|
910
|
-
# whitelisted_names: {
|
911
|
-
# quantity: 1, # required
|
912
|
-
# items: ["string"],
|
913
|
-
# },
|
914
|
-
# },
|
915
|
-
# headers: {
|
916
|
-
# quantity: 1, # required
|
917
|
-
# items: ["string"],
|
918
|
-
# },
|
919
|
-
# query_string_cache_keys: {
|
920
|
-
# quantity: 1, # required
|
921
|
-
# items: ["string"],
|
922
|
-
# },
|
923
|
-
# },
|
924
1038
|
# trusted_signers: { # required
|
925
1039
|
# enabled: false, # required
|
926
1040
|
# quantity: 1, # required
|
927
1041
|
# items: ["string"],
|
928
1042
|
# },
|
929
1043
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
930
|
-
# min_ttl: 1, # required
|
931
1044
|
# allowed_methods: {
|
932
1045
|
# quantity: 1, # required
|
933
1046
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -937,8 +1050,6 @@ module Aws::CloudFront
|
|
937
1050
|
# },
|
938
1051
|
# },
|
939
1052
|
# smooth_streaming: false,
|
940
|
-
# default_ttl: 1,
|
941
|
-
# max_ttl: 1,
|
942
1053
|
# compress: false,
|
943
1054
|
# lambda_function_associations: {
|
944
1055
|
# quantity: 1, # required
|
@@ -951,21 +1062,44 @@ module Aws::CloudFront
|
|
951
1062
|
# ],
|
952
1063
|
# },
|
953
1064
|
# field_level_encryption_id: "string",
|
954
|
-
#
|
955
|
-
#
|
956
|
-
#
|
957
|
-
#
|
958
|
-
#
|
959
|
-
#
|
960
|
-
#
|
961
|
-
#
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
#
|
1065
|
+
# cache_policy_id: "string",
|
1066
|
+
# origin_request_policy_id: "string",
|
1067
|
+
# forwarded_values: {
|
1068
|
+
# query_string: false, # required
|
1069
|
+
# cookies: { # required
|
1070
|
+
# forward: "none", # required, accepts none, whitelist, all
|
1071
|
+
# whitelisted_names: {
|
1072
|
+
# quantity: 1, # required
|
1073
|
+
# items: ["string"],
|
1074
|
+
# },
|
1075
|
+
# },
|
1076
|
+
# headers: {
|
1077
|
+
# quantity: 1, # required
|
1078
|
+
# items: ["string"],
|
1079
|
+
# },
|
1080
|
+
# query_string_cache_keys: {
|
1081
|
+
# quantity: 1, # required
|
1082
|
+
# items: ["string"],
|
1083
|
+
# },
|
1084
|
+
# },
|
1085
|
+
# min_ttl: 1,
|
1086
|
+
# default_ttl: 1,
|
1087
|
+
# max_ttl: 1,
|
1088
|
+
# },
|
1089
|
+
# ],
|
1090
|
+
# },
|
1091
|
+
# custom_error_responses: {
|
1092
|
+
# quantity: 1, # required
|
1093
|
+
# items: [
|
1094
|
+
# {
|
1095
|
+
# error_code: 1, # required
|
1096
|
+
# response_page_path: "string",
|
1097
|
+
# response_code: "string",
|
1098
|
+
# error_caching_min_ttl: 1,
|
1099
|
+
# },
|
1100
|
+
# ],
|
1101
|
+
# },
|
1102
|
+
# comment: "CommentType", # required
|
969
1103
|
# logging: {
|
970
1104
|
# enabled: false, # required
|
971
1105
|
# include_cookies: false, # required
|
@@ -1055,23 +1189,11 @@ module Aws::CloudFront
|
|
1055
1189
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
|
1056
1190
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
1057
1191
|
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
|
1058
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
1059
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1060
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1061
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
1062
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1063
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
1064
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
1065
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
1066
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1067
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
1068
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
1069
1192
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
1070
1193
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
1071
1194
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
1072
1195
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
1073
1196
|
# resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
1074
|
-
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
1075
1197
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
1076
1198
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
1077
1199
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -1079,8 +1201,6 @@ module Aws::CloudFront
|
|
1079
1201
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
1080
1202
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
1081
1203
|
# resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
1082
|
-
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
1083
|
-
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
1084
1204
|
# resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
|
1085
1205
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
1086
1206
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -1088,27 +1208,31 @@ module Aws::CloudFront
|
|
1088
1208
|
# 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"
|
1089
1209
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
1090
1210
|
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
1211
|
+
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
1212
|
+
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
1213
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
1214
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1215
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1216
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
1217
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1218
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
1219
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
1220
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
1221
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1222
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
1223
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
1224
|
+
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
1225
|
+
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
1226
|
+
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
1091
1227
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
1092
1228
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
1093
1229
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
1094
1230
|
# resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
1095
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
1096
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1097
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1098
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
1099
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1100
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
1101
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
1102
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
1103
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1104
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
1105
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
1106
1231
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
1107
1232
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
1108
1233
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
1109
1234
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
1110
1235
|
# resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
1111
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
1112
1236
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
1113
1237
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
1114
1238
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -1116,8 +1240,6 @@ module Aws::CloudFront
|
|
1116
1240
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
1117
1241
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
1118
1242
|
# resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
1119
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
1120
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
1121
1243
|
# resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
1122
1244
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
1123
1245
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -1125,6 +1247,22 @@ module Aws::CloudFront
|
|
1125
1247
|
# 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"
|
1126
1248
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
1127
1249
|
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
1250
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
1251
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
1252
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
1253
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1254
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1255
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
1256
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1257
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
1258
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
1259
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
1260
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1261
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
1262
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
1263
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
1264
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
1265
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
1128
1266
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
1129
1267
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
1130
1268
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -1158,7 +1296,7 @@ module Aws::CloudFront
|
|
1158
1296
|
# resp.location #=> String
|
1159
1297
|
# resp.etag #=> String
|
1160
1298
|
#
|
1161
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistributionWithTags2020_05_31 AWS API Documentation
|
1162
1300
|
#
|
1163
1301
|
# @overload create_distribution_with_tags(params = {})
|
1164
1302
|
# @param [Hash] params ({})
|
@@ -1232,7 +1370,7 @@ module Aws::CloudFront
|
|
1232
1370
|
# resp.location #=> String
|
1233
1371
|
# resp.etag #=> String
|
1234
1372
|
#
|
1235
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1373
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
|
1236
1374
|
#
|
1237
1375
|
# @overload create_field_level_encryption_config(params = {})
|
1238
1376
|
# @param [Hash] params ({})
|
@@ -1292,7 +1430,7 @@ module Aws::CloudFront
|
|
1292
1430
|
# resp.location #=> String
|
1293
1431
|
# resp.etag #=> String
|
1294
1432
|
#
|
1295
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
|
1296
1434
|
#
|
1297
1435
|
# @overload create_field_level_encryption_profile(params = {})
|
1298
1436
|
# @param [Hash] params ({})
|
@@ -1338,7 +1476,7 @@ module Aws::CloudFront
|
|
1338
1476
|
# resp.invalidation.invalidation_batch.paths.items[0] #=> String
|
1339
1477
|
# resp.invalidation.invalidation_batch.caller_reference #=> String
|
1340
1478
|
#
|
1341
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateInvalidation2020_05_31 AWS API Documentation
|
1342
1480
|
#
|
1343
1481
|
# @overload create_invalidation(params = {})
|
1344
1482
|
# @param [Hash] params ({})
|
@@ -1347,6 +1485,152 @@ module Aws::CloudFront
|
|
1347
1485
|
req.send_request(options)
|
1348
1486
|
end
|
1349
1487
|
|
1488
|
+
# Enables additional CloudWatch metrics for the specified CloudFront
|
1489
|
+
# distribution. The additional metrics incur an additional cost.
|
1490
|
+
#
|
1491
|
+
# For more information, see [Viewing additional CloudFront distribution
|
1492
|
+
# metrics][1] in the *Amazon CloudFront Developer Guide*.
|
1493
|
+
#
|
1494
|
+
#
|
1495
|
+
#
|
1496
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional
|
1497
|
+
#
|
1498
|
+
# @option params [required, String] :distribution_id
|
1499
|
+
# The ID of the distribution that you are enabling metrics for.
|
1500
|
+
#
|
1501
|
+
# @option params [required, Types::MonitoringSubscription] :monitoring_subscription
|
1502
|
+
# A monitoring subscription. This structure contains information about
|
1503
|
+
# whether additional CloudWatch metrics are enabled for a given
|
1504
|
+
# CloudFront distribution.
|
1505
|
+
#
|
1506
|
+
# @return [Types::CreateMonitoringSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1507
|
+
#
|
1508
|
+
# * {Types::CreateMonitoringSubscriptionResult#monitoring_subscription #monitoring_subscription} => Types::MonitoringSubscription
|
1509
|
+
#
|
1510
|
+
# @example Request syntax with placeholder values
|
1511
|
+
#
|
1512
|
+
# resp = client.create_monitoring_subscription({
|
1513
|
+
# distribution_id: "string", # required
|
1514
|
+
# monitoring_subscription: { # required
|
1515
|
+
# realtime_metrics_subscription_config: {
|
1516
|
+
# realtime_metrics_subscription_status: "Enabled", # required, accepts Enabled, Disabled
|
1517
|
+
# },
|
1518
|
+
# },
|
1519
|
+
# })
|
1520
|
+
#
|
1521
|
+
# @example Response structure
|
1522
|
+
#
|
1523
|
+
# resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
|
1524
|
+
#
|
1525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateMonitoringSubscription2020_05_31 AWS API Documentation
|
1526
|
+
#
|
1527
|
+
# @overload create_monitoring_subscription(params = {})
|
1528
|
+
# @param [Hash] params ({})
|
1529
|
+
def create_monitoring_subscription(params = {}, options = {})
|
1530
|
+
req = build_request(:create_monitoring_subscription, params)
|
1531
|
+
req.send_request(options)
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
# Creates an origin request policy.
|
1535
|
+
#
|
1536
|
+
# After you create an origin request policy, you can attach it to one or
|
1537
|
+
# more cache behaviors. When it’s attached to a cache behavior, the
|
1538
|
+
# origin request policy determines the values that CloudFront includes
|
1539
|
+
# in requests that it sends to the origin. Each request that CloudFront
|
1540
|
+
# sends to the origin includes the following:
|
1541
|
+
#
|
1542
|
+
# * The request body and the URL path (without the domain name) from the
|
1543
|
+
# viewer request.
|
1544
|
+
#
|
1545
|
+
# * The headers that CloudFront automatically includes in every origin
|
1546
|
+
# request, including `Host`, `User-Agent`, and `X-Amz-Cf-Id`.
|
1547
|
+
#
|
1548
|
+
# * All HTTP headers, cookies, and URL query strings that are specified
|
1549
|
+
# in the cache policy or the origin request policy. These can include
|
1550
|
+
# items from the viewer request and, in the case of headers,
|
1551
|
+
# additional ones that are added by CloudFront.
|
1552
|
+
#
|
1553
|
+
# CloudFront sends a request when it can’t find a valid object in its
|
1554
|
+
# cache that matches the request. If you want to send values to the
|
1555
|
+
# origin and also include them in the cache key, use
|
1556
|
+
# `CreateCachePolicy`.
|
1557
|
+
#
|
1558
|
+
# For more information about origin request policies, see [Controlling
|
1559
|
+
# origin requests][1] in the *Amazon CloudFront Developer Guide*.
|
1560
|
+
#
|
1561
|
+
#
|
1562
|
+
#
|
1563
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html
|
1564
|
+
#
|
1565
|
+
# @option params [required, Types::OriginRequestPolicyConfig] :origin_request_policy_config
|
1566
|
+
# An origin request policy configuration.
|
1567
|
+
#
|
1568
|
+
# @return [Types::CreateOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1569
|
+
#
|
1570
|
+
# * {Types::CreateOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
|
1571
|
+
# * {Types::CreateOriginRequestPolicyResult#location #location} => String
|
1572
|
+
# * {Types::CreateOriginRequestPolicyResult#etag #etag} => String
|
1573
|
+
#
|
1574
|
+
# @example Request syntax with placeholder values
|
1575
|
+
#
|
1576
|
+
# resp = client.create_origin_request_policy({
|
1577
|
+
# origin_request_policy_config: { # required
|
1578
|
+
# comment: "string",
|
1579
|
+
# name: "string", # required
|
1580
|
+
# headers_config: { # required
|
1581
|
+
# header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront
|
1582
|
+
# headers: {
|
1583
|
+
# quantity: 1, # required
|
1584
|
+
# items: ["string"],
|
1585
|
+
# },
|
1586
|
+
# },
|
1587
|
+
# cookies_config: { # required
|
1588
|
+
# cookie_behavior: "none", # required, accepts none, whitelist, all
|
1589
|
+
# cookies: {
|
1590
|
+
# quantity: 1, # required
|
1591
|
+
# items: ["string"],
|
1592
|
+
# },
|
1593
|
+
# },
|
1594
|
+
# query_strings_config: { # required
|
1595
|
+
# query_string_behavior: "none", # required, accepts none, whitelist, all
|
1596
|
+
# query_strings: {
|
1597
|
+
# quantity: 1, # required
|
1598
|
+
# items: ["string"],
|
1599
|
+
# },
|
1600
|
+
# },
|
1601
|
+
# },
|
1602
|
+
# })
|
1603
|
+
#
|
1604
|
+
# @example Response structure
|
1605
|
+
#
|
1606
|
+
# resp.origin_request_policy.id #=> String
|
1607
|
+
# resp.origin_request_policy.last_modified_time #=> Time
|
1608
|
+
# resp.origin_request_policy.origin_request_policy_config.comment #=> String
|
1609
|
+
# resp.origin_request_policy.origin_request_policy_config.name #=> String
|
1610
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
|
1611
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
1612
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
|
1613
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
1614
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
1615
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
1616
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
1617
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
1618
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
|
1619
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
1620
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
1621
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
1622
|
+
# resp.location #=> String
|
1623
|
+
# resp.etag #=> String
|
1624
|
+
#
|
1625
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateOriginRequestPolicy2020_05_31 AWS API Documentation
|
1626
|
+
#
|
1627
|
+
# @overload create_origin_request_policy(params = {})
|
1628
|
+
# @param [Hash] params ({})
|
1629
|
+
def create_origin_request_policy(params = {}, options = {})
|
1630
|
+
req = build_request(:create_origin_request_policy, params)
|
1631
|
+
req.send_request(options)
|
1632
|
+
end
|
1633
|
+
|
1350
1634
|
# Add a new public key to CloudFront to use, for example, for
|
1351
1635
|
# field-level encryption. You can add a maximum of 10 public keys with
|
1352
1636
|
# one AWS account.
|
@@ -1382,7 +1666,7 @@ module Aws::CloudFront
|
|
1382
1666
|
# resp.location #=> String
|
1383
1667
|
# resp.etag #=> String
|
1384
1668
|
#
|
1385
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreatePublicKey2020_05_31 AWS API Documentation
|
1386
1670
|
#
|
1387
1671
|
# @overload create_public_key(params = {})
|
1388
1672
|
# @param [Hash] params ({})
|
@@ -1497,7 +1781,7 @@ module Aws::CloudFront
|
|
1497
1781
|
# resp.location #=> String
|
1498
1782
|
# resp.etag #=> String
|
1499
1783
|
#
|
1500
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistribution2020_05_31 AWS API Documentation
|
1501
1785
|
#
|
1502
1786
|
# @overload create_streaming_distribution(params = {})
|
1503
1787
|
# @param [Hash] params ({})
|
@@ -1589,7 +1873,7 @@ module Aws::CloudFront
|
|
1589
1873
|
# resp.location #=> String
|
1590
1874
|
# resp.etag #=> String
|
1591
1875
|
#
|
1592
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistributionWithTags2020_05_31 AWS API Documentation
|
1593
1877
|
#
|
1594
1878
|
# @overload create_streaming_distribution_with_tags(params = {})
|
1595
1879
|
# @param [Hash] params ({})
|
@@ -1598,6 +1882,43 @@ module Aws::CloudFront
|
|
1598
1882
|
req.send_request(options)
|
1599
1883
|
end
|
1600
1884
|
|
1885
|
+
# Deletes a cache policy.
|
1886
|
+
#
|
1887
|
+
# You cannot delete a cache policy if it’s attached to a cache behavior.
|
1888
|
+
# First update your distributions to remove the cache policy from all
|
1889
|
+
# cache behaviors, then delete the cache policy.
|
1890
|
+
#
|
1891
|
+
# To delete a cache policy, you must provide the policy’s identifier and
|
1892
|
+
# version. To get these values, you can use `ListCachePolicies` or
|
1893
|
+
# `GetCachePolicy`.
|
1894
|
+
#
|
1895
|
+
# @option params [required, String] :id
|
1896
|
+
# The unique identifier for the cache policy that you are deleting. To
|
1897
|
+
# get the identifier, you can use `ListCachePolicies`.
|
1898
|
+
#
|
1899
|
+
# @option params [String] :if_match
|
1900
|
+
# The version of the cache policy that you are deleting. The version is
|
1901
|
+
# the cache policy’s `ETag` value, which you can get using
|
1902
|
+
# `ListCachePolicies`, `GetCachePolicy`, or `GetCachePolicyConfig`.
|
1903
|
+
#
|
1904
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1905
|
+
#
|
1906
|
+
# @example Request syntax with placeholder values
|
1907
|
+
#
|
1908
|
+
# resp = client.delete_cache_policy({
|
1909
|
+
# id: "string", # required
|
1910
|
+
# if_match: "string",
|
1911
|
+
# })
|
1912
|
+
#
|
1913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCachePolicy2020_05_31 AWS API Documentation
|
1914
|
+
#
|
1915
|
+
# @overload delete_cache_policy(params = {})
|
1916
|
+
# @param [Hash] params ({})
|
1917
|
+
def delete_cache_policy(params = {}, options = {})
|
1918
|
+
req = build_request(:delete_cache_policy, params)
|
1919
|
+
req.send_request(options)
|
1920
|
+
end
|
1921
|
+
|
1601
1922
|
# Delete an origin access identity.
|
1602
1923
|
#
|
1603
1924
|
# @option params [required, String] :id
|
@@ -1616,7 +1937,7 @@ module Aws::CloudFront
|
|
1616
1937
|
# if_match: "string",
|
1617
1938
|
# })
|
1618
1939
|
#
|
1619
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
|
1620
1941
|
#
|
1621
1942
|
# @overload delete_cloud_front_origin_access_identity(params = {})
|
1622
1943
|
# @param [Hash] params ({})
|
@@ -1643,7 +1964,7 @@ module Aws::CloudFront
|
|
1643
1964
|
# if_match: "string",
|
1644
1965
|
# })
|
1645
1966
|
#
|
1646
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteDistribution2020_05_31 AWS API Documentation
|
1647
1968
|
#
|
1648
1969
|
# @overload delete_distribution(params = {})
|
1649
1970
|
# @param [Hash] params ({})
|
@@ -1670,7 +1991,7 @@ module Aws::CloudFront
|
|
1670
1991
|
# if_match: "string",
|
1671
1992
|
# })
|
1672
1993
|
#
|
1673
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
1994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
|
1674
1995
|
#
|
1675
1996
|
# @overload delete_field_level_encryption_config(params = {})
|
1676
1997
|
# @param [Hash] params ({})
|
@@ -1697,7 +2018,7 @@ module Aws::CloudFront
|
|
1697
2018
|
# if_match: "string",
|
1698
2019
|
# })
|
1699
2020
|
#
|
1700
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
|
1701
2022
|
#
|
1702
2023
|
# @overload delete_field_level_encryption_profile(params = {})
|
1703
2024
|
# @param [Hash] params ({})
|
@@ -1706,6 +2027,69 @@ module Aws::CloudFront
|
|
1706
2027
|
req.send_request(options)
|
1707
2028
|
end
|
1708
2029
|
|
2030
|
+
# Disables additional CloudWatch metrics for the specified CloudFront
|
2031
|
+
# distribution.
|
2032
|
+
#
|
2033
|
+
# @option params [required, String] :distribution_id
|
2034
|
+
# The ID of the distribution that you are disabling metrics for.
|
2035
|
+
#
|
2036
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2037
|
+
#
|
2038
|
+
# @example Request syntax with placeholder values
|
2039
|
+
#
|
2040
|
+
# resp = client.delete_monitoring_subscription({
|
2041
|
+
# distribution_id: "string", # required
|
2042
|
+
# })
|
2043
|
+
#
|
2044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteMonitoringSubscription2020_05_31 AWS API Documentation
|
2045
|
+
#
|
2046
|
+
# @overload delete_monitoring_subscription(params = {})
|
2047
|
+
# @param [Hash] params ({})
|
2048
|
+
def delete_monitoring_subscription(params = {}, options = {})
|
2049
|
+
req = build_request(:delete_monitoring_subscription, params)
|
2050
|
+
req.send_request(options)
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
# Deletes an origin request policy.
|
2054
|
+
#
|
2055
|
+
# You cannot delete an origin request policy if it’s attached to any
|
2056
|
+
# cache behaviors. First update your distributions to remove the origin
|
2057
|
+
# request policy from all cache behaviors, then delete the origin
|
2058
|
+
# request policy.
|
2059
|
+
#
|
2060
|
+
# To delete an origin request policy, you must provide the policy’s
|
2061
|
+
# identifier and version. To get the identifier, you can use
|
2062
|
+
# `ListOriginRequestPolicies` or `GetOriginRequestPolicy`.
|
2063
|
+
#
|
2064
|
+
# @option params [required, String] :id
|
2065
|
+
# The unique identifier for the origin request policy that you are
|
2066
|
+
# deleting. To get the identifier, you can use
|
2067
|
+
# `ListOriginRequestPolicies`.
|
2068
|
+
#
|
2069
|
+
# @option params [String] :if_match
|
2070
|
+
# The version of the origin request policy that you are deleting. The
|
2071
|
+
# version is the origin request policy’s `ETag` value, which you can get
|
2072
|
+
# using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
|
2073
|
+
# `GetOriginRequestPolicyConfig`.
|
2074
|
+
#
|
2075
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2076
|
+
#
|
2077
|
+
# @example Request syntax with placeholder values
|
2078
|
+
#
|
2079
|
+
# resp = client.delete_origin_request_policy({
|
2080
|
+
# id: "string", # required
|
2081
|
+
# if_match: "string",
|
2082
|
+
# })
|
2083
|
+
#
|
2084
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteOriginRequestPolicy2020_05_31 AWS API Documentation
|
2085
|
+
#
|
2086
|
+
# @overload delete_origin_request_policy(params = {})
|
2087
|
+
# @param [Hash] params ({})
|
2088
|
+
def delete_origin_request_policy(params = {}, options = {})
|
2089
|
+
req = build_request(:delete_origin_request_policy, params)
|
2090
|
+
req.send_request(options)
|
2091
|
+
end
|
2092
|
+
|
1709
2093
|
# Remove a public key you previously added to CloudFront.
|
1710
2094
|
#
|
1711
2095
|
# @option params [required, String] :id
|
@@ -1724,7 +2108,7 @@ module Aws::CloudFront
|
|
1724
2108
|
# if_match: "string",
|
1725
2109
|
# })
|
1726
2110
|
#
|
1727
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2111
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeletePublicKey2020_05_31 AWS API Documentation
|
1728
2112
|
#
|
1729
2113
|
# @overload delete_public_key(params = {})
|
1730
2114
|
# @param [Hash] params ({})
|
@@ -1794,7 +2178,7 @@ module Aws::CloudFront
|
|
1794
2178
|
# if_match: "string",
|
1795
2179
|
# })
|
1796
2180
|
#
|
1797
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteStreamingDistribution2020_05_31 AWS API Documentation
|
1798
2182
|
#
|
1799
2183
|
# @overload delete_streaming_distribution(params = {})
|
1800
2184
|
# @param [Hash] params ({})
|
@@ -1803,6 +2187,127 @@ module Aws::CloudFront
|
|
1803
2187
|
req.send_request(options)
|
1804
2188
|
end
|
1805
2189
|
|
2190
|
+
# Gets a cache policy, including the following metadata:
|
2191
|
+
#
|
2192
|
+
# * The policy’s identifier.
|
2193
|
+
#
|
2194
|
+
# * The date and time when the policy was last modified.
|
2195
|
+
#
|
2196
|
+
# To get a cache policy, you must provide the policy’s identifier. If
|
2197
|
+
# the cache policy is attached to a distribution’s cache behavior, you
|
2198
|
+
# can get the policy’s identifier using `ListDistributions` or
|
2199
|
+
# `GetDistribution`. If the cache policy is not attached to a cache
|
2200
|
+
# behavior, you can get the identifier using `ListCachePolicies`.
|
2201
|
+
#
|
2202
|
+
# @option params [required, String] :id
|
2203
|
+
# The unique identifier for the cache policy. If the cache policy is
|
2204
|
+
# attached to a distribution’s cache behavior, you can get the policy’s
|
2205
|
+
# identifier using `ListDistributions` or `GetDistribution`. If the
|
2206
|
+
# cache policy is not attached to a cache behavior, you can get the
|
2207
|
+
# identifier using `ListCachePolicies`.
|
2208
|
+
#
|
2209
|
+
# @return [Types::GetCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2210
|
+
#
|
2211
|
+
# * {Types::GetCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
|
2212
|
+
# * {Types::GetCachePolicyResult#etag #etag} => String
|
2213
|
+
#
|
2214
|
+
# @example Request syntax with placeholder values
|
2215
|
+
#
|
2216
|
+
# resp = client.get_cache_policy({
|
2217
|
+
# id: "string", # required
|
2218
|
+
# })
|
2219
|
+
#
|
2220
|
+
# @example Response structure
|
2221
|
+
#
|
2222
|
+
# resp.cache_policy.id #=> String
|
2223
|
+
# resp.cache_policy.last_modified_time #=> Time
|
2224
|
+
# resp.cache_policy.cache_policy_config.comment #=> String
|
2225
|
+
# resp.cache_policy.cache_policy_config.name #=> String
|
2226
|
+
# resp.cache_policy.cache_policy_config.default_ttl #=> Integer
|
2227
|
+
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
|
2228
|
+
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
|
2229
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
2230
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
2231
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
2232
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
2233
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
|
2234
|
+
# 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"
|
2235
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
2236
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
2237
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
|
2238
|
+
# 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"
|
2239
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
|
2240
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
|
2241
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
2242
|
+
# resp.etag #=> String
|
2243
|
+
#
|
2244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicy2020_05_31 AWS API Documentation
|
2245
|
+
#
|
2246
|
+
# @overload get_cache_policy(params = {})
|
2247
|
+
# @param [Hash] params ({})
|
2248
|
+
def get_cache_policy(params = {}, options = {})
|
2249
|
+
req = build_request(:get_cache_policy, params)
|
2250
|
+
req.send_request(options)
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
# Gets a cache policy configuration.
|
2254
|
+
#
|
2255
|
+
# To get a cache policy configuration, you must provide the policy’s
|
2256
|
+
# identifier. If the cache policy is attached to a distribution’s cache
|
2257
|
+
# behavior, you can get the policy’s identifier using
|
2258
|
+
# `ListDistributions` or `GetDistribution`. If the cache policy is not
|
2259
|
+
# attached to a cache behavior, you can get the identifier using
|
2260
|
+
# `ListCachePolicies`.
|
2261
|
+
#
|
2262
|
+
# @option params [required, String] :id
|
2263
|
+
# The unique identifier for the cache policy. If the cache policy is
|
2264
|
+
# attached to a distribution’s cache behavior, you can get the policy’s
|
2265
|
+
# identifier using `ListDistributions` or `GetDistribution`. If the
|
2266
|
+
# cache policy is not attached to a cache behavior, you can get the
|
2267
|
+
# identifier using `ListCachePolicies`.
|
2268
|
+
#
|
2269
|
+
# @return [Types::GetCachePolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2270
|
+
#
|
2271
|
+
# * {Types::GetCachePolicyConfigResult#cache_policy_config #cache_policy_config} => Types::CachePolicyConfig
|
2272
|
+
# * {Types::GetCachePolicyConfigResult#etag #etag} => String
|
2273
|
+
#
|
2274
|
+
# @example Request syntax with placeholder values
|
2275
|
+
#
|
2276
|
+
# resp = client.get_cache_policy_config({
|
2277
|
+
# id: "string", # required
|
2278
|
+
# })
|
2279
|
+
#
|
2280
|
+
# @example Response structure
|
2281
|
+
#
|
2282
|
+
# resp.cache_policy_config.comment #=> String
|
2283
|
+
# resp.cache_policy_config.name #=> String
|
2284
|
+
# resp.cache_policy_config.default_ttl #=> Integer
|
2285
|
+
# resp.cache_policy_config.max_ttl #=> Integer
|
2286
|
+
# resp.cache_policy_config.min_ttl #=> Integer
|
2287
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
2288
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
2289
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
2290
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
2291
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
|
2292
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
|
2293
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
2294
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
2295
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
|
2296
|
+
# 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"
|
2297
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
|
2298
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
|
2299
|
+
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
2300
|
+
# resp.etag #=> String
|
2301
|
+
#
|
2302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicyConfig2020_05_31 AWS API Documentation
|
2303
|
+
#
|
2304
|
+
# @overload get_cache_policy_config(params = {})
|
2305
|
+
# @param [Hash] params ({})
|
2306
|
+
def get_cache_policy_config(params = {}, options = {})
|
2307
|
+
req = build_request(:get_cache_policy_config, params)
|
2308
|
+
req.send_request(options)
|
2309
|
+
end
|
2310
|
+
|
1806
2311
|
# Get the information about an origin access identity.
|
1807
2312
|
#
|
1808
2313
|
# @option params [required, String] :id
|
@@ -1827,7 +2332,7 @@ module Aws::CloudFront
|
|
1827
2332
|
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
|
1828
2333
|
# resp.etag #=> String
|
1829
2334
|
#
|
1830
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2335
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
|
1831
2336
|
#
|
1832
2337
|
# @overload get_cloud_front_origin_access_identity(params = {})
|
1833
2338
|
# @param [Hash] params ({})
|
@@ -1858,7 +2363,7 @@ module Aws::CloudFront
|
|
1858
2363
|
# resp.cloud_front_origin_access_identity_config.comment #=> String
|
1859
2364
|
# resp.etag #=> String
|
1860
2365
|
#
|
1861
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig2020_05_31 AWS API Documentation
|
1862
2367
|
#
|
1863
2368
|
# @overload get_cloud_front_origin_access_identity_config(params = {})
|
1864
2369
|
# @param [Hash] params ({})
|
@@ -1934,23 +2439,11 @@ module Aws::CloudFront
|
|
1934
2439
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
|
1935
2440
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
1936
2441
|
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
|
1937
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
1938
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1939
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1940
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
1941
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1942
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
1943
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
1944
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
1945
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1946
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
1947
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
1948
2442
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
1949
2443
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
1950
2444
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
1951
2445
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
1952
2446
|
# resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
1953
|
-
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
1954
2447
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
1955
2448
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
1956
2449
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -1958,8 +2451,6 @@ module Aws::CloudFront
|
|
1958
2451
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
1959
2452
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
1960
2453
|
# resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
1961
|
-
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
1962
|
-
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
1963
2454
|
# resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
|
1964
2455
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
1965
2456
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -1967,27 +2458,31 @@ module Aws::CloudFront
|
|
1967
2458
|
# 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"
|
1968
2459
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
1969
2460
|
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
2461
|
+
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
2462
|
+
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
2463
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2464
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2465
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2466
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2467
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2468
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2469
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
2470
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2471
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2472
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2473
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2474
|
+
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
2475
|
+
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
2476
|
+
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
1970
2477
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
1971
2478
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
1972
2479
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
1973
2480
|
# resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
1974
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
1975
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1976
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
1977
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
1978
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
1979
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
1980
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
1981
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
1982
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
1983
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
1984
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
1985
2481
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
1986
2482
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
1987
2483
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
1988
2484
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
1989
2485
|
# resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
1990
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
1991
2486
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
1992
2487
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
1993
2488
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -1995,8 +2490,6 @@ module Aws::CloudFront
|
|
1995
2490
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
1996
2491
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
1997
2492
|
# resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
1998
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
1999
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
2000
2493
|
# resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
2001
2494
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
2002
2495
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -2004,6 +2497,22 @@ module Aws::CloudFront
|
|
2004
2497
|
# 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"
|
2005
2498
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2006
2499
|
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
2500
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
2501
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
2502
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2503
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2504
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2505
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2506
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2507
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2508
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2509
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2510
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2511
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2512
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2513
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
2514
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
2515
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
2007
2516
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
2008
2517
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
2009
2518
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -2041,7 +2550,7 @@ module Aws::CloudFront
|
|
2041
2550
|
#
|
2042
2551
|
# * distribution_deployed
|
2043
2552
|
#
|
2044
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistribution2020_05_31 AWS API Documentation
|
2045
2554
|
#
|
2046
2555
|
# @overload get_distribution(params = {})
|
2047
2556
|
# @param [Hash] params ({})
|
@@ -2104,23 +2613,11 @@ module Aws::CloudFront
|
|
2104
2613
|
# resp.distribution_config.origin_groups.items[0].members.items #=> Array
|
2105
2614
|
# resp.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
2106
2615
|
# resp.distribution_config.default_cache_behavior.target_origin_id #=> String
|
2107
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2108
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2109
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2110
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2111
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2112
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2113
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
2114
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2115
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2116
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2117
|
-
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2118
2616
|
# resp.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
2119
2617
|
# resp.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
2120
2618
|
# resp.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
2121
2619
|
# resp.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
2122
2620
|
# resp.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2123
|
-
# resp.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
2124
2621
|
# resp.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
2125
2622
|
# resp.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
2126
2623
|
# resp.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2128,8 +2625,6 @@ module Aws::CloudFront
|
|
2128
2625
|
# resp.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
2129
2626
|
# resp.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
2130
2627
|
# resp.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
2131
|
-
# resp.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
2132
|
-
# resp.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
2133
2628
|
# resp.distribution_config.default_cache_behavior.compress #=> Boolean
|
2134
2629
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
2135
2630
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -2137,27 +2632,31 @@ module Aws::CloudFront
|
|
2137
2632
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
2138
2633
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
2139
2634
|
# resp.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
2635
|
+
# resp.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
2636
|
+
# resp.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
2637
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2638
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2639
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2640
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2641
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2642
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2643
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
2644
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2645
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2646
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2647
|
+
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2648
|
+
# resp.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
2649
|
+
# resp.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
2650
|
+
# resp.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
2140
2651
|
# resp.distribution_config.cache_behaviors.quantity #=> Integer
|
2141
2652
|
# resp.distribution_config.cache_behaviors.items #=> Array
|
2142
2653
|
# resp.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
2143
2654
|
# resp.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
2144
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2145
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2146
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2147
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2148
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2149
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2150
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2151
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2152
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2153
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2154
|
-
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2155
2655
|
# resp.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
2156
2656
|
# resp.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
2157
2657
|
# resp.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
2158
2658
|
# resp.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
2159
2659
|
# resp.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2160
|
-
# resp.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
2161
2660
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
2162
2661
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
2163
2662
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2165,8 +2664,6 @@ module Aws::CloudFront
|
|
2165
2664
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
2166
2665
|
# resp.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
2167
2666
|
# resp.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
2168
|
-
# resp.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
2169
|
-
# resp.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
2170
2667
|
# resp.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
2171
2668
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
2172
2669
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -2174,6 +2671,22 @@ module Aws::CloudFront
|
|
2174
2671
|
# 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"
|
2175
2672
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2176
2673
|
# resp.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
2674
|
+
# resp.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
2675
|
+
# resp.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
2676
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2677
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2678
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2679
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2680
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2681
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2682
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2683
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2684
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2685
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2686
|
+
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2687
|
+
# resp.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
2688
|
+
# resp.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
2689
|
+
# resp.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
2177
2690
|
# resp.distribution_config.custom_error_responses.quantity #=> Integer
|
2178
2691
|
# resp.distribution_config.custom_error_responses.items #=> Array
|
2179
2692
|
# resp.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -2203,7 +2716,7 @@ module Aws::CloudFront
|
|
2203
2716
|
# resp.distribution_config.is_ipv6_enabled #=> Boolean
|
2204
2717
|
# resp.etag #=> String
|
2205
2718
|
#
|
2206
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig2020_05_31 AWS API Documentation
|
2207
2720
|
#
|
2208
2721
|
# @overload get_distribution_config(params = {})
|
2209
2722
|
# @param [Hash] params ({})
|
@@ -2248,7 +2761,7 @@ module Aws::CloudFront
|
|
2248
2761
|
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
2249
2762
|
# resp.etag #=> String
|
2250
2763
|
#
|
2251
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryption2020_05_31 AWS API Documentation
|
2252
2765
|
#
|
2253
2766
|
# @overload get_field_level_encryption(params = {})
|
2254
2767
|
# @param [Hash] params ({})
|
@@ -2291,7 +2804,7 @@ module Aws::CloudFront
|
|
2291
2804
|
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
2292
2805
|
# resp.etag #=> String
|
2293
2806
|
#
|
2294
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
|
2295
2808
|
#
|
2296
2809
|
# @overload get_field_level_encryption_config(params = {})
|
2297
2810
|
# @param [Hash] params ({})
|
@@ -2332,7 +2845,7 @@ module Aws::CloudFront
|
|
2332
2845
|
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
2333
2846
|
# resp.etag #=> String
|
2334
2847
|
#
|
2335
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2848
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
|
2336
2849
|
#
|
2337
2850
|
# @overload get_field_level_encryption_profile(params = {})
|
2338
2851
|
# @param [Hash] params ({})
|
@@ -2372,7 +2885,7 @@ module Aws::CloudFront
|
|
2372
2885
|
# resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
2373
2886
|
# resp.etag #=> String
|
2374
2887
|
#
|
2375
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig2020_05_31 AWS API Documentation
|
2376
2889
|
#
|
2377
2890
|
# @overload get_field_level_encryption_profile_config(params = {})
|
2378
2891
|
# @param [Hash] params ({})
|
@@ -2416,7 +2929,7 @@ module Aws::CloudFront
|
|
2416
2929
|
#
|
2417
2930
|
# * invalidation_completed
|
2418
2931
|
#
|
2419
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
2932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetInvalidation2020_05_31 AWS API Documentation
|
2420
2933
|
#
|
2421
2934
|
# @overload get_invalidation(params = {})
|
2422
2935
|
# @param [Hash] params ({})
|
@@ -2425,6 +2938,152 @@ module Aws::CloudFront
|
|
2425
2938
|
req.send_request(options)
|
2426
2939
|
end
|
2427
2940
|
|
2941
|
+
# Gets information about whether additional CloudWatch metrics are
|
2942
|
+
# enabled for the specified CloudFront distribution.
|
2943
|
+
#
|
2944
|
+
# @option params [required, String] :distribution_id
|
2945
|
+
# The ID of the distribution that you are getting metrics information
|
2946
|
+
# for.
|
2947
|
+
#
|
2948
|
+
# @return [Types::GetMonitoringSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2949
|
+
#
|
2950
|
+
# * {Types::GetMonitoringSubscriptionResult#monitoring_subscription #monitoring_subscription} => Types::MonitoringSubscription
|
2951
|
+
#
|
2952
|
+
# @example Request syntax with placeholder values
|
2953
|
+
#
|
2954
|
+
# resp = client.get_monitoring_subscription({
|
2955
|
+
# distribution_id: "string", # required
|
2956
|
+
# })
|
2957
|
+
#
|
2958
|
+
# @example Response structure
|
2959
|
+
#
|
2960
|
+
# resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
|
2961
|
+
#
|
2962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetMonitoringSubscription2020_05_31 AWS API Documentation
|
2963
|
+
#
|
2964
|
+
# @overload get_monitoring_subscription(params = {})
|
2965
|
+
# @param [Hash] params ({})
|
2966
|
+
def get_monitoring_subscription(params = {}, options = {})
|
2967
|
+
req = build_request(:get_monitoring_subscription, params)
|
2968
|
+
req.send_request(options)
|
2969
|
+
end
|
2970
|
+
|
2971
|
+
# Gets an origin request policy, including the following metadata:
|
2972
|
+
#
|
2973
|
+
# * The policy’s identifier.
|
2974
|
+
#
|
2975
|
+
# * The date and time when the policy was last modified.
|
2976
|
+
#
|
2977
|
+
# To get an origin request policy, you must provide the policy’s
|
2978
|
+
# identifier. If the origin request policy is attached to a
|
2979
|
+
# distribution’s cache behavior, you can get the policy’s identifier
|
2980
|
+
# using `ListDistributions` or `GetDistribution`. If the origin request
|
2981
|
+
# policy is not attached to a cache behavior, you can get the identifier
|
2982
|
+
# using `ListOriginRequestPolicies`.
|
2983
|
+
#
|
2984
|
+
# @option params [required, String] :id
|
2985
|
+
# The unique identifier for the origin request policy. If the origin
|
2986
|
+
# request policy is attached to a distribution’s cache behavior, you can
|
2987
|
+
# get the policy’s identifier using `ListDistributions` or
|
2988
|
+
# `GetDistribution`. If the origin request policy is not attached to a
|
2989
|
+
# cache behavior, you can get the identifier using
|
2990
|
+
# `ListOriginRequestPolicies`.
|
2991
|
+
#
|
2992
|
+
# @return [Types::GetOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2993
|
+
#
|
2994
|
+
# * {Types::GetOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
|
2995
|
+
# * {Types::GetOriginRequestPolicyResult#etag #etag} => String
|
2996
|
+
#
|
2997
|
+
# @example Request syntax with placeholder values
|
2998
|
+
#
|
2999
|
+
# resp = client.get_origin_request_policy({
|
3000
|
+
# id: "string", # required
|
3001
|
+
# })
|
3002
|
+
#
|
3003
|
+
# @example Response structure
|
3004
|
+
#
|
3005
|
+
# resp.origin_request_policy.id #=> String
|
3006
|
+
# resp.origin_request_policy.last_modified_time #=> Time
|
3007
|
+
# resp.origin_request_policy.origin_request_policy_config.comment #=> String
|
3008
|
+
# resp.origin_request_policy.origin_request_policy_config.name #=> String
|
3009
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
|
3010
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
3011
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
|
3012
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
3013
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
3014
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
3015
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
3016
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
3017
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
|
3018
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
3019
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
3020
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
3021
|
+
# resp.etag #=> String
|
3022
|
+
#
|
3023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicy2020_05_31 AWS API Documentation
|
3024
|
+
#
|
3025
|
+
# @overload get_origin_request_policy(params = {})
|
3026
|
+
# @param [Hash] params ({})
|
3027
|
+
def get_origin_request_policy(params = {}, options = {})
|
3028
|
+
req = build_request(:get_origin_request_policy, params)
|
3029
|
+
req.send_request(options)
|
3030
|
+
end
|
3031
|
+
|
3032
|
+
# Gets an origin request policy configuration.
|
3033
|
+
#
|
3034
|
+
# To get an origin request policy configuration, you must provide the
|
3035
|
+
# policy’s identifier. If the origin request policy is attached to a
|
3036
|
+
# distribution’s cache behavior, you can get the policy’s identifier
|
3037
|
+
# using `ListDistributions` or `GetDistribution`. If the origin request
|
3038
|
+
# policy is not attached to a cache behavior, you can get the identifier
|
3039
|
+
# using `ListOriginRequestPolicies`.
|
3040
|
+
#
|
3041
|
+
# @option params [required, String] :id
|
3042
|
+
# The unique identifier for the origin request policy. If the origin
|
3043
|
+
# request policy is attached to a distribution’s cache behavior, you can
|
3044
|
+
# get the policy’s identifier using `ListDistributions` or
|
3045
|
+
# `GetDistribution`. If the origin request policy is not attached to a
|
3046
|
+
# cache behavior, you can get the identifier using
|
3047
|
+
# `ListOriginRequestPolicies`.
|
3048
|
+
#
|
3049
|
+
# @return [Types::GetOriginRequestPolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3050
|
+
#
|
3051
|
+
# * {Types::GetOriginRequestPolicyConfigResult#origin_request_policy_config #origin_request_policy_config} => Types::OriginRequestPolicyConfig
|
3052
|
+
# * {Types::GetOriginRequestPolicyConfigResult#etag #etag} => String
|
3053
|
+
#
|
3054
|
+
# @example Request syntax with placeholder values
|
3055
|
+
#
|
3056
|
+
# resp = client.get_origin_request_policy_config({
|
3057
|
+
# id: "string", # required
|
3058
|
+
# })
|
3059
|
+
#
|
3060
|
+
# @example Response structure
|
3061
|
+
#
|
3062
|
+
# resp.origin_request_policy_config.comment #=> String
|
3063
|
+
# resp.origin_request_policy_config.name #=> String
|
3064
|
+
# resp.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
|
3065
|
+
# resp.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
3066
|
+
# resp.origin_request_policy_config.headers_config.headers.items #=> Array
|
3067
|
+
# resp.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
3068
|
+
# resp.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
3069
|
+
# resp.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
3070
|
+
# resp.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
3071
|
+
# resp.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
3072
|
+
# resp.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
|
3073
|
+
# resp.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
3074
|
+
# resp.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
3075
|
+
# resp.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
3076
|
+
# resp.etag #=> String
|
3077
|
+
#
|
3078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicyConfig2020_05_31 AWS API Documentation
|
3079
|
+
#
|
3080
|
+
# @overload get_origin_request_policy_config(params = {})
|
3081
|
+
# @param [Hash] params ({})
|
3082
|
+
def get_origin_request_policy_config(params = {}, options = {})
|
3083
|
+
req = build_request(:get_origin_request_policy_config, params)
|
3084
|
+
req.send_request(options)
|
3085
|
+
end
|
3086
|
+
|
2428
3087
|
# Get the public key information.
|
2429
3088
|
#
|
2430
3089
|
# @option params [required, String] :id
|
@@ -2451,7 +3110,7 @@ module Aws::CloudFront
|
|
2451
3110
|
# resp.public_key.public_key_config.comment #=> String
|
2452
3111
|
# resp.etag #=> String
|
2453
3112
|
#
|
2454
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKey2020_05_31 AWS API Documentation
|
2455
3114
|
#
|
2456
3115
|
# @overload get_public_key(params = {})
|
2457
3116
|
# @param [Hash] params ({})
|
@@ -2484,7 +3143,7 @@ module Aws::CloudFront
|
|
2484
3143
|
# resp.public_key_config.comment #=> String
|
2485
3144
|
# resp.etag #=> String
|
2486
3145
|
#
|
2487
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKeyConfig2020_05_31 AWS API Documentation
|
2488
3147
|
#
|
2489
3148
|
# @overload get_public_key_config(params = {})
|
2490
3149
|
# @param [Hash] params ({})
|
@@ -2547,7 +3206,7 @@ module Aws::CloudFront
|
|
2547
3206
|
#
|
2548
3207
|
# * streaming_distribution_deployed
|
2549
3208
|
#
|
2550
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistribution2020_05_31 AWS API Documentation
|
2551
3210
|
#
|
2552
3211
|
# @overload get_streaming_distribution(params = {})
|
2553
3212
|
# @param [Hash] params ({})
|
@@ -2592,7 +3251,7 @@ module Aws::CloudFront
|
|
2592
3251
|
# resp.streaming_distribution_config.enabled #=> Boolean
|
2593
3252
|
# resp.etag #=> String
|
2594
3253
|
#
|
2595
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistributionConfig2020_05_31 AWS API Documentation
|
2596
3255
|
#
|
2597
3256
|
# @overload get_streaming_distribution_config(params = {})
|
2598
3257
|
# @param [Hash] params ({})
|
@@ -2601,6 +3260,87 @@ module Aws::CloudFront
|
|
2601
3260
|
req.send_request(options)
|
2602
3261
|
end
|
2603
3262
|
|
3263
|
+
# Gets a list of cache policies.
|
3264
|
+
#
|
3265
|
+
# You can optionally apply a filter to return only the managed policies
|
3266
|
+
# created by AWS, or only the custom policies created in your AWS
|
3267
|
+
# account.
|
3268
|
+
#
|
3269
|
+
# You can optionally specify the maximum number of items to receive in
|
3270
|
+
# the response. If the total number of items in the list exceeds the
|
3271
|
+
# maximum that you specify, or the default maximum, the response is
|
3272
|
+
# paginated. To get the next page of items, send a subsequent request
|
3273
|
+
# that specifies the `NextMarker` value from the current response as the
|
3274
|
+
# `Marker` value in the subsequent request.
|
3275
|
+
#
|
3276
|
+
# @option params [String] :type
|
3277
|
+
# A filter to return only the specified kinds of cache policies. Valid
|
3278
|
+
# values are:
|
3279
|
+
#
|
3280
|
+
# * `managed` – Returns only the managed policies created by AWS.
|
3281
|
+
#
|
3282
|
+
# * `custom` – Returns only the custom policies created in your AWS
|
3283
|
+
# account.
|
3284
|
+
#
|
3285
|
+
# @option params [String] :marker
|
3286
|
+
# Use this field when paginating results to indicate where to begin in
|
3287
|
+
# your list of cache policies. The response includes cache policies in
|
3288
|
+
# the list that occur after the marker. To get the next page of the
|
3289
|
+
# list, set this field’s value to the value of `NextMarker` from the
|
3290
|
+
# current page’s response.
|
3291
|
+
#
|
3292
|
+
# @option params [Integer] :max_items
|
3293
|
+
# The maximum number of cache policies that you want in the response.
|
3294
|
+
#
|
3295
|
+
# @return [Types::ListCachePoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3296
|
+
#
|
3297
|
+
# * {Types::ListCachePoliciesResult#cache_policy_list #cache_policy_list} => Types::CachePolicyList
|
3298
|
+
#
|
3299
|
+
# @example Request syntax with placeholder values
|
3300
|
+
#
|
3301
|
+
# resp = client.list_cache_policies({
|
3302
|
+
# type: "managed", # accepts managed, custom
|
3303
|
+
# marker: "string",
|
3304
|
+
# max_items: 1,
|
3305
|
+
# })
|
3306
|
+
#
|
3307
|
+
# @example Response structure
|
3308
|
+
#
|
3309
|
+
# resp.cache_policy_list.next_marker #=> String
|
3310
|
+
# resp.cache_policy_list.max_items #=> Integer
|
3311
|
+
# resp.cache_policy_list.quantity #=> Integer
|
3312
|
+
# resp.cache_policy_list.items #=> Array
|
3313
|
+
# resp.cache_policy_list.items[0].type #=> String, one of "managed", "custom"
|
3314
|
+
# resp.cache_policy_list.items[0].cache_policy.id #=> String
|
3315
|
+
# resp.cache_policy_list.items[0].cache_policy.last_modified_time #=> Time
|
3316
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.comment #=> String
|
3317
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.name #=> String
|
3318
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.default_ttl #=> Integer
|
3319
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.max_ttl #=> Integer
|
3320
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.min_ttl #=> Integer
|
3321
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
3322
|
+
# 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"
|
3323
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
3324
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
3325
|
+
# 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
|
3326
|
+
# 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"
|
3327
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
3328
|
+
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
3329
|
+
# 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
|
3330
|
+
# 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"
|
3331
|
+
# 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
|
3332
|
+
# 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
|
3333
|
+
# 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
|
3334
|
+
#
|
3335
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCachePolicies2020_05_31 AWS API Documentation
|
3336
|
+
#
|
3337
|
+
# @overload list_cache_policies(params = {})
|
3338
|
+
# @param [Hash] params ({})
|
3339
|
+
def list_cache_policies(params = {}, options = {})
|
3340
|
+
req = build_request(:list_cache_policies, params)
|
3341
|
+
req.send_request(options)
|
3342
|
+
end
|
3343
|
+
|
2604
3344
|
# Lists origin access identities.
|
2605
3345
|
#
|
2606
3346
|
# @option params [String] :marker
|
@@ -2640,7 +3380,7 @@ module Aws::CloudFront
|
|
2640
3380
|
# resp.cloud_front_origin_access_identity_list.items[0].s3_canonical_user_id #=> String
|
2641
3381
|
# resp.cloud_front_origin_access_identity_list.items[0].comment #=> String
|
2642
3382
|
#
|
2643
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities2020_05_31 AWS API Documentation
|
2644
3384
|
#
|
2645
3385
|
# @overload list_cloud_front_origin_access_identities(params = {})
|
2646
3386
|
# @param [Hash] params ({})
|
@@ -2720,23 +3460,11 @@ module Aws::CloudFront
|
|
2720
3460
|
# resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
|
2721
3461
|
# resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
|
2722
3462
|
# resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
|
2723
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2724
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2725
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2726
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2727
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2728
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2729
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
2730
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2731
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2732
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2733
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2734
3463
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
|
2735
3464
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
|
2736
3465
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
|
2737
3466
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
|
2738
3467
|
# resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2739
|
-
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
2740
3468
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
|
2741
3469
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
|
2742
3470
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2744,8 +3472,6 @@ module Aws::CloudFront
|
|
2744
3472
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
2745
3473
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
2746
3474
|
# resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
|
2747
|
-
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
2748
|
-
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
2749
3475
|
# resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
|
2750
3476
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
2751
3477
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -2753,27 +3479,31 @@ module Aws::CloudFront
|
|
2753
3479
|
# 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"
|
2754
3480
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
2755
3481
|
# resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
|
3482
|
+
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
3483
|
+
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
3484
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
3485
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3486
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3487
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
3488
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3489
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
3490
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
3491
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
3492
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3493
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
3494
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
3495
|
+
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
3496
|
+
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
3497
|
+
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
2756
3498
|
# resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
|
2757
3499
|
# resp.distribution_list.items[0].cache_behaviors.items #=> Array
|
2758
3500
|
# resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
|
2759
3501
|
# resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
|
2760
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2761
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2762
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2763
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2764
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2765
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2766
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2767
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2768
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2769
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2770
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2771
3502
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
2772
3503
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
2773
3504
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
|
2774
3505
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
2775
3506
|
# resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2776
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
2777
3507
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
2778
3508
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
|
2779
3509
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2781,8 +3511,6 @@ module Aws::CloudFront
|
|
2781
3511
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
2782
3512
|
# 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"
|
2783
3513
|
# resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
|
2784
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
|
2785
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
|
2786
3514
|
# resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
|
2787
3515
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
2788
3516
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -2790,6 +3518,22 @@ module Aws::CloudFront
|
|
2790
3518
|
# 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"
|
2791
3519
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2792
3520
|
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
3521
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
3522
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
3523
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
3524
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3525
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3526
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
3527
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3528
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
3529
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
3530
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
3531
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3532
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
3533
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
3534
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
3535
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
|
3536
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
|
2793
3537
|
# resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
|
2794
3538
|
# resp.distribution_list.items[0].custom_error_responses.items #=> Array
|
2795
3539
|
# resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
|
@@ -2817,7 +3561,7 @@ module Aws::CloudFront
|
|
2817
3561
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
2818
3562
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
2819
3563
|
#
|
2820
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions2020_05_31 AWS API Documentation
|
2821
3565
|
#
|
2822
3566
|
# @overload list_distributions(params = {})
|
2823
3567
|
# @param [Hash] params ({})
|
@@ -2826,6 +3570,116 @@ module Aws::CloudFront
|
|
2826
3570
|
req.send_request(options)
|
2827
3571
|
end
|
2828
3572
|
|
3573
|
+
# Gets a list of distribution IDs for distributions that have a cache
|
3574
|
+
# behavior that’s associated with the specified cache policy.
|
3575
|
+
#
|
3576
|
+
# You can optionally specify the maximum number of items to receive in
|
3577
|
+
# the response. If the total number of items in the list exceeds the
|
3578
|
+
# maximum that you specify, or the default maximum, the response is
|
3579
|
+
# paginated. To get the next page of items, send a subsequent request
|
3580
|
+
# that specifies the `NextMarker` value from the current response as the
|
3581
|
+
# `Marker` value in the subsequent request.
|
3582
|
+
#
|
3583
|
+
# @option params [String] :marker
|
3584
|
+
# Use this field when paginating results to indicate where to begin in
|
3585
|
+
# your list of distribution IDs. The response includes distribution IDs
|
3586
|
+
# in the list that occur after the marker. To get the next page of the
|
3587
|
+
# list, set this field’s value to the value of `NextMarker` from the
|
3588
|
+
# current page’s response.
|
3589
|
+
#
|
3590
|
+
# @option params [Integer] :max_items
|
3591
|
+
# The maximum number of distribution IDs that you want in the response.
|
3592
|
+
#
|
3593
|
+
# @option params [required, String] :cache_policy_id
|
3594
|
+
# The ID of the cache policy whose associated distribution IDs you want
|
3595
|
+
# to list.
|
3596
|
+
#
|
3597
|
+
# @return [Types::ListDistributionsByCachePolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3598
|
+
#
|
3599
|
+
# * {Types::ListDistributionsByCachePolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
|
3600
|
+
#
|
3601
|
+
# @example Request syntax with placeholder values
|
3602
|
+
#
|
3603
|
+
# resp = client.list_distributions_by_cache_policy_id({
|
3604
|
+
# marker: "string",
|
3605
|
+
# max_items: 1,
|
3606
|
+
# cache_policy_id: "string", # required
|
3607
|
+
# })
|
3608
|
+
#
|
3609
|
+
# @example Response structure
|
3610
|
+
#
|
3611
|
+
# resp.distribution_id_list.marker #=> String
|
3612
|
+
# resp.distribution_id_list.next_marker #=> String
|
3613
|
+
# resp.distribution_id_list.max_items #=> Integer
|
3614
|
+
# resp.distribution_id_list.is_truncated #=> Boolean
|
3615
|
+
# resp.distribution_id_list.quantity #=> Integer
|
3616
|
+
# resp.distribution_id_list.items #=> Array
|
3617
|
+
# resp.distribution_id_list.items[0] #=> String
|
3618
|
+
#
|
3619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByCachePolicyId2020_05_31 AWS API Documentation
|
3620
|
+
#
|
3621
|
+
# @overload list_distributions_by_cache_policy_id(params = {})
|
3622
|
+
# @param [Hash] params ({})
|
3623
|
+
def list_distributions_by_cache_policy_id(params = {}, options = {})
|
3624
|
+
req = build_request(:list_distributions_by_cache_policy_id, params)
|
3625
|
+
req.send_request(options)
|
3626
|
+
end
|
3627
|
+
|
3628
|
+
# Gets a list of distribution IDs for distributions that have a cache
|
3629
|
+
# behavior that’s associated with the specified origin request policy.
|
3630
|
+
#
|
3631
|
+
# You can optionally specify the maximum number of items to receive in
|
3632
|
+
# the response. If the total number of items in the list exceeds the
|
3633
|
+
# maximum that you specify, or the default maximum, the response is
|
3634
|
+
# paginated. To get the next page of items, send a subsequent request
|
3635
|
+
# that specifies the `NextMarker` value from the current response as the
|
3636
|
+
# `Marker` value in the subsequent request.
|
3637
|
+
#
|
3638
|
+
# @option params [String] :marker
|
3639
|
+
# Use this field when paginating results to indicate where to begin in
|
3640
|
+
# your list of distribution IDs. The response includes distribution IDs
|
3641
|
+
# in the list that occur after the marker. To get the next page of the
|
3642
|
+
# list, set this field’s value to the value of `NextMarker` from the
|
3643
|
+
# current page’s response.
|
3644
|
+
#
|
3645
|
+
# @option params [Integer] :max_items
|
3646
|
+
# The maximum number of distribution IDs that you want in the response.
|
3647
|
+
#
|
3648
|
+
# @option params [required, String] :origin_request_policy_id
|
3649
|
+
# The ID of the origin request policy whose associated distribution IDs
|
3650
|
+
# you want to list.
|
3651
|
+
#
|
3652
|
+
# @return [Types::ListDistributionsByOriginRequestPolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3653
|
+
#
|
3654
|
+
# * {Types::ListDistributionsByOriginRequestPolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
|
3655
|
+
#
|
3656
|
+
# @example Request syntax with placeholder values
|
3657
|
+
#
|
3658
|
+
# resp = client.list_distributions_by_origin_request_policy_id({
|
3659
|
+
# marker: "string",
|
3660
|
+
# max_items: 1,
|
3661
|
+
# origin_request_policy_id: "string", # required
|
3662
|
+
# })
|
3663
|
+
#
|
3664
|
+
# @example Response structure
|
3665
|
+
#
|
3666
|
+
# resp.distribution_id_list.marker #=> String
|
3667
|
+
# resp.distribution_id_list.next_marker #=> String
|
3668
|
+
# resp.distribution_id_list.max_items #=> Integer
|
3669
|
+
# resp.distribution_id_list.is_truncated #=> Boolean
|
3670
|
+
# resp.distribution_id_list.quantity #=> Integer
|
3671
|
+
# resp.distribution_id_list.items #=> Array
|
3672
|
+
# resp.distribution_id_list.items[0] #=> String
|
3673
|
+
#
|
3674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId2020_05_31 AWS API Documentation
|
3675
|
+
#
|
3676
|
+
# @overload list_distributions_by_origin_request_policy_id(params = {})
|
3677
|
+
# @param [Hash] params ({})
|
3678
|
+
def list_distributions_by_origin_request_policy_id(params = {}, options = {})
|
3679
|
+
req = build_request(:list_distributions_by_origin_request_policy_id, params)
|
3680
|
+
req.send_request(options)
|
3681
|
+
end
|
3682
|
+
|
2829
3683
|
# List the distributions that are associated with a specified AWS WAF
|
2830
3684
|
# web ACL.
|
2831
3685
|
#
|
@@ -2904,23 +3758,11 @@ module Aws::CloudFront
|
|
2904
3758
|
# resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
|
2905
3759
|
# resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
|
2906
3760
|
# resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
|
2907
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2908
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2909
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2910
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
2911
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2912
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
2913
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
2914
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
2915
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2916
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
2917
|
-
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
2918
3761
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
|
2919
3762
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
|
2920
3763
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
|
2921
3764
|
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
|
2922
3765
|
# resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2923
|
-
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
2924
3766
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
|
2925
3767
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
|
2926
3768
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2928,8 +3770,6 @@ module Aws::CloudFront
|
|
2928
3770
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
2929
3771
|
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
2930
3772
|
# resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
|
2931
|
-
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
2932
|
-
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
2933
3773
|
# resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
|
2934
3774
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
2935
3775
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -2937,27 +3777,31 @@ module Aws::CloudFront
|
|
2937
3777
|
# 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"
|
2938
3778
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
2939
3779
|
# resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
|
3780
|
+
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
3781
|
+
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
3782
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
3783
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3784
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3785
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
3786
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3787
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
3788
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
3789
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
3790
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3791
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
3792
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
3793
|
+
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
3794
|
+
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
3795
|
+
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
2940
3796
|
# resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
|
2941
3797
|
# resp.distribution_list.items[0].cache_behaviors.items #=> Array
|
2942
3798
|
# resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
|
2943
3799
|
# resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
|
2944
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
2945
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2946
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
2947
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
2948
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
2949
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
2950
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
2951
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
2952
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
2953
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
2954
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
2955
3800
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
2956
3801
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
2957
3802
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
|
2958
3803
|
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
2959
3804
|
# resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
2960
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
2961
3805
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
2962
3806
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
|
2963
3807
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -2965,15 +3809,29 @@ module Aws::CloudFront
|
|
2965
3809
|
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
2966
3810
|
# 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"
|
2967
3811
|
# resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
|
3812
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
|
3813
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
3814
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
3815
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
3816
|
+
# 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"
|
3817
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
3818
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
3819
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
3820
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
3821
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
3822
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3823
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3824
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
3825
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3826
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
3827
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
3828
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
3829
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3830
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
3831
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
3832
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
2968
3833
|
# resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
|
2969
3834
|
# resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
|
2970
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
|
2971
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
2972
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
2973
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
2974
|
-
# 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"
|
2975
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2976
|
-
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
2977
3835
|
# resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
|
2978
3836
|
# resp.distribution_list.items[0].custom_error_responses.items #=> Array
|
2979
3837
|
# resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
|
@@ -3001,7 +3859,7 @@ module Aws::CloudFront
|
|
3001
3859
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
3002
3860
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
3003
3861
|
#
|
3004
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId2020_05_31 AWS API Documentation
|
3005
3863
|
#
|
3006
3864
|
# @overload list_distributions_by_web_acl_id(params = {})
|
3007
3865
|
# @param [Hash] params ({})
|
@@ -3057,7 +3915,7 @@ module Aws::CloudFront
|
|
3057
3915
|
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
|
3058
3916
|
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
3059
3917
|
#
|
3060
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs2020_05_31 AWS API Documentation
|
3061
3919
|
#
|
3062
3920
|
# @overload list_field_level_encryption_configs(params = {})
|
3063
3921
|
# @param [Hash] params ({})
|
@@ -3109,7 +3967,7 @@ module Aws::CloudFront
|
|
3109
3967
|
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.items[0] #=> String
|
3110
3968
|
# resp.field_level_encryption_profile_list.items[0].comment #=> String
|
3111
3969
|
#
|
3112
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
3970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles2020_05_31 AWS API Documentation
|
3113
3971
|
#
|
3114
3972
|
# @overload list_field_level_encryption_profiles(params = {})
|
3115
3973
|
# @param [Hash] params ({})
|
@@ -3163,7 +4021,7 @@ module Aws::CloudFront
|
|
3163
4021
|
# resp.invalidation_list.items[0].create_time #=> Time
|
3164
4022
|
# resp.invalidation_list.items[0].status #=> String
|
3165
4023
|
#
|
3166
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListInvalidations2020_05_31 AWS API Documentation
|
3167
4025
|
#
|
3168
4026
|
# @overload list_invalidations(params = {})
|
3169
4027
|
# @param [Hash] params ({})
|
@@ -3172,6 +4030,84 @@ module Aws::CloudFront
|
|
3172
4030
|
req.send_request(options)
|
3173
4031
|
end
|
3174
4032
|
|
4033
|
+
# Gets a list of origin request policies.
|
4034
|
+
#
|
4035
|
+
# You can optionally apply a filter to return only the managed policies
|
4036
|
+
# created by AWS, or only the custom policies created in your AWS
|
4037
|
+
# account.
|
4038
|
+
#
|
4039
|
+
# You can optionally specify the maximum number of items to receive in
|
4040
|
+
# the response. If the total number of items in the list exceeds the
|
4041
|
+
# maximum that you specify, or the default maximum, the response is
|
4042
|
+
# paginated. To get the next page of items, send a subsequent request
|
4043
|
+
# that specifies the `NextMarker` value from the current response as the
|
4044
|
+
# `Marker` value in the subsequent request.
|
4045
|
+
#
|
4046
|
+
# @option params [String] :type
|
4047
|
+
# A filter to return only the specified kinds of origin request
|
4048
|
+
# policies. Valid values are:
|
4049
|
+
#
|
4050
|
+
# * `managed` – Returns only the managed policies created by AWS.
|
4051
|
+
#
|
4052
|
+
# * `custom` – Returns only the custom policies created in your AWS
|
4053
|
+
# account.
|
4054
|
+
#
|
4055
|
+
# @option params [String] :marker
|
4056
|
+
# Use this field when paginating results to indicate where to begin in
|
4057
|
+
# your list of origin request policies. The response includes origin
|
4058
|
+
# request policies in the list that occur after the marker. To get the
|
4059
|
+
# next page of the list, set this field’s value to the value of
|
4060
|
+
# `NextMarker` from the current page’s response.
|
4061
|
+
#
|
4062
|
+
# @option params [Integer] :max_items
|
4063
|
+
# The maximum number of origin request policies that you want in the
|
4064
|
+
# response.
|
4065
|
+
#
|
4066
|
+
# @return [Types::ListOriginRequestPoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4067
|
+
#
|
4068
|
+
# * {Types::ListOriginRequestPoliciesResult#origin_request_policy_list #origin_request_policy_list} => Types::OriginRequestPolicyList
|
4069
|
+
#
|
4070
|
+
# @example Request syntax with placeholder values
|
4071
|
+
#
|
4072
|
+
# resp = client.list_origin_request_policies({
|
4073
|
+
# type: "managed", # accepts managed, custom
|
4074
|
+
# marker: "string",
|
4075
|
+
# max_items: 1,
|
4076
|
+
# })
|
4077
|
+
#
|
4078
|
+
# @example Response structure
|
4079
|
+
#
|
4080
|
+
# resp.origin_request_policy_list.next_marker #=> String
|
4081
|
+
# resp.origin_request_policy_list.max_items #=> Integer
|
4082
|
+
# resp.origin_request_policy_list.quantity #=> Integer
|
4083
|
+
# resp.origin_request_policy_list.items #=> Array
|
4084
|
+
# resp.origin_request_policy_list.items[0].type #=> String, one of "managed", "custom"
|
4085
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.id #=> String
|
4086
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.last_modified_time #=> Time
|
4087
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.comment #=> String
|
4088
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.name #=> String
|
4089
|
+
# 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"
|
4090
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
4091
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
|
4092
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
4093
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
4094
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
4095
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
4096
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
4097
|
+
# 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"
|
4098
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
4099
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
4100
|
+
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
4101
|
+
#
|
4102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginRequestPolicies2020_05_31 AWS API Documentation
|
4103
|
+
#
|
4104
|
+
# @overload list_origin_request_policies(params = {})
|
4105
|
+
# @param [Hash] params ({})
|
4106
|
+
def list_origin_request_policies(params = {}, options = {})
|
4107
|
+
req = build_request(:list_origin_request_policies, params)
|
4108
|
+
req.send_request(options)
|
4109
|
+
end
|
4110
|
+
|
3175
4111
|
# List all public keys that have been added to CloudFront for this
|
3176
4112
|
# account.
|
3177
4113
|
#
|
@@ -3208,7 +4144,7 @@ module Aws::CloudFront
|
|
3208
4144
|
# resp.public_key_list.items[0].encoded_key #=> String
|
3209
4145
|
# resp.public_key_list.items[0].comment #=> String
|
3210
4146
|
#
|
3211
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListPublicKeys2020_05_31 AWS API Documentation
|
3212
4148
|
#
|
3213
4149
|
# @overload list_public_keys(params = {})
|
3214
4150
|
# @param [Hash] params ({})
|
@@ -3264,7 +4200,7 @@ module Aws::CloudFront
|
|
3264
4200
|
# resp.streaming_distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
|
3265
4201
|
# resp.streaming_distribution_list.items[0].enabled #=> Boolean
|
3266
4202
|
#
|
3267
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListStreamingDistributions2020_05_31 AWS API Documentation
|
3268
4204
|
#
|
3269
4205
|
# @overload list_streaming_distributions(params = {})
|
3270
4206
|
# @param [Hash] params ({})
|
@@ -3294,7 +4230,7 @@ module Aws::CloudFront
|
|
3294
4230
|
# resp.tags.items[0].key #=> String
|
3295
4231
|
# resp.tags.items[0].value #=> String
|
3296
4232
|
#
|
3297
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTagsForResource2020_05_31 AWS API Documentation
|
3298
4234
|
#
|
3299
4235
|
# @overload list_tags_for_resource(params = {})
|
3300
4236
|
# @param [Hash] params ({})
|
@@ -3327,7 +4263,7 @@ module Aws::CloudFront
|
|
3327
4263
|
# },
|
3328
4264
|
# })
|
3329
4265
|
#
|
3330
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4266
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TagResource2020_05_31 AWS API Documentation
|
3331
4267
|
#
|
3332
4268
|
# @overload tag_resource(params = {})
|
3333
4269
|
# @param [Hash] params ({})
|
@@ -3355,7 +4291,7 @@ module Aws::CloudFront
|
|
3355
4291
|
# },
|
3356
4292
|
# })
|
3357
4293
|
#
|
3358
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UntagResource2020_05_31 AWS API Documentation
|
3359
4295
|
#
|
3360
4296
|
# @overload untag_resource(params = {})
|
3361
4297
|
# @param [Hash] params ({})
|
@@ -3364,6 +4300,111 @@ module Aws::CloudFront
|
|
3364
4300
|
req.send_request(options)
|
3365
4301
|
end
|
3366
4302
|
|
4303
|
+
# Updates a cache policy configuration.
|
4304
|
+
#
|
4305
|
+
# When you update a cache policy configuration, all the fields are
|
4306
|
+
# updated with the values provided in the request. You cannot update
|
4307
|
+
# some fields independent of others. To update a cache policy
|
4308
|
+
# configuration:
|
4309
|
+
#
|
4310
|
+
# 1. Use `GetCachePolicyConfig` to get the current configuration.
|
4311
|
+
#
|
4312
|
+
# 2. Locally modify the fields in the cache policy configuration that
|
4313
|
+
# you want to update.
|
4314
|
+
#
|
4315
|
+
# 3. Call `UpdateCachePolicy` by providing the entire cache policy
|
4316
|
+
# configuration, including the fields that you modified and those
|
4317
|
+
# that you didn’t.
|
4318
|
+
#
|
4319
|
+
# @option params [required, Types::CachePolicyConfig] :cache_policy_config
|
4320
|
+
# A cache policy configuration.
|
4321
|
+
#
|
4322
|
+
# @option params [required, String] :id
|
4323
|
+
# The unique identifier for the cache policy that you are updating. The
|
4324
|
+
# identifier is returned in a cache behavior’s `CachePolicyId` field in
|
4325
|
+
# the response to `GetDistributionConfig`.
|
4326
|
+
#
|
4327
|
+
# @option params [String] :if_match
|
4328
|
+
# The version of the cache policy that you are updating. The version is
|
4329
|
+
# returned in the cache policy’s `ETag` field in the response to
|
4330
|
+
# `GetCachePolicyConfig`.
|
4331
|
+
#
|
4332
|
+
# @return [Types::UpdateCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4333
|
+
#
|
4334
|
+
# * {Types::UpdateCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
|
4335
|
+
# * {Types::UpdateCachePolicyResult#etag #etag} => String
|
4336
|
+
#
|
4337
|
+
# @example Request syntax with placeholder values
|
4338
|
+
#
|
4339
|
+
# resp = client.update_cache_policy({
|
4340
|
+
# cache_policy_config: { # required
|
4341
|
+
# comment: "string",
|
4342
|
+
# name: "string", # required
|
4343
|
+
# default_ttl: 1,
|
4344
|
+
# max_ttl: 1,
|
4345
|
+
# min_ttl: 1, # required
|
4346
|
+
# parameters_in_cache_key_and_forwarded_to_origin: {
|
4347
|
+
# enable_accept_encoding_gzip: false, # required
|
4348
|
+
# headers_config: { # required
|
4349
|
+
# header_behavior: "none", # required, accepts none, whitelist
|
4350
|
+
# headers: {
|
4351
|
+
# quantity: 1, # required
|
4352
|
+
# items: ["string"],
|
4353
|
+
# },
|
4354
|
+
# },
|
4355
|
+
# cookies_config: { # required
|
4356
|
+
# cookie_behavior: "none", # required, accepts none, whitelist, allExcept, all
|
4357
|
+
# cookies: {
|
4358
|
+
# quantity: 1, # required
|
4359
|
+
# items: ["string"],
|
4360
|
+
# },
|
4361
|
+
# },
|
4362
|
+
# query_strings_config: { # required
|
4363
|
+
# query_string_behavior: "none", # required, accepts none, whitelist, allExcept, all
|
4364
|
+
# query_strings: {
|
4365
|
+
# quantity: 1, # required
|
4366
|
+
# items: ["string"],
|
4367
|
+
# },
|
4368
|
+
# },
|
4369
|
+
# },
|
4370
|
+
# },
|
4371
|
+
# id: "string", # required
|
4372
|
+
# if_match: "string",
|
4373
|
+
# })
|
4374
|
+
#
|
4375
|
+
# @example Response structure
|
4376
|
+
#
|
4377
|
+
# resp.cache_policy.id #=> String
|
4378
|
+
# resp.cache_policy.last_modified_time #=> Time
|
4379
|
+
# resp.cache_policy.cache_policy_config.comment #=> String
|
4380
|
+
# resp.cache_policy.cache_policy_config.name #=> String
|
4381
|
+
# resp.cache_policy.cache_policy_config.default_ttl #=> Integer
|
4382
|
+
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
|
4383
|
+
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
|
4384
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
|
4385
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
4386
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
4387
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
4388
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
|
4389
|
+
# 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"
|
4390
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.quantity #=> Integer
|
4391
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items #=> Array
|
4392
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies.items[0] #=> String
|
4393
|
+
# 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"
|
4394
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.quantity #=> Integer
|
4395
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
|
4396
|
+
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
4397
|
+
# resp.etag #=> String
|
4398
|
+
#
|
4399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCachePolicy2020_05_31 AWS API Documentation
|
4400
|
+
#
|
4401
|
+
# @overload update_cache_policy(params = {})
|
4402
|
+
# @param [Hash] params ({})
|
4403
|
+
def update_cache_policy(params = {}, options = {})
|
4404
|
+
req = build_request(:update_cache_policy, params)
|
4405
|
+
req.send_request(options)
|
4406
|
+
end
|
4407
|
+
|
3367
4408
|
# Update an origin access identity.
|
3368
4409
|
#
|
3369
4410
|
# @option params [required, Types::CloudFrontOriginAccessIdentityConfig] :cloud_front_origin_access_identity_config
|
@@ -3400,7 +4441,7 @@ module Aws::CloudFront
|
|
3400
4441
|
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
|
3401
4442
|
# resp.etag #=> String
|
3402
4443
|
#
|
3403
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
|
3404
4445
|
#
|
3405
4446
|
# @overload update_cloud_front_origin_access_identity(params = {})
|
3406
4447
|
# @param [Hash] params ({})
|
@@ -3570,31 +4611,12 @@ module Aws::CloudFront
|
|
3570
4611
|
# },
|
3571
4612
|
# default_cache_behavior: { # required
|
3572
4613
|
# target_origin_id: "string", # required
|
3573
|
-
# forwarded_values: { # required
|
3574
|
-
# query_string: false, # required
|
3575
|
-
# cookies: { # required
|
3576
|
-
# forward: "none", # required, accepts none, whitelist, all
|
3577
|
-
# whitelisted_names: {
|
3578
|
-
# quantity: 1, # required
|
3579
|
-
# items: ["string"],
|
3580
|
-
# },
|
3581
|
-
# },
|
3582
|
-
# headers: {
|
3583
|
-
# quantity: 1, # required
|
3584
|
-
# items: ["string"],
|
3585
|
-
# },
|
3586
|
-
# query_string_cache_keys: {
|
3587
|
-
# quantity: 1, # required
|
3588
|
-
# items: ["string"],
|
3589
|
-
# },
|
3590
|
-
# },
|
3591
4614
|
# trusted_signers: { # required
|
3592
4615
|
# enabled: false, # required
|
3593
4616
|
# quantity: 1, # required
|
3594
4617
|
# items: ["string"],
|
3595
4618
|
# },
|
3596
4619
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
3597
|
-
# min_ttl: 1, # required
|
3598
4620
|
# allowed_methods: {
|
3599
4621
|
# quantity: 1, # required
|
3600
4622
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -3604,8 +4626,6 @@ module Aws::CloudFront
|
|
3604
4626
|
# },
|
3605
4627
|
# },
|
3606
4628
|
# smooth_streaming: false,
|
3607
|
-
# default_ttl: 1,
|
3608
|
-
# max_ttl: 1,
|
3609
4629
|
# compress: false,
|
3610
4630
|
# lambda_function_associations: {
|
3611
4631
|
# quantity: 1, # required
|
@@ -3618,6 +4638,29 @@ module Aws::CloudFront
|
|
3618
4638
|
# ],
|
3619
4639
|
# },
|
3620
4640
|
# field_level_encryption_id: "string",
|
4641
|
+
# cache_policy_id: "string",
|
4642
|
+
# origin_request_policy_id: "string",
|
4643
|
+
# forwarded_values: {
|
4644
|
+
# query_string: false, # required
|
4645
|
+
# cookies: { # required
|
4646
|
+
# forward: "none", # required, accepts none, whitelist, all
|
4647
|
+
# whitelisted_names: {
|
4648
|
+
# quantity: 1, # required
|
4649
|
+
# items: ["string"],
|
4650
|
+
# },
|
4651
|
+
# },
|
4652
|
+
# headers: {
|
4653
|
+
# quantity: 1, # required
|
4654
|
+
# items: ["string"],
|
4655
|
+
# },
|
4656
|
+
# query_string_cache_keys: {
|
4657
|
+
# quantity: 1, # required
|
4658
|
+
# items: ["string"],
|
4659
|
+
# },
|
4660
|
+
# },
|
4661
|
+
# min_ttl: 1,
|
4662
|
+
# default_ttl: 1,
|
4663
|
+
# max_ttl: 1,
|
3621
4664
|
# },
|
3622
4665
|
# cache_behaviors: {
|
3623
4666
|
# quantity: 1, # required
|
@@ -3625,31 +4668,12 @@ module Aws::CloudFront
|
|
3625
4668
|
# {
|
3626
4669
|
# path_pattern: "string", # required
|
3627
4670
|
# target_origin_id: "string", # required
|
3628
|
-
# forwarded_values: { # required
|
3629
|
-
# query_string: false, # required
|
3630
|
-
# cookies: { # required
|
3631
|
-
# forward: "none", # required, accepts none, whitelist, all
|
3632
|
-
# whitelisted_names: {
|
3633
|
-
# quantity: 1, # required
|
3634
|
-
# items: ["string"],
|
3635
|
-
# },
|
3636
|
-
# },
|
3637
|
-
# headers: {
|
3638
|
-
# quantity: 1, # required
|
3639
|
-
# items: ["string"],
|
3640
|
-
# },
|
3641
|
-
# query_string_cache_keys: {
|
3642
|
-
# quantity: 1, # required
|
3643
|
-
# items: ["string"],
|
3644
|
-
# },
|
3645
|
-
# },
|
3646
4671
|
# trusted_signers: { # required
|
3647
4672
|
# enabled: false, # required
|
3648
4673
|
# quantity: 1, # required
|
3649
4674
|
# items: ["string"],
|
3650
4675
|
# },
|
3651
4676
|
# viewer_protocol_policy: "allow-all", # required, accepts allow-all, https-only, redirect-to-https
|
3652
|
-
# min_ttl: 1, # required
|
3653
4677
|
# allowed_methods: {
|
3654
4678
|
# quantity: 1, # required
|
3655
4679
|
# items: ["GET"], # required, accepts GET, HEAD, POST, PUT, PATCH, OPTIONS, DELETE
|
@@ -3659,8 +4683,6 @@ module Aws::CloudFront
|
|
3659
4683
|
# },
|
3660
4684
|
# },
|
3661
4685
|
# smooth_streaming: false,
|
3662
|
-
# default_ttl: 1,
|
3663
|
-
# max_ttl: 1,
|
3664
4686
|
# compress: false,
|
3665
4687
|
# lambda_function_associations: {
|
3666
4688
|
# quantity: 1, # required
|
@@ -3673,6 +4695,29 @@ module Aws::CloudFront
|
|
3673
4695
|
# ],
|
3674
4696
|
# },
|
3675
4697
|
# field_level_encryption_id: "string",
|
4698
|
+
# cache_policy_id: "string",
|
4699
|
+
# origin_request_policy_id: "string",
|
4700
|
+
# forwarded_values: {
|
4701
|
+
# query_string: false, # required
|
4702
|
+
# cookies: { # required
|
4703
|
+
# forward: "none", # required, accepts none, whitelist, all
|
4704
|
+
# whitelisted_names: {
|
4705
|
+
# quantity: 1, # required
|
4706
|
+
# items: ["string"],
|
4707
|
+
# },
|
4708
|
+
# },
|
4709
|
+
# headers: {
|
4710
|
+
# quantity: 1, # required
|
4711
|
+
# items: ["string"],
|
4712
|
+
# },
|
4713
|
+
# query_string_cache_keys: {
|
4714
|
+
# quantity: 1, # required
|
4715
|
+
# items: ["string"],
|
4716
|
+
# },
|
4717
|
+
# },
|
4718
|
+
# min_ttl: 1,
|
4719
|
+
# default_ttl: 1,
|
4720
|
+
# max_ttl: 1,
|
3676
4721
|
# },
|
3677
4722
|
# ],
|
3678
4723
|
# },
|
@@ -3770,23 +4815,11 @@ module Aws::CloudFront
|
|
3770
4815
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
|
3771
4816
|
# resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
3772
4817
|
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
|
3773
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
3774
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3775
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3776
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
3777
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3778
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
3779
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
3780
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
3781
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3782
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
3783
|
-
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
3784
4818
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
3785
4819
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
3786
4820
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
3787
4821
|
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
3788
4822
|
# resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
3789
|
-
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
3790
4823
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
3791
4824
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
3792
4825
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -3794,8 +4827,6 @@ module Aws::CloudFront
|
|
3794
4827
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
3795
4828
|
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
3796
4829
|
# resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
3797
|
-
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
3798
|
-
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
3799
4830
|
# resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
|
3800
4831
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
3801
4832
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
@@ -3803,27 +4834,31 @@ module Aws::CloudFront
|
|
3803
4834
|
# 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"
|
3804
4835
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
3805
4836
|
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
4837
|
+
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
4838
|
+
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
4839
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
4840
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4841
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
4842
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
4843
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
4844
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
4845
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
4846
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
4847
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
4848
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
4849
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
4850
|
+
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
4851
|
+
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
4852
|
+
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
3806
4853
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
3807
4854
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
3808
4855
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
3809
4856
|
# resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
3810
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
3811
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3812
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
3813
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
3814
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
3815
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
3816
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
3817
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
3818
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
3819
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
3820
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
3821
4857
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
3822
4858
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
3823
4859
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
3824
4860
|
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
3825
4861
|
# resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
3826
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
3827
4862
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
3828
4863
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
3829
4864
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
@@ -3831,8 +4866,6 @@ module Aws::CloudFront
|
|
3831
4866
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
3832
4867
|
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
3833
4868
|
# resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
3834
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
3835
|
-
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
3836
4869
|
# resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
3837
4870
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
3838
4871
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
@@ -3840,6 +4873,22 @@ module Aws::CloudFront
|
|
3840
4873
|
# 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"
|
3841
4874
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
3842
4875
|
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
4876
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
4877
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
4878
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
4879
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4880
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
4881
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
4882
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
4883
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
4884
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
4885
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
4886
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
4887
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
4888
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
4889
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
4890
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
4891
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
3843
4892
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
3844
4893
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
3845
4894
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -3872,7 +4921,7 @@ module Aws::CloudFront
|
|
3872
4921
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
3873
4922
|
# resp.etag #=> String
|
3874
4923
|
#
|
3875
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
4924
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDistribution2020_05_31 AWS API Documentation
|
3876
4925
|
#
|
3877
4926
|
# @overload update_distribution(params = {})
|
3878
4927
|
# @param [Hash] params ({})
|
@@ -3953,7 +5002,7 @@ module Aws::CloudFront
|
|
3953
5002
|
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
3954
5003
|
# resp.etag #=> String
|
3955
5004
|
#
|
3956
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
5005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
|
3957
5006
|
#
|
3958
5007
|
# @overload update_field_level_encryption_config(params = {})
|
3959
5008
|
# @param [Hash] params ({})
|
@@ -4020,7 +5069,7 @@ module Aws::CloudFront
|
|
4020
5069
|
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
4021
5070
|
# resp.etag #=> String
|
4022
5071
|
#
|
4023
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
5072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
|
4024
5073
|
#
|
4025
5074
|
# @overload update_field_level_encryption_profile(params = {})
|
4026
5075
|
# @param [Hash] params ({})
|
@@ -4029,6 +5078,103 @@ module Aws::CloudFront
|
|
4029
5078
|
req.send_request(options)
|
4030
5079
|
end
|
4031
5080
|
|
5081
|
+
# Updates an origin request policy configuration.
|
5082
|
+
#
|
5083
|
+
# When you update an origin request policy configuration, all the fields
|
5084
|
+
# are updated with the values provided in the request. You cannot update
|
5085
|
+
# some fields independent of others. To update an origin request policy
|
5086
|
+
# configuration:
|
5087
|
+
#
|
5088
|
+
# 1. Use `GetOriginRequestPolicyConfig` to get the current
|
5089
|
+
# configuration.
|
5090
|
+
#
|
5091
|
+
# 2. Locally modify the fields in the origin request policy
|
5092
|
+
# configuration that you want to update.
|
5093
|
+
#
|
5094
|
+
# 3. Call `UpdateOriginRequestPolicy` by providing the entire origin
|
5095
|
+
# request policy configuration, including the fields that you
|
5096
|
+
# modified and those that you didn’t.
|
5097
|
+
#
|
5098
|
+
# @option params [required, Types::OriginRequestPolicyConfig] :origin_request_policy_config
|
5099
|
+
# An origin request policy configuration.
|
5100
|
+
#
|
5101
|
+
# @option params [required, String] :id
|
5102
|
+
# The unique identifier for the origin request policy that you are
|
5103
|
+
# updating. The identifier is returned in a cache behavior’s
|
5104
|
+
# `OriginRequestPolicyId` field in the response to
|
5105
|
+
# `GetDistributionConfig`.
|
5106
|
+
#
|
5107
|
+
# @option params [String] :if_match
|
5108
|
+
# The version of the origin request policy that you are updating. The
|
5109
|
+
# version is returned in the origin request policy’s `ETag` field in the
|
5110
|
+
# response to `GetOriginRequestPolicyConfig`.
|
5111
|
+
#
|
5112
|
+
# @return [Types::UpdateOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5113
|
+
#
|
5114
|
+
# * {Types::UpdateOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
|
5115
|
+
# * {Types::UpdateOriginRequestPolicyResult#etag #etag} => String
|
5116
|
+
#
|
5117
|
+
# @example Request syntax with placeholder values
|
5118
|
+
#
|
5119
|
+
# resp = client.update_origin_request_policy({
|
5120
|
+
# origin_request_policy_config: { # required
|
5121
|
+
# comment: "string",
|
5122
|
+
# name: "string", # required
|
5123
|
+
# headers_config: { # required
|
5124
|
+
# header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront
|
5125
|
+
# headers: {
|
5126
|
+
# quantity: 1, # required
|
5127
|
+
# items: ["string"],
|
5128
|
+
# },
|
5129
|
+
# },
|
5130
|
+
# cookies_config: { # required
|
5131
|
+
# cookie_behavior: "none", # required, accepts none, whitelist, all
|
5132
|
+
# cookies: {
|
5133
|
+
# quantity: 1, # required
|
5134
|
+
# items: ["string"],
|
5135
|
+
# },
|
5136
|
+
# },
|
5137
|
+
# query_strings_config: { # required
|
5138
|
+
# query_string_behavior: "none", # required, accepts none, whitelist, all
|
5139
|
+
# query_strings: {
|
5140
|
+
# quantity: 1, # required
|
5141
|
+
# items: ["string"],
|
5142
|
+
# },
|
5143
|
+
# },
|
5144
|
+
# },
|
5145
|
+
# id: "string", # required
|
5146
|
+
# if_match: "string",
|
5147
|
+
# })
|
5148
|
+
#
|
5149
|
+
# @example Response structure
|
5150
|
+
#
|
5151
|
+
# resp.origin_request_policy.id #=> String
|
5152
|
+
# resp.origin_request_policy.last_modified_time #=> Time
|
5153
|
+
# resp.origin_request_policy.origin_request_policy_config.comment #=> String
|
5154
|
+
# resp.origin_request_policy.origin_request_policy_config.name #=> String
|
5155
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
|
5156
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
|
5157
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
|
5158
|
+
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
|
5159
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
|
5160
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
|
5161
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
|
5162
|
+
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
|
5163
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
|
5164
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
|
5165
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
5166
|
+
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
5167
|
+
# resp.etag #=> String
|
5168
|
+
#
|
5169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginRequestPolicy2020_05_31 AWS API Documentation
|
5170
|
+
#
|
5171
|
+
# @overload update_origin_request_policy(params = {})
|
5172
|
+
# @param [Hash] params ({})
|
5173
|
+
def update_origin_request_policy(params = {}, options = {})
|
5174
|
+
req = build_request(:update_origin_request_policy, params)
|
5175
|
+
req.send_request(options)
|
5176
|
+
end
|
5177
|
+
|
4032
5178
|
# Update public key information. Note that the only value you can change
|
4033
5179
|
# is the comment.
|
4034
5180
|
#
|
@@ -4070,7 +5216,7 @@ module Aws::CloudFront
|
|
4070
5216
|
# resp.public_key.public_key_config.comment #=> String
|
4071
5217
|
# resp.etag #=> String
|
4072
5218
|
#
|
4073
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
5219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdatePublicKey2020_05_31 AWS API Documentation
|
4074
5220
|
#
|
4075
5221
|
# @overload update_public_key(params = {})
|
4076
5222
|
# @param [Hash] params ({})
|
@@ -4160,7 +5306,7 @@ module Aws::CloudFront
|
|
4160
5306
|
# resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
|
4161
5307
|
# resp.etag #=> String
|
4162
5308
|
#
|
4163
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-
|
5309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateStreamingDistribution2020_05_31 AWS API Documentation
|
4164
5310
|
#
|
4165
5311
|
# @overload update_streaming_distribution(params = {})
|
4166
5312
|
# @param [Hash] params ({})
|
@@ -4182,7 +5328,7 @@ module Aws::CloudFront
|
|
4182
5328
|
params: params,
|
4183
5329
|
config: config)
|
4184
5330
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
4185
|
-
context[:gem_version] = '1.
|
5331
|
+
context[:gem_version] = '1.38.0'
|
4186
5332
|
Seahorse::Client::Request.new(handlers, context)
|
4187
5333
|
end
|
4188
5334
|
|