aws-sdk-cloudfront 1.119.0 → 1.121.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae85e07e9feefe3212add83e30961a340fc2c2d5b9d7476b7cea377fddd2e060
4
- data.tar.gz: d9a81a0808128cb09cd74ac0f83ea49c4164bb841efbce3a3c0f354162573149
3
+ metadata.gz: 3449dbfddf944810a1b3812c5fb7ad80d25ea71eda9c254aaf358cb53d0b644f
4
+ data.tar.gz: 1ab810c7992b1618ec71c84ceb5d2cb31a9cb3b9c4174178162a931177f0cfda
5
5
  SHA512:
6
- metadata.gz: f737e604383d37d13946331d469411a9570c8488a9d5e5a3deee7e843bc6c47f043fbcb33e7818f3a3e553daf913e51758f509c45114c13f81aa8d8055a4527d
7
- data.tar.gz: bb95e8d798659cb25f5d1e726fe713117a74461cd34f2d147e6f0010d8bbb99bb6ec9783ff87290fb33adfe5b0702c68d8ab9e05f3146fd32c5ad3062a7766a1
6
+ metadata.gz: 2d63e08dad36b521e933fd0b87fb9bc25730218dc1d6d6881b58c4ea583887596c9a26872cc6e64564036cff9c1f4c7faeab8de8fcc76cc9aeca28bd776911de
7
+ data.tar.gz: b81f7baadcac7a844024c4891c93ad48e021caa925db0760e0ab7107b91f3bc2d6eb0d3962bfdf693769ade108e33031177681b5e1fc45078be91564c3ca8837
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.121.0 (2025-07-21)
5
+ ------------------
6
+
7
+ * Feature - Add dualstack endpoint support
8
+
9
+ 1.120.0 (2025-07-17)
10
+ ------------------
11
+
12
+ * Feature - Doc only update for CloudFront that fixes some customer-reported issues
13
+
4
14
  1.119.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.119.0
1
+ 1.121.0
@@ -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>
489
+ #
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.
474
493
  #
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
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.
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*.
487
508
  #
488
509
  #
489
510
  #
490
- # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
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
  #
@@ -1491,7 +1515,7 @@ module Aws::CloudFront
1491
1515
  # enabled: false, # required
1492
1516
  # viewer_certificate: {
1493
1517
  # cloud_front_default_certificate: false,
1494
- # iam_certificate_id: "string",
1518
+ # iam_certificate_id: "ServerCertificateId",
1495
1519
  # acm_certificate_arn: "string",
1496
1520
  # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
1497
1521
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
@@ -1517,7 +1541,7 @@ module Aws::CloudFront
1517
1541
  # name: "ParameterName", # required
1518
1542
  # definition: { # required
1519
1543
  # string_schema: {
1520
- # comment: "string",
1544
+ # comment: "sensitiveStringType",
1521
1545
  # default_value: "ParameterValue",
1522
1546
  # required: false, # required
1523
1547
  # },
@@ -2144,7 +2168,7 @@ module Aws::CloudFront
2144
2168
  # enabled: false, # required
2145
2169
  # viewer_certificate: {
2146
2170
  # cloud_front_default_certificate: false,
2147
- # iam_certificate_id: "string",
2171
+ # iam_certificate_id: "ServerCertificateId",
2148
2172
  # acm_certificate_arn: "string",
2149
2173
  # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
2150
2174
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
@@ -2170,7 +2194,7 @@ module Aws::CloudFront
2170
2194
  # name: "ParameterName", # required
2171
2195
  # definition: { # required
2172
2196
  # string_schema: {
2173
- # comment: "string",
2197
+ # comment: "sensitiveStringType",
2174
2198
  # default_value: "ParameterValue",
2175
2199
  # required: false, # required
2176
2200
  # },
@@ -3999,7 +4023,7 @@ module Aws::CloudFront
3999
4023
  # @example Request syntax with placeholder values
4000
4024
  #
4001
4025
  # resp = client.delete_function({
4002
- # name: "string", # required
4026
+ # name: "FunctionName", # required
4003
4027
  # if_match: "string", # required
