aws-sdk-cloudfront 1.118.0 → 1.123.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,7 +95,7 @@ module Aws::CloudFront
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
98
+ # Your AWS credentials used for authentication. This can be an instance of any one of the
99
99
  # following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
@@ -128,18 +128,23 @@ module Aws::CloudFront
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
+ #
131
132
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
133
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
134
+ #
135
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
136
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
137
+ #
135
138
  # * `~/.aws/credentials`
139
+ #
136
140
  # * `~/.aws/config`
141
+ #
137
142
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
143
  # are very aggressive. Construct and pass an instance of
139
144
  # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
145
  # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
146
+ # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
+ # to `true`.
143
148
  #
144
149
  # @option options [required, String] :region
145
150
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +172,11 @@ module Aws::CloudFront
167
172
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
173
  # not retry instead of sleeping.
169
174
  #
175
+ # @option options [Array<String>] :auth_scheme_preference
176
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
177
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
178
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
179
+ #
170
180
  # @option options [Boolean] :client_side_monitoring (false)
171
181
  # When `true`, client-side metrics will be collected for all API requests from
172
182
  # this client.
@@ -253,8 +263,8 @@ module Aws::CloudFront
253
263
  # 4 times. Used in `standard` and `adaptive` retry modes.
254
264
  #
255
265
  # @option options [String] :profile ("default")
256
- # Used when loading credentials from the shared credentials file
257
- # at HOME/.aws/credentials. When not specified, 'default' is used.
266
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
267
+ # When not specified, 'default' is used.
258
268
  #
259
269
  # @option options [String] :request_checksum_calculation ("when_supported")
260
270
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -367,7 +377,7 @@ module Aws::CloudFront
367
377
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
368
378
  #
369
379
  # @option options [Aws::TokenProvider] :token_provider
370
- # A Bearer Token Provider. This can be an instance of any one of the
380
+ # Your Bearer token used for authentication. This can be an instance of any one of the
371
381
  # following classes:
372
382
  #
373
383
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
@@ -469,31 +479,45 @@ module Aws::CloudFront
469
479
 
470
480
  # @!group API Operations
471
481
 
472
- # Associates an alias (also known as a CNAME or an alternate domain
473
- # name) with a CloudFront distribution.
482
+ # <note markdown="1"> The `AssociateAlias` API operation only supports
483
+ # standard
484
+ # distributions. To move domains between distribution tenants and/or
485
+ # standard distributions, we recommend that you use the
486
+ # [UpdateDomainAssociation][1] API operation instead.
487
+ #
488
+ # </note>
474
489
  #
475
- # With this operation you can move an alias that's already in use on a
476
- # CloudFront distribution to a different distribution in one step. This
490
+ # Associates an alias with a CloudFront standard distribution. An alias
491
+ # is commonly known as a custom domain or vanity domain. It can also be
492
+ # called a CNAME or alternate domain name.
493
+ #
494
+ # With this operation, you can move an alias that's already used for a
495
+ # standard distribution to a different standard distribution. This
477
496
  # prevents the downtime that could occur if you first remove the alias
478
- # from one distribution and then separately add the alias to another
479
- # distribution.
497
+ # from one standard distribution and then separately add the alias to
498
+ # another standard distribution.
480
499
  #
481
- # To use this operation to associate an alias with a distribution, you
482
- # provide the alias and the ID of the target distribution for the alias.
483
- # For more information, including how to set up the target distribution,
484
- # prerequisites that you must complete, and other restrictions, see
485
- # [Moving an alternate domain name to a different distribution][1] in
486
- # the *Amazon CloudFront Developer Guide*.
500
+ # To use this operation, specify the alias and the ID of the target
501
+ # standard distribution.
487
502
  #
503
+ # For more information, including how to set up the target standard
504
+ # distribution, prerequisites that you must complete, and other
505
+ # restrictions, see [Moving an alternate domain name to a different
506
+ # standard distribution or distribution tenant][2] in the *Amazon
507
+ # CloudFront Developer Guide*.
488
508
  #
489
509
  #
490
- # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
510
+ #
511
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDomainAssociation.html
512
+ # [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
491
513
  #
492
514
  # @option params [required, String] :target_distribution_id
493
- # The ID of the distribution that you're associating the alias with.
515
+ # The ID of the standard distribution that you're associating the alias
516
+ # with.
494
517
  #
