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