4004
4028
  # })
4005
4029
  #
@@ -4460,7 +4484,7 @@ module Aws::CloudFront
4460
4484
  # @example Request syntax with placeholder values
4461
4485
  #
4462
4486
  # resp = client.describe_function({
4463
- # name: "string", # required
4487
+ # name: "FunctionName", # required
4464
4488
  # stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
4465
4489
  # })
4466
4490
  #
@@ -5744,7 +5768,7 @@ module Aws::CloudFront
5744
5768
  # @example Request syntax with placeholder values
5745
5769
  #
5746
5770
  # resp = client.get_function({
5747
- # name: "string", # required
5771
+ # name: "FunctionName", # required
5748
5772
  # stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
5749
5773
  # })
5750
5774
  #
@@ -6834,44 +6858,54 @@ module Aws::CloudFront
6834
6858
  req.send_request(options)
6835
6859
  end
6836
6860
 
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
6861
+ # <note markdown="1"> The `ListConflictingAliases` API operation only
6862
+ # supports standard
6863
+ # distributions. To list domain conflicts for both standard
6864
+ # distributions and distribution tenants, we recommend that you use the
6865
+ # [ListDomainConflicts][1] API operation instead.
6866
+ #
6867
+ # </note>
6868
+ #
6869
+ # Gets a list of aliases that conflict or overlap with the provided
6870
+ # alias, and the associated CloudFront standard distribution and Amazon
6871
+ # Web Services accounts for each conflicting alias. An alias is commonly
6872
+ # known as a custom domain or vanity domain. It can also be called a
6873
+ # CNAME or alternate domain name.
6874
+ #
6875
+ # In the returned list, the standard distribution and account IDs are
6876
+ # partially hidden, which allows you to identify the standard
6877
+ # distribution and accounts that you own, and helps to protect the
6843
6878
  # information of ones that you don't own.
6844
6879
  #
6845
- # Use this operation to find aliases that are in use in CloudFront that
6880
+ # Use this operation to find aliases that are in use in CloudFront that
6846
6881
  # conflict or overlap with the provided alias. For example, if you
6847
6882
  # provide `www.example.com` as input, the returned list can include
6848
6883
  # `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
6884
+ # (`.example.com</code>), if they exist. If you provide
6885
+ # </em>.example.com as input, the returned list can include
6886
+ # *.example.com and any alternate domain names covered by that wildcard
6887
+ # (for example, www.example.com, test.example.com, dev.example.com, and
6888
+ # so on), if they exist.</p> To list conflicting aliases, specify the
6889
+ # alias to search and the ID of a standard distribution in your account
6890
+ # that has an attached TLS certificate that includes the provided alias.
6891
+ # For more information, including how to set up the standard
6892
+ # distribution and certificate, see Moving an alternate domain name to a
6893
+ # different standard distribution or distribution tenant in the Amazon
6894
+ # CloudFront Developer Guide. You can optionally specify the maximum
6895
+ # number of items to receive in the response. If the total number of
6896
+ # items in the list exceeds the maximum that you specify, or the default
6897
+ # maximum, the response is paginated. To get the next page of items,
6898
+ # send a subsequent request that specifies the NextMarker value from the
6899
+ # current response as the Marker value in the subsequent request.</p>
6900
+ # `
6901
+ #
6902
+ #
6903
+ #
6904
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDomainConflicts.html
6871
6905
  #
6872
6906
  # @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.
6907
+ # The ID of a standard distribution in your account that has an attached
6908
+ # TLS certificate that includes the provided alias.
6875
6909
  #
6876
6910
  # @option params [required, String] :alias
6877
6911
  # The alias (also called a CNAME) to search for conflicting aliases.
@@ -7656,7 +7690,9 @@ module Aws::CloudFront
7656
7690
  # The maximum number of distributions to return.
7657
7691
  #
7658
7692
  # @option params [required, String] :connection_mode
7659
- # The connection mode to filter distributions by.
7693
+ # This field specifies whether the connection mode is through a standard
7694
+ # distribution (direct) or a multi-tenant distribution with distribution
7695
+ # tenants(tenant-only).
7660
7696
  #