495
518
  # @option params [required, String] :alias
496
- # The alias (also known as a CNAME) to add to the target distribution.
519
+ # The alias (also known as a CNAME) to add to the target standard
520
+ # distribution.
497
521
  #
498
522
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
499
523
  #
@@ -699,6 +723,7 @@ module Aws::CloudFront
699
723
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
700
724
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
701
725
  # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
726
+ # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
702
727
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
703
728
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
704
729
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -712,6 +737,7 @@ module Aws::CloudFront
712
737
  # resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
713
738
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
714
739
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
740
+ # resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
715
741
  # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
716
742
  # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
717
743
  # resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
@@ -940,6 +966,11 @@ module Aws::CloudFront
940
966
  # * The default, minimum, and maximum time to live (TTL) values that you
941
967
  # want objects to stay in the CloudFront cache.
942
968
  #
969
+ # If your minimum TTL is greater than 0, CloudFront will cache content
970
+ # for at least the duration specified in the cache policy's minimum
971
+ # TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private`
972
+ # directives are present in the origin headers.
973
+ #
943
974
  # The headers, cookies, and query strings that are included in the cache
944
975
  # key are also included in requests that CloudFront sends to the origin.
945
976
  # CloudFront sends a request when it can't find an object in its cache
@@ -1269,6 +1300,7 @@ module Aws::CloudFront
1269
1300
  # },
1270
1301
  # s3_origin_config: {
1271
1302
  # origin_access_identity: "string", # required
1303
+ # origin_read_timeout: 1,
1272
1304
  # },
1273
1305
  # custom_origin_config: {
1274
1306
  # http_port: 1, # required
@@ -1288,6 +1320,7 @@ module Aws::CloudFront
1288
1320
  # },
1289
1321
  # connection_attempts: 1,
1290
1322
  # connection_timeout: 1,
1323
+ # response_completion_timeout: 1,
1291
1324
  # origin_shield: {
1292
1325
  # enabled: false, # required
1293
1326
  # origin_shield_region: "OriginShieldRegion",
@@ -1491,7 +1524,7 @@ module Aws::CloudFront
1491
1524
  # enabled: false, # required
1492
1525
  # viewer_certificate: {
1493
1526
  # cloud_front_default_certificate: false,
1494
- # iam_certificate_id: "string",
1527
+ # iam_certificate_id: "ServerCertificateId",
1495
1528
  # acm_certificate_arn: "string",
1496
1529
  # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
1497
1530
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
@@ -1517,7 +1550,7 @@ module Aws::CloudFront
1517
1550
  # name: "ParameterName", # required
1518
1551
  # definition: { # required
1519
1552
  # string_schema: {
1520
- # comment: "string",
1553
+ # comment: "sensitiveStringType",
1521
1554
  # default_value: "ParameterValue",
1522
1555
  # required: false, # required
1523
1556
  # },
@@ -1566,6 +1599,7 @@ module Aws::CloudFront
1566
1599
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
1567
1600
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
1568
1601
  # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
1602
+ # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
1569
1603
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
1570
1604
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
1571
1605
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -1579,6 +1613,7 @@ module Aws::CloudFront
1579
1613
  # resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
1580
1614
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
1581
1615
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
1616
+ # resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
1582
1617
  # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
1583
1618
  # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
1584
1619
  # resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
@@ -1922,6 +1957,7 @@ module Aws::CloudFront
1922
1957
  # },
1923
1958
  # s3_origin_config: {
1924
1959
  # origin_access_identity: "string", # required
1960
+ # origin_read_timeout: 1,
1925
1961
  # },
1926
1962
  # custom_origin_config: {
1927
1963
  # http_port: 1, # required
@@ -1941,6 +1977,7 @@ module Aws::CloudFront
1941
1977
  # },
1942
1978
  # connection_attempts: 1,
1943
1979
  # connection_timeout: 1,
1980
+ # response_completion_timeout: 1,
1944
1981
  # origin_shield: {
1945
1982
  # enabled: false, # required
1946
1983
  # origin_shield_region: "OriginShieldRegion",
@@ -2144,7 +2181,7 @@ module Aws::CloudFront
2144
2181
  # enabled: false, # required
2145
2182
  # viewer_certificate: {
2146
2183
  # cloud_front_default_certificate: false,
