aws-sdk-cloudfront 1.38.0 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +541 -11
- data/lib/aws-sdk-cloudfront/client_api.rb +198 -0
- data/lib/aws-sdk-cloudfront/errors.rb +64 -0
- data/lib/aws-sdk-cloudfront/types.rb +570 -6
- metadata +2 -2
@@ -308,6 +308,7 @@ module Aws::CloudFront
|
|
308
308
|
# ],
|
309
309
|
# },
|
310
310
|
# field_level_encryption_id: "string",
|
311
|
+
# realtime_log_config_arn: "string",
|
311
312
|
# cache_policy_id: "string",
|
312
313
|
# origin_request_policy_id: "string",
|
313
314
|
# forwarded_values: {
|
@@ -475,6 +476,16 @@ module Aws::CloudFront
|
|
475
476
|
# for this cache behavior.
|
476
477
|
# @return [String]
|
477
478
|
#
|
479
|
+
# @!attribute [rw] realtime_log_config_arn
|
480
|
+
# The Amazon Resource Name (ARN) of the real-time log configuration
|
481
|
+
# that is attached to this cache behavior. For more information, see
|
482
|
+
# [Real-time logs][1] in the *Amazon CloudFront Developer Guide*.
|
483
|
+
#
|
484
|
+
#
|
485
|
+
#
|
486
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html
|
487
|
+
# @return [String]
|
488
|
+
#
|
478
489
|
# @!attribute [rw] cache_policy_id
|
479
490
|
# The unique identifier of the cache policy that is attached to this
|
480
491
|
# cache behavior. For more information, see [Creating cache
|
@@ -606,6 +617,7 @@ module Aws::CloudFront
|
|
606
617
|
:compress,
|
607
618
|
:lambda_function_associations,
|
608
619
|
:field_level_encryption_id,
|
620
|
+
:realtime_log_config_arn,
|
609
621
|
:cache_policy_id,
|
610
622
|
:origin_request_policy_id,
|
611
623
|
:forwarded_values,
|
@@ -654,6 +666,7 @@ module Aws::CloudFront
|
|
654
666
|
# ],
|
655
667
|
# },
|
656
668
|
# field_level_encryption_id: "string",
|
669
|
+
# realtime_log_config_arn: "string",
|
657
670
|
# cache_policy_id: "string",
|
658
671
|
# origin_request_policy_id: "string",
|
659
672
|
# forwarded_values: {
|
@@ -1823,6 +1836,7 @@ module Aws::CloudFront
|
|
1823
1836
|
# ],
|
1824
1837
|
# },
|
1825
1838
|
# field_level_encryption_id: "string",
|
1839
|
+
# realtime_log_config_arn: "string",
|
1826
1840
|
# cache_policy_id: "string",
|
1827
1841
|
# origin_request_policy_id: "string",
|
1828
1842
|
# forwarded_values: {
|
@@ -1880,6 +1894,7 @@ module Aws::CloudFront
|
|
1880
1894
|
# ],
|
1881
1895
|
# },
|
1882
1896
|
# field_level_encryption_id: "string",
|
1897
|
+
# realtime_log_config_arn: "string",
|
1883
1898
|
# cache_policy_id: "string",
|
1884
1899
|
# origin_request_policy_id: "string",
|
1885
1900
|
# forwarded_values: {
|
@@ -1930,7 +1945,7 @@ module Aws::CloudFront
|
|
1930
1945
|
# cloud_front_default_certificate: false,
|
1931
1946
|
# iam_certificate_id: "string",
|
1932
1947
|
# acm_certificate_arn: "string",
|
1933
|
-
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
1948
|
+
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
1934
1949
|
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
1935
1950
|
# certificate: "string",
|
1936
1951
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
@@ -2085,6 +2100,7 @@ module Aws::CloudFront
|
|
2085
2100
|
# ],
|
2086
2101
|
# },
|
2087
2102
|
# field_level_encryption_id: "string",
|
2103
|
+
# realtime_log_config_arn: "string",
|
2088
2104
|
# cache_policy_id: "string",
|
2089
2105
|
# origin_request_policy_id: "string",
|
2090
2106
|
# forwarded_values: {
|
@@ -2142,6 +2158,7 @@ module Aws::CloudFront
|
|
2142
2158
|
# ],
|
2143
2159
|
# },
|
2144
2160
|
# field_level_encryption_id: "string",
|
2161
|
+
# realtime_log_config_arn: "string",
|
2145
2162
|
# cache_policy_id: "string",
|
2146
2163
|
# origin_request_policy_id: "string",
|
2147
2164
|
# forwarded_values: {
|
@@ -2192,7 +2209,7 @@ module Aws::CloudFront
|
|
2192
2209
|
# cloud_front_default_certificate: false,
|
2193
2210
|
# iam_certificate_id: "string",
|
2194
2211
|
# acm_certificate_arn: "string",
|
2195
|
-
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
2212
|
+
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
2196
2213
|
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
2197
2214
|
# certificate: "string",
|
2198
2215
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
@@ -2596,6 +2613,74 @@ module Aws::CloudFront
|
|
2596
2613
|
include Aws::Structure
|
2597
2614
|
end
|
2598
2615
|
|
2616
|
+
# @note When making an API call, you may pass CreateRealtimeLogConfigRequest
|
2617
|
+
# data as a hash:
|
2618
|
+
#
|
2619
|
+
# {
|
2620
|
+
# end_points: [ # required
|
2621
|
+
# {
|
2622
|
+
# stream_type: "string", # required
|
2623
|
+
# kinesis_stream_config: {
|
2624
|
+
# role_arn: "string", # required
|
2625
|
+
# stream_arn: "string", # required
|
2626
|
+
# },
|
2627
|
+
# },
|
2628
|
+
# ],
|
2629
|
+
# fields: ["string"], # required
|
2630
|
+
# name: "string", # required
|
2631
|
+
# sampling_rate: 1, # required
|
2632
|
+
# }
|
2633
|
+
#
|
2634
|
+
# @!attribute [rw] end_points
|
2635
|
+
# Contains information about the Amazon Kinesis data stream where you
|
2636
|
+
# are sending real-time log data.
|
2637
|
+
# @return [Array<Types::EndPoint>]
|
2638
|
+
#
|
2639
|
+
# @!attribute [rw] fields
|
2640
|
+
# A list of fields to include in each real-time log record.
|
2641
|
+
#
|
2642
|
+
# For more information about fields, see [Real-time log configuration
|
2643
|
+
# fields][1] in the *Amazon CloudFront Developer Guide*.
|
2644
|
+
#
|
2645
|
+
#
|
2646
|
+
#
|
2647
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
|
2648
|
+
# @return [Array<String>]
|
2649
|
+
#
|
2650
|
+
# @!attribute [rw] name
|
2651
|
+
# A unique name to identify this real-time log configuration.
|
2652
|
+
# @return [String]
|
2653
|
+
#
|
2654
|
+
# @!attribute [rw] sampling_rate
|
2655
|
+
# The sampling rate for this real-time log configuration. The sampling
|
2656
|
+
# rate determines the percentage of viewer requests that are
|
2657
|
+
# represented in the real-time log data. You must provide an integer
|
2658
|
+
# between 1 and 100, inclusive.
|
2659
|
+
# @return [Integer]
|
2660
|
+
#
|
2661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfigRequest AWS API Documentation
|
2662
|
+
#
|
2663
|
+
class CreateRealtimeLogConfigRequest < Struct.new(
|
2664
|
+
:end_points,
|
2665
|
+
:fields,
|
2666
|
+
:name,
|
2667
|
+
:sampling_rate)
|
2668
|
+
SENSITIVE = []
|
2669
|
+
include Aws::Structure
|
2670
|
+
end
|
2671
|
+
|
2672
|
+
# @!attribute [rw] realtime_log_config
|
2673
|
+
# A real-time log configuration.
|
2674
|
+
# @return [Types::RealtimeLogConfig]
|
2675
|
+
#
|
2676
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfigResult AWS API Documentation
|
2677
|
+
#
|
2678
|
+
class CreateRealtimeLogConfigResult < Struct.new(
|
2679
|
+
:realtime_log_config)
|
2680
|
+
SENSITIVE = []
|
2681
|
+
include Aws::Structure
|
2682
|
+
end
|
2683
|
+
|
2599
2684
|
# The request to create a new streaming distribution.
|
2600
2685
|
#
|
2601
2686
|
# @note When making an API call, you may pass CreateStreamingDistributionRequest
|
@@ -3077,6 +3162,7 @@ module Aws::CloudFront
|
|
3077
3162
|
# ],
|
3078
3163
|
# },
|
3079
3164
|
# field_level_encryption_id: "string",
|
3165
|
+
# realtime_log_config_arn: "string",
|
3080
3166
|
# cache_policy_id: "string",
|
3081
3167
|
# origin_request_policy_id: "string",
|
3082
3168
|
# forwarded_values: {
|
@@ -3219,6 +3305,16 @@ module Aws::CloudFront
|
|
3219
3305
|
# for the default cache behavior.
|
3220
3306
|
# @return [String]
|
3221
3307
|
#
|
3308
|
+
# @!attribute [rw] realtime_log_config_arn
|
3309
|
+
# The Amazon Resource Name (ARN) of the real-time log configuration
|
3310
|
+
# that is attached to this cache behavior. For more information, see
|
3311
|
+
# [Real-time logs][1] in the *Amazon CloudFront Developer Guide*.
|
3312
|
+
#
|
3313
|
+
#
|
3314
|
+
#
|
3315
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html
|
3316
|
+
# @return [String]
|
3317
|
+
#
|
3222
3318
|
# @!attribute [rw] cache_policy_id
|
3223
3319
|
# The unique identifier of the cache policy that is attached to the
|
3224
3320
|
# default cache behavior. For more information, see [Creating cache
|
@@ -3349,6 +3445,7 @@ module Aws::CloudFront
|
|
3349
3445
|
:compress,
|
3350
3446
|
:lambda_function_associations,
|
3351
3447
|
:field_level_encryption_id,
|
3448
|
+
:realtime_log_config_arn,
|
3352
3449
|
:cache_policy_id,
|
3353
3450
|
:origin_request_policy_id,
|
3354
3451
|
:forwarded_values,
|
@@ -3616,6 +3713,32 @@ module Aws::CloudFront
|
|
3616
3713
|
include Aws::Structure
|
3617
3714
|
end
|
3618
3715
|
|
3716
|
+
# @note When making an API call, you may pass DeleteRealtimeLogConfigRequest
|
3717
|
+
# data as a hash:
|
3718
|
+
#
|
3719
|
+
# {
|
3720
|
+
# name: "string",
|
3721
|
+
# arn: "string",
|
3722
|
+
# }
|
3723
|
+
#
|
3724
|
+
# @!attribute [rw] name
|
3725
|
+
# The name of the real-time log configuration to delete.
|
3726
|
+
# @return [String]
|
3727
|
+
#
|
3728
|
+
# @!attribute [rw] arn
|
3729
|
+
# The Amazon Resource Name (ARN) of the real-time log configuration to
|
3730
|
+
# delete.
|
3731
|
+
# @return [String]
|
3732
|
+
#
|
3733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteRealtimeLogConfigRequest AWS API Documentation
|
3734
|
+
#
|
3735
|
+
class DeleteRealtimeLogConfigRequest < Struct.new(
|
3736
|
+
:name,
|
3737
|
+
:arn)
|
3738
|
+
SENSITIVE = []
|
3739
|
+
include Aws::Structure
|
3740
|
+
end
|
3741
|
+
|
3619
3742
|
# The request to delete a streaming distribution.
|
3620
3743
|
#
|
3621
3744
|
# @note When making an API call, you may pass DeleteStreamingDistributionRequest
|
@@ -3837,6 +3960,7 @@ module Aws::CloudFront
|
|
3837
3960
|
# ],
|
3838
3961
|
# },
|
3839
3962
|
# field_level_encryption_id: "string",
|
3963
|
+
# realtime_log_config_arn: "string",
|
3840
3964
|
# cache_policy_id: "string",
|
3841
3965
|
# origin_request_policy_id: "string",
|
3842
3966
|
# forwarded_values: {
|
@@ -3894,6 +4018,7 @@ module Aws::CloudFront
|
|
3894
4018
|
# ],
|
3895
4019
|
# },
|
3896
4020
|
# field_level_encryption_id: "string",
|
4021
|
+
# realtime_log_config_arn: "string",
|
3897
4022
|
# cache_policy_id: "string",
|
3898
4023
|
# origin_request_policy_id: "string",
|
3899
4024
|
# forwarded_values: {
|
@@ -3944,7 +4069,7 @@ module Aws::CloudFront
|
|
3944
4069
|
# cloud_front_default_certificate: false,
|
3945
4070
|
# iam_certificate_id: "string",
|
3946
4071
|
# acm_certificate_arn: "string",
|
3947
|
-
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
4072
|
+
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
3948
4073
|
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
3949
4074
|
# certificate: "string",
|
3950
4075
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
@@ -4318,6 +4443,7 @@ module Aws::CloudFront
|
|
4318
4443
|
# ],
|
4319
4444
|
# },
|
4320
4445
|
# field_level_encryption_id: "string",
|
4446
|
+
# realtime_log_config_arn: "string",
|
4321
4447
|
# cache_policy_id: "string",
|
4322
4448
|
# origin_request_policy_id: "string",
|
4323
4449
|
# forwarded_values: {
|
@@ -4375,6 +4501,7 @@ module Aws::CloudFront
|
|
4375
4501
|
# ],
|
4376
4502
|
# },
|
4377
4503
|
# field_level_encryption_id: "string",
|
4504
|
+
# realtime_log_config_arn: "string",
|
4378
4505
|
# cache_policy_id: "string",
|
4379
4506
|
# origin_request_policy_id: "string",
|
4380
4507
|
# forwarded_values: {
|
@@ -4425,7 +4552,7 @@ module Aws::CloudFront
|
|
4425
4552
|
# cloud_front_default_certificate: false,
|
4426
4553
|
# iam_certificate_id: "string",
|
4427
4554
|
# acm_certificate_arn: "string",
|
4428
|
-
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
4555
|
+
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
4429
4556
|
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
4430
4557
|
# certificate: "string",
|
4431
4558
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
@@ -4797,6 +4924,39 @@ module Aws::CloudFront
|
|
4797
4924
|
include Aws::Structure
|
4798
4925
|
end
|
4799
4926
|
|
4927
|
+
# Contains information about the Amazon Kinesis data stream where you
|
4928
|
+
# are sending real-time log data in a real-time log configuration.
|
4929
|
+
#
|
4930
|
+
# @note When making an API call, you may pass EndPoint
|
4931
|
+
# data as a hash:
|
4932
|
+
#
|
4933
|
+
# {
|
4934
|
+
# stream_type: "string", # required
|
4935
|
+
# kinesis_stream_config: {
|
4936
|
+
# role_arn: "string", # required
|
4937
|
+
# stream_arn: "string", # required
|
4938
|
+
# },
|
4939
|
+
# }
|
4940
|
+
#
|
4941
|
+
# @!attribute [rw] stream_type
|
4942
|
+
# The type of data stream where you are sending real-time log data.
|
4943
|
+
# The only valid value is `Kinesis`.
|
4944
|
+
# @return [String]
|
4945
|
+
#
|
4946
|
+
# @!attribute [rw] kinesis_stream_config
|
4947
|
+
# Contains information about the Amazon Kinesis data stream where you
|
4948
|
+
# are sending real-time log data.
|
4949
|
+
# @return [Types::KinesisStreamConfig]
|
4950
|
+
#
|
4951
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/EndPoint AWS API Documentation
|
4952
|
+
#
|
4953
|
+
class EndPoint < Struct.new(
|
4954
|
+
:stream_type,
|
4955
|
+
:kinesis_stream_config)
|
4956
|
+
SENSITIVE = []
|
4957
|
+
include Aws::Structure
|
4958
|
+
end
|
4959
|
+
|
4800
4960
|
# A complex data type that includes the profile configurations and other
|
4801
4961
|
# options specified for field-level encryption.
|
4802
4962
|
#
|
@@ -6076,6 +6236,44 @@ module Aws::CloudFront
|
|
6076
6236
|
include Aws::Structure
|
6077
6237
|
end
|
6078
6238
|
|
6239
|
+
# @note When making an API call, you may pass GetRealtimeLogConfigRequest
|
6240
|
+
# data as a hash:
|
6241
|
+
#
|
6242
|
+
# {
|
6243
|
+
# name: "string",
|
6244
|
+
# arn: "string",
|
6245
|
+
# }
|
6246
|
+
#
|
6247
|
+
# @!attribute [rw] name
|
6248
|
+
# The name of the real-time log configuration to get.
|
6249
|
+
# @return [String]
|
6250
|
+
#
|
6251
|
+
# @!attribute [rw] arn
|
6252
|
+
# The Amazon Resource Name (ARN) of the real-time log configuration to
|
6253
|
+
# get.
|
6254
|
+
# @return [String]
|
6255
|
+
#
|
6256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfigRequest AWS API Documentation
|
6257
|
+
#
|
6258
|
+
class GetRealtimeLogConfigRequest < Struct.new(
|
6259
|
+
:name,
|
6260
|
+
:arn)
|
6261
|
+
SENSITIVE = []
|
6262
|
+
include Aws::Structure
|
6263
|
+
end
|
6264
|
+
|
6265
|
+
# @!attribute [rw] realtime_log_config
|
6266
|
+
# A real-time log configuration.
|
6267
|
+
# @return [Types::RealtimeLogConfig]
|
6268
|
+
#
|
6269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfigResult AWS API Documentation
|
6270
|
+
#
|
6271
|
+
class GetRealtimeLogConfigResult < Struct.new(
|
6272
|
+
:realtime_log_config)
|
6273
|
+
SENSITIVE = []
|
6274
|
+
include Aws::Structure
|
6275
|
+
end
|
6276
|
+
|
6079
6277
|
# To request to get a streaming distribution configuration.
|
6080
6278
|
#
|
6081
6279
|
# @note When making an API call, you may pass GetStreamingDistributionConfigRequest
|
@@ -6752,6 +6950,44 @@ module Aws::CloudFront
|
|
6752
6950
|
include Aws::Structure
|
6753
6951
|
end
|
6754
6952
|
|
6953
|
+
# Contains information about the Amazon Kinesis data stream where you
|
6954
|
+
# are sending real-time log data.
|
6955
|
+
#
|
6956
|
+
# @note When making an API call, you may pass KinesisStreamConfig
|
6957
|
+
# data as a hash:
|
6958
|
+
#
|
6959
|
+
# {
|
6960
|
+
# role_arn: "string", # required
|
6961
|
+
# stream_arn: "string", # required
|
6962
|
+
# }
|
6963
|
+
#
|
6964
|
+
# @!attribute [rw] role_arn
|
6965
|
+
# The Amazon Resource Name (ARN) of an AWS Identity and Access
|
6966
|
+
# Management (IAM) role that CloudFront can use to send real-time log
|
6967
|
+
# data to your Kinesis data stream.
|
6968
|
+
#
|
6969
|
+
# For more information the IAM role, see [Real-time log configuration
|
6970
|
+
# IAM role][1] in the *Amazon CloudFront Developer Guide*.
|
6971
|
+
#
|
6972
|
+
#
|
6973
|
+
#
|
6974
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-iam-role
|
6975
|
+
# @return [String]
|
6976
|
+
#
|
6977
|
+
# @!attribute [rw] stream_arn
|
6978
|
+
# The Amazon Resource Name (ARN) of the Kinesis data stream where you
|
6979
|
+
# are sending real-time log data.
|
6980
|
+
# @return [String]
|
6981
|
+
#
|
6982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/KinesisStreamConfig AWS API Documentation
|
6983
|
+
#
|
6984
|
+
class KinesisStreamConfig < Struct.new(
|
6985
|
+
:role_arn,
|
6986
|
+
:stream_arn)
|
6987
|
+
SENSITIVE = []
|
6988
|
+
include Aws::Structure
|
6989
|
+
end
|
6990
|
+
|
6755
6991
|
# A complex type that contains a Lambda function association.
|
6756
6992
|
#
|
6757
6993
|
# @note When making an API call, you may pass LambdaFunctionAssociation
|
@@ -7058,6 +7294,61 @@ module Aws::CloudFront
|
|
7058
7294
|
include Aws::Structure
|
7059
7295
|
end
|
7060
7296
|
|
7297
|
+
# @note When making an API call, you may pass ListDistributionsByRealtimeLogConfigRequest
|
7298
|
+
# data as a hash:
|
7299
|
+
#
|
7300
|
+
# {
|
7301
|
+
# marker: "string",
|
7302
|
+
# max_items: 1,
|
7303
|
+
# realtime_log_config_name: "string",
|
7304
|
+
# realtime_log_config_arn: "string",
|
7305
|
+
# }
|
7306
|
+
#
|
7307
|
+
# @!attribute [rw] marker
|
7308
|
+
# Use this field when paginating results to indicate where to begin in
|
7309
|
+
# your list of distributions. The response includes distributions in
|
7310
|
+
# the list that occur after the marker. To get the next page of the
|
7311
|
+
# list, set this field’s value to the value of `NextMarker` from the
|
7312
|
+
# current page’s response.
|
7313
|
+
# @return [String]
|
7314
|
+
#
|
7315
|
+
# @!attribute [rw] max_items
|
7316
|
+
# The maximum number of distributions that you want in the response.
|
7317
|
+
# @return [Integer]
|
7318
|
+
#
|
7319
|
+
# @!attribute [rw] realtime_log_config_name
|
7320
|
+
# The name of the real-time log configuration whose associated
|
7321
|
+
# distributions you want to list.
|
7322
|
+
# @return [String]
|
7323
|
+
#
|
7324
|
+
# @!attribute [rw] realtime_log_config_arn
|
7325
|
+
# The Amazon Resource Name (ARN) of the real-time log configuration
|
7326
|
+
# whose associated distributions you want to list.
|
7327
|
+
# @return [String]
|
7328
|
+
#
|
7329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfigRequest AWS API Documentation
|
7330
|
+
#
|
7331
|
+
class ListDistributionsByRealtimeLogConfigRequest < Struct.new(
|
7332
|
+
:marker,
|
7333
|
+
:max_items,
|
7334
|
+
:realtime_log_config_name,
|
7335
|
+
:realtime_log_config_arn)
|
7336
|
+
SENSITIVE = []
|
7337
|
+
include Aws::Structure
|
7338
|
+
end
|
7339
|
+
|
7340
|
+
# @!attribute [rw] distribution_list
|
7341
|
+
# A distribution list.
|
7342
|
+
# @return [Types::DistributionList]
|
7343
|
+
#
|
7344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfigResult AWS API Documentation
|
7345
|
+
#
|
7346
|
+
class ListDistributionsByRealtimeLogConfigResult < Struct.new(
|
7347
|
+
:distribution_list)
|
7348
|
+
SENSITIVE = []
|
7349
|
+
include Aws::Structure
|
7350
|
+
end
|
7351
|
+
|
7061
7352
|
# The request to list distributions that are associated with a specified
|
7062
7353
|
# AWS WAF web ACL.
|
7063
7354
|
#
|
@@ -7402,6 +7693,48 @@ module Aws::CloudFront
|
|
7402
7693
|
include Aws::Structure
|
7403
7694
|
end
|
7404
7695
|
|
7696
|
+
# @note When making an API call, you may pass ListRealtimeLogConfigsRequest
|
7697
|
+
# data as a hash:
|
7698
|
+
#
|
7699
|
+
# {
|
7700
|
+
# max_items: 1,
|
7701
|
+
# marker: "string",
|
7702
|
+
# }
|
7703
|
+
#
|
7704
|
+
# @!attribute [rw] max_items
|
7705
|
+
# The maximum number of real-time log configurations that you want in
|
7706
|
+
# the response.
|
7707
|
+
# @return [Integer]
|
7708
|
+
#
|
7709
|
+
# @!attribute [rw] marker
|
7710
|
+
# Use this field when paginating results to indicate where to begin in
|
7711
|
+
# your list of real-time log configurations. The response includes
|
7712
|
+
# real-time log configurations in the list that occur after the
|
7713
|
+
# marker. To get the next page of the list, set this field’s value to
|
7714
|
+
# the value of `NextMarker` from the current page’s response.
|
7715
|
+
# @return [String]
|
7716
|
+
#
|
7717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigsRequest AWS API Documentation
|
7718
|
+
#
|
7719
|
+
class ListRealtimeLogConfigsRequest < Struct.new(
|
7720
|
+
:max_items,
|
7721
|
+
:marker)
|
7722
|
+
SENSITIVE = []
|
7723
|
+
include Aws::Structure
|
7724
|
+
end
|
7725
|
+
|
7726
|
+
# @!attribute [rw] realtime_log_configs
|
7727
|
+
# A list of real-time log configurations.
|
7728
|
+
# @return [Types::RealtimeLogConfigs]
|
7729
|
+
#
|
7730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigsResult AWS API Documentation
|
7731
|
+
#
|
7732
|
+
class ListRealtimeLogConfigsResult < Struct.new(
|
7733
|
+
:realtime_log_configs)
|
7734
|
+
SENSITIVE = []
|
7735
|
+
include Aws::Structure
|
7736
|
+
end
|
7737
|
+
|
7405
7738
|
# The request to list your streaming distributions.
|
7406
7739
|
#
|
7407
7740
|
# @note When making an API call, you may pass ListStreamingDistributionsRequest
|
@@ -7691,6 +8024,19 @@ module Aws::CloudFront
|
|
7691
8024
|
include Aws::Structure
|
7692
8025
|
end
|
7693
8026
|
|
8027
|
+
# The real-time log configuration does not exist.
|
8028
|
+
#
|
8029
|
+
# @!attribute [rw] message
|
8030
|
+
# @return [String]
|
8031
|
+
#
|
8032
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/NoSuchRealtimeLogConfig AWS API Documentation
|
8033
|
+
#
|
8034
|
+
class NoSuchRealtimeLogConfig < Struct.new(
|
8035
|
+
:message)
|
8036
|
+
SENSITIVE = []
|
8037
|
+
include Aws::Structure
|
8038
|
+
end
|
8039
|
+
|
7694
8040
|
# A resource that was specified is not valid.
|
7695
8041
|
#
|
7696
8042
|
# @!attribute [rw] message
|
@@ -9047,6 +9393,122 @@ module Aws::CloudFront
|
|
9047
9393
|
include Aws::Structure
|
9048
9394
|
end
|
9049
9395
|
|
9396
|
+
# A real-time log configuration.
|
9397
|
+
#
|
9398
|
+
# @!attribute [rw] arn
|
9399
|
+
# The Amazon Resource Name (ARN) of this real-time log configuration.
|
9400
|
+
# @return [String]
|
9401
|
+
#
|
9402
|
+
# @!attribute [rw] name
|
9403
|
+
# The unique name of this real-time log configuration.
|
9404
|
+
# @return [String]
|
9405
|
+
#
|
9406
|
+
# @!attribute [rw] sampling_rate
|
9407
|
+
# The sampling rate for this real-time log configuration. The sampling
|
9408
|
+
# rate determines the percentage of viewer requests that are
|
9409
|
+
# represented in the real-time log data. The sampling rate is an
|
9410
|
+
# integer between 1 and 100, inclusive.
|
9411
|
+
# @return [Integer]
|
9412
|
+
#
|
9413
|
+
# @!attribute [rw] end_points
|
9414
|
+
# Contains information about the Amazon Kinesis data stream where you
|
9415
|
+
# are sending real-time log data for this real-time log configuration.
|
9416
|
+
# @return [Array<Types::EndPoint>]
|
9417
|
+
#
|
9418
|
+
# @!attribute [rw] fields
|
9419
|
+
# A list of fields that are included in each real-time log record. In
|
9420
|
+
# an API response, the fields are provided in the same order in which
|
9421
|
+
# they are sent to the Amazon Kinesis data stream.
|
9422
|
+
#
|
9423
|
+
# For more information about fields, see [Real-time log configuration
|
9424
|
+
# fields][1] in the *Amazon CloudFront Developer Guide*.
|
9425
|
+
#
|
9426
|
+
#
|
9427
|
+
#
|
9428
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
|
9429
|
+
# @return [Array<String>]
|
9430
|
+
#
|
9431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/RealtimeLogConfig AWS API Documentation
|
9432
|
+
#
|
9433
|
+
class RealtimeLogConfig < Struct.new(
|
9434
|
+
:arn,
|
9435
|
+
:name,
|
9436
|
+
:sampling_rate,
|
9437
|
+
:end_points,
|
9438
|
+
:fields)
|
9439
|
+
SENSITIVE = []
|
9440
|
+
include Aws::Structure
|
9441
|
+
end
|
9442
|
+
|
9443
|
+
# A real-time log configuration with this name already exists. You must
|
9444
|
+
# provide a unique name. To modify an existing real-time log
|
9445
|
+
# configuration, use `UpdateRealtimeLogConfig`.
|
9446
|
+
#
|
9447
|
+
# @!attribute [rw] message
|
9448
|
+
# @return [String]
|
9449
|
+
#
|
9450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/RealtimeLogConfigAlreadyExists AWS API Documentation
|
9451
|
+
#
|
9452
|
+
class RealtimeLogConfigAlreadyExists < Struct.new(
|
9453
|
+
:message)
|
9454
|
+
SENSITIVE = []
|
9455
|
+
include Aws::Structure
|
9456
|
+
end
|
9457
|
+
|
9458
|
+
# Cannot delete the real-time log configuration because it is attached
|
9459
|
+
# to one or more cache behaviors.
|
9460
|
+
#
|
9461
|
+
# @!attribute [rw] message
|
9462
|
+
# @return [String]
|
9463
|
+
#
|
9464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/RealtimeLogConfigInUse AWS API Documentation
|
9465
|
+
#
|
9466
|
+
class RealtimeLogConfigInUse < Struct.new(
|
9467
|
+
:message)
|
9468
|
+
SENSITIVE = []
|
9469
|
+
include Aws::Structure
|
9470
|
+
end
|
9471
|
+
|
9472
|
+
# A list of real-time log configurations.
|
9473
|
+
#
|
9474
|
+
# @!attribute [rw] max_items
|
9475
|
+
# The maximum number of real-time log configurations requested.
|
9476
|
+
# @return [Integer]
|
9477
|
+
#
|
9478
|
+
# @!attribute [rw] items
|
9479
|
+
# Contains the list of real-time log configurations.
|
9480
|
+
# @return [Array<Types::RealtimeLogConfig>]
|
9481
|
+
#
|
9482
|
+
# @!attribute [rw] is_truncated
|
9483
|
+
# A flag that indicates whether there are more real-time log
|
9484
|
+
# configurations than are contained in this list.
|
9485
|
+
# @return [Boolean]
|
9486
|
+
#
|
9487
|
+
# @!attribute [rw] marker
|
9488
|
+
# This parameter indicates where this list of real-time log
|
9489
|
+
# configurations begins. This list includes real-time log
|
9490
|
+
# configurations that occur after the marker.
|
9491
|
+
# @return [String]
|
9492
|
+
#
|
9493
|
+
# @!attribute [rw] next_marker
|
9494
|
+
# If there are more items in the list than are in this response, this
|
9495
|
+
# element is present. It contains the value that you should use in the
|
9496
|
+
# `Marker` field of a subsequent request to continue listing real-time
|
9497
|
+
# log configurations where you left off.
|
9498
|
+
# @return [String]
|
9499
|
+
#
|
9500
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/RealtimeLogConfigs AWS API Documentation
|
9501
|
+
#
|
9502
|
+
class RealtimeLogConfigs < Struct.new(
|
9503
|
+
:max_items,
|
9504
|
+
:items,
|
9505
|
+
:is_truncated,
|
9506
|
+
:marker,
|
9507
|
+
:next_marker)
|
9508
|
+
SENSITIVE = []
|
9509
|
+
include Aws::Structure
|
9510
|
+
end
|
9511
|
+
|
9050
9512
|
# A subscription configuration for additional CloudWatch metrics.
|
9051
9513
|
#
|
9052
9514
|
# @note When making an API call, you may pass RealtimeMetricsSubscriptionConfig
|
@@ -10318,6 +10780,25 @@ module Aws::CloudFront
|
|
10318
10780
|
include Aws::Structure
|
10319
10781
|
end
|
10320
10782
|
|
10783
|
+
# You have reached the maximum number of real-time log configurations
|
10784
|
+
# for this AWS account. For more information, see [Quotas][1] (formerly
|
10785
|
+
# known as limits) in the *Amazon CloudFront Developer Guide*.
|
10786
|
+
#
|
10787
|
+
#
|
10788
|
+
#
|
10789
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html
|
10790
|
+
#
|
10791
|
+
# @!attribute [rw] message
|
10792
|
+
# @return [String]
|
10793
|
+
#
|
10794
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TooManyRealtimeLogConfigs AWS API Documentation
|
10795
|
+
#
|
10796
|
+
class TooManyRealtimeLogConfigs < Struct.new(
|
10797
|
+
:message)
|
10798
|
+
SENSITIVE = []
|
10799
|
+
include Aws::Structure
|
10800
|
+
end
|
10801
|
+
|
10321
10802
|
# Your request contains more CNAMEs than are allowed per distribution.
|
10322
10803
|
#
|
10323
10804
|
# @!attribute [rw] message
|
@@ -10699,6 +11180,7 @@ module Aws::CloudFront
|
|
10699
11180
|
# ],
|
10700
11181
|
# },
|
10701
11182
|
# field_level_encryption_id: "string",
|
11183
|
+
# realtime_log_config_arn: "string",
|
10702
11184
|
# cache_policy_id: "string",
|
10703
11185
|
# origin_request_policy_id: "string",
|
10704
11186
|
# forwarded_values: {
|
@@ -10756,6 +11238,7 @@ module Aws::CloudFront
|
|
10756
11238
|
# ],
|
10757
11239
|
# },
|
10758
11240
|
# field_level_encryption_id: "string",
|
11241
|
+
# realtime_log_config_arn: "string",
|
10759
11242
|
# cache_policy_id: "string",
|
10760
11243
|
# origin_request_policy_id: "string",
|
10761
11244
|
# forwarded_values: {
|
@@ -10806,7 +11289,7 @@ module Aws::CloudFront
|
|
10806
11289
|
# cloud_front_default_certificate: false,
|
10807
11290
|
# iam_certificate_id: "string",
|
10808
11291
|
# acm_certificate_arn: "string",
|
10809
|
-
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
11292
|
+
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
10810
11293
|
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
10811
11294
|
# certificate: "string",
|
10812
11295
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
@@ -11145,6 +11628,80 @@ module Aws::CloudFront
|
|
11145
11628
|
include Aws::Structure
|
11146
11629
|
end
|
11147
11630
|
|
11631
|
+
# @note When making an API call, you may pass UpdateRealtimeLogConfigRequest
|
11632
|
+
# data as a hash:
|
11633
|
+
#
|
11634
|
+
# {
|
11635
|
+
# end_points: [
|
11636
|
+
# {
|
11637
|
+
# stream_type: "string", # required
|
11638
|
+
# kinesis_stream_config: {
|
11639
|
+
# role_arn: "string", # required
|
11640
|
+
# stream_arn: "string", # required
|
11641
|
+
# },
|
11642
|
+
# },
|
11643
|
+
# ],
|
11644
|
+
# fields: ["string"],
|
11645
|
+
# name: "string",
|
11646
|
+
# arn: "string",
|
11647
|
+
# sampling_rate: 1,
|
11648
|
+
# }
|
11649
|
+
#
|
11650
|
+
# @!attribute [rw] end_points
|
11651
|
+
# Contains information about the Amazon Kinesis data stream where you
|
11652
|
+
# are sending real-time log data.
|
11653
|
+
# @return [Array<Types::EndPoint>]
|
11654
|
+
#
|
11655
|
+
# @!attribute [rw] fields
|
11656
|
+
# A list of fields to include in each real-time log record.
|
11657
|
+
#
|
11658
|
+
# For more information about fields, see [Real-time log configuration
|
11659
|
+
# fields][1] in the *Amazon CloudFront Developer Guide*.
|
11660
|
+
#
|
11661
|
+
#
|
11662
|
+
#
|
11663
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
|
11664
|
+
# @return [Array<String>]
|
11665
|
+
#
|
11666
|
+
# @!attribute [rw] name
|
11667
|
+
# The name for this real-time log configuration.
|
11668
|
+
# @return [String]
|
11669
|
+
#
|
11670
|
+
# @!attribute [rw] arn
|
11671
|
+
# The Amazon Resource Name (ARN) for this real-time log configuration.
|
11672
|
+
# @return [String]
|
11673
|
+
#
|
11674
|
+
# @!attribute [rw] sampling_rate
|
11675
|
+
# The sampling rate for this real-time log configuration. The sampling
|
11676
|
+
# rate determines the percentage of viewer requests that are
|
11677
|
+
# represented in the real-time log data. You must provide an integer
|
11678
|
+
# between 1 and 100, inclusive.
|
11679
|
+
# @return [Integer]
|
11680
|
+
#
|
11681
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfigRequest AWS API Documentation
|
11682
|
+
#
|
11683
|
+
class UpdateRealtimeLogConfigRequest < Struct.new(
|
11684
|
+
:end_points,
|
11685
|
+
:fields,
|
11686
|
+
:name,
|
11687
|
+
:arn,
|
11688
|
+
:sampling_rate)
|
11689
|
+
SENSITIVE = []
|
11690
|
+
include Aws::Structure
|
11691
|
+
end
|
11692
|
+
|
11693
|
+
# @!attribute [rw] realtime_log_config
|
11694
|
+
# A real-time log configuration.
|
11695
|
+
# @return [Types::RealtimeLogConfig]
|
11696
|
+
#
|
11697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfigResult AWS API Documentation
|
11698
|
+
#
|
11699
|
+
class UpdateRealtimeLogConfigResult < Struct.new(
|
11700
|
+
:realtime_log_config)
|
11701
|
+
SENSITIVE = []
|
11702
|
+
include Aws::Structure
|
11703
|
+
end
|
11704
|
+
|
11148
11705
|
# The request to update a streaming distribution.
|
11149
11706
|
#
|
11150
11707
|
# @note When making an API call, you may pass UpdateStreamingDistributionRequest
|
@@ -11289,7 +11846,7 @@ module Aws::CloudFront
|
|
11289
11846
|
# cloud_front_default_certificate: false,
|
11290
11847
|
# iam_certificate_id: "string",
|
11291
11848
|
# acm_certificate_arn: "string",
|
11292
|
-
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
11849
|
+
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
11293
11850
|
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
11294
11851
|
# certificate: "string",
|
11295
11852
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
@@ -11354,12 +11911,19 @@ module Aws::CloudFront
|
|
11354
11911
|
# recommended, and results in additional monthly charges from
|
11355
11912
|
# CloudFront.
|
11356
11913
|
#
|
11914
|
+
# * `static-ip` - Do not specify this value unless your distribution
|
11915
|
+
# has been enabled for this feature by the CloudFront team. If you
|
11916
|
+
# have a use case that requires static IP addresses for a
|
11917
|
+
# distribution, contact CloudFront through the [AWS Support
|
11918
|
+
# Center][2].
|
11919
|
+
#
|
11357
11920
|
# If the distribution uses the CloudFront domain name such as
|
11358
11921
|
# `d111111abcdef8.cloudfront.net`, don’t set a value for this field.
|
11359
11922
|
#
|
11360
11923
|
#
|
11361
11924
|
#
|
11362
11925
|
# [1]: https://en.wikipedia.org/wiki/Server_Name_Indication
|
11926
|
+
# [2]: https://console.aws.amazon.com/support/home
|
11363
11927
|
# @return [String]
|
11364
11928
|
#
|
11365
11929
|
# @!attribute [rw] minimum_protocol_version
|