7661
7697
  # @return [Types::ListDistributionsByConnectionModeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7662
7698
  #
@@ -8553,20 +8589,55 @@ module Aws::CloudFront
8553
8589
  req.send_request(options)
8554
8590
  end
8555
8591
 
8556
- # Lists existing domain associations that conflict with the domain that
8592
+ # <note markdown="1"> We recommend that you use the
8593
+ # `ListDomainConflicts` API operation to
8594
+ # check for domain conflicts, as it supports both standard distributions
8595
+ # and distribution tenants. [ListConflictingAliases][1] performs similar
8596
+ # checks but only supports standard distributions.
8597
+ #
8598
+ # </note>
8599
+ #
8600
+ # Lists existing domain associations that conflict with the domain that
8557
8601
  # you specify.
8558
8602
  #
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.
8603
+ # You can use this API operation to identify potential domain conflicts
8604
+ # when moving domains between standard distributions and/or distribution
8605
+ # tenants. Domain conflicts must be resolved first before they can be
8606
+ # moved.
8607
+ #
8608
+ # For example, if you provide `www.example.com` as input, the returned
8609
+ # list can include `www.example.com` and the overlapping wildcard
8610
+ # alternate domain name (`.example.com</code>), if they exist. If you
8611
+ # provide </em>.example.com as input, the returned list can include
8612
+ # *.example.com and any alternate domain names covered by that wildcard
8613
+ # (for example, www.example.com, test.example.com, dev.example.com, and
8614
+ # so on), if they exist.</p> To list conflicting domains, specify the
8615
+ # following: The domain to search for The ID of a standard
8616
+ # distribution or distribution tenant in your account that has an
8617
+ # attached TLS certificate, which covers the specified domain For more
8618
+ # information, including how to set up the standard distribution or
8619
+ # distribution tenant, and the certificate, see Moving an alternate
8620
+ # domain name to a different standard distribution or distribution
8621
+ # tenant in the Amazon CloudFront Developer Guide. You can optionally
8622
+ # specify the maximum number of items to receive in the response. If the
8623
+ # total number of items in the list exceeds the maximum that you
8624
+ # specify, or the default maximum, the response is paginated. To get the
8625
+ # next page of items, send a subsequent request that specifies the
8626
+ # NextMarker value from the current response as the Marker value in the
8627
+ # subsequent request.</p>
8628
+ # `
8629
+ #
8630
+ #
8631
+ #
8632
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListConflictingAliases.html
8562
8633
  #
8563
8634
  # @option params [required, String] :domain
8564
8635
  # The domain to check for conflicts.
8565
8636
  #
8566
8637
  # @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.
8638
+ # The distribution resource identifier. This can be the standard
8639
+ # distribution or distribution tenant that has a valid certificate,
8640
+ # which covers the domain that you specify.
8570
8641
  #
8571
8642
  # @option params [Integer] :max_items
8572
8643
  # The maximum number of domain conflicts to return.
@@ -9051,6 +9122,8 @@ module Aws::CloudFront
9051
9122
  #
9052
9123
  # * {Types::ListOriginAccessControlsResult#origin_access_control_list #origin_access_control_list} => Types::OriginAccessControlList
9053
9124
  #
9125
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
9126
+ #
9054
9127
  # @example Request syntax with placeholder values
9055
9128
  #
9056
9129
  # resp = client.list_origin_access_controls({
@@ -9564,7 +9637,7 @@ module Aws::CloudFront
9564
9637
  # @example Request syntax with placeholder values
9565
9638
  #
9566
9639
  # resp = client.publish_function({
9567
- # name: "string", # required
9640
+ # name: "FunctionName", # required
9568
9641
  # if_match: "string", # required
9569
9642
  # })
9570
9643
  #
@@ -9675,7 +9748,7 @@ module Aws::CloudFront
9675
9748
  # @example Request syntax with placeholder values
9676
9749
  #
9677
9750
  # resp = client.test_function({