2147
- # iam_certificate_id: "string",
2184
+ # iam_certificate_id: "ServerCertificateId",
2148
2185
  # acm_certificate_arn: "string",
2149
2186
  # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
2150
2187
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
@@ -2170,7 +2207,7 @@ module Aws::CloudFront
2170
2207
  # name: "ParameterName", # required
2171
2208
  # definition: { # required
2172
2209
  # string_schema: {
2173
- # comment: "string",
2210
+ # comment: "sensitiveStringType",
2174
2211
  # default_value: "ParameterValue",
2175
2212
  # required: false, # required
2176
2213
  # },
@@ -2228,6 +2265,7 @@ module Aws::CloudFront
2228
2265
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
2229
2266
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
2230
2267
  # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
2268
+ # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
2231
2269
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
2232
2270
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
2233
2271
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -2241,6 +2279,7 @@ module Aws::CloudFront
2241
2279
  # resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
2242
2280
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
2243
2281
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
2282
+ # resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
2244
2283
  # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
2245
2284
  # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
2246
2285
  # resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
@@ -3999,7 +4038,7 @@ module Aws::CloudFront
3999
4038
  # @example Request syntax with placeholder values
4000
4039
  #
4001
4040
  # resp = client.delete_function({
4002
- # name: "string", # required
4041
+ # name: "FunctionName", # required
4003
4042
  # if_match: "string", # required
4004
4043
  # })
4005
4044
  #
@@ -4460,7 +4499,7 @@ module Aws::CloudFront
4460
4499
  # @example Request syntax with placeholder values
4461
4500
  #
4462
4501
  # resp = client.describe_function({
4463
- # name: "string", # required
4502
+ # name: "FunctionName", # required
4464
4503
  # stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
4465
4504
  # })
4466
4505
  #
@@ -5065,6 +5104,7 @@ module Aws::CloudFront
5065
5104
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
5066
5105
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
5067
5106
  # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
5107
+ # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
5068
5108
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
5069
5109
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
5070
5110
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -5078,6 +5118,7 @@ module Aws::CloudFront
5078
5118
  # resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
5079
5119
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
5080
5120
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
5121
+ # resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
5081
5122
  # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
5082
5123
  # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
5083
5124
  # resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
@@ -5277,6 +5318,7 @@ module Aws::CloudFront
5277
5318
  # resp.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
5278
5319
  # resp.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
5279
5320
  # resp.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
5321
+ # resp.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
5280
5322
  # resp.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
5281
5323
  # resp.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
5282
5324
  # resp.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -5290,6 +5332,7 @@ module Aws::CloudFront
5290
5332
  # resp.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
5291
5333
  # resp.distribution_config.origins.items[0].connection_attempts #=> Integer
5292
5334
  # resp.distribution_config.origins.items[0].connection_timeout #=> Integer
5335
+ # resp.distribution_config.origins.items[0].response_completion_timeout #=> Integer
5293
5336
  # resp.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
5294
5337
  # resp.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
5295
5338
  # resp.distribution_config.origins.items[0].origin_access_control_id #=> String
@@ -5744,7 +5787,7 @@ module Aws::CloudFront
5744
5787
  # @example Request syntax with placeholder values
5745
5788
  #
5746
5789
  # resp = client.get_function({
5747
- # name: "string", # required
5790
+ # name: "FunctionName", # required
5748
5791
  # stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
5749
5792
  # })
5750
5793
  #
@@ -6834,44 +6877,54 @@ module Aws::CloudFront
6834
6877
  req.send_request(options)
6835
6878
  end
6836
6879
 
6837
- # Gets a list of aliases (also called CNAMEs or alternate domain names)
6838
- # that conflict or overlap with the provided alias, and the associated
6839
- # CloudFront distributions and Amazon Web Services accounts for each
6840
- # conflicting alias. In the returned list, the distribution and account
6841
- # IDs are partially hidden, which allows you to identify the
6842
- # distributions and accounts that you own, but helps to protect the
6880
+ # <note markdown="1"> The `ListConflictingAliases` API operation only
6881
+ # supports standard
6882
+ # distributions. To list domain conflicts for both standard
6883
+ # distributions and distribution tenants, we recommend that you use the
6884
+ # [ListDomainConflicts][1] API operation instead.
6885
+ #
6886
+ # </note>
6887
+ #
6888
+ # Gets a list of aliases that conflict or overlap with the provided
6889
+ # alias, and the associated CloudFront standard distribution and Amazon
6890
+ # Web Services accounts for each conflicting alias. An alias is commonly
6891
+ # known as a custom domain or vanity domain. It can also be called a
6892
+ # CNAME or alternate domain name.
6893
+ #
6894
+ # In the returned list, the standard distribution and account IDs are
6895
+ # partially hidden, which allows you to identify the standard
6896
+ # distribution and accounts that you own, and helps to protect the
6843
6897
  # information of ones that you don't own.
