aws-sdk-cloudfront 1.86.1 → 1.87.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,2656 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudFront
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#associate_alias-instance_method
76
+ def associate_alias: (
77
+ target_distribution_id: ::String,
78
+ alias: ::String
79
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
80
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
81
+
82
+ interface _CopyDistributionResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::CopyDistributionResult]
84
+ def distribution: () -> Types::Distribution
85
+ def location: () -> ::String
86
+ def etag: () -> ::String
87
+ end
88
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#copy_distribution-instance_method
89
+ def copy_distribution: (
90
+ primary_distribution_id: ::String,
91
+ ?staging: bool,
92
+ ?if_match: ::String,
93
+ caller_reference: ::String,
94
+ ?enabled: bool
95
+ ) -> _CopyDistributionResponseSuccess
96
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyDistributionResponseSuccess
97
+
98
+ interface _CreateCachePolicyResponseSuccess
99
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCachePolicyResult]
100
+ def cache_policy: () -> Types::CachePolicy
101
+ def location: () -> ::String
102
+ def etag: () -> ::String
103
+ end
104
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_cache_policy-instance_method
105
+ def create_cache_policy: (
106
+ cache_policy_config: {
107
+ comment: ::String?,
108
+ name: ::String,
109
+ default_ttl: ::Integer?,
110
+ max_ttl: ::Integer?,
111
+ min_ttl: ::Integer,
112
+ parameters_in_cache_key_and_forwarded_to_origin: {
113
+ enable_accept_encoding_gzip: bool,
114
+ enable_accept_encoding_brotli: bool?,
115
+ headers_config: {
116
+ header_behavior: ("none" | "whitelist"),
117
+ headers: {
118
+ quantity: ::Integer,
119
+ items: Array[::String]?
120
+ }?
121
+ },
122
+ cookies_config: {
123
+ cookie_behavior: ("none" | "whitelist" | "allExcept" | "all"),
124
+ cookies: {
125
+ quantity: ::Integer,
126
+ items: Array[::String]?
127
+ }?
128
+ },
129
+ query_strings_config: {
130
+ query_string_behavior: ("none" | "whitelist" | "allExcept" | "all"),
131
+ query_strings: {
132
+ quantity: ::Integer,
133
+ items: Array[::String]?
134
+ }?
135
+ }
136
+ }?
137
+ }
138
+ ) -> _CreateCachePolicyResponseSuccess
139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCachePolicyResponseSuccess
140
+
141
+ interface _CreateCloudFrontOriginAccessIdentityResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCloudFrontOriginAccessIdentityResult]
143
+ def cloud_front_origin_access_identity: () -> Types::CloudFrontOriginAccessIdentity
144
+ def location: () -> ::String
145
+ def etag: () -> ::String
146
+ end
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_cloud_front_origin_access_identity-instance_method
148
+ def create_cloud_front_origin_access_identity: (
149
+ cloud_front_origin_access_identity_config: {
150
+ caller_reference: ::String,
151
+ comment: ::String
152
+ }
153
+ ) -> _CreateCloudFrontOriginAccessIdentityResponseSuccess
154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCloudFrontOriginAccessIdentityResponseSuccess
155
+
156
+ interface _CreateContinuousDeploymentPolicyResponseSuccess
157
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateContinuousDeploymentPolicyResult]
158
+ def continuous_deployment_policy: () -> Types::ContinuousDeploymentPolicy
159
+ def location: () -> ::String
160
+ def etag: () -> ::String
161
+ end
162
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_continuous_deployment_policy-instance_method
163
+ def create_continuous_deployment_policy: (
164
+ continuous_deployment_policy_config: {
165
+ staging_distribution_dns_names: {
166
+ quantity: ::Integer,
167
+ items: Array[::String]?
168
+ },
169
+ enabled: bool,
170
+ traffic_config: {
171
+ single_weight_config: {
172
+ weight: ::Float,
173
+ session_stickiness_config: {
174
+ idle_ttl: ::Integer,
175
+ maximum_ttl: ::Integer
176
+ }?
177
+ }?,
178
+ single_header_config: {
179
+ header: ::String,
180
+ value: ::String
181
+ }?,
182
+ type: ("SingleWeight" | "SingleHeader")
183
+ }?
184
+ }
185
+ ) -> _CreateContinuousDeploymentPolicyResponseSuccess
186
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContinuousDeploymentPolicyResponseSuccess
187
+
188
+ interface _CreateDistributionResponseSuccess
189
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDistributionResult]
190
+ def distribution: () -> Types::Distribution
191
+ def location: () -> ::String
192
+ def etag: () -> ::String
193
+ end
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_distribution-instance_method
195
+ def create_distribution: (
196
+ distribution_config: {
197
+ caller_reference: ::String,
198
+ aliases: {
199
+ quantity: ::Integer,
200
+ items: Array[::String]?
201
+ }?,
202
+ default_root_object: ::String?,
203
+ origins: {
204
+ quantity: ::Integer,
205
+ items: Array[
206
+ {
207
+ id: ::String,
208
+ domain_name: ::String,
209
+ origin_path: ::String?,
210
+ custom_headers: {
211
+ quantity: ::Integer,
212
+ items: Array[
213
+ {
214
+ header_name: ::String,
215
+ header_value: ::String
216
+ },
217
+ ]?
218
+ }?,
219
+ s3_origin_config: {
220
+ origin_access_identity: ::String
221
+ }?,
222
+ custom_origin_config: {
223
+ http_port: ::Integer,
224
+ https_port: ::Integer,
225
+ origin_protocol_policy: ("http-only" | "match-viewer" | "https-only"),
226
+ origin_ssl_protocols: {
227
+ quantity: ::Integer,
228
+ items: Array[("SSLv3" | "TLSv1" | "TLSv1.1" | "TLSv1.2")]
229
+ }?,
230
+ origin_read_timeout: ::Integer?,
231
+ origin_keepalive_timeout: ::Integer?
232
+ }?,
233
+ connection_attempts: ::Integer?,
234
+ connection_timeout: ::Integer?,
235
+ origin_shield: {
236
+ enabled: bool,
237
+ origin_shield_region: ::String?
238
+ }?,
239
+ origin_access_control_id: ::String?
240
+ },
241
+ ]
242
+ },
243
+ origin_groups: {
244
+ quantity: ::Integer,
245
+ items: Array[
246
+ {
247
+ id: ::String,
248
+ failover_criteria: {
249
+ status_codes: {
250
+ quantity: ::Integer,
251
+ items: Array[::Integer]
252
+ }
253
+ },
254
+ members: {
255
+ quantity: ::Integer,
256
+ items: Array[
257
+ {
258
+ origin_id: ::String
259
+ },
260
+ ]
261
+ }
262
+ },
263
+ ]?
264
+ }?,
265
+ default_cache_behavior: {
266
+ target_origin_id: ::String,
267
+ trusted_signers: {
268
+ enabled: bool,
269
+ quantity: ::Integer,
270
+ items: Array[::String]?
271
+ }?,
272
+ trusted_key_groups: {
273
+ enabled: bool,
274
+ quantity: ::Integer,
275
+ items: Array[::String]?
276
+ }?,
277
+ viewer_protocol_policy: ("allow-all" | "https-only" | "redirect-to-https"),
278
+ allowed_methods: {
279
+ quantity: ::Integer,
280
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")],
281
+ cached_methods: {
282
+ quantity: ::Integer,
283
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")]
284
+ }?
285
+ }?,
286
+ smooth_streaming: bool?,
287
+ compress: bool?,
288
+ lambda_function_associations: {
289
+ quantity: ::Integer,
290
+ items: Array[
291
+ {
292
+ lambda_function_arn: ::String,
293
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response"),
294
+ include_body: bool?
295
+ },
296
+ ]?
297
+ }?,
298
+ function_associations: {
299
+ quantity: ::Integer,
300
+ items: Array[
301
+ {
302
+ function_arn: ::String,
303
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response")
304
+ },
305
+ ]?
306
+ }?,
307
+ field_level_encryption_id: ::String?,
308
+ realtime_log_config_arn: ::String?,
309
+ cache_policy_id: ::String?,
310
+ origin_request_policy_id: ::String?,
311
+ response_headers_policy_id: ::String?,
312
+ forwarded_values: {
313
+ query_string: bool,
314
+ cookies: {
315
+ forward: ("none" | "whitelist" | "all"),
316
+ whitelisted_names: {
317
+ quantity: ::Integer,
318
+ items: Array[::String]?
319
+ }?
320
+ },
321
+ headers: {
322
+ quantity: ::Integer,
323
+ items: Array[::String]?
324
+ }?,
325
+ query_string_cache_keys: {
326
+ quantity: ::Integer,
327
+ items: Array[::String]?
328
+ }?
329
+ }?,
330
+ min_ttl: ::Integer?,
331
+ default_ttl: ::Integer?,
332
+ max_ttl: ::Integer?
333
+ },
334
+ cache_behaviors: {
335
+ quantity: ::Integer,
336
+ items: Array[
337
+ {
338
+ path_pattern: ::String,
339
+ target_origin_id: ::String,
340
+ trusted_signers: {
341
+ enabled: bool,
342
+ quantity: ::Integer,
343
+ items: Array[::String]?
344
+ }?,
345
+ trusted_key_groups: {
346
+ enabled: bool,
347
+ quantity: ::Integer,
348
+ items: Array[::String]?
349
+ }?,
350
+ viewer_protocol_policy: ("allow-all" | "https-only" | "redirect-to-https"),
351
+ allowed_methods: {
352
+ quantity: ::Integer,
353
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")],
354
+ cached_methods: {
355
+ quantity: ::Integer,
356
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")]
357
+ }?
358
+ }?,
359
+ smooth_streaming: bool?,
360
+ compress: bool?,
361
+ lambda_function_associations: {
362
+ quantity: ::Integer,
363
+ items: Array[
364
+ {
365
+ lambda_function_arn: ::String,
366
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response"),
367
+ include_body: bool?
368
+ },
369
+ ]?
370
+ }?,
371
+ function_associations: {
372
+ quantity: ::Integer,
373
+ items: Array[
374
+ {
375
+ function_arn: ::String,
376
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response")
377
+ },
378
+ ]?
379
+ }?,
380
+ field_level_encryption_id: ::String?,
381
+ realtime_log_config_arn: ::String?,
382
+ cache_policy_id: ::String?,
383
+ origin_request_policy_id: ::String?,
384
+ response_headers_policy_id: ::String?,
385
+ forwarded_values: {
386
+ query_string: bool,
387
+ cookies: {
388
+ forward: ("none" | "whitelist" | "all"),
389
+ whitelisted_names: {
390
+ quantity: ::Integer,
391
+ items: Array[::String]?
392
+ }?
393
+ },
394
+ headers: {
395
+ quantity: ::Integer,
396
+ items: Array[::String]?
397
+ }?,
398
+ query_string_cache_keys: {
399
+ quantity: ::Integer,
400
+ items: Array[::String]?
401
+ }?
402
+ }?,
403
+ min_ttl: ::Integer?,
404
+ default_ttl: ::Integer?,
405
+ max_ttl: ::Integer?
406
+ },
407
+ ]?
408
+ }?,
409
+ custom_error_responses: {
410
+ quantity: ::Integer,
411
+ items: Array[
412
+ {
413
+ error_code: ::Integer,
414
+ response_page_path: ::String?,
415
+ response_code: ::String?,
416
+ error_caching_min_ttl: ::Integer?
417
+ },
418
+ ]?
419
+ }?,
420
+ comment: ::String,
421
+ logging: {
422
+ enabled: bool,
423
+ include_cookies: bool,
424
+ bucket: ::String,
425
+ prefix: ::String
426
+ }?,
427
+ price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
428
+ enabled: bool,
429
+ viewer_certificate: {
430
+ cloud_front_default_certificate: bool?,
431
+ iam_certificate_id: ::String?,
432
+ acm_certificate_arn: ::String?,
433
+ ssl_support_method: ("sni-only" | "vip" | "static-ip")?,
434
+ minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021")?,
435
+ certificate: ::String?,
436
+ certificate_source: ("cloudfront" | "iam" | "acm")?
437
+ }?,
438
+ restrictions: {
439
+ geo_restriction: {
440
+ restriction_type: ("blacklist" | "whitelist" | "none"),
441
+ quantity: ::Integer,
442
+ items: Array[::String]?
443
+ }
444
+ }?,
445
+ web_acl_id: ::String?,
446
+ http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
447
+ is_ipv6_enabled: bool?,
448
+ continuous_deployment_policy_id: ::String?,
449
+ staging: bool?
450
+ }
451
+ ) -> _CreateDistributionResponseSuccess
452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDistributionResponseSuccess
453
+
454
+ interface _CreateDistributionWithTagsResponseSuccess
455
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDistributionWithTagsResult]
456
+ def distribution: () -> Types::Distribution
457
+ def location: () -> ::String
458
+ def etag: () -> ::String
459
+ end
460
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_distribution_with_tags-instance_method
461
+ def create_distribution_with_tags: (
462
+ distribution_config_with_tags: {
463
+ distribution_config: {
464
+ caller_reference: ::String,
465
+ aliases: {
466
+ quantity: ::Integer,
467
+ items: Array[::String]?
468
+ }?,
469
+ default_root_object: ::String?,
470
+ origins: {
471
+ quantity: ::Integer,
472
+ items: Array[
473
+ {
474
+ id: ::String,
475
+ domain_name: ::String,
476
+ origin_path: ::String?,
477
+ custom_headers: {
478
+ quantity: ::Integer,
479
+ items: Array[
480
+ {
481
+ header_name: ::String,
482
+ header_value: ::String
483
+ },
484
+ ]?
485
+ }?,
486
+ s3_origin_config: {
487
+ origin_access_identity: ::String
488
+ }?,
489
+ custom_origin_config: {
490
+ http_port: ::Integer,
491
+ https_port: ::Integer,
492
+ origin_protocol_policy: ("http-only" | "match-viewer" | "https-only"),
493
+ origin_ssl_protocols: {
494
+ quantity: ::Integer,
495
+ items: Array[("SSLv3" | "TLSv1" | "TLSv1.1" | "TLSv1.2")]
496
+ }?,
497
+ origin_read_timeout: ::Integer?,
498
+ origin_keepalive_timeout: ::Integer?
499
+ }?,
500
+ connection_attempts: ::Integer?,
501
+ connection_timeout: ::Integer?,
502
+ origin_shield: {
503
+ enabled: bool,
504
+ origin_shield_region: ::String?
505
+ }?,
506
+ origin_access_control_id: ::String?
507
+ },
508
+ ]
509
+ },
510
+ origin_groups: {
511
+ quantity: ::Integer,
512
+ items: Array[
513
+ {
514
+ id: ::String,
515
+ failover_criteria: {
516
+ status_codes: {
517
+ quantity: ::Integer,
518
+ items: Array[::Integer]
519
+ }
520
+ },
521
+ members: {
522
+ quantity: ::Integer,
523
+ items: Array[
524
+ {
525
+ origin_id: ::String
526
+ },
527
+ ]
528
+ }
529
+ },
530
+ ]?
531
+ }?,
532
+ default_cache_behavior: {
533
+ target_origin_id: ::String,
534
+ trusted_signers: {
535
+ enabled: bool,
536
+ quantity: ::Integer,
537
+ items: Array[::String]?
538
+ }?,
539
+ trusted_key_groups: {
540
+ enabled: bool,
541
+ quantity: ::Integer,
542
+ items: Array[::String]?
543
+ }?,
544
+ viewer_protocol_policy: ("allow-all" | "https-only" | "redirect-to-https"),
545
+ allowed_methods: {
546
+ quantity: ::Integer,
547
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")],
548
+ cached_methods: {
549
+ quantity: ::Integer,
550
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")]
551
+ }?
552
+ }?,
553
+ smooth_streaming: bool?,
554
+ compress: bool?,
555
+ lambda_function_associations: {
556
+ quantity: ::Integer,
557
+ items: Array[
558
+ {
559
+ lambda_function_arn: ::String,
560
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response"),
561
+ include_body: bool?
562
+ },
563
+ ]?
564
+ }?,
565
+ function_associations: {
566
+ quantity: ::Integer,
567
+ items: Array[
568
+ {
569
+ function_arn: ::String,
570
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response")
571
+ },
572
+ ]?
573
+ }?,
574
+ field_level_encryption_id: ::String?,
575
+ realtime_log_config_arn: ::String?,
576
+ cache_policy_id: ::String?,
577
+ origin_request_policy_id: ::String?,
578
+ response_headers_policy_id: ::String?,
579
+ forwarded_values: {
580
+ query_string: bool,
581
+ cookies: {
582
+ forward: ("none" | "whitelist" | "all"),
583
+ whitelisted_names: {
584
+ quantity: ::Integer,
585
+ items: Array[::String]?
586
+ }?
587
+ },
588
+ headers: {
589
+ quantity: ::Integer,
590
+ items: Array[::String]?
591
+ }?,
592
+ query_string_cache_keys: {
593
+ quantity: ::Integer,
594
+ items: Array[::String]?
595
+ }?
596
+ }?,
597
+ min_ttl: ::Integer?,
598
+ default_ttl: ::Integer?,
599
+ max_ttl: ::Integer?
600
+ },
601
+ cache_behaviors: {
602
+ quantity: ::Integer,
603
+ items: Array[
604
+ {
605
+ path_pattern: ::String,
606
+ target_origin_id: ::String,
607
+ trusted_signers: {
608
+ enabled: bool,
609
+ quantity: ::Integer,
610
+ items: Array[::String]?
611
+ }?,
612
+ trusted_key_groups: {
613
+ enabled: bool,
614
+ quantity: ::Integer,
615
+ items: Array[::String]?
616
+ }?,
617
+ viewer_protocol_policy: ("allow-all" | "https-only" | "redirect-to-https"),
618
+ allowed_methods: {
619
+ quantity: ::Integer,
620
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")],
621
+ cached_methods: {
622
+ quantity: ::Integer,
623
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")]
624
+ }?
625
+ }?,
626
+ smooth_streaming: bool?,
627
+ compress: bool?,
628
+ lambda_function_associations: {
629
+ quantity: ::Integer,
630
+ items: Array[
631
+ {
632
+ lambda_function_arn: ::String,
633
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response"),
634
+ include_body: bool?
635
+ },
636
+ ]?
637
+ }?,
638
+ function_associations: {
639
+ quantity: ::Integer,
640
+ items: Array[
641
+ {
642
+ function_arn: ::String,
643
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response")
644
+ },
645
+ ]?
646
+ }?,
647
+ field_level_encryption_id: ::String?,
648
+ realtime_log_config_arn: ::String?,
649
+ cache_policy_id: ::String?,
650
+ origin_request_policy_id: ::String?,
651
+ response_headers_policy_id: ::String?,
652
+ forwarded_values: {
653
+ query_string: bool,
654
+ cookies: {
655
+ forward: ("none" | "whitelist" | "all"),
656
+ whitelisted_names: {
657
+ quantity: ::Integer,
658
+ items: Array[::String]?
659
+ }?
660
+ },
661
+ headers: {
662
+ quantity: ::Integer,
663
+ items: Array[::String]?
664
+ }?,
665
+ query_string_cache_keys: {
666
+ quantity: ::Integer,
667
+ items: Array[::String]?
668
+ }?
669
+ }?,
670
+ min_ttl: ::Integer?,
671
+ default_ttl: ::Integer?,
672
+ max_ttl: ::Integer?
673
+ },
674
+ ]?
675
+ }?,
676
+ custom_error_responses: {
677
+ quantity: ::Integer,
678
+ items: Array[
679
+ {
680
+ error_code: ::Integer,
681
+ response_page_path: ::String?,
682
+ response_code: ::String?,
683
+ error_caching_min_ttl: ::Integer?
684
+ },
685
+ ]?
686
+ }?,
687
+ comment: ::String,
688
+ logging: {
689
+ enabled: bool,
690
+ include_cookies: bool,
691
+ bucket: ::String,
692
+ prefix: ::String
693
+ }?,
694
+ price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
695
+ enabled: bool,
696
+ viewer_certificate: {
697
+ cloud_front_default_certificate: bool?,
698
+ iam_certificate_id: ::String?,
699
+ acm_certificate_arn: ::String?,
700
+ ssl_support_method: ("sni-only" | "vip" | "static-ip")?,
701
+ minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021")?,
702
+ certificate: ::String?,
703
+ certificate_source: ("cloudfront" | "iam" | "acm")?
704
+ }?,
705
+ restrictions: {
706
+ geo_restriction: {
707
+ restriction_type: ("blacklist" | "whitelist" | "none"),
708
+ quantity: ::Integer,
709
+ items: Array[::String]?
710
+ }
711
+ }?,
712
+ web_acl_id: ::String?,
713
+ http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
714
+ is_ipv6_enabled: bool?,
715
+ continuous_deployment_policy_id: ::String?,
716
+ staging: bool?
717
+ },
718
+ tags: {
719
+ items: Array[
720
+ {
721
+ key: ::String,
722
+ value: ::String?
723
+ },
724
+ ]?
725
+ }
726
+ }
727
+ ) -> _CreateDistributionWithTagsResponseSuccess
728
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDistributionWithTagsResponseSuccess
729
+
730
+ interface _CreateFieldLevelEncryptionConfigResponseSuccess
731
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFieldLevelEncryptionConfigResult]
732
+ def field_level_encryption: () -> Types::FieldLevelEncryption
733
+ def location: () -> ::String
734
+ def etag: () -> ::String
735
+ end
736
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_field_level_encryption_config-instance_method
737
+ def create_field_level_encryption_config: (
738
+ field_level_encryption_config: {
739
+ caller_reference: ::String,
740
+ comment: ::String?,
741
+ query_arg_profile_config: {
742
+ forward_when_query_arg_profile_is_unknown: bool,
743
+ query_arg_profiles: {
744
+ quantity: ::Integer,
745
+ items: Array[
746
+ {
747
+ query_arg: ::String,
748
+ profile_id: ::String
749
+ },
750
+ ]?
751
+ }?
752
+ }?,
753
+ content_type_profile_config: {
754
+ forward_when_content_type_is_unknown: bool,
755
+ content_type_profiles: {
756
+ quantity: ::Integer,
757
+ items: Array[
758
+ {
759
+ format: ("URLEncoded"),
760
+ profile_id: ::String?,
761
+ content_type: ::String
762
+ },
763
+ ]?
764
+ }?
765
+ }?
766
+ }
767
+ ) -> _CreateFieldLevelEncryptionConfigResponseSuccess
768
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFieldLevelEncryptionConfigResponseSuccess
769
+
770
+ interface _CreateFieldLevelEncryptionProfileResponseSuccess
771
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFieldLevelEncryptionProfileResult]
772
+ def field_level_encryption_profile: () -> Types::FieldLevelEncryptionProfile
773
+ def location: () -> ::String
774
+ def etag: () -> ::String
775
+ end
776
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_field_level_encryption_profile-instance_method
777
+ def create_field_level_encryption_profile: (
778
+ field_level_encryption_profile_config: {
779
+ name: ::String,
780
+ caller_reference: ::String,
781
+ comment: ::String?,
782
+ encryption_entities: {
783
+ quantity: ::Integer,
784
+ items: Array[
785
+ {
786
+ public_key_id: ::String,
787
+ provider_id: ::String,
788
+ field_patterns: {
789
+ quantity: ::Integer,
790
+ items: Array[::String]?
791
+ }
792
+ },
793
+ ]?
794
+ }
795
+ }
796
+ ) -> _CreateFieldLevelEncryptionProfileResponseSuccess
797
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFieldLevelEncryptionProfileResponseSuccess
798
+
799
+ interface _CreateFunctionResponseSuccess
800
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFunctionResult]
801
+ def function_summary: () -> Types::FunctionSummary
802
+ def location: () -> ::String
803
+ def etag: () -> ::String
804
+ end
805
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_function-instance_method
806
+ def create_function: (
807
+ name: ::String,
808
+ function_config: {
809
+ comment: ::String,
810
+ runtime: ("cloudfront-js-1.0" | "cloudfront-js-2.0"),
811
+ key_value_store_associations: {
812
+ quantity: ::Integer,
813
+ items: Array[
814
+ {
815
+ key_value_store_arn: ::String
816
+ },
817
+ ]?
818
+ }?
819
+ },
820
+ function_code: ::String
821
+ ) -> _CreateFunctionResponseSuccess
822
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFunctionResponseSuccess
823
+
824
+ interface _CreateInvalidationResponseSuccess
825
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateInvalidationResult]
826
+ def location: () -> ::String
827
+ def invalidation: () -> Types::Invalidation
828
+ end
829
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_invalidation-instance_method
830
+ def create_invalidation: (
831
+ distribution_id: ::String,
832
+ invalidation_batch: {
833
+ paths: {
834
+ quantity: ::Integer,
835
+ items: Array[::String]?
836
+ },
837
+ caller_reference: ::String
838
+ }
839
+ ) -> _CreateInvalidationResponseSuccess
840
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInvalidationResponseSuccess
841
+
842
+ interface _CreateKeyGroupResponseSuccess
843
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateKeyGroupResult]
844
+ def key_group: () -> Types::KeyGroup
845
+ def location: () -> ::String
846
+ def etag: () -> ::String
847
+ end
848
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_key_group-instance_method
849
+ def create_key_group: (
850
+ key_group_config: {
851
+ name: ::String,
852
+ items: Array[::String],
853
+ comment: ::String?
854
+ }
855
+ ) -> _CreateKeyGroupResponseSuccess
856
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKeyGroupResponseSuccess
857
+
858
+ interface _CreateKeyValueStoreResponseSuccess
859
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateKeyValueStoreResult]
860
+ def key_value_store: () -> Types::KeyValueStore
861
+ def etag: () -> ::String
862
+ def location: () -> ::String
863
+ end
864
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_key_value_store-instance_method
865
+ def create_key_value_store: (
866
+ name: ::String,
867
+ ?comment: ::String,
868
+ ?import_source: {
869
+ source_type: ("S3"),
870
+ source_arn: ::String
871
+ }
872
+ ) -> _CreateKeyValueStoreResponseSuccess
873
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKeyValueStoreResponseSuccess
874
+
875
+ interface _CreateMonitoringSubscriptionResponseSuccess
876
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMonitoringSubscriptionResult]
877
+ def monitoring_subscription: () -> Types::MonitoringSubscription
878
+ end
879
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_monitoring_subscription-instance_method
880
+ def create_monitoring_subscription: (
881
+ distribution_id: ::String,
882
+ monitoring_subscription: {
883
+ realtime_metrics_subscription_config: {
884
+ realtime_metrics_subscription_status: ("Enabled" | "Disabled")
885
+ }?
886
+ }
887
+ ) -> _CreateMonitoringSubscriptionResponseSuccess
888
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMonitoringSubscriptionResponseSuccess
889
+
890
+ interface _CreateOriginAccessControlResponseSuccess
891
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateOriginAccessControlResult]
892
+ def origin_access_control: () -> Types::OriginAccessControl
893
+ def location: () -> ::String
894
+ def etag: () -> ::String
895
+ end
896
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_origin_access_control-instance_method
897
+ def create_origin_access_control: (
898
+ origin_access_control_config: {
899
+ name: ::String,
900
+ description: ::String?,
901
+ signing_protocol: ("sigv4"),
902
+ signing_behavior: ("never" | "always" | "no-override"),
903
+ origin_access_control_origin_type: ("s3" | "mediastore")
904
+ }
905
+ ) -> _CreateOriginAccessControlResponseSuccess
906
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOriginAccessControlResponseSuccess
907
+
908
+ interface _CreateOriginRequestPolicyResponseSuccess
909
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateOriginRequestPolicyResult]
910
+ def origin_request_policy: () -> Types::OriginRequestPolicy
911
+ def location: () -> ::String
912
+ def etag: () -> ::String
913
+ end
914
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_origin_request_policy-instance_method
915
+ def create_origin_request_policy: (
916
+ origin_request_policy_config: {
917
+ comment: ::String?,
918
+ name: ::String,
919
+ headers_config: {
920
+ header_behavior: ("none" | "whitelist" | "allViewer" | "allViewerAndWhitelistCloudFront" | "allExcept"),
921
+ headers: {
922
+ quantity: ::Integer,
923
+ items: Array[::String]?
924
+ }?
925
+ },
926
+ cookies_config: {
927
+ cookie_behavior: ("none" | "whitelist" | "all" | "allExcept"),
928
+ cookies: {
929
+ quantity: ::Integer,
930
+ items: Array[::String]?
931
+ }?
932
+ },
933
+ query_strings_config: {
934
+ query_string_behavior: ("none" | "whitelist" | "all" | "allExcept"),
935
+ query_strings: {
936
+ quantity: ::Integer,
937
+ items: Array[::String]?
938
+ }?
939
+ }
940
+ }
941
+ ) -> _CreateOriginRequestPolicyResponseSuccess
942
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOriginRequestPolicyResponseSuccess
943
+
944
+ interface _CreatePublicKeyResponseSuccess
945
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePublicKeyResult]
946
+ def public_key: () -> Types::PublicKey
947
+ def location: () -> ::String
948
+ def etag: () -> ::String
949
+ end
950
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_public_key-instance_method
951
+ def create_public_key: (
952
+ public_key_config: {
953
+ caller_reference: ::String,
954
+ name: ::String,
955
+ encoded_key: ::String,
956
+ comment: ::String?
957
+ }
958
+ ) -> _CreatePublicKeyResponseSuccess
959
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePublicKeyResponseSuccess
960
+
961
+ interface _CreateRealtimeLogConfigResponseSuccess
962
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRealtimeLogConfigResult]
963
+ def realtime_log_config: () -> Types::RealtimeLogConfig
964
+ end
965
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_realtime_log_config-instance_method
966
+ def create_realtime_log_config: (
967
+ end_points: Array[
968
+ {
969
+ stream_type: ::String,
970
+ kinesis_stream_config: {
971
+ role_arn: ::String,
972
+ stream_arn: ::String
973
+ }?
974
+ },
975
+ ],
976
+ fields: Array[::String],
977
+ name: ::String,
978
+ sampling_rate: ::Integer
979
+ ) -> _CreateRealtimeLogConfigResponseSuccess
980
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRealtimeLogConfigResponseSuccess
981
+
982
+ interface _CreateResponseHeadersPolicyResponseSuccess
983
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateResponseHeadersPolicyResult]
984
+ def response_headers_policy: () -> Types::ResponseHeadersPolicy
985
+ def location: () -> ::String
986
+ def etag: () -> ::String
987
+ end
988
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_response_headers_policy-instance_method
989
+ def create_response_headers_policy: (
990
+ response_headers_policy_config: {
991
+ comment: ::String?,
992
+ name: ::String,
993
+ cors_config: {
994
+ access_control_allow_origins: {
995
+ quantity: ::Integer,
996
+ items: Array[::String]
997
+ },
998
+ access_control_allow_headers: {
999
+ quantity: ::Integer,
1000
+ items: Array[::String]
1001
+ },
1002
+ access_control_allow_methods: {
1003
+ quantity: ::Integer,
1004
+ items: Array[("GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "ALL")]
1005
+ },
1006
+ access_control_allow_credentials: bool,
1007
+ access_control_expose_headers: {
1008
+ quantity: ::Integer,
1009
+ items: Array[::String]?
1010
+ }?,
1011
+ access_control_max_age_sec: ::Integer?,
1012
+ origin_override: bool
1013
+ }?,
1014
+ security_headers_config: {
1015
+ xss_protection: {
1016
+ override: bool,
1017
+ protection: bool,
1018
+ mode_block: bool?,
1019
+ report_uri: ::String?
1020
+ }?,
1021
+ frame_options: {
1022
+ override: bool,
1023
+ frame_option: ("DENY" | "SAMEORIGIN")
1024
+ }?,
1025
+ referrer_policy: {
1026
+ override: bool,
1027
+ referrer_policy: ("no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url")
1028
+ }?,
1029
+ content_security_policy: {
1030
+ override: bool,
1031
+ content_security_policy: ::String
1032
+ }?,
1033
+ content_type_options: {
1034
+ override: bool
1035
+ }?,
1036
+ strict_transport_security: {
1037
+ override: bool,
1038
+ include_subdomains: bool?,
1039
+ preload: bool?,
1040
+ access_control_max_age_sec: ::Integer
1041
+ }?
1042
+ }?,
1043
+ server_timing_headers_config: {
1044
+ enabled: bool,
1045
+ sampling_rate: ::Float?
1046
+ }?,
1047
+ custom_headers_config: {
1048
+ quantity: ::Integer,
1049
+ items: Array[
1050
+ {
1051
+ header: ::String,
1052
+ value: ::String,
1053
+ override: bool
1054
+ },
1055
+ ]?
1056
+ }?,
1057
+ remove_headers_config: {
1058
+ quantity: ::Integer,
1059
+ items: Array[
1060
+ {
1061
+ header: ::String
1062
+ },
1063
+ ]?
1064
+ }?
1065
+ }
1066
+ ) -> _CreateResponseHeadersPolicyResponseSuccess
1067
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResponseHeadersPolicyResponseSuccess
1068
+
1069
+ interface _CreateStreamingDistributionResponseSuccess
1070
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateStreamingDistributionResult]
1071
+ def streaming_distribution: () -> Types::StreamingDistribution
1072
+ def location: () -> ::String
1073
+ def etag: () -> ::String
1074
+ end
1075
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_streaming_distribution-instance_method
1076
+ def create_streaming_distribution: (
1077
+ streaming_distribution_config: {
1078
+ caller_reference: ::String,
1079
+ s3_origin: {
1080
+ domain_name: ::String,
1081
+ origin_access_identity: ::String
1082
+ },
1083
+ aliases: {
1084
+ quantity: ::Integer,
1085
+ items: Array[::String]?
1086
+ }?,
1087
+ comment: ::String,
1088
+ logging: {
1089
+ enabled: bool,
1090
+ bucket: ::String,
1091
+ prefix: ::String
1092
+ }?,
1093
+ trusted_signers: {
1094
+ enabled: bool,
1095
+ quantity: ::Integer,
1096
+ items: Array[::String]?
1097
+ },
1098
+ price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
1099
+ enabled: bool
1100
+ }
1101
+ ) -> _CreateStreamingDistributionResponseSuccess
1102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStreamingDistributionResponseSuccess
1103
+
1104
+ interface _CreateStreamingDistributionWithTagsResponseSuccess
1105
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateStreamingDistributionWithTagsResult]
1106
+ def streaming_distribution: () -> Types::StreamingDistribution
1107
+ def location: () -> ::String
1108
+ def etag: () -> ::String
1109
+ end
1110
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#create_streaming_distribution_with_tags-instance_method
1111
+ def create_streaming_distribution_with_tags: (
1112
+ streaming_distribution_config_with_tags: {
1113
+ streaming_distribution_config: {
1114
+ caller_reference: ::String,
1115
+ s3_origin: {
1116
+ domain_name: ::String,
1117
+ origin_access_identity: ::String
1118
+ },
1119
+ aliases: {
1120
+ quantity: ::Integer,
1121
+ items: Array[::String]?
1122
+ }?,
1123
+ comment: ::String,
1124
+ logging: {
1125
+ enabled: bool,
1126
+ bucket: ::String,
1127
+ prefix: ::String
1128
+ }?,
1129
+ trusted_signers: {
1130
+ enabled: bool,
1131
+ quantity: ::Integer,
1132
+ items: Array[::String]?
1133
+ },
1134
+ price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
1135
+ enabled: bool
1136
+ },
1137
+ tags: {
1138
+ items: Array[
1139
+ {
1140
+ key: ::String,
1141
+ value: ::String?
1142
+ },
1143
+ ]?
1144
+ }
1145
+ }
1146
+ ) -> _CreateStreamingDistributionWithTagsResponseSuccess
1147
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStreamingDistributionWithTagsResponseSuccess
1148
+
1149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_cache_policy-instance_method
1150
+ def delete_cache_policy: (
1151
+ id: ::String,
1152
+ ?if_match: ::String
1153
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1155
+
1156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_cloud_front_origin_access_identity-instance_method
1157
+ def delete_cloud_front_origin_access_identity: (
1158
+ id: ::String,
1159
+ ?if_match: ::String
1160
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1162
+
1163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_continuous_deployment_policy-instance_method
1164
+ def delete_continuous_deployment_policy: (
1165
+ id: ::String,
1166
+ ?if_match: ::String
1167
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1168
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1169
+
1170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_distribution-instance_method
1171
+ def delete_distribution: (
1172
+ id: ::String,
1173
+ ?if_match: ::String
1174
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1175
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1176
+
1177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_field_level_encryption_config-instance_method
1178
+ def delete_field_level_encryption_config: (
1179
+ id: ::String,
1180
+ ?if_match: ::String
1181
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1182
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1183
+
1184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_field_level_encryption_profile-instance_method
1185
+ def delete_field_level_encryption_profile: (
1186
+ id: ::String,
1187
+ ?if_match: ::String
1188
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1189
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1190
+
1191
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_function-instance_method
1192
+ def delete_function: (
1193
+ name: ::String,
1194
+ if_match: ::String
1195
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1197
+
1198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_key_group-instance_method
1199
+ def delete_key_group: (
1200
+ id: ::String,
1201
+ ?if_match: ::String
1202
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1203
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1204
+
1205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_key_value_store-instance_method
1206
+ def delete_key_value_store: (
1207
+ name: ::String,
1208
+ if_match: ::String
1209
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1210
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1211
+
1212
+ interface _DeleteMonitoringSubscriptionResponseSuccess
1213
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMonitoringSubscriptionResult]
1214
+ end
1215
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_monitoring_subscription-instance_method
1216
+ def delete_monitoring_subscription: (
1217
+ distribution_id: ::String
1218
+ ) -> _DeleteMonitoringSubscriptionResponseSuccess
1219
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMonitoringSubscriptionResponseSuccess
1220
+
1221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_origin_access_control-instance_method
1222
+ def delete_origin_access_control: (
1223
+ id: ::String,
1224
+ ?if_match: ::String
1225
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1227
+
1228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_origin_request_policy-instance_method
1229
+ def delete_origin_request_policy: (
1230
+ id: ::String,
1231
+ ?if_match: ::String
1232
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1234
+
1235
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_public_key-instance_method
1236
+ def delete_public_key: (
1237
+ id: ::String,
1238
+ ?if_match: ::String
1239
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1240
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1241
+
1242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_realtime_log_config-instance_method
1243
+ def delete_realtime_log_config: (
1244
+ ?name: ::String,
1245
+ ?arn: ::String
1246
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1247
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1248
+
1249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_response_headers_policy-instance_method
1250
+ def delete_response_headers_policy: (
1251
+ id: ::String,
1252
+ ?if_match: ::String
1253
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1254
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1255
+
1256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_streaming_distribution-instance_method
1257
+ def delete_streaming_distribution: (
1258
+ id: ::String,
1259
+ ?if_match: ::String
1260
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1262
+
1263
+ interface _DescribeFunctionResponseSuccess
1264
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFunctionResult]
1265
+ def function_summary: () -> Types::FunctionSummary
1266
+ def etag: () -> ::String
1267
+ end
1268
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#describe_function-instance_method
1269
+ def describe_function: (
1270
+ name: ::String,
1271
+ ?stage: ("DEVELOPMENT" | "LIVE")
1272
+ ) -> _DescribeFunctionResponseSuccess
1273
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFunctionResponseSuccess
1274
+
1275
+ interface _DescribeKeyValueStoreResponseSuccess
1276
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeKeyValueStoreResult]
1277
+ def key_value_store: () -> Types::KeyValueStore
1278
+ def etag: () -> ::String
1279
+ end
1280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#describe_key_value_store-instance_method
1281
+ def describe_key_value_store: (
1282
+ name: ::String
1283
+ ) -> _DescribeKeyValueStoreResponseSuccess
1284
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeKeyValueStoreResponseSuccess
1285
+
1286
+ interface _GetCachePolicyResponseSuccess
1287
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCachePolicyResult]
1288
+ def cache_policy: () -> Types::CachePolicy
1289
+ def etag: () -> ::String
1290
+ end
1291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_cache_policy-instance_method
1292
+ def get_cache_policy: (
1293
+ id: ::String
1294
+ ) -> _GetCachePolicyResponseSuccess
1295
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCachePolicyResponseSuccess
1296
+
1297
+ interface _GetCachePolicyConfigResponseSuccess
1298
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCachePolicyConfigResult]
1299
+ def cache_policy_config: () -> Types::CachePolicyConfig
1300
+ def etag: () -> ::String
1301
+ end
1302
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_cache_policy_config-instance_method
1303
+ def get_cache_policy_config: (
1304
+ id: ::String
1305
+ ) -> _GetCachePolicyConfigResponseSuccess
1306
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCachePolicyConfigResponseSuccess
1307
+
1308
+ interface _GetCloudFrontOriginAccessIdentityResponseSuccess
1309
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCloudFrontOriginAccessIdentityResult]
1310
+ def cloud_front_origin_access_identity: () -> Types::CloudFrontOriginAccessIdentity
1311
+ def etag: () -> ::String
1312
+ end
1313
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_cloud_front_origin_access_identity-instance_method
1314
+ def get_cloud_front_origin_access_identity: (
1315
+ id: ::String
1316
+ ) -> _GetCloudFrontOriginAccessIdentityResponseSuccess
1317
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCloudFrontOriginAccessIdentityResponseSuccess
1318
+
1319
+ interface _GetCloudFrontOriginAccessIdentityConfigResponseSuccess
1320
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCloudFrontOriginAccessIdentityConfigResult]
1321
+ def cloud_front_origin_access_identity_config: () -> Types::CloudFrontOriginAccessIdentityConfig
1322
+ def etag: () -> ::String
1323
+ end
1324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_cloud_front_origin_access_identity_config-instance_method
1325
+ def get_cloud_front_origin_access_identity_config: (
1326
+ id: ::String
1327
+ ) -> _GetCloudFrontOriginAccessIdentityConfigResponseSuccess
1328
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCloudFrontOriginAccessIdentityConfigResponseSuccess
1329
+
1330
+ interface _GetContinuousDeploymentPolicyResponseSuccess
1331
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetContinuousDeploymentPolicyResult]
1332
+ def continuous_deployment_policy: () -> Types::ContinuousDeploymentPolicy
1333
+ def etag: () -> ::String
1334
+ end
1335
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_continuous_deployment_policy-instance_method
1336
+ def get_continuous_deployment_policy: (
1337
+ id: ::String
1338
+ ) -> _GetContinuousDeploymentPolicyResponseSuccess
1339
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContinuousDeploymentPolicyResponseSuccess
1340
+
1341
+ interface _GetContinuousDeploymentPolicyConfigResponseSuccess
1342
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetContinuousDeploymentPolicyConfigResult]
1343
+ def continuous_deployment_policy_config: () -> Types::ContinuousDeploymentPolicyConfig
1344
+ def etag: () -> ::String
1345
+ end
1346
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_continuous_deployment_policy_config-instance_method
1347
+ def get_continuous_deployment_policy_config: (
1348
+ id: ::String
1349
+ ) -> _GetContinuousDeploymentPolicyConfigResponseSuccess
1350
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContinuousDeploymentPolicyConfigResponseSuccess
1351
+
1352
+ interface _GetDistributionResponseSuccess
1353
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDistributionResult]
1354
+ def distribution: () -> Types::Distribution
1355
+ def etag: () -> ::String
1356
+ end
1357
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_distribution-instance_method
1358
+ def get_distribution: (
1359
+ id: ::String
1360
+ ) -> _GetDistributionResponseSuccess
1361
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDistributionResponseSuccess
1362
+
1363
+ interface _GetDistributionConfigResponseSuccess
1364
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDistributionConfigResult]
1365
+ def distribution_config: () -> Types::DistributionConfig
1366
+ def etag: () -> ::String
1367
+ end
1368
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_distribution_config-instance_method
1369
+ def get_distribution_config: (
1370
+ id: ::String
1371
+ ) -> _GetDistributionConfigResponseSuccess
1372
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDistributionConfigResponseSuccess
1373
+
1374
+ interface _GetFieldLevelEncryptionResponseSuccess
1375
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFieldLevelEncryptionResult]
1376
+ def field_level_encryption: () -> Types::FieldLevelEncryption
1377
+ def etag: () -> ::String
1378
+ end
1379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_field_level_encryption-instance_method
1380
+ def get_field_level_encryption: (
1381
+ id: ::String
1382
+ ) -> _GetFieldLevelEncryptionResponseSuccess
1383
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFieldLevelEncryptionResponseSuccess
1384
+
1385
+ interface _GetFieldLevelEncryptionConfigResponseSuccess
1386
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFieldLevelEncryptionConfigResult]
1387
+ def field_level_encryption_config: () -> Types::FieldLevelEncryptionConfig
1388
+ def etag: () -> ::String
1389
+ end
1390
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_field_level_encryption_config-instance_method
1391
+ def get_field_level_encryption_config: (
1392
+ id: ::String
1393
+ ) -> _GetFieldLevelEncryptionConfigResponseSuccess
1394
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFieldLevelEncryptionConfigResponseSuccess
1395
+
1396
+ interface _GetFieldLevelEncryptionProfileResponseSuccess
1397
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFieldLevelEncryptionProfileResult]
1398
+ def field_level_encryption_profile: () -> Types::FieldLevelEncryptionProfile
1399
+ def etag: () -> ::String
1400
+ end
1401
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_field_level_encryption_profile-instance_method
1402
+ def get_field_level_encryption_profile: (
1403
+ id: ::String
1404
+ ) -> _GetFieldLevelEncryptionProfileResponseSuccess
1405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFieldLevelEncryptionProfileResponseSuccess
1406
+
1407
+ interface _GetFieldLevelEncryptionProfileConfigResponseSuccess
1408
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFieldLevelEncryptionProfileConfigResult]
1409
+ def field_level_encryption_profile_config: () -> Types::FieldLevelEncryptionProfileConfig
1410
+ def etag: () -> ::String
1411
+ end
1412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_field_level_encryption_profile_config-instance_method
1413
+ def get_field_level_encryption_profile_config: (
1414
+ id: ::String
1415
+ ) -> _GetFieldLevelEncryptionProfileConfigResponseSuccess
1416
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFieldLevelEncryptionProfileConfigResponseSuccess
1417
+
1418
+ interface _GetFunctionResponseSuccess
1419
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFunctionResult]
1420
+ def function_code: () -> ::String
1421
+ def etag: () -> ::String
1422
+ def content_type: () -> ::String
1423
+ end
1424
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_function-instance_method
1425
+ def get_function: (
1426
+ name: ::String,
1427
+ ?stage: ("DEVELOPMENT" | "LIVE")
1428
+ ) -> _GetFunctionResponseSuccess
1429
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFunctionResponseSuccess
1430
+
1431
+ interface _GetInvalidationResponseSuccess
1432
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInvalidationResult]
1433
+ def invalidation: () -> Types::Invalidation
1434
+ end
1435
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_invalidation-instance_method
1436
+ def get_invalidation: (
1437
+ distribution_id: ::String,
1438
+ id: ::String
1439
+ ) -> _GetInvalidationResponseSuccess
1440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInvalidationResponseSuccess
1441
+
1442
+ interface _GetKeyGroupResponseSuccess
1443
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetKeyGroupResult]
1444
+ def key_group: () -> Types::KeyGroup
1445
+ def etag: () -> ::String
1446
+ end
1447
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_key_group-instance_method
1448
+ def get_key_group: (
1449
+ id: ::String
1450
+ ) -> _GetKeyGroupResponseSuccess
1451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKeyGroupResponseSuccess
1452
+
1453
+ interface _GetKeyGroupConfigResponseSuccess
1454
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetKeyGroupConfigResult]
1455
+ def key_group_config: () -> Types::KeyGroupConfig
1456
+ def etag: () -> ::String
1457
+ end
1458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_key_group_config-instance_method
1459
+ def get_key_group_config: (
1460
+ id: ::String
1461
+ ) -> _GetKeyGroupConfigResponseSuccess
1462
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKeyGroupConfigResponseSuccess
1463
+
1464
+ interface _GetMonitoringSubscriptionResponseSuccess
1465
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMonitoringSubscriptionResult]
1466
+ def monitoring_subscription: () -> Types::MonitoringSubscription
1467
+ end
1468
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_monitoring_subscription-instance_method
1469
+ def get_monitoring_subscription: (
1470
+ distribution_id: ::String
1471
+ ) -> _GetMonitoringSubscriptionResponseSuccess
1472
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMonitoringSubscriptionResponseSuccess
1473
+
1474
+ interface _GetOriginAccessControlResponseSuccess
1475
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOriginAccessControlResult]
1476
+ def origin_access_control: () -> Types::OriginAccessControl
1477
+ def etag: () -> ::String
1478
+ end
1479
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_origin_access_control-instance_method
1480
+ def get_origin_access_control: (
1481
+ id: ::String
1482
+ ) -> _GetOriginAccessControlResponseSuccess
1483
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOriginAccessControlResponseSuccess
1484
+
1485
+ interface _GetOriginAccessControlConfigResponseSuccess
1486
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOriginAccessControlConfigResult]
1487
+ def origin_access_control_config: () -> Types::OriginAccessControlConfig
1488
+ def etag: () -> ::String
1489
+ end
1490
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_origin_access_control_config-instance_method
1491
+ def get_origin_access_control_config: (
1492
+ id: ::String
1493
+ ) -> _GetOriginAccessControlConfigResponseSuccess
1494
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOriginAccessControlConfigResponseSuccess
1495
+
1496
+ interface _GetOriginRequestPolicyResponseSuccess
1497
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOriginRequestPolicyResult]
1498
+ def origin_request_policy: () -> Types::OriginRequestPolicy
1499
+ def etag: () -> ::String
1500
+ end
1501
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_origin_request_policy-instance_method
1502
+ def get_origin_request_policy: (
1503
+ id: ::String
1504
+ ) -> _GetOriginRequestPolicyResponseSuccess
1505
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOriginRequestPolicyResponseSuccess
1506
+
1507
+ interface _GetOriginRequestPolicyConfigResponseSuccess
1508
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOriginRequestPolicyConfigResult]
1509
+ def origin_request_policy_config: () -> Types::OriginRequestPolicyConfig
1510
+ def etag: () -> ::String
1511
+ end
1512
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_origin_request_policy_config-instance_method
1513
+ def get_origin_request_policy_config: (
1514
+ id: ::String
1515
+ ) -> _GetOriginRequestPolicyConfigResponseSuccess
1516
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOriginRequestPolicyConfigResponseSuccess
1517
+
1518
+ interface _GetPublicKeyResponseSuccess
1519
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPublicKeyResult]
1520
+ def public_key: () -> Types::PublicKey
1521
+ def etag: () -> ::String
1522
+ end
1523
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_public_key-instance_method
1524
+ def get_public_key: (
1525
+ id: ::String
1526
+ ) -> _GetPublicKeyResponseSuccess
1527
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicKeyResponseSuccess
1528
+
1529
+ interface _GetPublicKeyConfigResponseSuccess
1530
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPublicKeyConfigResult]
1531
+ def public_key_config: () -> Types::PublicKeyConfig
1532
+ def etag: () -> ::String
1533
+ end
1534
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_public_key_config-instance_method
1535
+ def get_public_key_config: (
1536
+ id: ::String
1537
+ ) -> _GetPublicKeyConfigResponseSuccess
1538
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicKeyConfigResponseSuccess
1539
+
1540
+ interface _GetRealtimeLogConfigResponseSuccess
1541
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRealtimeLogConfigResult]
1542
+ def realtime_log_config: () -> Types::RealtimeLogConfig
1543
+ end
1544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_realtime_log_config-instance_method
1545
+ def get_realtime_log_config: (
1546
+ ?name: ::String,
1547
+ ?arn: ::String
1548
+ ) -> _GetRealtimeLogConfigResponseSuccess
1549
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRealtimeLogConfigResponseSuccess
1550
+
1551
+ interface _GetResponseHeadersPolicyResponseSuccess
1552
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResponseHeadersPolicyResult]
1553
+ def response_headers_policy: () -> Types::ResponseHeadersPolicy
1554
+ def etag: () -> ::String
1555
+ end
1556
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_response_headers_policy-instance_method
1557
+ def get_response_headers_policy: (
1558
+ id: ::String
1559
+ ) -> _GetResponseHeadersPolicyResponseSuccess
1560
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResponseHeadersPolicyResponseSuccess
1561
+
1562
+ interface _GetResponseHeadersPolicyConfigResponseSuccess
1563
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResponseHeadersPolicyConfigResult]
1564
+ def response_headers_policy_config: () -> Types::ResponseHeadersPolicyConfig
1565
+ def etag: () -> ::String
1566
+ end
1567
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_response_headers_policy_config-instance_method
1568
+ def get_response_headers_policy_config: (
1569
+ id: ::String
1570
+ ) -> _GetResponseHeadersPolicyConfigResponseSuccess
1571
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResponseHeadersPolicyConfigResponseSuccess
1572
+
1573
+ interface _GetStreamingDistributionResponseSuccess
1574
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStreamingDistributionResult]
1575
+ def streaming_distribution: () -> Types::StreamingDistribution
1576
+ def etag: () -> ::String
1577
+ end
1578
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_streaming_distribution-instance_method
1579
+ def get_streaming_distribution: (
1580
+ id: ::String
1581
+ ) -> _GetStreamingDistributionResponseSuccess
1582
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamingDistributionResponseSuccess
1583
+
1584
+ interface _GetStreamingDistributionConfigResponseSuccess
1585
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStreamingDistributionConfigResult]
1586
+ def streaming_distribution_config: () -> Types::StreamingDistributionConfig
1587
+ def etag: () -> ::String
1588
+ end
1589
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_streaming_distribution_config-instance_method
1590
+ def get_streaming_distribution_config: (
1591
+ id: ::String
1592
+ ) -> _GetStreamingDistributionConfigResponseSuccess
1593
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamingDistributionConfigResponseSuccess
1594
+
1595
+ interface _ListCachePoliciesResponseSuccess
1596
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCachePoliciesResult]
1597
+ def cache_policy_list: () -> Types::CachePolicyList
1598
+ end
1599
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_cache_policies-instance_method
1600
+ def list_cache_policies: (
1601
+ ?type: ("managed" | "custom"),
1602
+ ?marker: ::String,
1603
+ ?max_items: ::Integer
1604
+ ) -> _ListCachePoliciesResponseSuccess
1605
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCachePoliciesResponseSuccess
1606
+
1607
+ interface _ListCloudFrontOriginAccessIdentitiesResponseSuccess
1608
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCloudFrontOriginAccessIdentitiesResult]
1609
+ def cloud_front_origin_access_identity_list: () -> Types::CloudFrontOriginAccessIdentityList
1610
+ end
1611
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_cloud_front_origin_access_identities-instance_method
1612
+ def list_cloud_front_origin_access_identities: (
1613
+ ?marker: ::String,
1614
+ ?max_items: ::Integer
1615
+ ) -> _ListCloudFrontOriginAccessIdentitiesResponseSuccess
1616
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCloudFrontOriginAccessIdentitiesResponseSuccess
1617
+
1618
+ interface _ListConflictingAliasesResponseSuccess
1619
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConflictingAliasesResult]
1620
+ def conflicting_aliases_list: () -> Types::ConflictingAliasesList
1621
+ end
1622
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_conflicting_aliases-instance_method
1623
+ def list_conflicting_aliases: (
1624
+ distribution_id: ::String,
1625
+ alias: ::String,
1626
+ ?marker: ::String,
1627
+ ?max_items: ::Integer
1628
+ ) -> _ListConflictingAliasesResponseSuccess
1629
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConflictingAliasesResponseSuccess
1630
+
1631
+ interface _ListContinuousDeploymentPoliciesResponseSuccess
1632
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListContinuousDeploymentPoliciesResult]
1633
+ def continuous_deployment_policy_list: () -> Types::ContinuousDeploymentPolicyList
1634
+ end
1635
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_continuous_deployment_policies-instance_method
1636
+ def list_continuous_deployment_policies: (
1637
+ ?marker: ::String,
1638
+ ?max_items: ::Integer
1639
+ ) -> _ListContinuousDeploymentPoliciesResponseSuccess
1640
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContinuousDeploymentPoliciesResponseSuccess
1641
+
1642
+ interface _ListDistributionsResponseSuccess
1643
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsResult]
1644
+ def distribution_list: () -> Types::DistributionList
1645
+ end
1646
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions-instance_method
1647
+ def list_distributions: (
1648
+ ?marker: ::String,
1649
+ ?max_items: ::Integer
1650
+ ) -> _ListDistributionsResponseSuccess
1651
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsResponseSuccess
1652
+
1653
+ interface _ListDistributionsByCachePolicyIdResponseSuccess
1654
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByCachePolicyIdResult]
1655
+ def distribution_id_list: () -> Types::DistributionIdList
1656
+ end
1657
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_cache_policy_id-instance_method
1658
+ def list_distributions_by_cache_policy_id: (
1659
+ ?marker: ::String,
1660
+ ?max_items: ::Integer,
1661
+ cache_policy_id: ::String
1662
+ ) -> _ListDistributionsByCachePolicyIdResponseSuccess
1663
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByCachePolicyIdResponseSuccess
1664
+
1665
+ interface _ListDistributionsByKeyGroupResponseSuccess
1666
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByKeyGroupResult]
1667
+ def distribution_id_list: () -> Types::DistributionIdList
1668
+ end
1669
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_key_group-instance_method
1670
+ def list_distributions_by_key_group: (
1671
+ ?marker: ::String,
1672
+ ?max_items: ::Integer,
1673
+ key_group_id: ::String
1674
+ ) -> _ListDistributionsByKeyGroupResponseSuccess
1675
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByKeyGroupResponseSuccess
1676
+
1677
+ interface _ListDistributionsByOriginRequestPolicyIdResponseSuccess
1678
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByOriginRequestPolicyIdResult]
1679
+ def distribution_id_list: () -> Types::DistributionIdList
1680
+ end
1681
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_origin_request_policy_id-instance_method
1682
+ def list_distributions_by_origin_request_policy_id: (
1683
+ ?marker: ::String,
1684
+ ?max_items: ::Integer,
1685
+ origin_request_policy_id: ::String
1686
+ ) -> _ListDistributionsByOriginRequestPolicyIdResponseSuccess
1687
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByOriginRequestPolicyIdResponseSuccess
1688
+
1689
+ interface _ListDistributionsByRealtimeLogConfigResponseSuccess
1690
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByRealtimeLogConfigResult]
1691
+ def distribution_list: () -> Types::DistributionList
1692
+ end
1693
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_realtime_log_config-instance_method
1694
+ def list_distributions_by_realtime_log_config: (
1695
+ ?marker: ::String,
1696
+ ?max_items: ::Integer,
1697
+ ?realtime_log_config_name: ::String,
1698
+ ?realtime_log_config_arn: ::String
1699
+ ) -> _ListDistributionsByRealtimeLogConfigResponseSuccess
1700
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByRealtimeLogConfigResponseSuccess
1701
+
1702
+ interface _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
1703
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByResponseHeadersPolicyIdResult]
1704
+ def distribution_id_list: () -> Types::DistributionIdList
1705
+ end
1706
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_response_headers_policy_id-instance_method
1707
+ def list_distributions_by_response_headers_policy_id: (
1708
+ ?marker: ::String,
1709
+ ?max_items: ::Integer,
1710
+ response_headers_policy_id: ::String
1711
+ ) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
1712
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByResponseHeadersPolicyIdResponseSuccess
1713
+
1714
+ interface _ListDistributionsByWebACLIdResponseSuccess
1715
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByWebACLIdResult]
1716
+ def distribution_list: () -> Types::DistributionList
1717
+ end
1718
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_web_acl_id-instance_method
1719
+ def list_distributions_by_web_acl_id: (
1720
+ ?marker: ::String,
1721
+ ?max_items: ::Integer,
1722
+ web_acl_id: ::String
1723
+ ) -> _ListDistributionsByWebACLIdResponseSuccess
1724
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByWebACLIdResponseSuccess
1725
+
1726
+ interface _ListFieldLevelEncryptionConfigsResponseSuccess
1727
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFieldLevelEncryptionConfigsResult]
1728
+ def field_level_encryption_list: () -> Types::FieldLevelEncryptionList
1729
+ end
1730
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_field_level_encryption_configs-instance_method
1731
+ def list_field_level_encryption_configs: (
1732
+ ?marker: ::String,
1733
+ ?max_items: ::Integer
1734
+ ) -> _ListFieldLevelEncryptionConfigsResponseSuccess
1735
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFieldLevelEncryptionConfigsResponseSuccess
1736
+
1737
+ interface _ListFieldLevelEncryptionProfilesResponseSuccess
1738
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFieldLevelEncryptionProfilesResult]
1739
+ def field_level_encryption_profile_list: () -> Types::FieldLevelEncryptionProfileList
1740
+ end
1741
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_field_level_encryption_profiles-instance_method
1742
+ def list_field_level_encryption_profiles: (
1743
+ ?marker: ::String,
1744
+ ?max_items: ::Integer
1745
+ ) -> _ListFieldLevelEncryptionProfilesResponseSuccess
1746
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFieldLevelEncryptionProfilesResponseSuccess
1747
+
1748
+ interface _ListFunctionsResponseSuccess
1749
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFunctionsResult]
1750
+ def function_list: () -> Types::FunctionList
1751
+ end
1752
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_functions-instance_method
1753
+ def list_functions: (
1754
+ ?marker: ::String,
1755
+ ?max_items: ::Integer,
1756
+ ?stage: ("DEVELOPMENT" | "LIVE")
1757
+ ) -> _ListFunctionsResponseSuccess
1758
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFunctionsResponseSuccess
1759
+
1760
+ interface _ListInvalidationsResponseSuccess
1761
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInvalidationsResult]
1762
+ def invalidation_list: () -> Types::InvalidationList
1763
+ end
1764
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_invalidations-instance_method
1765
+ def list_invalidations: (
1766
+ distribution_id: ::String,
1767
+ ?marker: ::String,
1768
+ ?max_items: ::Integer
1769
+ ) -> _ListInvalidationsResponseSuccess
1770
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvalidationsResponseSuccess
1771
+
1772
+ interface _ListKeyGroupsResponseSuccess
1773
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListKeyGroupsResult]
1774
+ def key_group_list: () -> Types::KeyGroupList
1775
+ end
1776
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_key_groups-instance_method
1777
+ def list_key_groups: (
1778
+ ?marker: ::String,
1779
+ ?max_items: ::Integer
1780
+ ) -> _ListKeyGroupsResponseSuccess
1781
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeyGroupsResponseSuccess
1782
+
1783
+ interface _ListKeyValueStoresResponseSuccess
1784
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListKeyValueStoresResult]
1785
+ def key_value_store_list: () -> Types::KeyValueStoreList
1786
+ end
1787
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_key_value_stores-instance_method
1788
+ def list_key_value_stores: (
1789
+ ?marker: ::String,
1790
+ ?max_items: ::Integer,
1791
+ ?status: ::String
1792
+ ) -> _ListKeyValueStoresResponseSuccess
1793
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeyValueStoresResponseSuccess
1794
+
1795
+ interface _ListOriginAccessControlsResponseSuccess
1796
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListOriginAccessControlsResult]
1797
+ def origin_access_control_list: () -> Types::OriginAccessControlList
1798
+ end
1799
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_origin_access_controls-instance_method
1800
+ def list_origin_access_controls: (
1801
+ ?marker: ::String,
1802
+ ?max_items: ::Integer
1803
+ ) -> _ListOriginAccessControlsResponseSuccess
1804
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOriginAccessControlsResponseSuccess
1805
+
1806
+ interface _ListOriginRequestPoliciesResponseSuccess
1807
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListOriginRequestPoliciesResult]
1808
+ def origin_request_policy_list: () -> Types::OriginRequestPolicyList
1809
+ end
1810
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_origin_request_policies-instance_method
1811
+ def list_origin_request_policies: (
1812
+ ?type: ("managed" | "custom"),
1813
+ ?marker: ::String,
1814
+ ?max_items: ::Integer
1815
+ ) -> _ListOriginRequestPoliciesResponseSuccess
1816
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOriginRequestPoliciesResponseSuccess
1817
+
1818
+ interface _ListPublicKeysResponseSuccess
1819
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPublicKeysResult]
1820
+ def public_key_list: () -> Types::PublicKeyList
1821
+ end
1822
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_public_keys-instance_method
1823
+ def list_public_keys: (
1824
+ ?marker: ::String,
1825
+ ?max_items: ::Integer
1826
+ ) -> _ListPublicKeysResponseSuccess
1827
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPublicKeysResponseSuccess
1828
+
1829
+ interface _ListRealtimeLogConfigsResponseSuccess
1830
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRealtimeLogConfigsResult]
1831
+ def realtime_log_configs: () -> Types::RealtimeLogConfigs
1832
+ end
1833
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_realtime_log_configs-instance_method
1834
+ def list_realtime_log_configs: (
1835
+ ?max_items: ::Integer,
1836
+ ?marker: ::String
1837
+ ) -> _ListRealtimeLogConfigsResponseSuccess
1838
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRealtimeLogConfigsResponseSuccess
1839
+
1840
+ interface _ListResponseHeadersPoliciesResponseSuccess
1841
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResponseHeadersPoliciesResult]
1842
+ def response_headers_policy_list: () -> Types::ResponseHeadersPolicyList
1843
+ end
1844
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_response_headers_policies-instance_method
1845
+ def list_response_headers_policies: (
1846
+ ?type: ("managed" | "custom"),
1847
+ ?marker: ::String,
1848
+ ?max_items: ::Integer
1849
+ ) -> _ListResponseHeadersPoliciesResponseSuccess
1850
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResponseHeadersPoliciesResponseSuccess
1851
+
1852
+ interface _ListStreamingDistributionsResponseSuccess
1853
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStreamingDistributionsResult]
1854
+ def streaming_distribution_list: () -> Types::StreamingDistributionList
1855
+ end
1856
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_streaming_distributions-instance_method
1857
+ def list_streaming_distributions: (
1858
+ ?marker: ::String,
1859
+ ?max_items: ::Integer
1860
+ ) -> _ListStreamingDistributionsResponseSuccess
1861
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStreamingDistributionsResponseSuccess
1862
+
1863
+ interface _ListTagsForResourceResponseSuccess
1864
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResult]
1865
+ def tags: () -> Types::Tags
1866
+ end
1867
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_tags_for_resource-instance_method
1868
+ def list_tags_for_resource: (
1869
+ resource: ::String
1870
+ ) -> _ListTagsForResourceResponseSuccess
1871
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
1872
+
1873
+ interface _PublishFunctionResponseSuccess
1874
+ include ::Seahorse::Client::_ResponseSuccess[Types::PublishFunctionResult]
1875
+ def function_summary: () -> Types::FunctionSummary
1876
+ end
1877
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#publish_function-instance_method
1878
+ def publish_function: (
1879
+ name: ::String,
1880
+ if_match: ::String
1881
+ ) -> _PublishFunctionResponseSuccess
1882
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishFunctionResponseSuccess
1883
+
1884
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#tag_resource-instance_method
1885
+ def tag_resource: (
1886
+ resource: ::String,
1887
+ tags: {
1888
+ items: Array[
1889
+ {
1890
+ key: ::String,
1891
+ value: ::String?
1892
+ },
1893
+ ]?
1894
+ }
1895
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1896
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1897
+
1898
+ interface _TestFunctionResponseSuccess
1899
+ include ::Seahorse::Client::_ResponseSuccess[Types::TestFunctionResult]
1900
+ def test_result: () -> Types::TestResult
1901
+ end
1902
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#test_function-instance_method
1903
+ def test_function: (
1904
+ name: ::String,
1905
+ if_match: ::String,
1906
+ ?stage: ("DEVELOPMENT" | "LIVE"),
1907
+ event_object: ::String
1908
+ ) -> _TestFunctionResponseSuccess
1909
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestFunctionResponseSuccess
1910
+
1911
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#untag_resource-instance_method
1912
+ def untag_resource: (
1913
+ resource: ::String,
1914
+ tag_keys: {
1915
+ items: Array[::String]?
1916
+ }
1917
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1918
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1919
+
1920
+ interface _UpdateCachePolicyResponseSuccess
1921
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCachePolicyResult]
1922
+ def cache_policy: () -> Types::CachePolicy
1923
+ def etag: () -> ::String
1924
+ end
1925
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_cache_policy-instance_method
1926
+ def update_cache_policy: (
1927
+ cache_policy_config: {
1928
+ comment: ::String?,
1929
+ name: ::String,
1930
+ default_ttl: ::Integer?,
1931
+ max_ttl: ::Integer?,
1932
+ min_ttl: ::Integer,
1933
+ parameters_in_cache_key_and_forwarded_to_origin: {
1934
+ enable_accept_encoding_gzip: bool,
1935
+ enable_accept_encoding_brotli: bool?,
1936
+ headers_config: {
1937
+ header_behavior: ("none" | "whitelist"),
1938
+ headers: {
1939
+ quantity: ::Integer,
1940
+ items: Array[::String]?
1941
+ }?
1942
+ },
1943
+ cookies_config: {
1944
+ cookie_behavior: ("none" | "whitelist" | "allExcept" | "all"),
1945
+ cookies: {
1946
+ quantity: ::Integer,
1947
+ items: Array[::String]?
1948
+ }?
1949
+ },
1950
+ query_strings_config: {
1951
+ query_string_behavior: ("none" | "whitelist" | "allExcept" | "all"),
1952
+ query_strings: {
1953
+ quantity: ::Integer,
1954
+ items: Array[::String]?
1955
+ }?
1956
+ }
1957
+ }?
1958
+ },
1959
+ id: ::String,
1960
+ ?if_match: ::String
1961
+ ) -> _UpdateCachePolicyResponseSuccess
1962
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCachePolicyResponseSuccess
1963
+
1964
+ interface _UpdateCloudFrontOriginAccessIdentityResponseSuccess
1965
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCloudFrontOriginAccessIdentityResult]
1966
+ def cloud_front_origin_access_identity: () -> Types::CloudFrontOriginAccessIdentity
1967
+ def etag: () -> ::String
1968
+ end
1969
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_cloud_front_origin_access_identity-instance_method
1970
+ def update_cloud_front_origin_access_identity: (
1971
+ cloud_front_origin_access_identity_config: {
1972
+ caller_reference: ::String,
1973
+ comment: ::String
1974
+ },
1975
+ id: ::String,
1976
+ ?if_match: ::String
1977
+ ) -> _UpdateCloudFrontOriginAccessIdentityResponseSuccess
1978
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCloudFrontOriginAccessIdentityResponseSuccess
1979
+
1980
+ interface _UpdateContinuousDeploymentPolicyResponseSuccess
1981
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateContinuousDeploymentPolicyResult]
1982
+ def continuous_deployment_policy: () -> Types::ContinuousDeploymentPolicy
1983
+ def etag: () -> ::String
1984
+ end
1985
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_continuous_deployment_policy-instance_method
1986
+ def update_continuous_deployment_policy: (
1987
+ continuous_deployment_policy_config: {
1988
+ staging_distribution_dns_names: {
1989
+ quantity: ::Integer,
1990
+ items: Array[::String]?
1991
+ },
1992
+ enabled: bool,
1993
+ traffic_config: {
1994
+ single_weight_config: {
1995
+ weight: ::Float,
1996
+ session_stickiness_config: {
1997
+ idle_ttl: ::Integer,
1998
+ maximum_ttl: ::Integer
1999
+ }?
2000
+ }?,
2001
+ single_header_config: {
2002
+ header: ::String,
2003
+ value: ::String
2004
+ }?,
2005
+ type: ("SingleWeight" | "SingleHeader")
2006
+ }?
2007
+ },
2008
+ id: ::String,
2009
+ ?if_match: ::String
2010
+ ) -> _UpdateContinuousDeploymentPolicyResponseSuccess
2011
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContinuousDeploymentPolicyResponseSuccess
2012
+
2013
+ interface _UpdateDistributionResponseSuccess
2014
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDistributionResult]
2015
+ def distribution: () -> Types::Distribution
2016
+ def etag: () -> ::String
2017
+ end
2018
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_distribution-instance_method
2019
+ def update_distribution: (
2020
+ distribution_config: {
2021
+ caller_reference: ::String,
2022
+ aliases: {
2023
+ quantity: ::Integer,
2024
+ items: Array[::String]?
2025
+ }?,
2026
+ default_root_object: ::String?,
2027
+ origins: {
2028
+ quantity: ::Integer,
2029
+ items: Array[
2030
+ {
2031
+ id: ::String,
2032
+ domain_name: ::String,
2033
+ origin_path: ::String?,
2034
+ custom_headers: {
2035
+ quantity: ::Integer,
2036
+ items: Array[
2037
+ {
2038
+ header_name: ::String,
2039
+ header_value: ::String
2040
+ },
2041
+ ]?
2042
+ }?,
2043
+ s3_origin_config: {
2044
+ origin_access_identity: ::String
2045
+ }?,
2046
+ custom_origin_config: {
2047
+ http_port: ::Integer,
2048
+ https_port: ::Integer,
2049
+ origin_protocol_policy: ("http-only" | "match-viewer" | "https-only"),
2050
+ origin_ssl_protocols: {
2051
+ quantity: ::Integer,
2052
+ items: Array[("SSLv3" | "TLSv1" | "TLSv1.1" | "TLSv1.2")]
2053
+ }?,
2054
+ origin_read_timeout: ::Integer?,
2055
+ origin_keepalive_timeout: ::Integer?
2056
+ }?,
2057
+ connection_attempts: ::Integer?,
2058
+ connection_timeout: ::Integer?,
2059
+ origin_shield: {
2060
+ enabled: bool,
2061
+ origin_shield_region: ::String?
2062
+ }?,
2063
+ origin_access_control_id: ::String?
2064
+ },
2065
+ ]
2066
+ },
2067
+ origin_groups: {
2068
+ quantity: ::Integer,
2069
+ items: Array[
2070
+ {
2071
+ id: ::String,
2072
+ failover_criteria: {
2073
+ status_codes: {
2074
+ quantity: ::Integer,
2075
+ items: Array[::Integer]
2076
+ }
2077
+ },
2078
+ members: {
2079
+ quantity: ::Integer,
2080
+ items: Array[
2081
+ {
2082
+ origin_id: ::String
2083
+ },
2084
+ ]
2085
+ }
2086
+ },
2087
+ ]?
2088
+ }?,
2089
+ default_cache_behavior: {
2090
+ target_origin_id: ::String,
2091
+ trusted_signers: {
2092
+ enabled: bool,
2093
+ quantity: ::Integer,
2094
+ items: Array[::String]?
2095
+ }?,
2096
+ trusted_key_groups: {
2097
+ enabled: bool,
2098
+ quantity: ::Integer,
2099
+ items: Array[::String]?
2100
+ }?,
2101
+ viewer_protocol_policy: ("allow-all" | "https-only" | "redirect-to-https"),
2102
+ allowed_methods: {
2103
+ quantity: ::Integer,
2104
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")],
2105
+ cached_methods: {
2106
+ quantity: ::Integer,
2107
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")]
2108
+ }?
2109
+ }?,
2110
+ smooth_streaming: bool?,
2111
+ compress: bool?,
2112
+ lambda_function_associations: {
2113
+ quantity: ::Integer,
2114
+ items: Array[
2115
+ {
2116
+ lambda_function_arn: ::String,
2117
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response"),
2118
+ include_body: bool?
2119
+ },
2120
+ ]?
2121
+ }?,
2122
+ function_associations: {
2123
+ quantity: ::Integer,
2124
+ items: Array[
2125
+ {
2126
+ function_arn: ::String,
2127
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response")
2128
+ },
2129
+ ]?
2130
+ }?,
2131
+ field_level_encryption_id: ::String?,
2132
+ realtime_log_config_arn: ::String?,
2133
+ cache_policy_id: ::String?,
2134
+ origin_request_policy_id: ::String?,
2135
+ response_headers_policy_id: ::String?,
2136
+ forwarded_values: {
2137
+ query_string: bool,
2138
+ cookies: {
2139
+ forward: ("none" | "whitelist" | "all"),
2140
+ whitelisted_names: {
2141
+ quantity: ::Integer,
2142
+ items: Array[::String]?
2143
+ }?
2144
+ },
2145
+ headers: {
2146
+ quantity: ::Integer,
2147
+ items: Array[::String]?
2148
+ }?,
2149
+ query_string_cache_keys: {
2150
+ quantity: ::Integer,
2151
+ items: Array[::String]?
2152
+ }?
2153
+ }?,
2154
+ min_ttl: ::Integer?,
2155
+ default_ttl: ::Integer?,
2156
+ max_ttl: ::Integer?
2157
+ },
2158
+ cache_behaviors: {
2159
+ quantity: ::Integer,
2160
+ items: Array[
2161
+ {
2162
+ path_pattern: ::String,
2163
+ target_origin_id: ::String,
2164
+ trusted_signers: {
2165
+ enabled: bool,
2166
+ quantity: ::Integer,
2167
+ items: Array[::String]?
2168
+ }?,
2169
+ trusted_key_groups: {
2170
+ enabled: bool,
2171
+ quantity: ::Integer,
2172
+ items: Array[::String]?
2173
+ }?,
2174
+ viewer_protocol_policy: ("allow-all" | "https-only" | "redirect-to-https"),
2175
+ allowed_methods: {
2176
+ quantity: ::Integer,
2177
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")],
2178
+ cached_methods: {
2179
+ quantity: ::Integer,
2180
+ items: Array[("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE")]
2181
+ }?
2182
+ }?,
2183
+ smooth_streaming: bool?,
2184
+ compress: bool?,
2185
+ lambda_function_associations: {
2186
+ quantity: ::Integer,
2187
+ items: Array[
2188
+ {
2189
+ lambda_function_arn: ::String,
2190
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response"),
2191
+ include_body: bool?
2192
+ },
2193
+ ]?
2194
+ }?,
2195
+ function_associations: {
2196
+ quantity: ::Integer,
2197
+ items: Array[
2198
+ {
2199
+ function_arn: ::String,
2200
+ event_type: ("viewer-request" | "viewer-response" | "origin-request" | "origin-response")
2201
+ },
2202
+ ]?
2203
+ }?,
2204
+ field_level_encryption_id: ::String?,
2205
+ realtime_log_config_arn: ::String?,
2206
+ cache_policy_id: ::String?,
2207
+ origin_request_policy_id: ::String?,
2208
+ response_headers_policy_id: ::String?,
2209
+ forwarded_values: {
2210
+ query_string: bool,
2211
+ cookies: {
2212
+ forward: ("none" | "whitelist" | "all"),
2213
+ whitelisted_names: {
2214
+ quantity: ::Integer,
2215
+ items: Array[::String]?
2216
+ }?
2217
+ },
2218
+ headers: {
2219
+ quantity: ::Integer,
2220
+ items: Array[::String]?
2221
+ }?,
2222
+ query_string_cache_keys: {
2223
+ quantity: ::Integer,
2224
+ items: Array[::String]?
2225
+ }?
2226
+ }?,
2227
+ min_ttl: ::Integer?,
2228
+ default_ttl: ::Integer?,
2229
+ max_ttl: ::Integer?
2230
+ },
2231
+ ]?
2232
+ }?,
2233
+ custom_error_responses: {
2234
+ quantity: ::Integer,
2235
+ items: Array[
2236
+ {
2237
+ error_code: ::Integer,
2238
+ response_page_path: ::String?,
2239
+ response_code: ::String?,
2240
+ error_caching_min_ttl: ::Integer?
2241
+ },
2242
+ ]?
2243
+ }?,
2244
+ comment: ::String,
2245
+ logging: {
2246
+ enabled: bool,
2247
+ include_cookies: bool,
2248
+ bucket: ::String,
2249
+ prefix: ::String
2250
+ }?,
2251
+ price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
2252
+ enabled: bool,
2253
+ viewer_certificate: {
2254
+ cloud_front_default_certificate: bool?,
2255
+ iam_certificate_id: ::String?,
2256
+ acm_certificate_arn: ::String?,
2257
+ ssl_support_method: ("sni-only" | "vip" | "static-ip")?,
2258
+ minimum_protocol_version: ("SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021")?,
2259
+ certificate: ::String?,
2260
+ certificate_source: ("cloudfront" | "iam" | "acm")?
2261
+ }?,
2262
+ restrictions: {
2263
+ geo_restriction: {
2264
+ restriction_type: ("blacklist" | "whitelist" | "none"),
2265
+ quantity: ::Integer,
2266
+ items: Array[::String]?
2267
+ }
2268
+ }?,
2269
+ web_acl_id: ::String?,
2270
+ http_version: ("http1.1" | "http2" | "http3" | "http2and3")?,
2271
+ is_ipv6_enabled: bool?,
2272
+ continuous_deployment_policy_id: ::String?,
2273
+ staging: bool?
2274
+ },
2275
+ id: ::String,
2276
+ ?if_match: ::String
2277
+ ) -> _UpdateDistributionResponseSuccess
2278
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDistributionResponseSuccess
2279
+
2280
+ interface _UpdateDistributionWithStagingConfigResponseSuccess
2281
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDistributionWithStagingConfigResult]
2282
+ def distribution: () -> Types::Distribution
2283
+ def etag: () -> ::String
2284
+ end
2285
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_distribution_with_staging_config-instance_method
2286
+ def update_distribution_with_staging_config: (
2287
+ id: ::String,
2288
+ ?staging_distribution_id: ::String,
2289
+ ?if_match: ::String
2290
+ ) -> _UpdateDistributionWithStagingConfigResponseSuccess
2291
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDistributionWithStagingConfigResponseSuccess
2292
+
2293
+ interface _UpdateFieldLevelEncryptionConfigResponseSuccess
2294
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFieldLevelEncryptionConfigResult]
2295
+ def field_level_encryption: () -> Types::FieldLevelEncryption
2296
+ def etag: () -> ::String
2297
+ end
2298
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_field_level_encryption_config-instance_method
2299
+ def update_field_level_encryption_config: (
2300
+ field_level_encryption_config: {
2301
+ caller_reference: ::String,
2302
+ comment: ::String?,
2303
+ query_arg_profile_config: {
2304
+ forward_when_query_arg_profile_is_unknown: bool,
2305
+ query_arg_profiles: {
2306
+ quantity: ::Integer,
2307
+ items: Array[
2308
+ {
2309
+ query_arg: ::String,
2310
+ profile_id: ::String
2311
+ },
2312
+ ]?
2313
+ }?
2314
+ }?,
2315
+ content_type_profile_config: {
2316
+ forward_when_content_type_is_unknown: bool,
2317
+ content_type_profiles: {
2318
+ quantity: ::Integer,
2319
+ items: Array[
2320
+ {
2321
+ format: ("URLEncoded"),
2322
+ profile_id: ::String?,
2323
+ content_type: ::String
2324
+ },
2325
+ ]?
2326
+ }?
2327
+ }?
2328
+ },
2329
+ id: ::String,
2330
+ ?if_match: ::String
2331
+ ) -> _UpdateFieldLevelEncryptionConfigResponseSuccess
2332
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFieldLevelEncryptionConfigResponseSuccess
2333
+
2334
+ interface _UpdateFieldLevelEncryptionProfileResponseSuccess
2335
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFieldLevelEncryptionProfileResult]
2336
+ def field_level_encryption_profile: () -> Types::FieldLevelEncryptionProfile
2337
+ def etag: () -> ::String
2338
+ end
2339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_field_level_encryption_profile-instance_method
2340
+ def update_field_level_encryption_profile: (
2341
+ field_level_encryption_profile_config: {
2342
+ name: ::String,
2343
+ caller_reference: ::String,
2344
+ comment: ::String?,
2345
+ encryption_entities: {
2346
+ quantity: ::Integer,
2347
+ items: Array[
2348
+ {
2349
+ public_key_id: ::String,
2350
+ provider_id: ::String,
2351
+ field_patterns: {
2352
+ quantity: ::Integer,
2353
+ items: Array[::String]?
2354
+ }
2355
+ },
2356
+ ]?
2357
+ }
2358
+ },
2359
+ id: ::String,
2360
+ ?if_match: ::String
2361
+ ) -> _UpdateFieldLevelEncryptionProfileResponseSuccess
2362
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFieldLevelEncryptionProfileResponseSuccess
2363
+
2364
+ interface _UpdateFunctionResponseSuccess
2365
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFunctionResult]
2366
+ def function_summary: () -> Types::FunctionSummary
2367
+ def etag: () -> ::String
2368
+ end
2369
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_function-instance_method
2370
+ def update_function: (
2371
+ name: ::String,
2372
+ if_match: ::String,
2373
+ function_config: {
2374
+ comment: ::String,
2375
+ runtime: ("cloudfront-js-1.0" | "cloudfront-js-2.0"),
2376
+ key_value_store_associations: {
2377
+ quantity: ::Integer,
2378
+ items: Array[
2379
+ {
2380
+ key_value_store_arn: ::String
2381
+ },
2382
+ ]?
2383
+ }?
2384
+ },
2385
+ function_code: ::String
2386
+ ) -> _UpdateFunctionResponseSuccess
2387
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFunctionResponseSuccess
2388
+
2389
+ interface _UpdateKeyGroupResponseSuccess
2390
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateKeyGroupResult]
2391
+ def key_group: () -> Types::KeyGroup
2392
+ def etag: () -> ::String
2393
+ end
2394
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_key_group-instance_method
2395
+ def update_key_group: (
2396
+ key_group_config: {
2397
+ name: ::String,
2398
+ items: Array[::String],
2399
+ comment: ::String?
2400
+ },
2401
+ id: ::String,
2402
+ ?if_match: ::String
2403
+ ) -> _UpdateKeyGroupResponseSuccess
2404
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKeyGroupResponseSuccess
2405
+
2406
+ interface _UpdateKeyValueStoreResponseSuccess
2407
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateKeyValueStoreResult]
2408
+ def key_value_store: () -> Types::KeyValueStore
2409
+ def etag: () -> ::String
2410
+ end
2411
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_key_value_store-instance_method
2412
+ def update_key_value_store: (
2413
+ name: ::String,
2414
+ comment: ::String,
2415
+ if_match: ::String
2416
+ ) -> _UpdateKeyValueStoreResponseSuccess
2417
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKeyValueStoreResponseSuccess
2418
+
2419
+ interface _UpdateOriginAccessControlResponseSuccess
2420
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOriginAccessControlResult]
2421
+ def origin_access_control: () -> Types::OriginAccessControl
2422
+ def etag: () -> ::String
2423
+ end
2424
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_origin_access_control-instance_method
2425
+ def update_origin_access_control: (
2426
+ origin_access_control_config: {
2427
+ name: ::String,
2428
+ description: ::String?,
2429
+ signing_protocol: ("sigv4"),
2430
+ signing_behavior: ("never" | "always" | "no-override"),
2431
+ origin_access_control_origin_type: ("s3" | "mediastore")
2432
+ },
2433
+ id: ::String,
2434
+ ?if_match: ::String
2435
+ ) -> _UpdateOriginAccessControlResponseSuccess
2436
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOriginAccessControlResponseSuccess
2437
+
2438
+ interface _UpdateOriginRequestPolicyResponseSuccess
2439
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOriginRequestPolicyResult]
2440
+ def origin_request_policy: () -> Types::OriginRequestPolicy
2441
+ def etag: () -> ::String
2442
+ end
2443
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_origin_request_policy-instance_method
2444
+ def update_origin_request_policy: (
2445
+ origin_request_policy_config: {
2446
+ comment: ::String?,
2447
+ name: ::String,
2448
+ headers_config: {
2449
+ header_behavior: ("none" | "whitelist" | "allViewer" | "allViewerAndWhitelistCloudFront" | "allExcept"),
2450
+ headers: {
2451
+ quantity: ::Integer,
2452
+ items: Array[::String]?
2453
+ }?
2454
+ },
2455
+ cookies_config: {
2456
+ cookie_behavior: ("none" | "whitelist" | "all" | "allExcept"),
2457
+ cookies: {
2458
+ quantity: ::Integer,
2459
+ items: Array[::String]?
2460
+ }?
2461
+ },
2462
+ query_strings_config: {
2463
+ query_string_behavior: ("none" | "whitelist" | "all" | "allExcept"),
2464
+ query_strings: {
2465
+ quantity: ::Integer,
2466
+ items: Array[::String]?
2467
+ }?
2468
+ }
2469
+ },
2470
+ id: ::String,
2471
+ ?if_match: ::String
2472
+ ) -> _UpdateOriginRequestPolicyResponseSuccess
2473
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOriginRequestPolicyResponseSuccess
2474
+
2475
+ interface _UpdatePublicKeyResponseSuccess
2476
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePublicKeyResult]
2477
+ def public_key: () -> Types::PublicKey
2478
+ def etag: () -> ::String
2479
+ end
2480
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_public_key-instance_method
2481
+ def update_public_key: (
2482
+ public_key_config: {
2483
+ caller_reference: ::String,
2484
+ name: ::String,
2485
+ encoded_key: ::String,
2486
+ comment: ::String?
2487
+ },
2488
+ id: ::String,
2489
+ ?if_match: ::String
2490
+ ) -> _UpdatePublicKeyResponseSuccess
2491
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePublicKeyResponseSuccess
2492
+
2493
+ interface _UpdateRealtimeLogConfigResponseSuccess
2494
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRealtimeLogConfigResult]
2495
+ def realtime_log_config: () -> Types::RealtimeLogConfig
2496
+ end
2497
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_realtime_log_config-instance_method
2498
+ def update_realtime_log_config: (
2499
+ ?end_points: Array[
2500
+ {
2501
+ stream_type: ::String,
2502
+ kinesis_stream_config: {
2503
+ role_arn: ::String,
2504
+ stream_arn: ::String
2505
+ }?
2506
+ },
2507
+ ],
2508
+ ?fields: Array[::String],
2509
+ ?name: ::String,
2510
+ ?arn: ::String,
2511
+ ?sampling_rate: ::Integer
2512
+ ) -> _UpdateRealtimeLogConfigResponseSuccess
2513
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRealtimeLogConfigResponseSuccess
2514
+
2515
+ interface _UpdateResponseHeadersPolicyResponseSuccess
2516
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResponseHeadersPolicyResult]
2517
+ def response_headers_policy: () -> Types::ResponseHeadersPolicy
2518
+ def etag: () -> ::String
2519
+ end
2520
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_response_headers_policy-instance_method
2521
+ def update_response_headers_policy: (
2522
+ response_headers_policy_config: {
2523
+ comment: ::String?,
2524
+ name: ::String,
2525
+ cors_config: {
2526
+ access_control_allow_origins: {
2527
+ quantity: ::Integer,
2528
+ items: Array[::String]
2529
+ },
2530
+ access_control_allow_headers: {
2531
+ quantity: ::Integer,
2532
+ items: Array[::String]
2533
+ },
2534
+ access_control_allow_methods: {
2535
+ quantity: ::Integer,
2536
+ items: Array[("GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "ALL")]
2537
+ },
2538
+ access_control_allow_credentials: bool,
2539
+ access_control_expose_headers: {
2540
+ quantity: ::Integer,
2541
+ items: Array[::String]?
2542
+ }?,
2543
+ access_control_max_age_sec: ::Integer?,
2544
+ origin_override: bool
2545
+ }?,
2546
+ security_headers_config: {
2547
+ xss_protection: {
2548
+ override: bool,
2549
+ protection: bool,
2550
+ mode_block: bool?,
2551
+ report_uri: ::String?
2552
+ }?,
2553
+ frame_options: {
2554
+ override: bool,
2555
+ frame_option: ("DENY" | "SAMEORIGIN")
2556
+ }?,
2557
+ referrer_policy: {
2558
+ override: bool,
2559
+ referrer_policy: ("no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url")
2560
+ }?,
2561
+ content_security_policy: {
2562
+ override: bool,
2563
+ content_security_policy: ::String
2564
+ }?,
2565
+ content_type_options: {
2566
+ override: bool
2567
+ }?,
2568
+ strict_transport_security: {
2569
+ override: bool,
2570
+ include_subdomains: bool?,
2571
+ preload: bool?,
2572
+ access_control_max_age_sec: ::Integer
2573
+ }?
2574
+ }?,
2575
+ server_timing_headers_config: {
2576
+ enabled: bool,
2577
+ sampling_rate: ::Float?
2578
+ }?,
2579
+ custom_headers_config: {
2580
+ quantity: ::Integer,
2581
+ items: Array[
2582
+ {
2583
+ header: ::String,
2584
+ value: ::String,
2585
+ override: bool
2586
+ },
2587
+ ]?
2588
+ }?,
2589
+ remove_headers_config: {
2590
+ quantity: ::Integer,
2591
+ items: Array[
2592
+ {
2593
+ header: ::String
2594
+ },
2595
+ ]?
2596
+ }?
2597
+ },
2598
+ id: ::String,
2599
+ ?if_match: ::String
2600
+ ) -> _UpdateResponseHeadersPolicyResponseSuccess
2601
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResponseHeadersPolicyResponseSuccess
2602
+
2603
+ interface _UpdateStreamingDistributionResponseSuccess
2604
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStreamingDistributionResult]
2605
+ def streaming_distribution: () -> Types::StreamingDistribution
2606
+ def etag: () -> ::String
2607
+ end
2608
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_streaming_distribution-instance_method
2609
+ def update_streaming_distribution: (
2610
+ streaming_distribution_config: {
2611
+ caller_reference: ::String,
2612
+ s3_origin: {
2613
+ domain_name: ::String,
2614
+ origin_access_identity: ::String
2615
+ },
2616
+ aliases: {
2617
+ quantity: ::Integer,
2618
+ items: Array[::String]?
2619
+ }?,
2620
+ comment: ::String,
2621
+ logging: {
2622
+ enabled: bool,
2623
+ bucket: ::String,
2624
+ prefix: ::String
2625
+ }?,
2626
+ trusted_signers: {
2627
+ enabled: bool,
2628
+ quantity: ::Integer,
2629
+ items: Array[::String]?
2630
+ },
2631
+ price_class: ("PriceClass_100" | "PriceClass_200" | "PriceClass_All")?,
2632
+ enabled: bool
2633
+ },
2634
+ id: ::String,
2635
+ ?if_match: ::String
2636
+ ) -> _UpdateStreamingDistributionResponseSuccess
2637
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStreamingDistributionResponseSuccess
2638
+
2639
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#wait_until-instance_method
2640
+ def wait_until: (:distribution_deployed waiter_name,
2641
+ id: ::String
2642
+ ) -> Client::_GetDistributionResponseSuccess
2643
+ | (:distribution_deployed waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetDistributionResponseSuccess
2644
+ | (:invalidation_completed waiter_name,
2645
+ distribution_id: ::String,
2646
+ id: ::String
2647
+ ) -> Client::_GetInvalidationResponseSuccess
2648
+ | (:invalidation_completed waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetInvalidationResponseSuccess
2649
+ | (:streaming_distribution_deployed waiter_name,
2650
+ id: ::String
2651
+ ) -> Client::_GetStreamingDistributionResponseSuccess
2652
+ | (:streaming_distribution_deployed waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetStreamingDistributionResponseSuccess
2653
+ end
2654
+ end
2655
+ end
2656
+