9678
- # name: "string", # required
9751
+ # name: "FunctionName", # required
9679
9752
  # if_match: "string", # required
9680
9753
  # stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
9681
9754
  # event_object: "data", # required
@@ -10341,7 +10414,7 @@ module Aws::CloudFront
10341
10414
  # enabled: false, # required
10342
10415
  # viewer_certificate: {
10343
10416
  # cloud_front_default_certificate: false,
10344
- # iam_certificate_id: "string",
10417
+ # iam_certificate_id: "ServerCertificateId",
10345
10418
  # acm_certificate_arn: "string",
10346
10419
  # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
10347
10420
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
@@ -10367,7 +10440,7 @@ module Aws::CloudFront
10367
10440
  # name: "ParameterName", # required
10368
10441
  # definition: { # required
10369
10442
  # string_schema: {
10370
- # comment: "string",
10443
+ # comment: "sensitiveStringType",
10371
10444
  # default_value: "ParameterValue",
10372
10445
  # required: false, # required
10373
10446
  # },
@@ -10979,18 +11052,44 @@ module Aws::CloudFront
10979
11052
  req.send_request(options)
10980
11053
  end
10981
11054
 
10982
- # Moves a domain from its current distribution or distribution tenant to
10983
- # another one.
11055
+ # <note markdown="1"> We recommend that you use the
11056
+ # `UpdateDomainAssociation` API operation
11057
+ # to move a domain association, as it supports both standard
11058
+ # distributions and distribution tenants. [AssociateAlias][1] performs
11059
+ # similar checks but only supports standard distributions.
11060
+ #
11061
+ # </note>
11062
+ #
11063
+ # Moves a domain from its current standard distribution or distribution
11064
+ # tenant to another one.
11065
+ #
11066
+ # You must first disable the source distribution (standard distribution
11067
+ # or distribution tenant) and then separately call this operation to
11068
+ # move the domain to another target distribution (standard distribution
11069
+ # or distribution tenant).
11070
+ #
11071
+ # To use this operation, specify the domain and the ID of the target
11072
+ # resource (standard distribution or distribution tenant). For more
11073
+ # information, including how to set up the target resource,
11074
+ # prerequisites that you must complete, and other restrictions, see
11075
+ # [Moving an alternate domain name to a different standard distribution
11076
+ # or distribution tenant][2] in the *Amazon CloudFront Developer Guide*.
11077
+ #
11078
+ #
11079
+ #
11080
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_AssociateAlias.html
11081
+ # [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
10984
11082
  #
10985
11083
  # @option params [required, String] :domain
10986
11084
  # The domain to update.
10987
11085
  #
10988
11086
  # @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.
11087
+ # The target standard distribution or distribution tenant resource for
11088
+ # the domain. You can specify either `DistributionId` or
11089
+ # `DistributionTenantId`, but not both.
10991
11090
  #
10992
11091
  # @option params [String] :if_match
10993
- # The value of the `ETag` identifier for the distribution or
11092
+ # The value of the `ETag` identifier for the standard distribution or
10994
11093
  # distribution tenant that will be associated with the domain.
10995
11094
  #
10996
11095
  # @return [Types::UpdateDomainAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -11259,7 +11358,7 @@ module Aws::CloudFront
11259
11358
  # @example Request syntax with placeholder values
11260
11359
  #
11261
11360
  # resp = client.update_function({
11262
- # name: "string", # required
11361
+ # name: "FunctionName", # required
11263
11362
  # if_match: "string", # required
11264
11363
  # function_config: { # required
11265
11364
  # comment: "string", # required
@@ -12145,7 +12244,7 @@ module Aws::CloudFront
12145
12244
  tracer: tracer
12146
12245
  )
12147
12246
  context[:gem_name] = 'aws-sdk-cloudfront'
12148
- context[:gem_version] = '1.119.0'
12247
+ context[:gem_version] = '1.121.0'
12149
12248
  Seahorse::Client::Request.new(handlers, context)
12150
12249
  end
12151
12250
 