6844
6898
  #
6845
- # Use this operation to find aliases that are in use in CloudFront that
6899
+ # Use this operation to find aliases that are in use in CloudFront that
6846
6900
  # conflict or overlap with the provided alias. For example, if you
6847
6901
  # provide `www.example.com` as input, the returned list can include
6848
6902
  # `www.example.com` and the overlapping wildcard alternate domain name
6849
- # (`*.example.com`), if they exist. If you provide `*.example.com` as
6850
- # input, the returned list can include `*.example.com` and any alternate
6851
- # domain names covered by that wildcard (for example, `www.example.com`,
6852
- # `test.example.com`, `dev.example.com`, and so on), if they exist.
6853
- #
6854
- # To list conflicting aliases, you provide the alias to search and the
6855
- # ID of a distribution in your account that has an attached SSL/TLS
6856
- # certificate that includes the provided alias. For more information,
6857
- # including how to set up the distribution and certificate, see [Moving
6858
- # an alternate domain name to a different distribution][1] in the
6859
- # *Amazon CloudFront Developer Guide*.
6860
- #
6861
- # You can optionally specify the maximum number of items to receive in
6862
- # the response. If the total number of items in the list exceeds the
6863
- # maximum that you specify, or the default maximum, the response is
6864
- # paginated. To get the next page of items, send a subsequent request
6865
- # that specifies the `NextMarker` value from the current response as the
6866
- # `Marker` value in the subsequent request.
6867
- #
6868
- #
6869
- #
6870
- # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
6903
+ # (`.example.com</code>), if they exist. If you provide
6904
+ # </em>.example.com as input, the returned list can include
6905
+ # *.example.com and any alternate domain names covered by that wildcard
6906
+ # (for example, www.example.com, test.example.com, dev.example.com, and
6907
+ # so on), if they exist.</p> To list conflicting aliases, specify the
6908
+ # alias to search and the ID of a standard distribution in your account
6909
+ # that has an attached TLS certificate that includes the provided alias.
6910
+ # For more information, including how to set up the standard
6911
+ # distribution and certificate, see Moving an alternate domain name to a
6912
+ # different standard distribution or distribution tenant in the Amazon
6913
+ # CloudFront Developer Guide. You can optionally specify the maximum
6914
+ # number of items to receive in the response. If the total number of
6915
+ # items in the list exceeds the maximum that you specify, or the default
6916
+ # maximum, the response is paginated. To get the next page of items,
6917
+ # send a subsequent request that specifies the NextMarker value from the
6918
+ # current response as the Marker value in the subsequent request.</p>
6919
+ # `
6920
+ #
6921
+ #
6922
+ #
6923
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDomainConflicts.html
6871
6924
  #
6872
6925
  # @option params [required, String] :distribution_id
6873
- # The ID of a distribution in your account that has an attached SSL/TLS
6874
- # certificate that includes the provided alias.
6926
+ # The ID of a standard distribution in your account that has an attached
6927
+ # TLS certificate that includes the provided alias.
6875
6928
  #
6876
6929
  # @option params [required, String] :alias
6877
6930
  # The alias (also called a CNAME) to search for conflicting aliases.
@@ -7213,6 +7266,7 @@ module Aws::CloudFront
7213
7266
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
7214
7267
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
7215
7268
  # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
7269
+ # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
7216
7270
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
7217
7271
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
7218
7272
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -7226,6 +7280,7 @@ module Aws::CloudFront
7226
7280
  # resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
7227
7281
  # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
7228
7282
  # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
7283
+ # resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
7229
7284
  # resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
7230
7285
  # resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
7231
7286
  # resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
@@ -7430,6 +7485,7 @@ module Aws::CloudFront
7430
7485
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
7431
7486
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
7432
7487
  # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
7488
+ # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
7433
7489
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
7434
7490
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
7435
7491
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -7443,6 +7499,7 @@ module Aws::CloudFront
7443
7499
  # resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
7444
7500
  # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
7445
7501
  # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
7502
+ # resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
7446
7503
  # resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
7447
7504
  # resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
7448
7505
  # resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
@@ -7656,7 +7713,9 @@ module Aws::CloudFront
7656
7713
  # The maximum number of distributions to return.
7657
7714
  #
7658
7715
  # @option params [required, String] :connection_mode
7659
- # The connection mode to filter distributions by.
7716
+ # This field specifies whether the connection mode is through a standard
7717
+ # distribution (direct) or a multi-tenant distribution with distribution
7718
+ # tenants (tenant-only).
7660
7719
  #
7661
7720
  # @return [Types::ListDistributionsByConnectionModeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7662
7721
  #
@@ -7699,6 +7758,7 @@ module Aws::CloudFront
7699
7758
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
7700
7759
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
7701
7760
  # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
7761
+ # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
7702
7762
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
7703
7763
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
7704
7764
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -7712,6 +7772,7 @@ module Aws::CloudFront
7712
7772
  # resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
7713
7773
  # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
7714
7774
  # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
7775
+ # resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
7715
7776
  # resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
7716
7777
  # resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
7717
7778
  # resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
@@ -8044,6 +8105,7 @@ module Aws::CloudFront
8044
8105
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
8045
8106
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
8046
8107
  # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
8108
+ # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
8047
8109
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
8048
8110
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
8049
8111
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -8057,6 +8119,7 @@ module Aws::CloudFront
8057
8119
  # resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
8058
8120
  # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
8059
8121
  # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
8122
+ # resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
8060
8123
  # resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
8061
8124
  # resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
8062
8125
  # resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
@@ -8391,6 +8454,7 @@ module Aws::CloudFront
8391
8454
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
8392
8455
  # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
8393
8456
  # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
8457
+ # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
8394
8458
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
8395
8459
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
8396
8460
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -8404,6 +8468,7 @@ module Aws::CloudFront
8404
8468
  # resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
8405
8469
  # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
8406
8470
  # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
8471
+ # resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
8407
8472
  # resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
8408
8473
  # resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
8409
8474
  # resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
@@ -8553,20 +8618,55 @@ module Aws::CloudFront
8553
8618
  req.send_request(options)
8554
8619
  end
8555
8620
 
8556
- # Lists existing domain associations that conflict with the domain that
8621
+ # <note markdown="1"> We recommend that you use the
8622
+ # `ListDomainConflicts` API operation to
8623
+ # check for domain conflicts, as it supports both standard distributions
8624
+ # and distribution tenants. [ListConflictingAliases][1] performs similar
8625
+ # checks but only supports standard distributions.
8626
+ #
8627
+ # </note>
8628
+ #
8629
+ # Lists existing domain associations that conflict with the domain that
8557
8630
  # you specify.
8558
8631
  #
8559
- # You can use this API operation when transferring domains to identify
8560
- # potential domain conflicts. Domain conflicts must be resolved first
8561
- # before they can be moved.
8632
+ # You can use this API operation to identify potential domain conflicts
8633
+ # when moving domains between standard distributions and/or distribution
8634
+ # tenants. Domain conflicts must be resolved first before they can be
8635
+ # moved.
8636
+ #
8637
+ # For example, if you provide `www.example.com` as input, the returned
8638
+ # list can include `www.example.com` and the overlapping wildcard
8639
+ # alternate domain name (`.example.com</code>), if they exist. If you
8640
+ # provide </em>.example.com as input, the returned list can include
8641
+ # *.example.com and any alternate domain names covered by that wildcard
8642
+ # (for example, www.example.com, test.example.com, dev.example.com, and
8643
+ # so on), if they exist.</p> To list conflicting domains, specify the
8644
+ # following: The domain to search for The ID of a standard
8645
+ # distribution or distribution tenant in your account that has an
8646
+ # attached TLS certificate, which covers the specified domain For more
8647
+ # information, including how to set up the standard distribution or
8648
+ # distribution tenant, and the certificate, see Moving an alternate
8649
+ # domain name to a different standard distribution or distribution
8650
+ # tenant in the Amazon CloudFront Developer Guide. You can optionally
8651
+ # specify the maximum number of items to receive in the response. If the
8652
+ # total number of items in the list exceeds the maximum that you
8653
+ # specify, or the default maximum, the response is paginated. To get the
8654
+ # next page of items, send a subsequent request that specifies the
8655
+ # NextMarker value from the current response as the Marker value in the
8656
+ # subsequent request.</p>
8657
+ # `
8658
+ #
8659
+ #
8660
+ #
8661
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListConflictingAliases.html
8562
8662
  #