@@ -618,6 +618,7 @@ module Aws::CloudFront
618
618
  S3OriginConfig = Shapes::StructureShape.new(name: 'S3OriginConfig')
619
619
  SSLSupportMethod = Shapes::StringShape.new(name: 'SSLSupportMethod')
620
620
  SamplingRate = Shapes::FloatShape.new(name: 'SamplingRate')
621
+ ServerCertificateId = Shapes::StringShape.new(name: 'ServerCertificateId')
621
622
  SessionStickinessConfig = Shapes::StructureShape.new(name: 'SessionStickinessConfig')
622
623
  Signer = Shapes::StructureShape.new(name: 'Signer')
623
624
  SignerList = Shapes::ListShape.new(name: 'SignerList')
@@ -1485,7 +1486,7 @@ module Aws::CloudFront
1485
1486
  DeleteFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1486
1487
  DeleteFieldLevelEncryptionProfileRequest.struct_class = Types::DeleteFieldLevelEncryptionProfileRequest
1487
1488
 
1488
- DeleteFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
1489
+ DeleteFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "Name"))
1489
1490
  DeleteFunctionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
1490
1491
  DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
1491
1492
 
@@ -1536,7 +1537,7 @@ module Aws::CloudFront
1536
1537
  DeleteVpcOriginResult[:payload] = :vpc_origin
1537
1538
  DeleteVpcOriginResult[:payload_member] = DeleteVpcOriginResult.member(:vpc_origin)
1538
1539
 
1539
- DescribeFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
1540
+ DescribeFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "Name"))
1540
1541
  DescribeFunctionRequest.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location: "querystring", location_name: "Stage"))
1541
1542
  DescribeFunctionRequest.struct_class = Types::DescribeFunctionRequest
1542
1543
 
@@ -1651,7 +1652,7 @@ module Aws::CloudFront
1651
1652
  DistributionSummary.add_member(:default_cache_behavior, Shapes::ShapeRef.new(shape: DefaultCacheBehavior, required: true, location_name: "DefaultCacheBehavior"))
1652
1653
  DistributionSummary.add_member(:cache_behaviors, Shapes::ShapeRef.new(shape: CacheBehaviors, required: true, location_name: "CacheBehaviors"))
1653
1654
  DistributionSummary.add_member(:custom_error_responses, Shapes::ShapeRef.new(shape: CustomErrorResponses, required: true, location_name: "CustomErrorResponses"))
1654
- DistributionSummary.add_member(:comment, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Comment"))
1655
+ DistributionSummary.add_member(:comment, Shapes::ShapeRef.new(shape: sensitiveStringType, required: true, location_name: "Comment"))
1655
1656
  DistributionSummary.add_member(:price_class, Shapes::ShapeRef.new(shape: PriceClass, required: true, location_name: "PriceClass"))
1656
1657
  DistributionSummary.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
1657
1658
  DistributionSummary.add_member(:viewer_certificate, Shapes::ShapeRef.new(shape: ViewerCertificate, required: true, location_name: "ViewerCertificate"))
@@ -2046,7 +2047,7 @@ module Aws::CloudFront
2046
2047
  GetFieldLevelEncryptionResult[:payload] = :field_level_encryption
2047
2048
  GetFieldLevelEncryptionResult[:payload_member] = GetFieldLevelEncryptionResult.member(:field_level_encryption)
2048
2049
 
2049
- GetFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
2050
+ GetFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "Name"))
2050
2051
  GetFunctionRequest.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location: "querystring", location_name: "Stage"))
2051
2052
  GetFunctionRequest.struct_class = Types::GetFunctionRequest
2052
2053
 
@@ -3031,7 +3032,7 @@ module Aws::CloudFront
3031
3032
 
3032
3033
  PublicKeySummaryList.member = Shapes::ShapeRef.new(shape: PublicKeySummary, location_name: "PublicKeySummary")
3033
3034
 
3034
- PublishFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
3035
+ PublishFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "Name"))
3035
3036
  PublishFunctionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
3036
3037
  PublishFunctionRequest.struct_class = Types::PublishFunctionRequest
3037
3038
 