8563
8663
  # @option params [required, String] :domain
8564
8664
  # The domain to check for conflicts.
8565
8665
  #
8566
8666
  # @option params [required, Types::DistributionResourceId] :domain_control_validation_resource
8567
- # The distribution resource identifier. This can be the distribution or
8568
- # distribution tenant that has a valid certificate, which covers the
8569
- # domain that you specify.
8667
+ # The distribution resource identifier. This can be the standard
8668
+ # distribution or distribution tenant that has a valid certificate,
8669
+ # which covers the domain that you specify.
8570
8670
  #
8571
8671
  # @option params [Integer] :max_items
8572
8672
  # The maximum number of domain conflicts to return.
@@ -9051,6 +9151,8 @@ module Aws::CloudFront
9051
9151
  #
9052
9152
  # * {Types::ListOriginAccessControlsResult#origin_access_control_list #origin_access_control_list} => Types::OriginAccessControlList
9053
9153
  #
9154
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
9155
+ #
9054
9156
  # @example Request syntax with placeholder values
9055
9157
  #
9056
9158
  # resp = client.list_origin_access_controls({
@@ -9564,7 +9666,7 @@ module Aws::CloudFront
9564
9666
  # @example Request syntax with placeholder values
9565
9667
  #
9566
9668
  # resp = client.publish_function({
9567
- # name: "string", # required
9669
+ # name: "FunctionName", # required
9568
9670
  # if_match: "string", # required
9569
9671
  # })
9570
9672
  #
@@ -9675,7 +9777,7 @@ module Aws::CloudFront
9675
9777
  # @example Request syntax with placeholder values
9676
9778
  #
9677
9779
  # resp = client.test_function({
9678
- # name: "string", # required
9780
+ # name: "FunctionName", # required
9679
9781
  # if_match: "string", # required
9680
9782
  # stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
9681
9783
  # event_object: "data", # required
@@ -9759,6 +9861,11 @@ module Aws::CloudFront
9759
9861
  # configuration, including the fields that you modified and those
9760
9862
  # that you didn't.
9761
9863
  #
9864
+ # If your minimum TTL is greater than 0, CloudFront will cache content
9865
+ # for at least the duration specified in the cache policy's minimum
9866
+ # TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private`
9867
+ # directives are present in the origin headers.
9868
+ #
9762
9869
  # @option params [required, Types::CachePolicyConfig] :cache_policy_config
9763
9870
  # A cache policy configuration.
9764
9871
  #
@@ -10119,6 +10226,7 @@ module Aws::CloudFront
10119
10226
  # },
10120
10227
  # s3_origin_config: {
10121
10228
  # origin_access_identity: "string", # required
10229
+ # origin_read_timeout: 1,
10122
10230
  # },
10123
10231
  # custom_origin_config: {
10124
10232
  # http_port: 1, # required
@@ -10138,6 +10246,7 @@ module Aws::CloudFront
10138
10246
  # },
10139
10247
  # connection_attempts: 1,
10140
10248
  # connection_timeout: 1,
10249
+ # response_completion_timeout: 1,
10141
10250
  # origin_shield: {
10142
10251
  # enabled: false, # required
10143
10252
  # origin_shield_region: "OriginShieldRegion",
@@ -10341,7 +10450,7 @@ module Aws::CloudFront
10341
10450
  # enabled: false, # required
10342
10451
  # viewer_certificate: {
10343
10452
  # cloud_front_default_certificate: false,
10344
- # iam_certificate_id: "string",
10453
+ # iam_certificate_id: "ServerCertificateId",
10345
10454
  # acm_certificate_arn: "string",
10346
10455
  # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
10347
10456
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
@@ -10367,7 +10476,7 @@ module Aws::CloudFront
10367
10476
  # name: "ParameterName", # required
10368
10477
  # definition: { # required
10369
10478
  # string_schema: {
10370
- # comment: "string",
10479
+ # comment: "sensitiveStringType",
10371
10480
  # default_value: "ParameterValue",
10372
10481
  # required: false, # required
10373
10482
  # },
@@ -10418,6 +10527,7 @@ module Aws::CloudFront
10418
10527
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
10419
10528
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
10420
10529
  # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
10530
+ # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
10421
10531
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
10422
10532
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
10423
10533
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -10431,6 +10541,7 @@ module Aws::CloudFront
10431
10541
  # resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
10432
10542
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
10433
10543
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
10544
+ # resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
10434
10545
  # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
10435
10546
  # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
10436
10547
  # resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
@@ -10806,6 +10917,7 @@ module Aws::CloudFront
10806
10917
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
10807
10918
  # resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
10808
10919
  # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
10920
+ # resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
10809
10921
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
10810
10922
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
10811
10923
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
@@ -10819,6 +10931,7 @@ module Aws::CloudFront
10819
10931
  # resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
10820
10932
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
10821
10933
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
10934
+ # resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
10822
10935
  # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
10823
10936
  # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
10824
10937
  # resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
@@ -10979,18 +11092,44 @@ module Aws::CloudFront
10979
11092
  req.send_request(options)
10980
11093
  end
10981
11094
 
10982
- # Moves a domain from its current distribution or distribution tenant to
10983
- # another one.
11095
+ # <note markdown="1"> We recommend that you use the
11096
+ # `UpdateDomainAssociation` API operation
11097
+ # to move a domain association, as it supports both standard
11098
+ # distributions and distribution tenants. [AssociateAlias][1] performs
11099
+ # similar checks but only supports standard distributions.
11100
+ #
11101
+ # </note>
11102
+ #
11103
+ # Moves a domain from its current standard distribution or distribution
11104
+ # tenant to another one.
11105
+ #
11106
+ # You must first disable the source distribution (standard distribution
11107
+ # or distribution tenant) and then separately call this operation to
11108
+ # move the domain to another target distribution (standard distribution
11109
+ # or distribution tenant).
11110
+ #
11111
+ # To use this operation, specify the domain and the ID of the target
11112
+ # resource (standard distribution or distribution tenant). For more
11113
+ # information, including how to set up the target resource,
11114
+ # prerequisites that you must complete, and other restrictions, see
11115
+ # [Moving an alternate domain name to a different standard distribution
11116
+ # or distribution tenant][2] in the *Amazon CloudFront Developer Guide*.
11117
+ #
11118
+ #
11119
+ #
11120
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_AssociateAlias.html
11121
+ # [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
10984
11122
  #
10985
11123
  # @option params [required, String] :domain
10986
11124
  # The domain to update.
10987
11125
  #
10988
11126
  # @option params [required, Types::DistributionResourceId] :target_resource
10989
- # The target distribution resource for the domain. You can specify
10990
- # either `DistributionId` or `DistributionTenantId`, but not both.
11127
+ # The target standard distribution or distribution tenant resource for
11128
+ # the domain. You can specify either `DistributionId` or
11129
+ # `DistributionTenantId`, but not both.
10991
11130
  #
10992
11131
  # @option params [String] :if_match
10993
- # The value of the `ETag` identifier for the distribution or
11132
+ # The value of the `ETag` identifier for the standard distribution or
10994
11133
  # distribution tenant that will be associated with the domain.
10995
11134
  #
10996
11135
  # @return [Types::UpdateDomainAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -11259,7 +11398,7 @@ module Aws::CloudFront
11259
11398
  # @example Request syntax with placeholder values
11260
11399
  #
11261
11400
  # resp = client.update_function({
11262
- # name: "string", # required
11401
+ # name: "FunctionName", # required
11263
11402
  # if_match: "string", # required
11264
11403
  # function_config: { # required
11265
11404
  # comment: "string", # required
@@ -12145,7 +12284,7 @@ module Aws::CloudFront
12145
12284
  tracer: tracer
12146
12285
  )
12147
12286
  context[:gem_name] = 'aws-sdk-cloudfront'
12148
- context[:gem_version] = '1.118.0'
12287
+ context[:gem_version] = '1.123.0'
12149
12288
  Seahorse::Client::Request.new(handlers, context)
12150
12289
  end
12151
12290