@@ -3313,7 +3314,7 @@ module Aws::CloudFront
3313
3314
  StreamingLoggingConfig.add_member(:prefix, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Prefix"))
3314
3315
  StreamingLoggingConfig.struct_class = Types::StreamingLoggingConfig
3315
3316
 
3316
- StringSchemaConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
3317
+ StringSchemaConfig.add_member(:comment, Shapes::ShapeRef.new(shape: sensitiveStringType, location_name: "Comment"))
3317
3318
  StringSchemaConfig.add_member(:default_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "DefaultValue"))
3318
3319
  StringSchemaConfig.add_member(:required, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Required"))
3319
3320
  StringSchemaConfig.struct_class = Types::StringSchemaConfig
@@ -3344,7 +3345,7 @@ module Aws::CloudFront
3344
3345
  TestFunctionFailed.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
3345
3346
  TestFunctionFailed.struct_class = Types::TestFunctionFailed
3346
3347
 
3347
- TestFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
3348
+ TestFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "Name"))
3348
3349
  TestFunctionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
3349
3350
  TestFunctionRequest.add_member(:stage, Shapes::ShapeRef.new(shape: FunctionStage, location_name: "Stage"))
3350
3351
  TestFunctionRequest.add_member(:event_object, Shapes::ShapeRef.new(shape: FunctionEventObject, required: true, location_name: "EventObject"))
@@ -3679,7 +3680,7 @@ module Aws::CloudFront
3679
3680
  UpdateFieldLevelEncryptionProfileResult[:payload] = :field_level_encryption_profile
3680
3681
  UpdateFieldLevelEncryptionProfileResult[:payload_member] = UpdateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
3681
3682
 
3682
- UpdateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Name"))
3683
+ UpdateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "Name"))
3683
3684
  UpdateFunctionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, required: true, location: "header", location_name: "If-Match"))
3684
3685
  UpdateFunctionRequest.add_member(:function_config, Shapes::ShapeRef.new(shape: FunctionConfig, required: true, location_name: "FunctionConfig"))
3685
3686
  UpdateFunctionRequest.add_member(:function_code, Shapes::ShapeRef.new(shape: FunctionBlob, required: true, location_name: "FunctionCode"))
@@ -3818,7 +3819,7 @@ module Aws::CloudFront
3818
3819
  VerifyDnsConfigurationResult.struct_class = Types::VerifyDnsConfigurationResult
3819
3820
 
3820
3821
  ViewerCertificate.add_member(:cloud_front_default_certificate, Shapes::ShapeRef.new(shape: boolean, location_name: "CloudFrontDefaultCertificate"))
3821
- ViewerCertificate.add_member(:iam_certificate_id, Shapes::ShapeRef.new(shape: string, location_name: "IAMCertificateId"))
3822
+ ViewerCertificate.add_member(:iam_certificate_id, Shapes::ShapeRef.new(shape: ServerCertificateId, location_name: "IAMCertificateId"))
3822
3823
  ViewerCertificate.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: string, location_name: "ACMCertificateArn"))
3823
3824
  ViewerCertificate.add_member(:ssl_support_method, Shapes::ShapeRef.new(shape: SSLSupportMethod, location_name: "SSLSupportMethod"))
3824
3825
  ViewerCertificate.add_member(:minimum_protocol_version, Shapes::ShapeRef.new(shape: MinimumProtocolVersion, location_name: "MinimumProtocolVersion"))
@@ -5585,6 +5586,12 @@ module Aws::CloudFront
5585
5586
  o.input = Shapes::ShapeRef.new(shape: ListOriginAccessControlsRequest)
5586
5587
  o.output = Shapes::ShapeRef.new(shape: ListOriginAccessControlsResult)
5587
5588
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
5589
+ o[:pager] = Aws::Pager.new(
5590
+ limit_key: "max_items",
5591
+ tokens: {
5592
+ "origin_access_control_list.next_marker" => "marker"
5593
+ }
5594
+ )
5588
5595
  end)
5589
5596
 
5590
5597
  api.add_operation(:list_origin_request_policies, Seahorse::Model::Operation.new.tap do |o|